yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/mdb/clickhouse/v1/user.proto
package yandex.cloud.api.mdb.clickhouse.v1;
public final class UserOuterClass {
private UserOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.User)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
java.lang.String getClusterId();
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
com.google.protobuf.ByteString
getClusterIdBytes();
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
java.util.List
getPermissionsList();
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index);
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
int getPermissionsCount();
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList();
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index);
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
boolean hasSettings();
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings();
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
java.util.List
getQuotasList();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index);
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
int getQuotasCount();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index);
}
/**
*
* A ClickHouse User resource. For more information, see
* the [Developer's guide](/docs/managed-clickhouse/concepts).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.User}
*/
public static final class User extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.User)
UserOrBuilder {
private static final long serialVersionUID = 0L;
// Use User.newBuilder() to construct.
private User(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private User() {
name_ = "";
clusterId_ = "";
permissions_ = java.util.Collections.emptyList();
quotas_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new User();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private User(
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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
clusterId_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
permissions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
permissions_.add(
input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.parser(), extensionRegistry));
break;
}
case 34: {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
quotas_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
quotas_.add(
input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.parser(), extensionRegistry));
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)) {
permissions_ = java.util.Collections.unmodifiableList(permissions_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
quotas_ = java.util.Collections.unmodifiableList(quotas_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object clusterId_;
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
@java.lang.Override
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clusterId_ = s;
return s;
}
}
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERMISSIONS_FIELD_NUMBER = 3;
private java.util.List permissions_;
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public java.util.List getPermissionsList() {
return permissions_;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList() {
return permissions_;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public int getPermissionsCount() {
return permissions_.size();
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index) {
return permissions_.get(index);
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index) {
return permissions_.get(index);
}
public static final int SETTINGS_FIELD_NUMBER = 4;
private yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings settings_;
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
@java.lang.Override
public boolean hasSettings() {
return settings_ != null;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings() {
return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
public static final int QUOTAS_FIELD_NUMBER = 5;
private java.util.List quotas_;
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public java.util.List getQuotasList() {
return quotas_;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList() {
return quotas_;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public int getQuotasCount() {
return quotas_.size();
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index) {
return quotas_.get(index);
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index) {
return quotas_.get(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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterId_);
}
for (int i = 0; i < permissions_.size(); i++) {
output.writeMessage(3, permissions_.get(i));
}
if (settings_ != null) {
output.writeMessage(4, getSettings());
}
for (int i = 0; i < quotas_.size(); i++) {
output.writeMessage(5, quotas_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_);
}
for (int i = 0; i < permissions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, permissions_.get(i));
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSettings());
}
for (int i = 0; i < quotas_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, quotas_.get(i));
}
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User other = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getClusterId()
.equals(other.getClusterId())) return false;
if (!getPermissionsList()
.equals(other.getPermissionsList())) return false;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (!getQuotasList()
.equals(other.getQuotasList())) 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();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterId().hashCode();
if (getPermissionsCount() > 0) {
hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER;
hash = (53 * hash) + getPermissionsList().hashCode();
}
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
if (getQuotasCount() > 0) {
hash = (37 * hash) + QUOTAS_FIELD_NUMBER;
hash = (53 * hash) + getQuotasList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User 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(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User 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;
}
/**
*
* A ClickHouse User resource. For more information, see
* the [Developer's guide](/docs/managed-clickhouse/concepts).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.User}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.User)
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.Builder.class);
}
// Construct using yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPermissionsFieldBuilder();
getQuotasFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
clusterId_ = "";
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
permissionsBuilder_.clear();
}
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
if (quotasBuilder_ == null) {
quotas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
quotasBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User getDefaultInstanceForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User build() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User buildPartial() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User result = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User(this);
int from_bitField0_ = bitField0_;
result.name_ = name_;
result.clusterId_ = clusterId_;
if (permissionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
permissions_ = java.util.Collections.unmodifiableList(permissions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.permissions_ = permissions_;
} else {
result.permissions_ = permissionsBuilder_.build();
}
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
if (quotasBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
quotas_ = java.util.Collections.unmodifiableList(quotas_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.quotas_ = quotas_;
} else {
result.quotas_ = quotasBuilder_.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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User) {
return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User other) {
if (other == yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getClusterId().isEmpty()) {
clusterId_ = other.clusterId_;
onChanged();
}
if (permissionsBuilder_ == null) {
if (!other.permissions_.isEmpty()) {
if (permissions_.isEmpty()) {
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePermissionsIsMutable();
permissions_.addAll(other.permissions_);
}
onChanged();
}
} else {
if (!other.permissions_.isEmpty()) {
if (permissionsBuilder_.isEmpty()) {
permissionsBuilder_.dispose();
permissionsBuilder_ = null;
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000001);
permissionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPermissionsFieldBuilder() : null;
} else {
permissionsBuilder_.addAllMessages(other.permissions_);
}
}
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
if (quotasBuilder_ == null) {
if (!other.quotas_.isEmpty()) {
if (quotas_.isEmpty()) {
quotas_ = other.quotas_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureQuotasIsMutable();
quotas_.addAll(other.quotas_);
}
onChanged();
}
} else {
if (!other.quotas_.isEmpty()) {
if (quotasBuilder_.isEmpty()) {
quotasBuilder_.dispose();
quotasBuilder_ = null;
quotas_ = other.quotas_;
bitField0_ = (bitField0_ & ~0x00000002);
quotasBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQuotasFieldBuilder() : null;
} else {
quotasBuilder_.addAllMessages(other.quotas_);
}
}
}
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 {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object clusterId_ = "";
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clusterId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @param value The clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clusterId_ = value;
onChanged();
return this;
}
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return This builder for chaining.
*/
public Builder clearClusterId() {
clusterId_ = getDefaultInstance().getClusterId();
onChanged();
return this;
}
/**
*
* ID of the ClickHouse cluster the user belongs to.
*
*
* string cluster_id = 2;
* @param value The bytes for clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clusterId_ = value;
onChanged();
return this;
}
private java.util.List permissions_ =
java.util.Collections.emptyList();
private void ensurePermissionsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
permissions_ = new java.util.ArrayList(permissions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder> permissionsBuilder_;
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List getPermissionsList() {
if (permissionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(permissions_);
} else {
return permissionsBuilder_.getMessageList();
}
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public int getPermissionsCount() {
if (permissionsBuilder_ == null) {
return permissions_.size();
} else {
return permissionsBuilder_.getCount();
}
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index);
} else {
return permissionsBuilder_.getMessage(index);
}
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder setPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.set(index, value);
onChanged();
} else {
permissionsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder setPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.set(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(value);
onChanged();
} else {
permissionsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(index, value);
onChanged();
} else {
permissionsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addAllPermissions(
java.lang.Iterable extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission> values) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, permissions_);
onChanged();
} else {
permissionsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder clearPermissions() {
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
permissionsBuilder_.clear();
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder removePermissions(int index) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.remove(index);
onChanged();
} else {
permissionsBuilder_.remove(index);
}
return this;
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder getPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().getBuilder(index);
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index); } else {
return permissionsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList() {
if (permissionsBuilder_ != null) {
return permissionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(permissions_);
}
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder addPermissionsBuilder() {
return getPermissionsFieldBuilder().addBuilder(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance());
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder addPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().addBuilder(
index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance());
}
/**
*
* Set of permissions granted to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List
getPermissionsBuilderList() {
return getPermissionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsFieldBuilder() {
if (permissionsBuilder_ == null) {
permissionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>(
permissions_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
permissions_ = null;
}
return permissionsBuilder_;
}
private yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder> settingsBuilder_;
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder setSettings(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder setSettings(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder mergeSettings(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
}
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
private java.util.List quotas_ =
java.util.Collections.emptyList();
private void ensureQuotasIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
quotas_ = new java.util.ArrayList(quotas_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder> quotasBuilder_;
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List getQuotasList() {
if (quotasBuilder_ == null) {
return java.util.Collections.unmodifiableList(quotas_);
} else {
return quotasBuilder_.getMessageList();
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public int getQuotasCount() {
if (quotasBuilder_ == null) {
return quotas_.size();
} else {
return quotasBuilder_.getCount();
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index) {
if (quotasBuilder_ == null) {
return quotas_.get(index);
} else {
return quotasBuilder_.getMessage(index);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder setQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.set(index, value);
onChanged();
} else {
quotasBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder setQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.set(index, builderForValue.build());
onChanged();
} else {
quotasBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.add(value);
onChanged();
} else {
quotasBuilder_.addMessage(value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.add(index, value);
onChanged();
} else {
quotasBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.add(builderForValue.build());
onChanged();
} else {
quotasBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.add(index, builderForValue.build());
onChanged();
} else {
quotasBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addAllQuotas(
java.lang.Iterable extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota> values) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, quotas_);
onChanged();
} else {
quotasBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder clearQuotas() {
if (quotasBuilder_ == null) {
quotas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
quotasBuilder_.clear();
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder removeQuotas(int index) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.remove(index);
onChanged();
} else {
quotasBuilder_.remove(index);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder getQuotasBuilder(
int index) {
return getQuotasFieldBuilder().getBuilder(index);
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index) {
if (quotasBuilder_ == null) {
return quotas_.get(index); } else {
return quotasBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList() {
if (quotasBuilder_ != null) {
return quotasBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(quotas_);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder addQuotasBuilder() {
return getQuotasFieldBuilder().addBuilder(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance());
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder addQuotasBuilder(
int index) {
return getQuotasFieldBuilder().addBuilder(
index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance());
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List
getQuotasBuilderList() {
return getQuotasFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasFieldBuilder() {
if (quotasBuilder_ == null) {
quotasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>(
quotas_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
quotas_ = null;
}
return quotasBuilder_;
}
@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:yandex.cloud.mdb.clickhouse.v1.User)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.User)
private static final yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User();
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public User parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new User(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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.User getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PermissionOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.Permission)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The databaseName.
*/
java.lang.String getDatabaseName();
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The bytes for databaseName.
*/
com.google.protobuf.ByteString
getDatabaseNameBytes();
}
/**
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.Permission}
*/
public static final class Permission extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.Permission)
PermissionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Permission.newBuilder() to construct.
private Permission(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Permission() {
databaseName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Permission();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Permission(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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: {
java.lang.String s = input.readStringRequireUtf8();
databaseName_ = s;
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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder.class);
}
public static final int DATABASE_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object databaseName_;
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The databaseName.
*/
@java.lang.Override
public java.lang.String getDatabaseName() {
java.lang.Object ref = databaseName_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
databaseName_ = s;
return s;
}
}
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The bytes for databaseName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDatabaseNameBytes() {
java.lang.Object ref = databaseName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
databaseName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, databaseName_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, databaseName_);
}
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission other = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission) obj;
if (!getDatabaseName()
.equals(other.getDatabaseName())) 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();
hash = (37 * hash) + DATABASE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getDatabaseName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission 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(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission 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 yandex.cloud.mdb.clickhouse.v1.Permission}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.Permission)
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder.class);
}
// Construct using yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
databaseName_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getDefaultInstanceForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission build() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission buildPartial() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission result = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission(this);
result.databaseName_ = databaseName_;
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission) {
return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission other) {
if (other == yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance()) return this;
if (!other.getDatabaseName().isEmpty()) {
databaseName_ = other.databaseName_;
onChanged();
}
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 {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object databaseName_ = "";
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The databaseName.
*/
public java.lang.String getDatabaseName() {
java.lang.Object ref = databaseName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
databaseName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return The bytes for databaseName.
*/
public com.google.protobuf.ByteString
getDatabaseNameBytes() {
java.lang.Object ref = databaseName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
databaseName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @param value The databaseName to set.
* @return This builder for chaining.
*/
public Builder setDatabaseName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
databaseName_ = value;
onChanged();
return this;
}
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @return This builder for chaining.
*/
public Builder clearDatabaseName() {
databaseName_ = getDefaultInstance().getDatabaseName();
onChanged();
return this;
}
/**
*
* Name of the database that the permission grants access to.
*
*
* string database_name = 1;
* @param value The bytes for databaseName to set.
* @return This builder for chaining.
*/
public Builder setDatabaseNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
databaseName_ = value;
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:yandex.cloud.mdb.clickhouse.v1.Permission)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.Permission)
private static final yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission();
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Permission parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Permission(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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UserSpecOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.UserSpec)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
java.lang.String getPassword();
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
java.util.List
getPermissionsList();
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index);
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
int getPermissionsCount();
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList();
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index);
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
boolean hasSettings();
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings();
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
java.util.List
getQuotasList();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index);
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
int getQuotasCount();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList();
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index);
}
/**
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.UserSpec}
*/
public static final class UserSpec extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.UserSpec)
UserSpecOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserSpec.newBuilder() to construct.
private UserSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserSpec() {
name_ = "";
password_ = "";
permissions_ = java.util.Collections.emptyList();
quotas_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserSpec();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserSpec(
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: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
password_ = s;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
permissions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
permissions_.add(
input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.parser(), extensionRegistry));
break;
}
case 34: {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
quotas_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
quotas_.add(
input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.parser(), extensionRegistry));
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)) {
permissions_ = java.util.Collections.unmodifiableList(permissions_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
quotas_ = java.util.Collections.unmodifiableList(quotas_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 2;
private volatile java.lang.Object password_;
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
}
}
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PERMISSIONS_FIELD_NUMBER = 3;
private java.util.List permissions_;
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public java.util.List getPermissionsList() {
return permissions_;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList() {
return permissions_;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public int getPermissionsCount() {
return permissions_.size();
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index) {
return permissions_.get(index);
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index) {
return permissions_.get(index);
}
public static final int SETTINGS_FIELD_NUMBER = 4;
private yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings settings_;
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
@java.lang.Override
public boolean hasSettings() {
return settings_ != null;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings() {
return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
public static final int QUOTAS_FIELD_NUMBER = 5;
private java.util.List quotas_;
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public java.util.List getQuotasList() {
return quotas_;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList() {
return quotas_;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public int getQuotasCount() {
return quotas_.size();
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index) {
return quotas_.get(index);
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index) {
return quotas_.get(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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_);
}
for (int i = 0; i < permissions_.size(); i++) {
output.writeMessage(3, permissions_.get(i));
}
if (settings_ != null) {
output.writeMessage(4, getSettings());
}
for (int i = 0; i < quotas_.size(); i++) {
output.writeMessage(5, quotas_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_);
}
for (int i = 0; i < permissions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, permissions_.get(i));
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getSettings());
}
for (int i = 0; i < quotas_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, quotas_.get(i));
}
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec other = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!getPermissionsList()
.equals(other.getPermissionsList())) return false;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (!getQuotasList()
.equals(other.getQuotasList())) 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();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
if (getPermissionsCount() > 0) {
hash = (37 * hash) + PERMISSIONS_FIELD_NUMBER;
hash = (53 * hash) + getPermissionsList().hashCode();
}
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
if (getQuotasCount() > 0) {
hash = (37 * hash) + QUOTAS_FIELD_NUMBER;
hash = (53 * hash) + getQuotasList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec 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(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec 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 yandex.cloud.mdb.clickhouse.v1.UserSpec}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.UserSpec)
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.Builder.class);
}
// Construct using yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getPermissionsFieldBuilder();
getQuotasFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
password_ = "";
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
permissionsBuilder_.clear();
}
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
if (quotasBuilder_ == null) {
quotas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
quotasBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec getDefaultInstanceForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec build() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec buildPartial() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec result = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec(this);
int from_bitField0_ = bitField0_;
result.name_ = name_;
result.password_ = password_;
if (permissionsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
permissions_ = java.util.Collections.unmodifiableList(permissions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.permissions_ = permissions_;
} else {
result.permissions_ = permissionsBuilder_.build();
}
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
if (quotasBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
quotas_ = java.util.Collections.unmodifiableList(quotas_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.quotas_ = quotas_;
} else {
result.quotas_ = quotasBuilder_.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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec) {
return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec other) {
if (other == yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
onChanged();
}
if (permissionsBuilder_ == null) {
if (!other.permissions_.isEmpty()) {
if (permissions_.isEmpty()) {
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePermissionsIsMutable();
permissions_.addAll(other.permissions_);
}
onChanged();
}
} else {
if (!other.permissions_.isEmpty()) {
if (permissionsBuilder_.isEmpty()) {
permissionsBuilder_.dispose();
permissionsBuilder_ = null;
permissions_ = other.permissions_;
bitField0_ = (bitField0_ & ~0x00000001);
permissionsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPermissionsFieldBuilder() : null;
} else {
permissionsBuilder_.addAllMessages(other.permissions_);
}
}
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
if (quotasBuilder_ == null) {
if (!other.quotas_.isEmpty()) {
if (quotas_.isEmpty()) {
quotas_ = other.quotas_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureQuotasIsMutable();
quotas_.addAll(other.quotas_);
}
onChanged();
}
} else {
if (!other.quotas_.isEmpty()) {
if (quotasBuilder_.isEmpty()) {
quotasBuilder_.dispose();
quotasBuilder_ = null;
quotas_ = other.quotas_;
bitField0_ = (bitField0_ & ~0x00000002);
quotasBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getQuotasFieldBuilder() : null;
} else {
quotasBuilder_.addAllMessages(other.quotas_);
}
}
}
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 {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object name_ = "";
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of the ClickHouse user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
password_ = value;
onChanged();
return this;
}
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
onChanged();
return this;
}
/**
*
* Password of the ClickHouse user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
password_ = value;
onChanged();
return this;
}
private java.util.List permissions_ =
java.util.Collections.emptyList();
private void ensurePermissionsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
permissions_ = new java.util.ArrayList(permissions_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder> permissionsBuilder_;
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List getPermissionsList() {
if (permissionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(permissions_);
} else {
return permissionsBuilder_.getMessageList();
}
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public int getPermissionsCount() {
if (permissionsBuilder_ == null) {
return permissions_.size();
} else {
return permissionsBuilder_.getCount();
}
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission getPermissions(int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index);
} else {
return permissionsBuilder_.getMessage(index);
}
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder setPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.set(index, value);
onChanged();
} else {
permissionsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder setPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.set(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(value);
onChanged();
} else {
permissionsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission value) {
if (permissionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePermissionsIsMutable();
permissions_.add(index, value);
onChanged();
} else {
permissionsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addPermissions(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder builderForValue) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.add(index, builderForValue.build());
onChanged();
} else {
permissionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder addAllPermissions(
java.lang.Iterable extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission> values) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, permissions_);
onChanged();
} else {
permissionsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder clearPermissions() {
if (permissionsBuilder_ == null) {
permissions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
permissionsBuilder_.clear();
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public Builder removePermissions(int index) {
if (permissionsBuilder_ == null) {
ensurePermissionsIsMutable();
permissions_.remove(index);
onChanged();
} else {
permissionsBuilder_.remove(index);
}
return this;
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder getPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().getBuilder(index);
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder getPermissionsOrBuilder(
int index) {
if (permissionsBuilder_ == null) {
return permissions_.get(index); } else {
return permissionsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsOrBuilderList() {
if (permissionsBuilder_ != null) {
return permissionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(permissions_);
}
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder addPermissionsBuilder() {
return getPermissionsFieldBuilder().addBuilder(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance());
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder addPermissionsBuilder(
int index) {
return getPermissionsFieldBuilder().addBuilder(
index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.getDefaultInstance());
}
/**
*
* Set of permissions to grant to the user. If not set, it's granted permissions to access all databases.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.Permission permissions = 3;
*/
public java.util.List
getPermissionsBuilderList() {
return getPermissionsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>
getPermissionsFieldBuilder() {
if (permissionsBuilder_ == null) {
permissionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.Permission.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.PermissionOrBuilder>(
permissions_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
permissions_ = null;
}
return permissionsBuilder_;
}
private yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder> settingsBuilder_;
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return Whether the settings field is set.
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
* @return The settings.
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder setSettings(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder setSettings(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder mergeSettings(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance() : settings_;
}
}
/**
* .yandex.cloud.mdb.clickhouse.v1.UserSettings settings = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
private java.util.List quotas_ =
java.util.Collections.emptyList();
private void ensureQuotasIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
quotas_ = new java.util.ArrayList(quotas_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder> quotasBuilder_;
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List getQuotasList() {
if (quotasBuilder_ == null) {
return java.util.Collections.unmodifiableList(quotas_);
} else {
return quotasBuilder_.getMessageList();
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public int getQuotasCount() {
if (quotasBuilder_ == null) {
return quotas_.size();
} else {
return quotasBuilder_.getCount();
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getQuotas(int index) {
if (quotasBuilder_ == null) {
return quotas_.get(index);
} else {
return quotasBuilder_.getMessage(index);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder setQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.set(index, value);
onChanged();
} else {
quotasBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder setQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.set(index, builderForValue.build());
onChanged();
} else {
quotasBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.add(value);
onChanged();
} else {
quotasBuilder_.addMessage(value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota value) {
if (quotasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureQuotasIsMutable();
quotas_.add(index, value);
onChanged();
} else {
quotasBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.add(builderForValue.build());
onChanged();
} else {
quotasBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addQuotas(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder builderForValue) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.add(index, builderForValue.build());
onChanged();
} else {
quotasBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder addAllQuotas(
java.lang.Iterable extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota> values) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, quotas_);
onChanged();
} else {
quotasBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder clearQuotas() {
if (quotasBuilder_ == null) {
quotas_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
quotasBuilder_.clear();
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public Builder removeQuotas(int index) {
if (quotasBuilder_ == null) {
ensureQuotasIsMutable();
quotas_.remove(index);
onChanged();
} else {
quotasBuilder_.remove(index);
}
return this;
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder getQuotasBuilder(
int index) {
return getQuotasFieldBuilder().getBuilder(index);
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder getQuotasOrBuilder(
int index) {
if (quotasBuilder_ == null) {
return quotas_.get(index); } else {
return quotasBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasOrBuilderList() {
if (quotasBuilder_ != null) {
return quotasBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(quotas_);
}
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder addQuotasBuilder() {
return getQuotasFieldBuilder().addBuilder(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance());
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder addQuotasBuilder(
int index) {
return getQuotasFieldBuilder().addBuilder(
index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance());
}
/**
*
* Set of quotas assigned to the user.
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserQuota quotas = 5;
*/
public java.util.List
getQuotasBuilderList() {
return getQuotasFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>
getQuotasFieldBuilder() {
if (quotasBuilder_ == null) {
quotasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder>(
quotas_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
quotas_ = null;
}
return quotasBuilder_;
}
@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:yandex.cloud.mdb.clickhouse.v1.UserSpec)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.UserSpec)
private static final yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec();
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UserSpec parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UserSpec(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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSpec getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UserSettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.UserSettings)
com.google.protobuf.MessageOrBuilder {
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return Whether the readonly field is set.
*/
boolean hasReadonly();
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return The readonly.
*/
com.google.protobuf.Int64Value getReadonly();
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
com.google.protobuf.Int64ValueOrBuilder getReadonlyOrBuilder();
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return Whether the allowDdl field is set.
*/
boolean hasAllowDdl();
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return The allowDdl.
*/
com.google.protobuf.BoolValue getAllowDdl();
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
com.google.protobuf.BoolValueOrBuilder getAllowDdlOrBuilder();
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return Whether the allowIntrospectionFunctions field is set.
*/
boolean hasAllowIntrospectionFunctions();
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return The allowIntrospectionFunctions.
*/
com.google.protobuf.BoolValue getAllowIntrospectionFunctions();
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
com.google.protobuf.BoolValueOrBuilder getAllowIntrospectionFunctionsOrBuilder();
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeout field is set.
*/
boolean hasConnectTimeout();
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeout.
*/
com.google.protobuf.Int64Value getConnectTimeout();
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutOrBuilder();
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeoutWithFailover field is set.
*/
boolean hasConnectTimeoutWithFailover();
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeoutWithFailover.
*/
com.google.protobuf.Int64Value getConnectTimeoutWithFailover();
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutWithFailoverOrBuilder();
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return Whether the receiveTimeout field is set.
*/
boolean hasReceiveTimeout();
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return The receiveTimeout.
*/
com.google.protobuf.Int64Value getReceiveTimeout();
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getReceiveTimeoutOrBuilder();
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return Whether the sendTimeout field is set.
*/
boolean hasSendTimeout();
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return The sendTimeout.
*/
com.google.protobuf.Int64Value getSendTimeout();
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getSendTimeoutOrBuilder();
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return Whether the timeoutBeforeCheckingExecutionSpeed field is set.
*/
boolean hasTimeoutBeforeCheckingExecutionSpeed();
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return The timeoutBeforeCheckingExecutionSpeed.
*/
com.google.protobuf.Int64Value getTimeoutBeforeCheckingExecutionSpeed();
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
com.google.protobuf.Int64ValueOrBuilder getTimeoutBeforeCheckingExecutionSpeedOrBuilder();
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the insertQuorum field is set.
*/
boolean hasInsertQuorum();
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return The insertQuorum.
*/
com.google.protobuf.Int64Value getInsertQuorum();
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getInsertQuorumOrBuilder();
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the insertQuorumTimeout field is set.
*/
boolean hasInsertQuorumTimeout();
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return The insertQuorumTimeout.
*/
com.google.protobuf.Int64Value getInsertQuorumTimeout();
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
com.google.protobuf.Int64ValueOrBuilder getInsertQuorumTimeoutOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return Whether the insertQuorumParallel field is set.
*/
boolean hasInsertQuorumParallel();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return The insertQuorumParallel.
*/
com.google.protobuf.BoolValue getInsertQuorumParallel();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
com.google.protobuf.BoolValueOrBuilder getInsertQuorumParallelOrBuilder();
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return Whether the insertNullAsDefault field is set.
*/
boolean hasInsertNullAsDefault();
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return The insertNullAsDefault.
*/
com.google.protobuf.BoolValue getInsertNullAsDefault();
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
com.google.protobuf.BoolValueOrBuilder getInsertNullAsDefaultOrBuilder();
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return Whether the selectSequentialConsistency field is set.
*/
boolean hasSelectSequentialConsistency();
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return The selectSequentialConsistency.
*/
com.google.protobuf.BoolValue getSelectSequentialConsistency();
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
com.google.protobuf.BoolValueOrBuilder getSelectSequentialConsistencyOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return Whether the deduplicateBlocksInDependentMaterializedViews field is set.
*/
boolean hasDeduplicateBlocksInDependentMaterializedViews();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return The deduplicateBlocksInDependentMaterializedViews.
*/
com.google.protobuf.BoolValue getDeduplicateBlocksInDependentMaterializedViews();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
com.google.protobuf.BoolValueOrBuilder getDeduplicateBlocksInDependentMaterializedViewsOrBuilder();
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return Whether the replicationAlterPartitionsSync field is set.
*/
boolean hasReplicationAlterPartitionsSync();
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return The replicationAlterPartitionsSync.
*/
com.google.protobuf.Int64Value getReplicationAlterPartitionsSync();
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
com.google.protobuf.Int64ValueOrBuilder getReplicationAlterPartitionsSyncOrBuilder();
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the maxReplicaDelayForDistributedQueries field is set.
*/
boolean hasMaxReplicaDelayForDistributedQueries();
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return The maxReplicaDelayForDistributedQueries.
*/
com.google.protobuf.Int64Value getMaxReplicaDelayForDistributedQueries();
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxReplicaDelayForDistributedQueriesOrBuilder();
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return Whether the fallbackToStaleReplicasForDistributedQueries field is set.
*/
boolean hasFallbackToStaleReplicasForDistributedQueries();
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return The fallbackToStaleReplicasForDistributedQueries.
*/
com.google.protobuf.BoolValue getFallbackToStaleReplicasForDistributedQueries();
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
com.google.protobuf.BoolValueOrBuilder getFallbackToStaleReplicasForDistributedQueriesOrBuilder();
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The enum numeric value on the wire for distributedProductMode.
*/
int getDistributedProductModeValue();
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The distributedProductMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode getDistributedProductMode();
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return Whether the distributedAggregationMemoryEfficient field is set.
*/
boolean hasDistributedAggregationMemoryEfficient();
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return The distributedAggregationMemoryEfficient.
*/
com.google.protobuf.BoolValue getDistributedAggregationMemoryEfficient();
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
com.google.protobuf.BoolValueOrBuilder getDistributedAggregationMemoryEfficientOrBuilder();
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return Whether the distributedDdlTaskTimeout field is set.
*/
boolean hasDistributedDdlTaskTimeout();
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return The distributedDdlTaskTimeout.
*/
com.google.protobuf.Int64Value getDistributedDdlTaskTimeout();
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
com.google.protobuf.Int64ValueOrBuilder getDistributedDdlTaskTimeoutOrBuilder();
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return Whether the skipUnavailableShards field is set.
*/
boolean hasSkipUnavailableShards();
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return The skipUnavailableShards.
*/
com.google.protobuf.BoolValue getSkipUnavailableShards();
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
com.google.protobuf.BoolValueOrBuilder getSkipUnavailableShardsOrBuilder();
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return Whether the compileExpressions field is set.
*/
boolean hasCompileExpressions();
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return The compileExpressions.
*/
com.google.protobuf.BoolValue getCompileExpressions();
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
com.google.protobuf.BoolValueOrBuilder getCompileExpressionsOrBuilder();
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minCountToCompileExpression field is set.
*/
boolean hasMinCountToCompileExpression();
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return The minCountToCompileExpression.
*/
com.google.protobuf.Int64Value getMinCountToCompileExpression();
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileExpressionOrBuilder();
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxBlockSize field is set.
*/
boolean hasMaxBlockSize();
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return The maxBlockSize.
*/
com.google.protobuf.Int64Value getMaxBlockSize();
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBlockSizeOrBuilder();
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeRows field is set.
*/
boolean hasMinInsertBlockSizeRows();
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeRows.
*/
com.google.protobuf.Int64Value getMinInsertBlockSizeRows();
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeRowsOrBuilder();
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeBytes field is set.
*/
boolean hasMinInsertBlockSizeBytes();
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeBytes.
*/
com.google.protobuf.Int64Value getMinInsertBlockSizeBytes();
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeBytesOrBuilder();
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxInsertBlockSize field is set.
*/
boolean hasMaxInsertBlockSize();
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return The maxInsertBlockSize.
*/
com.google.protobuf.Int64Value getMaxInsertBlockSize();
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxInsertBlockSizeOrBuilder();
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minBytesToUseDirectIo field is set.
*/
boolean hasMinBytesToUseDirectIo();
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return The minBytesToUseDirectIo.
*/
com.google.protobuf.Int64Value getMinBytesToUseDirectIo();
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinBytesToUseDirectIoOrBuilder();
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return Whether the useUncompressedCache field is set.
*/
boolean hasUseUncompressedCache();
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return The useUncompressedCache.
*/
com.google.protobuf.BoolValue getUseUncompressedCache();
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
com.google.protobuf.BoolValueOrBuilder getUseUncompressedCacheOrBuilder();
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxRowsToUseCache field is set.
*/
boolean hasMergeTreeMaxRowsToUseCache();
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxRowsToUseCache.
*/
com.google.protobuf.Int64Value getMergeTreeMaxRowsToUseCache();
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxRowsToUseCacheOrBuilder();
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxBytesToUseCache field is set.
*/
boolean hasMergeTreeMaxBytesToUseCache();
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxBytesToUseCache.
*/
com.google.protobuf.Int64Value getMergeTreeMaxBytesToUseCache();
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxBytesToUseCacheOrBuilder();
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinRowsForConcurrentRead field is set.
*/
boolean hasMergeTreeMinRowsForConcurrentRead();
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinRowsForConcurrentRead.
*/
com.google.protobuf.Int64Value getMergeTreeMinRowsForConcurrentRead();
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinRowsForConcurrentReadOrBuilder();
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinBytesForConcurrentRead field is set.
*/
boolean hasMergeTreeMinBytesForConcurrentRead();
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinBytesForConcurrentRead.
*/
com.google.protobuf.Int64Value getMergeTreeMinBytesForConcurrentRead();
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinBytesForConcurrentReadOrBuilder();
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return Whether the maxBytesBeforeExternalGroupBy field is set.
*/
boolean hasMaxBytesBeforeExternalGroupBy();
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return The maxBytesBeforeExternalGroupBy.
*/
com.google.protobuf.Int64Value getMaxBytesBeforeExternalGroupBy();
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalGroupByOrBuilder();
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return Whether the maxBytesBeforeExternalSort field is set.
*/
boolean hasMaxBytesBeforeExternalSort();
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return The maxBytesBeforeExternalSort.
*/
com.google.protobuf.Int64Value getMaxBytesBeforeExternalSort();
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalSortOrBuilder();
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return Whether the groupByTwoLevelThreshold field is set.
*/
boolean hasGroupByTwoLevelThreshold();
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return The groupByTwoLevelThreshold.
*/
com.google.protobuf.Int64Value getGroupByTwoLevelThreshold();
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdOrBuilder();
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return Whether the groupByTwoLevelThresholdBytes field is set.
*/
boolean hasGroupByTwoLevelThresholdBytes();
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return The groupByTwoLevelThresholdBytes.
*/
com.google.protobuf.Int64Value getGroupByTwoLevelThresholdBytes();
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdBytesOrBuilder();
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return Whether the priority field is set.
*/
boolean hasPriority();
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return The priority.
*/
com.google.protobuf.Int64Value getPriority();
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getPriorityOrBuilder();
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxThreads field is set.
*/
boolean hasMaxThreads();
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return The maxThreads.
*/
com.google.protobuf.Int64Value getMaxThreads();
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxThreadsOrBuilder();
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsage field is set.
*/
boolean hasMaxMemoryUsage();
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsage.
*/
com.google.protobuf.Int64Value getMaxMemoryUsage();
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageOrBuilder();
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsageForUser field is set.
*/
boolean hasMaxMemoryUsageForUser();
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsageForUser.
*/
com.google.protobuf.Int64Value getMaxMemoryUsageForUser();
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageForUserOrBuilder();
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return Whether the maxNetworkBandwidth field is set.
*/
boolean hasMaxNetworkBandwidth();
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return The maxNetworkBandwidth.
*/
com.google.protobuf.Int64Value getMaxNetworkBandwidth();
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthOrBuilder();
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return Whether the maxNetworkBandwidthForUser field is set.
*/
boolean hasMaxNetworkBandwidthForUser();
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return The maxNetworkBandwidthForUser.
*/
com.google.protobuf.Int64Value getMaxNetworkBandwidthForUser();
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthForUserOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return Whether the maxPartitionsPerInsertBlock field is set.
*/
boolean hasMaxPartitionsPerInsertBlock();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return The maxPartitionsPerInsertBlock.
*/
com.google.protobuf.Int64Value getMaxPartitionsPerInsertBlock();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxPartitionsPerInsertBlockOrBuilder();
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return Whether the maxConcurrentQueriesForUser field is set.
*/
boolean hasMaxConcurrentQueriesForUser();
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return The maxConcurrentQueriesForUser.
*/
com.google.protobuf.Int64Value getMaxConcurrentQueriesForUser();
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesForUserOrBuilder();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return Whether the forceIndexByDate field is set.
*/
boolean hasForceIndexByDate();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return The forceIndexByDate.
*/
com.google.protobuf.BoolValue getForceIndexByDate();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
com.google.protobuf.BoolValueOrBuilder getForceIndexByDateOrBuilder();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return Whether the forcePrimaryKey field is set.
*/
boolean hasForcePrimaryKey();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return The forcePrimaryKey.
*/
com.google.protobuf.BoolValue getForcePrimaryKey();
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
com.google.protobuf.BoolValueOrBuilder getForcePrimaryKeyOrBuilder();
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToRead field is set.
*/
boolean hasMaxRowsToRead();
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToRead.
*/
com.google.protobuf.Int64Value getMaxRowsToRead();
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsToReadOrBuilder();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToRead field is set.
*/
boolean hasMaxBytesToRead();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToRead.
*/
com.google.protobuf.Int64Value getMaxBytesToRead();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesToReadOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The enum numeric value on the wire for readOverflowMode.
*/
int getReadOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The readOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getReadOverflowMode();
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToGroupBy field is set.
*/
boolean hasMaxRowsToGroupBy();
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToGroupBy.
*/
com.google.protobuf.Int64Value getMaxRowsToGroupBy();
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsToGroupByOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The enum numeric value on the wire for groupByOverflowMode.
*/
int getGroupByOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The groupByOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode getGroupByOverflowMode();
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToSort field is set.
*/
boolean hasMaxRowsToSort();
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToSort.
*/
com.google.protobuf.Int64Value getMaxRowsToSort();
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsToSortOrBuilder();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToSort field is set.
*/
boolean hasMaxBytesToSort();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToSort.
*/
com.google.protobuf.Int64Value getMaxBytesToSort();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesToSortOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The enum numeric value on the wire for sortOverflowMode.
*/
int getSortOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The sortOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSortOverflowMode();
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultRows field is set.
*/
boolean hasMaxResultRows();
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultRows.
*/
com.google.protobuf.Int64Value getMaxResultRows();
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxResultRowsOrBuilder();
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultBytes field is set.
*/
boolean hasMaxResultBytes();
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultBytes.
*/
com.google.protobuf.Int64Value getMaxResultBytes();
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxResultBytesOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The enum numeric value on the wire for resultOverflowMode.
*/
int getResultOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The resultOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getResultOverflowMode();
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInDistinct field is set.
*/
boolean hasMaxRowsInDistinct();
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInDistinct.
*/
com.google.protobuf.Int64Value getMaxRowsInDistinct();
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsInDistinctOrBuilder();
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInDistinct field is set.
*/
boolean hasMaxBytesInDistinct();
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInDistinct.
*/
com.google.protobuf.Int64Value getMaxBytesInDistinct();
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesInDistinctOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The enum numeric value on the wire for distinctOverflowMode.
*/
int getDistinctOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The distinctOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getDistinctOverflowMode();
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToTransfer field is set.
*/
boolean hasMaxRowsToTransfer();
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToTransfer.
*/
com.google.protobuf.Int64Value getMaxRowsToTransfer();
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsToTransferOrBuilder();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToTransfer field is set.
*/
boolean hasMaxBytesToTransfer();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToTransfer.
*/
com.google.protobuf.Int64Value getMaxBytesToTransfer();
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesToTransferOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The enum numeric value on the wire for transferOverflowMode.
*/
int getTransferOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The transferOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTransferOverflowMode();
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxExecutionTime field is set.
*/
boolean hasMaxExecutionTime();
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return The maxExecutionTime.
*/
com.google.protobuf.Int64Value getMaxExecutionTime();
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxExecutionTimeOrBuilder();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The enum numeric value on the wire for timeoutOverflowMode.
*/
int getTimeoutOverflowModeValue();
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The timeoutOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTimeoutOverflowMode();
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInSet field is set.
*/
boolean hasMaxRowsInSet();
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInSet.
*/
com.google.protobuf.Int64Value getMaxRowsInSet();
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsInSetOrBuilder();
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInSet field is set.
*/
boolean hasMaxBytesInSet();
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInSet.
*/
com.google.protobuf.Int64Value getMaxBytesInSet();
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesInSetOrBuilder();
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The enum numeric value on the wire for setOverflowMode.
*/
int getSetOverflowModeValue();
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The setOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSetOverflowMode();
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInJoin field is set.
*/
boolean hasMaxRowsInJoin();
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInJoin.
*/
com.google.protobuf.Int64Value getMaxRowsInJoin();
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxRowsInJoinOrBuilder();
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInJoin field is set.
*/
boolean hasMaxBytesInJoin();
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInJoin.
*/
com.google.protobuf.Int64Value getMaxBytesInJoin();
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxBytesInJoinOrBuilder();
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The enum numeric value on the wire for joinOverflowMode.
*/
int getJoinOverflowModeValue();
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The joinOverflowMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getJoinOverflowMode();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the joinAlgorithm.
*/
java.util.List getJoinAlgorithmList();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return The count of joinAlgorithm.
*/
int getJoinAlgorithmCount();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the element to return.
* @return The joinAlgorithm at the given index.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm getJoinAlgorithm(int index);
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the enum numeric values on the wire for joinAlgorithm.
*/
java.util.List
getJoinAlgorithmValueList();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of joinAlgorithm at the given index.
*/
int getJoinAlgorithmValue(int index);
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return Whether the anyJoinDistinctRightTableKeys field is set.
*/
boolean hasAnyJoinDistinctRightTableKeys();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return The anyJoinDistinctRightTableKeys.
*/
com.google.protobuf.BoolValue getAnyJoinDistinctRightTableKeys();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
com.google.protobuf.BoolValueOrBuilder getAnyJoinDistinctRightTableKeysOrBuilder();
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxColumnsToRead field is set.
*/
boolean hasMaxColumnsToRead();
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return The maxColumnsToRead.
*/
com.google.protobuf.Int64Value getMaxColumnsToRead();
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxColumnsToReadOrBuilder();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryColumns field is set.
*/
boolean hasMaxTemporaryColumns();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryColumns.
*/
com.google.protobuf.Int64Value getMaxTemporaryColumns();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryColumnsOrBuilder();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryNonConstColumns field is set.
*/
boolean hasMaxTemporaryNonConstColumns();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryNonConstColumns.
*/
com.google.protobuf.Int64Value getMaxTemporaryNonConstColumns();
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryNonConstColumnsOrBuilder();
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxQuerySize field is set.
*/
boolean hasMaxQuerySize();
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return The maxQuerySize.
*/
com.google.protobuf.Int64Value getMaxQuerySize();
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxQuerySizeOrBuilder();
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstDepth field is set.
*/
boolean hasMaxAstDepth();
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return The maxAstDepth.
*/
com.google.protobuf.Int64Value getMaxAstDepth();
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxAstDepthOrBuilder();
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstElements field is set.
*/
boolean hasMaxAstElements();
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return The maxAstElements.
*/
com.google.protobuf.Int64Value getMaxAstElements();
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxAstElementsOrBuilder();
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxExpandedAstElements field is set.
*/
boolean hasMaxExpandedAstElements();
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return The maxExpandedAstElements.
*/
com.google.protobuf.Int64Value getMaxExpandedAstElements();
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxExpandedAstElementsOrBuilder();
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeed field is set.
*/
boolean hasMinExecutionSpeed();
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeed.
*/
com.google.protobuf.Int64Value getMinExecutionSpeed();
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedOrBuilder();
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeedBytes field is set.
*/
boolean hasMinExecutionSpeedBytes();
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeedBytes.
*/
com.google.protobuf.Int64Value getMinExecutionSpeedBytes();
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedBytesOrBuilder();
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The enum numeric value on the wire for countDistinctImplementation.
*/
int getCountDistinctImplementationValue();
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The countDistinctImplementation.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation getCountDistinctImplementation();
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return Whether the inputFormatValuesInterpretExpressions field is set.
*/
boolean hasInputFormatValuesInterpretExpressions();
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return The inputFormatValuesInterpretExpressions.
*/
com.google.protobuf.BoolValue getInputFormatValuesInterpretExpressions();
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatValuesInterpretExpressionsOrBuilder();
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return Whether the inputFormatDefaultsForOmittedFields field is set.
*/
boolean hasInputFormatDefaultsForOmittedFields();
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return The inputFormatDefaultsForOmittedFields.
*/
com.google.protobuf.BoolValue getInputFormatDefaultsForOmittedFields();
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatDefaultsForOmittedFieldsOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return Whether the inputFormatNullAsDefault field is set.
*/
boolean hasInputFormatNullAsDefault();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return The inputFormatNullAsDefault.
*/
com.google.protobuf.BoolValue getInputFormatNullAsDefault();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatNullAsDefaultOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The enum numeric value on the wire for dateTimeInputFormat.
*/
int getDateTimeInputFormatValue();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The dateTimeInputFormat.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat getDateTimeInputFormat();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return Whether the inputFormatWithNamesUseHeader field is set.
*/
boolean hasInputFormatWithNamesUseHeader();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return The inputFormatWithNamesUseHeader.
*/
com.google.protobuf.BoolValue getInputFormatWithNamesUseHeader();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatWithNamesUseHeaderOrBuilder();
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return Whether the outputFormatJsonQuote64bitIntegers field is set.
*/
boolean hasOutputFormatJsonQuote64BitIntegers();
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return The outputFormatJsonQuote64bitIntegers.
*/
com.google.protobuf.BoolValue getOutputFormatJsonQuote64BitIntegers();
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuote64BitIntegersOrBuilder();
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return Whether the outputFormatJsonQuoteDenormals field is set.
*/
boolean hasOutputFormatJsonQuoteDenormals();
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return The outputFormatJsonQuoteDenormals.
*/
com.google.protobuf.BoolValue getOutputFormatJsonQuoteDenormals();
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuoteDenormalsOrBuilder();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The enum numeric value on the wire for dateTimeOutputFormat.
*/
int getDateTimeOutputFormatValue();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The dateTimeOutputFormat.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat getDateTimeOutputFormat();
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return Whether the lowCardinalityAllowInNativeFormat field is set.
*/
boolean hasLowCardinalityAllowInNativeFormat();
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return The lowCardinalityAllowInNativeFormat.
*/
com.google.protobuf.BoolValue getLowCardinalityAllowInNativeFormat();
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
com.google.protobuf.BoolValueOrBuilder getLowCardinalityAllowInNativeFormatOrBuilder();
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return Whether the allowSuspiciousLowCardinalityTypes field is set.
*/
boolean hasAllowSuspiciousLowCardinalityTypes();
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return The allowSuspiciousLowCardinalityTypes.
*/
com.google.protobuf.BoolValue getAllowSuspiciousLowCardinalityTypes();
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
com.google.protobuf.BoolValueOrBuilder getAllowSuspiciousLowCardinalityTypesOrBuilder();
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return Whether the emptyResultForAggregationByEmptySet field is set.
*/
boolean hasEmptyResultForAggregationByEmptySet();
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return The emptyResultForAggregationByEmptySet.
*/
com.google.protobuf.BoolValue getEmptyResultForAggregationByEmptySet();
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
com.google.protobuf.BoolValueOrBuilder getEmptyResultForAggregationByEmptySetOrBuilder();
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return Whether the httpConnectionTimeout field is set.
*/
boolean hasHttpConnectionTimeout();
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return The httpConnectionTimeout.
*/
com.google.protobuf.Int64Value getHttpConnectionTimeout();
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
com.google.protobuf.Int64ValueOrBuilder getHttpConnectionTimeoutOrBuilder();
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return Whether the httpReceiveTimeout field is set.
*/
boolean hasHttpReceiveTimeout();
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return The httpReceiveTimeout.
*/
com.google.protobuf.Int64Value getHttpReceiveTimeout();
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
com.google.protobuf.Int64ValueOrBuilder getHttpReceiveTimeoutOrBuilder();
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return Whether the httpSendTimeout field is set.
*/
boolean hasHttpSendTimeout();
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return The httpSendTimeout.
*/
com.google.protobuf.Int64Value getHttpSendTimeout();
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
com.google.protobuf.Int64ValueOrBuilder getHttpSendTimeoutOrBuilder();
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return Whether the enableHttpCompression field is set.
*/
boolean hasEnableHttpCompression();
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return The enableHttpCompression.
*/
com.google.protobuf.BoolValue getEnableHttpCompression();
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
com.google.protobuf.BoolValueOrBuilder getEnableHttpCompressionOrBuilder();
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return Whether the sendProgressInHttpHeaders field is set.
*/
boolean hasSendProgressInHttpHeaders();
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return The sendProgressInHttpHeaders.
*/
com.google.protobuf.BoolValue getSendProgressInHttpHeaders();
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
com.google.protobuf.BoolValueOrBuilder getSendProgressInHttpHeadersOrBuilder();
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return Whether the httpHeadersProgressInterval field is set.
*/
boolean hasHttpHeadersProgressInterval();
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return The httpHeadersProgressInterval.
*/
com.google.protobuf.Int64Value getHttpHeadersProgressInterval();
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
com.google.protobuf.Int64ValueOrBuilder getHttpHeadersProgressIntervalOrBuilder();
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return Whether the addHttpCorsHeader field is set.
*/
boolean hasAddHttpCorsHeader();
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return The addHttpCorsHeader.
*/
com.google.protobuf.BoolValue getAddHttpCorsHeader();
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
com.google.protobuf.BoolValueOrBuilder getAddHttpCorsHeaderOrBuilder();
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return Whether the cancelHttpReadonlyQueriesOnClientClose field is set.
*/
boolean hasCancelHttpReadonlyQueriesOnClientClose();
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return The cancelHttpReadonlyQueriesOnClientClose.
*/
com.google.protobuf.BoolValue getCancelHttpReadonlyQueriesOnClientClose();
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
com.google.protobuf.BoolValueOrBuilder getCancelHttpReadonlyQueriesOnClientCloseOrBuilder();
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return Whether the maxHttpGetRedirects field is set.
*/
boolean hasMaxHttpGetRedirects();
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return The maxHttpGetRedirects.
*/
com.google.protobuf.Int64Value getMaxHttpGetRedirects();
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxHttpGetRedirectsOrBuilder();
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return Whether the joinedSubqueryRequiresAlias field is set.
*/
boolean hasJoinedSubqueryRequiresAlias();
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return The joinedSubqueryRequiresAlias.
*/
com.google.protobuf.BoolValue getJoinedSubqueryRequiresAlias();
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
com.google.protobuf.BoolValueOrBuilder getJoinedSubqueryRequiresAliasOrBuilder();
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return Whether the joinUseNulls field is set.
*/
boolean hasJoinUseNulls();
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return The joinUseNulls.
*/
com.google.protobuf.BoolValue getJoinUseNulls();
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
com.google.protobuf.BoolValueOrBuilder getJoinUseNullsOrBuilder();
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return Whether the transformNullIn field is set.
*/
boolean hasTransformNullIn();
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return The transformNullIn.
*/
com.google.protobuf.BoolValue getTransformNullIn();
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
com.google.protobuf.BoolValueOrBuilder getTransformNullInOrBuilder();
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The enum numeric value on the wire for quotaMode.
*/
int getQuotaModeValue();
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The quotaMode.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode getQuotaMode();
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return Whether the flattenNested field is set.
*/
boolean hasFlattenNested();
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return The flattenNested.
*/
com.google.protobuf.BoolValue getFlattenNested();
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
com.google.protobuf.BoolValueOrBuilder getFlattenNestedOrBuilder();
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The formatRegexp.
*/
java.lang.String getFormatRegexp();
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The bytes for formatRegexp.
*/
com.google.protobuf.ByteString
getFormatRegexpBytes();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The enum numeric value on the wire for formatRegexpEscapingRule.
*/
int getFormatRegexpEscapingRuleValue();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The formatRegexpEscapingRule.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule getFormatRegexpEscapingRule();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return Whether the formatRegexpSkipUnmatched field is set.
*/
boolean hasFormatRegexpSkipUnmatched();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return The formatRegexpSkipUnmatched.
*/
com.google.protobuf.BoolValue getFormatRegexpSkipUnmatched();
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
com.google.protobuf.BoolValueOrBuilder getFormatRegexpSkipUnmatchedOrBuilder();
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return Whether the asyncInsert field is set.
*/
boolean hasAsyncInsert();
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return The asyncInsert.
*/
com.google.protobuf.BoolValue getAsyncInsert();
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
com.google.protobuf.BoolValueOrBuilder getAsyncInsertOrBuilder();
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return Whether the asyncInsertThreads field is set.
*/
boolean hasAsyncInsertThreads();
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return The asyncInsertThreads.
*/
com.google.protobuf.Int64Value getAsyncInsertThreads();
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
com.google.protobuf.Int64ValueOrBuilder getAsyncInsertThreadsOrBuilder();
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return Whether the waitForAsyncInsert field is set.
*/
boolean hasWaitForAsyncInsert();
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return The waitForAsyncInsert.
*/
com.google.protobuf.BoolValue getWaitForAsyncInsert();
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
com.google.protobuf.BoolValueOrBuilder getWaitForAsyncInsertOrBuilder();
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return Whether the waitForAsyncInsertTimeout field is set.
*/
boolean hasWaitForAsyncInsertTimeout();
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return The waitForAsyncInsertTimeout.
*/
com.google.protobuf.Int64Value getWaitForAsyncInsertTimeout();
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
com.google.protobuf.Int64ValueOrBuilder getWaitForAsyncInsertTimeoutOrBuilder();
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return Whether the asyncInsertMaxDataSize field is set.
*/
boolean hasAsyncInsertMaxDataSize();
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return The asyncInsertMaxDataSize.
*/
com.google.protobuf.Int64Value getAsyncInsertMaxDataSize();
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
com.google.protobuf.Int64ValueOrBuilder getAsyncInsertMaxDataSizeOrBuilder();
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return Whether the asyncInsertBusyTimeout field is set.
*/
boolean hasAsyncInsertBusyTimeout();
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return The asyncInsertBusyTimeout.
*/
com.google.protobuf.Int64Value getAsyncInsertBusyTimeout();
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
com.google.protobuf.Int64ValueOrBuilder getAsyncInsertBusyTimeoutOrBuilder();
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return Whether the asyncInsertStaleTimeout field is set.
*/
boolean hasAsyncInsertStaleTimeout();
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return The asyncInsertStaleTimeout.
*/
com.google.protobuf.Int64Value getAsyncInsertStaleTimeout();
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
com.google.protobuf.Int64ValueOrBuilder getAsyncInsertStaleTimeoutOrBuilder();
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return Whether the memoryProfilerStep field is set.
*/
boolean hasMemoryProfilerStep();
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return The memoryProfilerStep.
*/
com.google.protobuf.Int64Value getMemoryProfilerStep();
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
com.google.protobuf.Int64ValueOrBuilder getMemoryProfilerStepOrBuilder();
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return Whether the memoryProfilerSampleProbability field is set.
*/
boolean hasMemoryProfilerSampleProbability();
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return The memoryProfilerSampleProbability.
*/
com.google.protobuf.DoubleValue getMemoryProfilerSampleProbability();
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
com.google.protobuf.DoubleValueOrBuilder getMemoryProfilerSampleProbabilityOrBuilder();
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxFinalThreads field is set.
*/
boolean hasMaxFinalThreads();
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return The maxFinalThreads.
*/
com.google.protobuf.Int64Value getMaxFinalThreads();
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxFinalThreadsOrBuilder();
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return Whether the inputFormatParallelParsing field is set.
*/
boolean hasInputFormatParallelParsing();
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return The inputFormatParallelParsing.
*/
com.google.protobuf.BoolValue getInputFormatParallelParsing();
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatParallelParsingOrBuilder();
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return Whether the inputFormatImportNestedJson field is set.
*/
boolean hasInputFormatImportNestedJson();
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return The inputFormatImportNestedJson.
*/
com.google.protobuf.BoolValue getInputFormatImportNestedJson();
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
com.google.protobuf.BoolValueOrBuilder getInputFormatImportNestedJsonOrBuilder();
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The enum numeric value on the wire for localFilesystemReadMethod.
*/
int getLocalFilesystemReadMethodValue();
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The localFilesystemReadMethod.
*/
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod getLocalFilesystemReadMethod();
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxReadBufferSize field is set.
*/
boolean hasMaxReadBufferSize();
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return The maxReadBufferSize.
*/
com.google.protobuf.Int64Value getMaxReadBufferSize();
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
com.google.protobuf.Int64ValueOrBuilder getMaxReadBufferSizeOrBuilder();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return Whether the compile field is set.
*/
@java.lang.Deprecated boolean hasCompile();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return The compile.
*/
@java.lang.Deprecated com.google.protobuf.BoolValue getCompile();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.BoolValueOrBuilder getCompileOrBuilder();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return Whether the minCountToCompile field is set.
*/
@java.lang.Deprecated boolean hasMinCountToCompile();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return The minCountToCompile.
*/
@java.lang.Deprecated com.google.protobuf.Int64Value getMinCountToCompile();
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileOrBuilder();
}
/**
*
* ClickHouse user settings. Supported settings are a limited subset of all settings
* described in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.UserSettings}
*/
public static final class UserSettings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.UserSettings)
UserSettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserSettings.newBuilder() to construct.
private UserSettings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserSettings() {
distributedProductMode_ = 0;
readOverflowMode_ = 0;
groupByOverflowMode_ = 0;
sortOverflowMode_ = 0;
resultOverflowMode_ = 0;
distinctOverflowMode_ = 0;
transferOverflowMode_ = 0;
timeoutOverflowMode_ = 0;
setOverflowMode_ = 0;
joinOverflowMode_ = 0;
joinAlgorithm_ = java.util.Collections.emptyList();
countDistinctImplementation_ = 0;
dateTimeInputFormat_ = 0;
dateTimeOutputFormat_ = 0;
quotaMode_ = 0;
formatRegexp_ = "";
formatRegexpEscapingRule_ = 0;
localFilesystemReadMethod_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserSettings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserSettings(
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: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (readonly_ != null) {
subBuilder = readonly_.toBuilder();
}
readonly_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(readonly_);
readonly_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (allowDdl_ != null) {
subBuilder = allowDdl_.toBuilder();
}
allowDdl_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(allowDdl_);
allowDdl_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (insertQuorum_ != null) {
subBuilder = insertQuorum_.toBuilder();
}
insertQuorum_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(insertQuorum_);
insertQuorum_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (insertQuorumTimeout_ != null) {
subBuilder = insertQuorumTimeout_.toBuilder();
}
insertQuorumTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(insertQuorumTimeout_);
insertQuorumTimeout_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (selectSequentialConsistency_ != null) {
subBuilder = selectSequentialConsistency_.toBuilder();
}
selectSequentialConsistency_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(selectSequentialConsistency_);
selectSequentialConsistency_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxReplicaDelayForDistributedQueries_ != null) {
subBuilder = maxReplicaDelayForDistributedQueries_.toBuilder();
}
maxReplicaDelayForDistributedQueries_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxReplicaDelayForDistributedQueries_);
maxReplicaDelayForDistributedQueries_ = subBuilder.buildPartial();
}
break;
}
case 58: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (fallbackToStaleReplicasForDistributedQueries_ != null) {
subBuilder = fallbackToStaleReplicasForDistributedQueries_.toBuilder();
}
fallbackToStaleReplicasForDistributedQueries_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fallbackToStaleReplicasForDistributedQueries_);
fallbackToStaleReplicasForDistributedQueries_ = subBuilder.buildPartial();
}
break;
}
case 66: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxThreads_ != null) {
subBuilder = maxThreads_.toBuilder();
}
maxThreads_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxThreads_);
maxThreads_ = subBuilder.buildPartial();
}
break;
}
case 74: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBlockSize_ != null) {
subBuilder = maxBlockSize_.toBuilder();
}
maxBlockSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBlockSize_);
maxBlockSize_ = subBuilder.buildPartial();
}
break;
}
case 82: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxInsertBlockSize_ != null) {
subBuilder = maxInsertBlockSize_.toBuilder();
}
maxInsertBlockSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxInsertBlockSize_);
maxInsertBlockSize_ = subBuilder.buildPartial();
}
break;
}
case 90: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxMemoryUsage_ != null) {
subBuilder = maxMemoryUsage_.toBuilder();
}
maxMemoryUsage_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxMemoryUsage_);
maxMemoryUsage_ = subBuilder.buildPartial();
}
break;
}
case 98: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxMemoryUsageForUser_ != null) {
subBuilder = maxMemoryUsageForUser_.toBuilder();
}
maxMemoryUsageForUser_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxMemoryUsageForUser_);
maxMemoryUsageForUser_ = subBuilder.buildPartial();
}
break;
}
case 106: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsToRead_ != null) {
subBuilder = maxRowsToRead_.toBuilder();
}
maxRowsToRead_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsToRead_);
maxRowsToRead_ = subBuilder.buildPartial();
}
break;
}
case 114: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesToRead_ != null) {
subBuilder = maxBytesToRead_.toBuilder();
}
maxBytesToRead_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesToRead_);
maxBytesToRead_ = subBuilder.buildPartial();
}
break;
}
case 120: {
int rawValue = input.readEnum();
readOverflowMode_ = rawValue;
break;
}
case 130: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsToGroupBy_ != null) {
subBuilder = maxRowsToGroupBy_.toBuilder();
}
maxRowsToGroupBy_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsToGroupBy_);
maxRowsToGroupBy_ = subBuilder.buildPartial();
}
break;
}
case 136: {
int rawValue = input.readEnum();
groupByOverflowMode_ = rawValue;
break;
}
case 146: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsToSort_ != null) {
subBuilder = maxRowsToSort_.toBuilder();
}
maxRowsToSort_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsToSort_);
maxRowsToSort_ = subBuilder.buildPartial();
}
break;
}
case 154: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesToSort_ != null) {
subBuilder = maxBytesToSort_.toBuilder();
}
maxBytesToSort_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesToSort_);
maxBytesToSort_ = subBuilder.buildPartial();
}
break;
}
case 160: {
int rawValue = input.readEnum();
sortOverflowMode_ = rawValue;
break;
}
case 170: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxResultRows_ != null) {
subBuilder = maxResultRows_.toBuilder();
}
maxResultRows_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxResultRows_);
maxResultRows_ = subBuilder.buildPartial();
}
break;
}
case 178: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxResultBytes_ != null) {
subBuilder = maxResultBytes_.toBuilder();
}
maxResultBytes_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxResultBytes_);
maxResultBytes_ = subBuilder.buildPartial();
}
break;
}
case 184: {
int rawValue = input.readEnum();
resultOverflowMode_ = rawValue;
break;
}
case 194: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsInDistinct_ != null) {
subBuilder = maxRowsInDistinct_.toBuilder();
}
maxRowsInDistinct_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsInDistinct_);
maxRowsInDistinct_ = subBuilder.buildPartial();
}
break;
}
case 202: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesInDistinct_ != null) {
subBuilder = maxBytesInDistinct_.toBuilder();
}
maxBytesInDistinct_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesInDistinct_);
maxBytesInDistinct_ = subBuilder.buildPartial();
}
break;
}
case 208: {
int rawValue = input.readEnum();
distinctOverflowMode_ = rawValue;
break;
}
case 218: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsToTransfer_ != null) {
subBuilder = maxRowsToTransfer_.toBuilder();
}
maxRowsToTransfer_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsToTransfer_);
maxRowsToTransfer_ = subBuilder.buildPartial();
}
break;
}
case 226: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesToTransfer_ != null) {
subBuilder = maxBytesToTransfer_.toBuilder();
}
maxBytesToTransfer_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesToTransfer_);
maxBytesToTransfer_ = subBuilder.buildPartial();
}
break;
}
case 232: {
int rawValue = input.readEnum();
transferOverflowMode_ = rawValue;
break;
}
case 242: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxExecutionTime_ != null) {
subBuilder = maxExecutionTime_.toBuilder();
}
maxExecutionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxExecutionTime_);
maxExecutionTime_ = subBuilder.buildPartial();
}
break;
}
case 248: {
int rawValue = input.readEnum();
timeoutOverflowMode_ = rawValue;
break;
}
case 258: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxColumnsToRead_ != null) {
subBuilder = maxColumnsToRead_.toBuilder();
}
maxColumnsToRead_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxColumnsToRead_);
maxColumnsToRead_ = subBuilder.buildPartial();
}
break;
}
case 266: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxTemporaryColumns_ != null) {
subBuilder = maxTemporaryColumns_.toBuilder();
}
maxTemporaryColumns_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxTemporaryColumns_);
maxTemporaryColumns_ = subBuilder.buildPartial();
}
break;
}
case 274: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxTemporaryNonConstColumns_ != null) {
subBuilder = maxTemporaryNonConstColumns_.toBuilder();
}
maxTemporaryNonConstColumns_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxTemporaryNonConstColumns_);
maxTemporaryNonConstColumns_ = subBuilder.buildPartial();
}
break;
}
case 282: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxQuerySize_ != null) {
subBuilder = maxQuerySize_.toBuilder();
}
maxQuerySize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxQuerySize_);
maxQuerySize_ = subBuilder.buildPartial();
}
break;
}
case 290: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxAstDepth_ != null) {
subBuilder = maxAstDepth_.toBuilder();
}
maxAstDepth_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxAstDepth_);
maxAstDepth_ = subBuilder.buildPartial();
}
break;
}
case 298: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxAstElements_ != null) {
subBuilder = maxAstElements_.toBuilder();
}
maxAstElements_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxAstElements_);
maxAstElements_ = subBuilder.buildPartial();
}
break;
}
case 306: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxExpandedAstElements_ != null) {
subBuilder = maxExpandedAstElements_.toBuilder();
}
maxExpandedAstElements_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxExpandedAstElements_);
maxExpandedAstElements_ = subBuilder.buildPartial();
}
break;
}
case 314: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (connectTimeout_ != null) {
subBuilder = connectTimeout_.toBuilder();
}
connectTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectTimeout_);
connectTimeout_ = subBuilder.buildPartial();
}
break;
}
case 322: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (receiveTimeout_ != null) {
subBuilder = receiveTimeout_.toBuilder();
}
receiveTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(receiveTimeout_);
receiveTimeout_ = subBuilder.buildPartial();
}
break;
}
case 330: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (sendTimeout_ != null) {
subBuilder = sendTimeout_.toBuilder();
}
sendTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sendTimeout_);
sendTimeout_ = subBuilder.buildPartial();
}
break;
}
case 338: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (replicationAlterPartitionsSync_ != null) {
subBuilder = replicationAlterPartitionsSync_.toBuilder();
}
replicationAlterPartitionsSync_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(replicationAlterPartitionsSync_);
replicationAlterPartitionsSync_ = subBuilder.buildPartial();
}
break;
}
case 344: {
int rawValue = input.readEnum();
distributedProductMode_ = rawValue;
break;
}
case 354: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (compile_ != null) {
subBuilder = compile_.toBuilder();
}
compile_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(compile_);
compile_ = subBuilder.buildPartial();
}
break;
}
case 362: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minCountToCompile_ != null) {
subBuilder = minCountToCompile_.toBuilder();
}
minCountToCompile_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minCountToCompile_);
minCountToCompile_ = subBuilder.buildPartial();
}
break;
}
case 370: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (compileExpressions_ != null) {
subBuilder = compileExpressions_.toBuilder();
}
compileExpressions_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(compileExpressions_);
compileExpressions_ = subBuilder.buildPartial();
}
break;
}
case 378: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minCountToCompileExpression_ != null) {
subBuilder = minCountToCompileExpression_.toBuilder();
}
minCountToCompileExpression_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minCountToCompileExpression_);
minCountToCompileExpression_ = subBuilder.buildPartial();
}
break;
}
case 386: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minInsertBlockSizeRows_ != null) {
subBuilder = minInsertBlockSizeRows_.toBuilder();
}
minInsertBlockSizeRows_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minInsertBlockSizeRows_);
minInsertBlockSizeRows_ = subBuilder.buildPartial();
}
break;
}
case 394: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minInsertBlockSizeBytes_ != null) {
subBuilder = minInsertBlockSizeBytes_.toBuilder();
}
minInsertBlockSizeBytes_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minInsertBlockSizeBytes_);
minInsertBlockSizeBytes_ = subBuilder.buildPartial();
}
break;
}
case 402: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minBytesToUseDirectIo_ != null) {
subBuilder = minBytesToUseDirectIo_.toBuilder();
}
minBytesToUseDirectIo_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minBytesToUseDirectIo_);
minBytesToUseDirectIo_ = subBuilder.buildPartial();
}
break;
}
case 410: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (useUncompressedCache_ != null) {
subBuilder = useUncompressedCache_.toBuilder();
}
useUncompressedCache_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(useUncompressedCache_);
useUncompressedCache_ = subBuilder.buildPartial();
}
break;
}
case 418: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (mergeTreeMaxRowsToUseCache_ != null) {
subBuilder = mergeTreeMaxRowsToUseCache_.toBuilder();
}
mergeTreeMaxRowsToUseCache_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mergeTreeMaxRowsToUseCache_);
mergeTreeMaxRowsToUseCache_ = subBuilder.buildPartial();
}
break;
}
case 426: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (mergeTreeMaxBytesToUseCache_ != null) {
subBuilder = mergeTreeMaxBytesToUseCache_.toBuilder();
}
mergeTreeMaxBytesToUseCache_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mergeTreeMaxBytesToUseCache_);
mergeTreeMaxBytesToUseCache_ = subBuilder.buildPartial();
}
break;
}
case 434: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (mergeTreeMinRowsForConcurrentRead_ != null) {
subBuilder = mergeTreeMinRowsForConcurrentRead_.toBuilder();
}
mergeTreeMinRowsForConcurrentRead_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mergeTreeMinRowsForConcurrentRead_);
mergeTreeMinRowsForConcurrentRead_ = subBuilder.buildPartial();
}
break;
}
case 442: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (mergeTreeMinBytesForConcurrentRead_ != null) {
subBuilder = mergeTreeMinBytesForConcurrentRead_.toBuilder();
}
mergeTreeMinBytesForConcurrentRead_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(mergeTreeMinBytesForConcurrentRead_);
mergeTreeMinBytesForConcurrentRead_ = subBuilder.buildPartial();
}
break;
}
case 450: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (priority_ != null) {
subBuilder = priority_.toBuilder();
}
priority_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(priority_);
priority_ = subBuilder.buildPartial();
}
break;
}
case 458: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxNetworkBandwidth_ != null) {
subBuilder = maxNetworkBandwidth_.toBuilder();
}
maxNetworkBandwidth_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxNetworkBandwidth_);
maxNetworkBandwidth_ = subBuilder.buildPartial();
}
break;
}
case 466: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxNetworkBandwidthForUser_ != null) {
subBuilder = maxNetworkBandwidthForUser_.toBuilder();
}
maxNetworkBandwidthForUser_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxNetworkBandwidthForUser_);
maxNetworkBandwidthForUser_ = subBuilder.buildPartial();
}
break;
}
case 474: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (forceIndexByDate_ != null) {
subBuilder = forceIndexByDate_.toBuilder();
}
forceIndexByDate_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(forceIndexByDate_);
forceIndexByDate_ = subBuilder.buildPartial();
}
break;
}
case 482: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (forcePrimaryKey_ != null) {
subBuilder = forcePrimaryKey_.toBuilder();
}
forcePrimaryKey_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(forcePrimaryKey_);
forcePrimaryKey_ = subBuilder.buildPartial();
}
break;
}
case 490: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatValuesInterpretExpressions_ != null) {
subBuilder = inputFormatValuesInterpretExpressions_.toBuilder();
}
inputFormatValuesInterpretExpressions_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatValuesInterpretExpressions_);
inputFormatValuesInterpretExpressions_ = subBuilder.buildPartial();
}
break;
}
case 498: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatDefaultsForOmittedFields_ != null) {
subBuilder = inputFormatDefaultsForOmittedFields_.toBuilder();
}
inputFormatDefaultsForOmittedFields_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatDefaultsForOmittedFields_);
inputFormatDefaultsForOmittedFields_ = subBuilder.buildPartial();
}
break;
}
case 506: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (outputFormatJsonQuote64BitIntegers_ != null) {
subBuilder = outputFormatJsonQuote64BitIntegers_.toBuilder();
}
outputFormatJsonQuote64BitIntegers_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(outputFormatJsonQuote64BitIntegers_);
outputFormatJsonQuote64BitIntegers_ = subBuilder.buildPartial();
}
break;
}
case 514: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (outputFormatJsonQuoteDenormals_ != null) {
subBuilder = outputFormatJsonQuoteDenormals_.toBuilder();
}
outputFormatJsonQuoteDenormals_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(outputFormatJsonQuoteDenormals_);
outputFormatJsonQuoteDenormals_ = subBuilder.buildPartial();
}
break;
}
case 522: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (httpConnectionTimeout_ != null) {
subBuilder = httpConnectionTimeout_.toBuilder();
}
httpConnectionTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(httpConnectionTimeout_);
httpConnectionTimeout_ = subBuilder.buildPartial();
}
break;
}
case 530: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (httpReceiveTimeout_ != null) {
subBuilder = httpReceiveTimeout_.toBuilder();
}
httpReceiveTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(httpReceiveTimeout_);
httpReceiveTimeout_ = subBuilder.buildPartial();
}
break;
}
case 538: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (httpSendTimeout_ != null) {
subBuilder = httpSendTimeout_.toBuilder();
}
httpSendTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(httpSendTimeout_);
httpSendTimeout_ = subBuilder.buildPartial();
}
break;
}
case 546: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (enableHttpCompression_ != null) {
subBuilder = enableHttpCompression_.toBuilder();
}
enableHttpCompression_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(enableHttpCompression_);
enableHttpCompression_ = subBuilder.buildPartial();
}
break;
}
case 554: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (sendProgressInHttpHeaders_ != null) {
subBuilder = sendProgressInHttpHeaders_.toBuilder();
}
sendProgressInHttpHeaders_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sendProgressInHttpHeaders_);
sendProgressInHttpHeaders_ = subBuilder.buildPartial();
}
break;
}
case 562: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (httpHeadersProgressInterval_ != null) {
subBuilder = httpHeadersProgressInterval_.toBuilder();
}
httpHeadersProgressInterval_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(httpHeadersProgressInterval_);
httpHeadersProgressInterval_ = subBuilder.buildPartial();
}
break;
}
case 570: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (addHttpCorsHeader_ != null) {
subBuilder = addHttpCorsHeader_.toBuilder();
}
addHttpCorsHeader_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(addHttpCorsHeader_);
addHttpCorsHeader_ = subBuilder.buildPartial();
}
break;
}
case 578: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (distributedAggregationMemoryEfficient_ != null) {
subBuilder = distributedAggregationMemoryEfficient_.toBuilder();
}
distributedAggregationMemoryEfficient_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(distributedAggregationMemoryEfficient_);
distributedAggregationMemoryEfficient_ = subBuilder.buildPartial();
}
break;
}
case 586: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (distributedDdlTaskTimeout_ != null) {
subBuilder = distributedDdlTaskTimeout_.toBuilder();
}
distributedDdlTaskTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(distributedDdlTaskTimeout_);
distributedDdlTaskTimeout_ = subBuilder.buildPartial();
}
break;
}
case 594: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesBeforeExternalGroupBy_ != null) {
subBuilder = maxBytesBeforeExternalGroupBy_.toBuilder();
}
maxBytesBeforeExternalGroupBy_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesBeforeExternalGroupBy_);
maxBytesBeforeExternalGroupBy_ = subBuilder.buildPartial();
}
break;
}
case 602: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesBeforeExternalSort_ != null) {
subBuilder = maxBytesBeforeExternalSort_.toBuilder();
}
maxBytesBeforeExternalSort_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesBeforeExternalSort_);
maxBytesBeforeExternalSort_ = subBuilder.buildPartial();
}
break;
}
case 610: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (groupByTwoLevelThreshold_ != null) {
subBuilder = groupByTwoLevelThreshold_.toBuilder();
}
groupByTwoLevelThreshold_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(groupByTwoLevelThreshold_);
groupByTwoLevelThreshold_ = subBuilder.buildPartial();
}
break;
}
case 618: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (groupByTwoLevelThresholdBytes_ != null) {
subBuilder = groupByTwoLevelThresholdBytes_.toBuilder();
}
groupByTwoLevelThresholdBytes_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(groupByTwoLevelThresholdBytes_);
groupByTwoLevelThresholdBytes_ = subBuilder.buildPartial();
}
break;
}
case 626: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (lowCardinalityAllowInNativeFormat_ != null) {
subBuilder = lowCardinalityAllowInNativeFormat_.toBuilder();
}
lowCardinalityAllowInNativeFormat_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(lowCardinalityAllowInNativeFormat_);
lowCardinalityAllowInNativeFormat_ = subBuilder.buildPartial();
}
break;
}
case 634: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (emptyResultForAggregationByEmptySet_ != null) {
subBuilder = emptyResultForAggregationByEmptySet_.toBuilder();
}
emptyResultForAggregationByEmptySet_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(emptyResultForAggregationByEmptySet_);
emptyResultForAggregationByEmptySet_ = subBuilder.buildPartial();
}
break;
}
case 640: {
int rawValue = input.readEnum();
quotaMode_ = rawValue;
break;
}
case 650: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (skipUnavailableShards_ != null) {
subBuilder = skipUnavailableShards_.toBuilder();
}
skipUnavailableShards_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(skipUnavailableShards_);
skipUnavailableShards_ = subBuilder.buildPartial();
}
break;
}
case 674: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minExecutionSpeed_ != null) {
subBuilder = minExecutionSpeed_.toBuilder();
}
minExecutionSpeed_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minExecutionSpeed_);
minExecutionSpeed_ = subBuilder.buildPartial();
}
break;
}
case 682: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (minExecutionSpeedBytes_ != null) {
subBuilder = minExecutionSpeedBytes_.toBuilder();
}
minExecutionSpeedBytes_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(minExecutionSpeedBytes_);
minExecutionSpeedBytes_ = subBuilder.buildPartial();
}
break;
}
case 688: {
int rawValue = input.readEnum();
countDistinctImplementation_ = rawValue;
break;
}
case 698: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsInSet_ != null) {
subBuilder = maxRowsInSet_.toBuilder();
}
maxRowsInSet_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsInSet_);
maxRowsInSet_ = subBuilder.buildPartial();
}
break;
}
case 706: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesInSet_ != null) {
subBuilder = maxBytesInSet_.toBuilder();
}
maxBytesInSet_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesInSet_);
maxBytesInSet_ = subBuilder.buildPartial();
}
break;
}
case 712: {
int rawValue = input.readEnum();
setOverflowMode_ = rawValue;
break;
}
case 722: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxRowsInJoin_ != null) {
subBuilder = maxRowsInJoin_.toBuilder();
}
maxRowsInJoin_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxRowsInJoin_);
maxRowsInJoin_ = subBuilder.buildPartial();
}
break;
}
case 730: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxBytesInJoin_ != null) {
subBuilder = maxBytesInJoin_.toBuilder();
}
maxBytesInJoin_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxBytesInJoin_);
maxBytesInJoin_ = subBuilder.buildPartial();
}
break;
}
case 736: {
int rawValue = input.readEnum();
joinOverflowMode_ = rawValue;
break;
}
case 746: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (joinedSubqueryRequiresAlias_ != null) {
subBuilder = joinedSubqueryRequiresAlias_.toBuilder();
}
joinedSubqueryRequiresAlias_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(joinedSubqueryRequiresAlias_);
joinedSubqueryRequiresAlias_ = subBuilder.buildPartial();
}
break;
}
case 754: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (joinUseNulls_ != null) {
subBuilder = joinUseNulls_.toBuilder();
}
joinUseNulls_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(joinUseNulls_);
joinUseNulls_ = subBuilder.buildPartial();
}
break;
}
case 762: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (transformNullIn_ != null) {
subBuilder = transformNullIn_.toBuilder();
}
transformNullIn_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(transformNullIn_);
transformNullIn_ = subBuilder.buildPartial();
}
break;
}
case 770: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (allowIntrospectionFunctions_ != null) {
subBuilder = allowIntrospectionFunctions_.toBuilder();
}
allowIntrospectionFunctions_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(allowIntrospectionFunctions_);
allowIntrospectionFunctions_ = subBuilder.buildPartial();
}
break;
}
case 778: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (connectTimeoutWithFailover_ != null) {
subBuilder = connectTimeoutWithFailover_.toBuilder();
}
connectTimeoutWithFailover_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(connectTimeoutWithFailover_);
connectTimeoutWithFailover_ = subBuilder.buildPartial();
}
break;
}
case 786: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (timeoutBeforeCheckingExecutionSpeed_ != null) {
subBuilder = timeoutBeforeCheckingExecutionSpeed_.toBuilder();
}
timeoutBeforeCheckingExecutionSpeed_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timeoutBeforeCheckingExecutionSpeed_);
timeoutBeforeCheckingExecutionSpeed_ = subBuilder.buildPartial();
}
break;
}
case 794: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (insertQuorumParallel_ != null) {
subBuilder = insertQuorumParallel_.toBuilder();
}
insertQuorumParallel_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(insertQuorumParallel_);
insertQuorumParallel_ = subBuilder.buildPartial();
}
break;
}
case 802: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (insertNullAsDefault_ != null) {
subBuilder = insertNullAsDefault_.toBuilder();
}
insertNullAsDefault_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(insertNullAsDefault_);
insertNullAsDefault_ = subBuilder.buildPartial();
}
break;
}
case 810: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (deduplicateBlocksInDependentMaterializedViews_ != null) {
subBuilder = deduplicateBlocksInDependentMaterializedViews_.toBuilder();
}
deduplicateBlocksInDependentMaterializedViews_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deduplicateBlocksInDependentMaterializedViews_);
deduplicateBlocksInDependentMaterializedViews_ = subBuilder.buildPartial();
}
break;
}
case 818: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxPartitionsPerInsertBlock_ != null) {
subBuilder = maxPartitionsPerInsertBlock_.toBuilder();
}
maxPartitionsPerInsertBlock_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxPartitionsPerInsertBlock_);
maxPartitionsPerInsertBlock_ = subBuilder.buildPartial();
}
break;
}
case 826: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxConcurrentQueriesForUser_ != null) {
subBuilder = maxConcurrentQueriesForUser_.toBuilder();
}
maxConcurrentQueriesForUser_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxConcurrentQueriesForUser_);
maxConcurrentQueriesForUser_ = subBuilder.buildPartial();
}
break;
}
case 832: {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
joinAlgorithm_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
joinAlgorithm_.add(rawValue);
break;
}
case 834: {
int length = input.readRawVarint32();
int oldLimit = input.pushLimit(length);
while(input.getBytesUntilLimit() > 0) {
int rawValue = input.readEnum();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
joinAlgorithm_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
joinAlgorithm_.add(rawValue);
}
input.popLimit(oldLimit);
break;
}
case 842: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (anyJoinDistinctRightTableKeys_ != null) {
subBuilder = anyJoinDistinctRightTableKeys_.toBuilder();
}
anyJoinDistinctRightTableKeys_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(anyJoinDistinctRightTableKeys_);
anyJoinDistinctRightTableKeys_ = subBuilder.buildPartial();
}
break;
}
case 850: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatNullAsDefault_ != null) {
subBuilder = inputFormatNullAsDefault_.toBuilder();
}
inputFormatNullAsDefault_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatNullAsDefault_);
inputFormatNullAsDefault_ = subBuilder.buildPartial();
}
break;
}
case 856: {
int rawValue = input.readEnum();
dateTimeInputFormat_ = rawValue;
break;
}
case 866: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatWithNamesUseHeader_ != null) {
subBuilder = inputFormatWithNamesUseHeader_.toBuilder();
}
inputFormatWithNamesUseHeader_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatWithNamesUseHeader_);
inputFormatWithNamesUseHeader_ = subBuilder.buildPartial();
}
break;
}
case 872: {
int rawValue = input.readEnum();
dateTimeOutputFormat_ = rawValue;
break;
}
case 882: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (allowSuspiciousLowCardinalityTypes_ != null) {
subBuilder = allowSuspiciousLowCardinalityTypes_.toBuilder();
}
allowSuspiciousLowCardinalityTypes_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(allowSuspiciousLowCardinalityTypes_);
allowSuspiciousLowCardinalityTypes_ = subBuilder.buildPartial();
}
break;
}
case 890: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (cancelHttpReadonlyQueriesOnClientClose_ != null) {
subBuilder = cancelHttpReadonlyQueriesOnClientClose_.toBuilder();
}
cancelHttpReadonlyQueriesOnClientClose_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(cancelHttpReadonlyQueriesOnClientClose_);
cancelHttpReadonlyQueriesOnClientClose_ = subBuilder.buildPartial();
}
break;
}
case 898: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxHttpGetRedirects_ != null) {
subBuilder = maxHttpGetRedirects_.toBuilder();
}
maxHttpGetRedirects_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxHttpGetRedirects_);
maxHttpGetRedirects_ = subBuilder.buildPartial();
}
break;
}
case 906: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (flattenNested_ != null) {
subBuilder = flattenNested_.toBuilder();
}
flattenNested_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(flattenNested_);
flattenNested_ = subBuilder.buildPartial();
}
break;
}
case 914: {
java.lang.String s = input.readStringRequireUtf8();
formatRegexp_ = s;
break;
}
case 920: {
int rawValue = input.readEnum();
formatRegexpEscapingRule_ = rawValue;
break;
}
case 930: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (formatRegexpSkipUnmatched_ != null) {
subBuilder = formatRegexpSkipUnmatched_.toBuilder();
}
formatRegexpSkipUnmatched_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(formatRegexpSkipUnmatched_);
formatRegexpSkipUnmatched_ = subBuilder.buildPartial();
}
break;
}
case 938: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (asyncInsert_ != null) {
subBuilder = asyncInsert_.toBuilder();
}
asyncInsert_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(asyncInsert_);
asyncInsert_ = subBuilder.buildPartial();
}
break;
}
case 946: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (asyncInsertThreads_ != null) {
subBuilder = asyncInsertThreads_.toBuilder();
}
asyncInsertThreads_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(asyncInsertThreads_);
asyncInsertThreads_ = subBuilder.buildPartial();
}
break;
}
case 954: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (waitForAsyncInsert_ != null) {
subBuilder = waitForAsyncInsert_.toBuilder();
}
waitForAsyncInsert_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(waitForAsyncInsert_);
waitForAsyncInsert_ = subBuilder.buildPartial();
}
break;
}
case 962: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (waitForAsyncInsertTimeout_ != null) {
subBuilder = waitForAsyncInsertTimeout_.toBuilder();
}
waitForAsyncInsertTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(waitForAsyncInsertTimeout_);
waitForAsyncInsertTimeout_ = subBuilder.buildPartial();
}
break;
}
case 970: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (asyncInsertMaxDataSize_ != null) {
subBuilder = asyncInsertMaxDataSize_.toBuilder();
}
asyncInsertMaxDataSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(asyncInsertMaxDataSize_);
asyncInsertMaxDataSize_ = subBuilder.buildPartial();
}
break;
}
case 978: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (asyncInsertBusyTimeout_ != null) {
subBuilder = asyncInsertBusyTimeout_.toBuilder();
}
asyncInsertBusyTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(asyncInsertBusyTimeout_);
asyncInsertBusyTimeout_ = subBuilder.buildPartial();
}
break;
}
case 986: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (asyncInsertStaleTimeout_ != null) {
subBuilder = asyncInsertStaleTimeout_.toBuilder();
}
asyncInsertStaleTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(asyncInsertStaleTimeout_);
asyncInsertStaleTimeout_ = subBuilder.buildPartial();
}
break;
}
case 994: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (memoryProfilerStep_ != null) {
subBuilder = memoryProfilerStep_.toBuilder();
}
memoryProfilerStep_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(memoryProfilerStep_);
memoryProfilerStep_ = subBuilder.buildPartial();
}
break;
}
case 1002: {
com.google.protobuf.DoubleValue.Builder subBuilder = null;
if (memoryProfilerSampleProbability_ != null) {
subBuilder = memoryProfilerSampleProbability_.toBuilder();
}
memoryProfilerSampleProbability_ = input.readMessage(com.google.protobuf.DoubleValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(memoryProfilerSampleProbability_);
memoryProfilerSampleProbability_ = subBuilder.buildPartial();
}
break;
}
case 1010: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxFinalThreads_ != null) {
subBuilder = maxFinalThreads_.toBuilder();
}
maxFinalThreads_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxFinalThreads_);
maxFinalThreads_ = subBuilder.buildPartial();
}
break;
}
case 1018: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatParallelParsing_ != null) {
subBuilder = inputFormatParallelParsing_.toBuilder();
}
inputFormatParallelParsing_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatParallelParsing_);
inputFormatParallelParsing_ = subBuilder.buildPartial();
}
break;
}
case 1026: {
com.google.protobuf.BoolValue.Builder subBuilder = null;
if (inputFormatImportNestedJson_ != null) {
subBuilder = inputFormatImportNestedJson_.toBuilder();
}
inputFormatImportNestedJson_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputFormatImportNestedJson_);
inputFormatImportNestedJson_ = subBuilder.buildPartial();
}
break;
}
case 1032: {
int rawValue = input.readEnum();
localFilesystemReadMethod_ = rawValue;
break;
}
case 1042: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxReadBufferSize_ != null) {
subBuilder = maxReadBufferSize_.toBuilder();
}
maxReadBufferSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxReadBufferSize_);
maxReadBufferSize_ = 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)) {
joinAlgorithm_ = java.util.Collections.unmodifiableList(joinAlgorithm_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder.class);
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode}
*/
public enum OverflowMode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* OVERFLOW_MODE_UNSPECIFIED = 0;
*/
OVERFLOW_MODE_UNSPECIFIED(0),
/**
* OVERFLOW_MODE_THROW = 1;
*/
OVERFLOW_MODE_THROW(1),
/**
* OVERFLOW_MODE_BREAK = 2;
*/
OVERFLOW_MODE_BREAK(2),
UNRECOGNIZED(-1),
;
/**
* OVERFLOW_MODE_UNSPECIFIED = 0;
*/
public static final int OVERFLOW_MODE_UNSPECIFIED_VALUE = 0;
/**
* OVERFLOW_MODE_THROW = 1;
*/
public static final int OVERFLOW_MODE_THROW_VALUE = 1;
/**
* OVERFLOW_MODE_BREAK = 2;
*/
public static final int OVERFLOW_MODE_BREAK_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OverflowMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static OverflowMode forNumber(int value) {
switch (value) {
case 0: return OVERFLOW_MODE_UNSPECIFIED;
case 1: return OVERFLOW_MODE_THROW;
case 2: return OVERFLOW_MODE_BREAK;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
OverflowMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public OverflowMode findValueByNumber(int number) {
return OverflowMode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(0);
}
private static final OverflowMode[] VALUES = values();
public static OverflowMode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private OverflowMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode}
*/
public enum GroupByOverflowMode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* GROUP_BY_OVERFLOW_MODE_UNSPECIFIED = 0;
*/
GROUP_BY_OVERFLOW_MODE_UNSPECIFIED(0),
/**
* GROUP_BY_OVERFLOW_MODE_THROW = 1;
*/
GROUP_BY_OVERFLOW_MODE_THROW(1),
/**
* GROUP_BY_OVERFLOW_MODE_BREAK = 2;
*/
GROUP_BY_OVERFLOW_MODE_BREAK(2),
/**
* GROUP_BY_OVERFLOW_MODE_ANY = 3;
*/
GROUP_BY_OVERFLOW_MODE_ANY(3),
UNRECOGNIZED(-1),
;
/**
* GROUP_BY_OVERFLOW_MODE_UNSPECIFIED = 0;
*/
public static final int GROUP_BY_OVERFLOW_MODE_UNSPECIFIED_VALUE = 0;
/**
* GROUP_BY_OVERFLOW_MODE_THROW = 1;
*/
public static final int GROUP_BY_OVERFLOW_MODE_THROW_VALUE = 1;
/**
* GROUP_BY_OVERFLOW_MODE_BREAK = 2;
*/
public static final int GROUP_BY_OVERFLOW_MODE_BREAK_VALUE = 2;
/**
* GROUP_BY_OVERFLOW_MODE_ANY = 3;
*/
public static final int GROUP_BY_OVERFLOW_MODE_ANY_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static GroupByOverflowMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static GroupByOverflowMode forNumber(int value) {
switch (value) {
case 0: return GROUP_BY_OVERFLOW_MODE_UNSPECIFIED;
case 1: return GROUP_BY_OVERFLOW_MODE_THROW;
case 2: return GROUP_BY_OVERFLOW_MODE_BREAK;
case 3: return GROUP_BY_OVERFLOW_MODE_ANY;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
GroupByOverflowMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public GroupByOverflowMode findValueByNumber(int number) {
return GroupByOverflowMode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(1);
}
private static final GroupByOverflowMode[] VALUES = values();
public static GroupByOverflowMode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private GroupByOverflowMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode}
*/
public enum DistributedProductMode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED = 0;
*/
DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED(0),
/**
*
* Default value. Prohibits using these types of subqueries (returns the "Double-distributed in/JOIN subqueries is denied" exception).
*
*
* DISTRIBUTED_PRODUCT_MODE_DENY = 1;
*/
DISTRIBUTED_PRODUCT_MODE_DENY(1),
/**
*
* Replaces the database and table in the subquery with local ones for the destination server (shard), leaving the normal IN/JOIN.
*
*
* DISTRIBUTED_PRODUCT_MODE_LOCAL = 2;
*/
DISTRIBUTED_PRODUCT_MODE_LOCAL(2),
/**
*
* Replaces the IN/JOIN query with GLOBAL IN/GLOBAL JOIN.
*
*
* DISTRIBUTED_PRODUCT_MODE_GLOBAL = 3;
*/
DISTRIBUTED_PRODUCT_MODE_GLOBAL(3),
/**
*
* Allows the use of these types of subqueries.
*
*
* DISTRIBUTED_PRODUCT_MODE_ALLOW = 4;
*/
DISTRIBUTED_PRODUCT_MODE_ALLOW(4),
UNRECOGNIZED(-1),
;
/**
* DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED = 0;
*/
public static final int DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED_VALUE = 0;
/**
*
* Default value. Prohibits using these types of subqueries (returns the "Double-distributed in/JOIN subqueries is denied" exception).
*
*
* DISTRIBUTED_PRODUCT_MODE_DENY = 1;
*/
public static final int DISTRIBUTED_PRODUCT_MODE_DENY_VALUE = 1;
/**
*
* Replaces the database and table in the subquery with local ones for the destination server (shard), leaving the normal IN/JOIN.
*
*
* DISTRIBUTED_PRODUCT_MODE_LOCAL = 2;
*/
public static final int DISTRIBUTED_PRODUCT_MODE_LOCAL_VALUE = 2;
/**
*
* Replaces the IN/JOIN query with GLOBAL IN/GLOBAL JOIN.
*
*
* DISTRIBUTED_PRODUCT_MODE_GLOBAL = 3;
*/
public static final int DISTRIBUTED_PRODUCT_MODE_GLOBAL_VALUE = 3;
/**
*
* Allows the use of these types of subqueries.
*
*
* DISTRIBUTED_PRODUCT_MODE_ALLOW = 4;
*/
public static final int DISTRIBUTED_PRODUCT_MODE_ALLOW_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DistributedProductMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DistributedProductMode forNumber(int value) {
switch (value) {
case 0: return DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED;
case 1: return DISTRIBUTED_PRODUCT_MODE_DENY;
case 2: return DISTRIBUTED_PRODUCT_MODE_LOCAL;
case 3: return DISTRIBUTED_PRODUCT_MODE_GLOBAL;
case 4: return DISTRIBUTED_PRODUCT_MODE_ALLOW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DistributedProductMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DistributedProductMode findValueByNumber(int number) {
return DistributedProductMode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(2);
}
private static final DistributedProductMode[] VALUES = values();
public static DistributedProductMode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DistributedProductMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode}
*/
public enum QuotaMode
implements com.google.protobuf.ProtocolMessageEnum {
/**
* QUOTA_MODE_UNSPECIFIED = 0;
*/
QUOTA_MODE_UNSPECIFIED(0),
/**
* QUOTA_MODE_DEFAULT = 1;
*/
QUOTA_MODE_DEFAULT(1),
/**
* QUOTA_MODE_KEYED = 2;
*/
QUOTA_MODE_KEYED(2),
/**
* QUOTA_MODE_KEYED_BY_IP = 3;
*/
QUOTA_MODE_KEYED_BY_IP(3),
UNRECOGNIZED(-1),
;
/**
* QUOTA_MODE_UNSPECIFIED = 0;
*/
public static final int QUOTA_MODE_UNSPECIFIED_VALUE = 0;
/**
* QUOTA_MODE_DEFAULT = 1;
*/
public static final int QUOTA_MODE_DEFAULT_VALUE = 1;
/**
* QUOTA_MODE_KEYED = 2;
*/
public static final int QUOTA_MODE_KEYED_VALUE = 2;
/**
* QUOTA_MODE_KEYED_BY_IP = 3;
*/
public static final int QUOTA_MODE_KEYED_BY_IP_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static QuotaMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static QuotaMode forNumber(int value) {
switch (value) {
case 0: return QUOTA_MODE_UNSPECIFIED;
case 1: return QUOTA_MODE_DEFAULT;
case 2: return QUOTA_MODE_KEYED;
case 3: return QUOTA_MODE_KEYED_BY_IP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
QuotaMode> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public QuotaMode findValueByNumber(int number) {
return QuotaMode.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(3);
}
private static final QuotaMode[] VALUES = values();
public static QuotaMode valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private QuotaMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation}
*/
public enum CountDistinctImplementation
implements com.google.protobuf.ProtocolMessageEnum {
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED = 0;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED(0),
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ = 1;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNIQ(1),
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED = 2;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED(2),
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_64 = 3;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_64(3),
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_HLL_12 = 4;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNIQ_HLL_12(4),
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_EXACT = 5;
*/
COUNT_DISTINCT_IMPLEMENTATION_UNIQ_EXACT(5),
UNRECOGNIZED(-1),
;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED = 0;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED_VALUE = 0;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ = 1;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNIQ_VALUE = 1;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED = 2;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_VALUE = 2;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_64 = 3;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_64_VALUE = 3;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_HLL_12 = 4;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNIQ_HLL_12_VALUE = 4;
/**
* COUNT_DISTINCT_IMPLEMENTATION_UNIQ_EXACT = 5;
*/
public static final int COUNT_DISTINCT_IMPLEMENTATION_UNIQ_EXACT_VALUE = 5;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static CountDistinctImplementation valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static CountDistinctImplementation forNumber(int value) {
switch (value) {
case 0: return COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED;
case 1: return COUNT_DISTINCT_IMPLEMENTATION_UNIQ;
case 2: return COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED;
case 3: return COUNT_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED_64;
case 4: return COUNT_DISTINCT_IMPLEMENTATION_UNIQ_HLL_12;
case 5: return COUNT_DISTINCT_IMPLEMENTATION_UNIQ_EXACT;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
CountDistinctImplementation> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public CountDistinctImplementation findValueByNumber(int number) {
return CountDistinctImplementation.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(4);
}
private static final CountDistinctImplementation[] VALUES = values();
public static CountDistinctImplementation valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private CountDistinctImplementation(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm}
*/
public enum JoinAlgorithm
implements com.google.protobuf.ProtocolMessageEnum {
/**
* JOIN_ALGORITHM_UNSPECIFIED = 0;
*/
JOIN_ALGORITHM_UNSPECIFIED(0),
/**
* JOIN_ALGORITHM_HASH = 1;
*/
JOIN_ALGORITHM_HASH(1),
/**
* JOIN_ALGORITHM_PARALLEL_HASH = 2;
*/
JOIN_ALGORITHM_PARALLEL_HASH(2),
/**
* JOIN_ALGORITHM_PARTIAL_MERGE = 3;
*/
JOIN_ALGORITHM_PARTIAL_MERGE(3),
/**
* JOIN_ALGORITHM_DIRECT = 4;
*/
JOIN_ALGORITHM_DIRECT(4),
/**
* JOIN_ALGORITHM_AUTO = 5;
*/
JOIN_ALGORITHM_AUTO(5),
/**
* JOIN_ALGORITHM_FULL_SORTING_MERGE = 6;
*/
JOIN_ALGORITHM_FULL_SORTING_MERGE(6),
/**
* JOIN_ALGORITHM_PREFER_PARTIAL_MERGE = 7;
*/
JOIN_ALGORITHM_PREFER_PARTIAL_MERGE(7),
UNRECOGNIZED(-1),
;
/**
* JOIN_ALGORITHM_UNSPECIFIED = 0;
*/
public static final int JOIN_ALGORITHM_UNSPECIFIED_VALUE = 0;
/**
* JOIN_ALGORITHM_HASH = 1;
*/
public static final int JOIN_ALGORITHM_HASH_VALUE = 1;
/**
* JOIN_ALGORITHM_PARALLEL_HASH = 2;
*/
public static final int JOIN_ALGORITHM_PARALLEL_HASH_VALUE = 2;
/**
* JOIN_ALGORITHM_PARTIAL_MERGE = 3;
*/
public static final int JOIN_ALGORITHM_PARTIAL_MERGE_VALUE = 3;
/**
* JOIN_ALGORITHM_DIRECT = 4;
*/
public static final int JOIN_ALGORITHM_DIRECT_VALUE = 4;
/**
* JOIN_ALGORITHM_AUTO = 5;
*/
public static final int JOIN_ALGORITHM_AUTO_VALUE = 5;
/**
* JOIN_ALGORITHM_FULL_SORTING_MERGE = 6;
*/
public static final int JOIN_ALGORITHM_FULL_SORTING_MERGE_VALUE = 6;
/**
* JOIN_ALGORITHM_PREFER_PARTIAL_MERGE = 7;
*/
public static final int JOIN_ALGORITHM_PREFER_PARTIAL_MERGE_VALUE = 7;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static JoinAlgorithm valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static JoinAlgorithm forNumber(int value) {
switch (value) {
case 0: return JOIN_ALGORITHM_UNSPECIFIED;
case 1: return JOIN_ALGORITHM_HASH;
case 2: return JOIN_ALGORITHM_PARALLEL_HASH;
case 3: return JOIN_ALGORITHM_PARTIAL_MERGE;
case 4: return JOIN_ALGORITHM_DIRECT;
case 5: return JOIN_ALGORITHM_AUTO;
case 6: return JOIN_ALGORITHM_FULL_SORTING_MERGE;
case 7: return JOIN_ALGORITHM_PREFER_PARTIAL_MERGE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
JoinAlgorithm> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public JoinAlgorithm findValueByNumber(int number) {
return JoinAlgorithm.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(5);
}
private static final JoinAlgorithm[] VALUES = values();
public static JoinAlgorithm valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private JoinAlgorithm(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule}
*/
public enum FormatRegexpEscapingRule
implements com.google.protobuf.ProtocolMessageEnum {
/**
* FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED = 0;
*/
FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED(0),
/**
* FORMAT_REGEXP_ESCAPING_RULE_ESCAPED = 1;
*/
FORMAT_REGEXP_ESCAPING_RULE_ESCAPED(1),
/**
* FORMAT_REGEXP_ESCAPING_RULE_QUOTED = 2;
*/
FORMAT_REGEXP_ESCAPING_RULE_QUOTED(2),
/**
* FORMAT_REGEXP_ESCAPING_RULE_CSV = 3;
*/
FORMAT_REGEXP_ESCAPING_RULE_CSV(3),
/**
* FORMAT_REGEXP_ESCAPING_RULE_JSON = 4;
*/
FORMAT_REGEXP_ESCAPING_RULE_JSON(4),
/**
* FORMAT_REGEXP_ESCAPING_RULE_XML = 5;
*/
FORMAT_REGEXP_ESCAPING_RULE_XML(5),
/**
* FORMAT_REGEXP_ESCAPING_RULE_RAW = 6;
*/
FORMAT_REGEXP_ESCAPING_RULE_RAW(6),
UNRECOGNIZED(-1),
;
/**
* FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED = 0;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED_VALUE = 0;
/**
* FORMAT_REGEXP_ESCAPING_RULE_ESCAPED = 1;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_ESCAPED_VALUE = 1;
/**
* FORMAT_REGEXP_ESCAPING_RULE_QUOTED = 2;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_QUOTED_VALUE = 2;
/**
* FORMAT_REGEXP_ESCAPING_RULE_CSV = 3;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_CSV_VALUE = 3;
/**
* FORMAT_REGEXP_ESCAPING_RULE_JSON = 4;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_JSON_VALUE = 4;
/**
* FORMAT_REGEXP_ESCAPING_RULE_XML = 5;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_XML_VALUE = 5;
/**
* FORMAT_REGEXP_ESCAPING_RULE_RAW = 6;
*/
public static final int FORMAT_REGEXP_ESCAPING_RULE_RAW_VALUE = 6;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FormatRegexpEscapingRule valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static FormatRegexpEscapingRule forNumber(int value) {
switch (value) {
case 0: return FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED;
case 1: return FORMAT_REGEXP_ESCAPING_RULE_ESCAPED;
case 2: return FORMAT_REGEXP_ESCAPING_RULE_QUOTED;
case 3: return FORMAT_REGEXP_ESCAPING_RULE_CSV;
case 4: return FORMAT_REGEXP_ESCAPING_RULE_JSON;
case 5: return FORMAT_REGEXP_ESCAPING_RULE_XML;
case 6: return FORMAT_REGEXP_ESCAPING_RULE_RAW;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
FormatRegexpEscapingRule> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public FormatRegexpEscapingRule findValueByNumber(int number) {
return FormatRegexpEscapingRule.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(6);
}
private static final FormatRegexpEscapingRule[] VALUES = values();
public static FormatRegexpEscapingRule valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private FormatRegexpEscapingRule(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat}
*/
public enum DateTimeInputFormat
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DATE_TIME_INPUT_FORMAT_UNSPECIFIED = 0;
*/
DATE_TIME_INPUT_FORMAT_UNSPECIFIED(0),
/**
* DATE_TIME_INPUT_FORMAT_BEST_EFFORT = 1;
*/
DATE_TIME_INPUT_FORMAT_BEST_EFFORT(1),
/**
* DATE_TIME_INPUT_FORMAT_BASIC = 2;
*/
DATE_TIME_INPUT_FORMAT_BASIC(2),
/**
* DATE_TIME_INPUT_FORMAT_BEST_EFFORT_US = 3;
*/
DATE_TIME_INPUT_FORMAT_BEST_EFFORT_US(3),
UNRECOGNIZED(-1),
;
/**
* DATE_TIME_INPUT_FORMAT_UNSPECIFIED = 0;
*/
public static final int DATE_TIME_INPUT_FORMAT_UNSPECIFIED_VALUE = 0;
/**
* DATE_TIME_INPUT_FORMAT_BEST_EFFORT = 1;
*/
public static final int DATE_TIME_INPUT_FORMAT_BEST_EFFORT_VALUE = 1;
/**
* DATE_TIME_INPUT_FORMAT_BASIC = 2;
*/
public static final int DATE_TIME_INPUT_FORMAT_BASIC_VALUE = 2;
/**
* DATE_TIME_INPUT_FORMAT_BEST_EFFORT_US = 3;
*/
public static final int DATE_TIME_INPUT_FORMAT_BEST_EFFORT_US_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DateTimeInputFormat valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DateTimeInputFormat forNumber(int value) {
switch (value) {
case 0: return DATE_TIME_INPUT_FORMAT_UNSPECIFIED;
case 1: return DATE_TIME_INPUT_FORMAT_BEST_EFFORT;
case 2: return DATE_TIME_INPUT_FORMAT_BASIC;
case 3: return DATE_TIME_INPUT_FORMAT_BEST_EFFORT_US;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DateTimeInputFormat> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DateTimeInputFormat findValueByNumber(int number) {
return DateTimeInputFormat.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(7);
}
private static final DateTimeInputFormat[] VALUES = values();
public static DateTimeInputFormat valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DateTimeInputFormat(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat}
*/
public enum DateTimeOutputFormat
implements com.google.protobuf.ProtocolMessageEnum {
/**
* DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED = 0;
*/
DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED(0),
/**
* DATE_TIME_OUTPUT_FORMAT_SIMPLE = 1;
*/
DATE_TIME_OUTPUT_FORMAT_SIMPLE(1),
/**
* DATE_TIME_OUTPUT_FORMAT_ISO = 2;
*/
DATE_TIME_OUTPUT_FORMAT_ISO(2),
/**
* DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTAMP = 3;
*/
DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTAMP(3),
UNRECOGNIZED(-1),
;
/**
* DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED = 0;
*/
public static final int DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED_VALUE = 0;
/**
* DATE_TIME_OUTPUT_FORMAT_SIMPLE = 1;
*/
public static final int DATE_TIME_OUTPUT_FORMAT_SIMPLE_VALUE = 1;
/**
* DATE_TIME_OUTPUT_FORMAT_ISO = 2;
*/
public static final int DATE_TIME_OUTPUT_FORMAT_ISO_VALUE = 2;
/**
* DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTAMP = 3;
*/
public static final int DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTAMP_VALUE = 3;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static DateTimeOutputFormat valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static DateTimeOutputFormat forNumber(int value) {
switch (value) {
case 0: return DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED;
case 1: return DATE_TIME_OUTPUT_FORMAT_SIMPLE;
case 2: return DATE_TIME_OUTPUT_FORMAT_ISO;
case 3: return DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTAMP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
DateTimeOutputFormat> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public DateTimeOutputFormat findValueByNumber(int number) {
return DateTimeOutputFormat.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(8);
}
private static final DateTimeOutputFormat[] VALUES = values();
public static DateTimeOutputFormat valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private DateTimeOutputFormat(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat)
}
/**
* Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod}
*/
public enum LocalFilesystemReadMethod
implements com.google.protobuf.ProtocolMessageEnum {
/**
* LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED = 0;
*/
LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED(0),
/**
* LOCAL_FILESYSTEM_READ_METHOD_READ = 1;
*/
LOCAL_FILESYSTEM_READ_METHOD_READ(1),
/**
* LOCAL_FILESYSTEM_READ_METHOD_PREAD_THREADPOOL = 2;
*/
LOCAL_FILESYSTEM_READ_METHOD_PREAD_THREADPOOL(2),
/**
* LOCAL_FILESYSTEM_READ_METHOD_PREAD = 3;
*/
LOCAL_FILESYSTEM_READ_METHOD_PREAD(3),
/**
* LOCAL_FILESYSTEM_READ_METHOD_NMAP = 4;
*/
LOCAL_FILESYSTEM_READ_METHOD_NMAP(4),
UNRECOGNIZED(-1),
;
/**
* LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED = 0;
*/
public static final int LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED_VALUE = 0;
/**
* LOCAL_FILESYSTEM_READ_METHOD_READ = 1;
*/
public static final int LOCAL_FILESYSTEM_READ_METHOD_READ_VALUE = 1;
/**
* LOCAL_FILESYSTEM_READ_METHOD_PREAD_THREADPOOL = 2;
*/
public static final int LOCAL_FILESYSTEM_READ_METHOD_PREAD_THREADPOOL_VALUE = 2;
/**
* LOCAL_FILESYSTEM_READ_METHOD_PREAD = 3;
*/
public static final int LOCAL_FILESYSTEM_READ_METHOD_PREAD_VALUE = 3;
/**
* LOCAL_FILESYSTEM_READ_METHOD_NMAP = 4;
*/
public static final int LOCAL_FILESYSTEM_READ_METHOD_NMAP_VALUE = 4;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LocalFilesystemReadMethod valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static LocalFilesystemReadMethod forNumber(int value) {
switch (value) {
case 0: return LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED;
case 1: return LOCAL_FILESYSTEM_READ_METHOD_READ;
case 2: return LOCAL_FILESYSTEM_READ_METHOD_PREAD_THREADPOOL;
case 3: return LOCAL_FILESYSTEM_READ_METHOD_PREAD;
case 4: return LOCAL_FILESYSTEM_READ_METHOD_NMAP;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
LocalFilesystemReadMethod> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public LocalFilesystemReadMethod findValueByNumber(int number) {
return LocalFilesystemReadMethod.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDescriptor().getEnumTypes().get(9);
}
private static final LocalFilesystemReadMethod[] VALUES = values();
public static LocalFilesystemReadMethod valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private LocalFilesystemReadMethod(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod)
}
public static final int READONLY_FIELD_NUMBER = 1;
private com.google.protobuf.Int64Value readonly_;
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return Whether the readonly field is set.
*/
@java.lang.Override
public boolean hasReadonly() {
return readonly_ != null;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return The readonly.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getReadonly() {
return readonly_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : readonly_;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getReadonlyOrBuilder() {
return getReadonly();
}
public static final int ALLOW_DDL_FIELD_NUMBER = 2;
private com.google.protobuf.BoolValue allowDdl_;
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return Whether the allowDdl field is set.
*/
@java.lang.Override
public boolean hasAllowDdl() {
return allowDdl_ != null;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return The allowDdl.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAllowDdl() {
return allowDdl_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowDdl_;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAllowDdlOrBuilder() {
return getAllowDdl();
}
public static final int ALLOW_INTROSPECTION_FUNCTIONS_FIELD_NUMBER = 96;
private com.google.protobuf.BoolValue allowIntrospectionFunctions_;
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return Whether the allowIntrospectionFunctions field is set.
*/
@java.lang.Override
public boolean hasAllowIntrospectionFunctions() {
return allowIntrospectionFunctions_ != null;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return The allowIntrospectionFunctions.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAllowIntrospectionFunctions() {
return allowIntrospectionFunctions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowIntrospectionFunctions_;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAllowIntrospectionFunctionsOrBuilder() {
return getAllowIntrospectionFunctions();
}
public static final int CONNECT_TIMEOUT_FIELD_NUMBER = 39;
private com.google.protobuf.Int64Value connectTimeout_;
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeout field is set.
*/
@java.lang.Override
public boolean hasConnectTimeout() {
return connectTimeout_ != null;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getConnectTimeout() {
return connectTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeout_;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutOrBuilder() {
return getConnectTimeout();
}
public static final int CONNECT_TIMEOUT_WITH_FAILOVER_FIELD_NUMBER = 97;
private com.google.protobuf.Int64Value connectTimeoutWithFailover_;
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeoutWithFailover field is set.
*/
@java.lang.Override
public boolean hasConnectTimeoutWithFailover() {
return connectTimeoutWithFailover_ != null;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeoutWithFailover.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getConnectTimeoutWithFailover() {
return connectTimeoutWithFailover_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeoutWithFailover_;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutWithFailoverOrBuilder() {
return getConnectTimeoutWithFailover();
}
public static final int RECEIVE_TIMEOUT_FIELD_NUMBER = 40;
private com.google.protobuf.Int64Value receiveTimeout_;
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return Whether the receiveTimeout field is set.
*/
@java.lang.Override
public boolean hasReceiveTimeout() {
return receiveTimeout_ != null;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return The receiveTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getReceiveTimeout() {
return receiveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : receiveTimeout_;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getReceiveTimeoutOrBuilder() {
return getReceiveTimeout();
}
public static final int SEND_TIMEOUT_FIELD_NUMBER = 41;
private com.google.protobuf.Int64Value sendTimeout_;
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return Whether the sendTimeout field is set.
*/
@java.lang.Override
public boolean hasSendTimeout() {
return sendTimeout_ != null;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return The sendTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getSendTimeout() {
return sendTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : sendTimeout_;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getSendTimeoutOrBuilder() {
return getSendTimeout();
}
public static final int TIMEOUT_BEFORE_CHECKING_EXECUTION_SPEED_FIELD_NUMBER = 98;
private com.google.protobuf.Int64Value timeoutBeforeCheckingExecutionSpeed_;
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return Whether the timeoutBeforeCheckingExecutionSpeed field is set.
*/
@java.lang.Override
public boolean hasTimeoutBeforeCheckingExecutionSpeed() {
return timeoutBeforeCheckingExecutionSpeed_ != null;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return The timeoutBeforeCheckingExecutionSpeed.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getTimeoutBeforeCheckingExecutionSpeed() {
return timeoutBeforeCheckingExecutionSpeed_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : timeoutBeforeCheckingExecutionSpeed_;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getTimeoutBeforeCheckingExecutionSpeedOrBuilder() {
return getTimeoutBeforeCheckingExecutionSpeed();
}
public static final int INSERT_QUORUM_FIELD_NUMBER = 3;
private com.google.protobuf.Int64Value insertQuorum_;
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the insertQuorum field is set.
*/
@java.lang.Override
public boolean hasInsertQuorum() {
return insertQuorum_ != null;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return The insertQuorum.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getInsertQuorum() {
return insertQuorum_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorum_;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getInsertQuorumOrBuilder() {
return getInsertQuorum();
}
public static final int INSERT_QUORUM_TIMEOUT_FIELD_NUMBER = 4;
private com.google.protobuf.Int64Value insertQuorumTimeout_;
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the insertQuorumTimeout field is set.
*/
@java.lang.Override
public boolean hasInsertQuorumTimeout() {
return insertQuorumTimeout_ != null;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return The insertQuorumTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getInsertQuorumTimeout() {
return insertQuorumTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorumTimeout_;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getInsertQuorumTimeoutOrBuilder() {
return getInsertQuorumTimeout();
}
public static final int INSERT_QUORUM_PARALLEL_FIELD_NUMBER = 99;
private com.google.protobuf.BoolValue insertQuorumParallel_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return Whether the insertQuorumParallel field is set.
*/
@java.lang.Override
public boolean hasInsertQuorumParallel() {
return insertQuorumParallel_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return The insertQuorumParallel.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInsertQuorumParallel() {
return insertQuorumParallel_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : insertQuorumParallel_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInsertQuorumParallelOrBuilder() {
return getInsertQuorumParallel();
}
public static final int INSERT_NULL_AS_DEFAULT_FIELD_NUMBER = 100;
private com.google.protobuf.BoolValue insertNullAsDefault_;
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return Whether the insertNullAsDefault field is set.
*/
@java.lang.Override
public boolean hasInsertNullAsDefault() {
return insertNullAsDefault_ != null;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return The insertNullAsDefault.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInsertNullAsDefault() {
return insertNullAsDefault_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : insertNullAsDefault_;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInsertNullAsDefaultOrBuilder() {
return getInsertNullAsDefault();
}
public static final int SELECT_SEQUENTIAL_CONSISTENCY_FIELD_NUMBER = 5;
private com.google.protobuf.BoolValue selectSequentialConsistency_;
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return Whether the selectSequentialConsistency field is set.
*/
@java.lang.Override
public boolean hasSelectSequentialConsistency() {
return selectSequentialConsistency_ != null;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return The selectSequentialConsistency.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getSelectSequentialConsistency() {
return selectSequentialConsistency_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : selectSequentialConsistency_;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getSelectSequentialConsistencyOrBuilder() {
return getSelectSequentialConsistency();
}
public static final int DEDUPLICATE_BLOCKS_IN_DEPENDENT_MATERIALIZED_VIEWS_FIELD_NUMBER = 101;
private com.google.protobuf.BoolValue deduplicateBlocksInDependentMaterializedViews_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return Whether the deduplicateBlocksInDependentMaterializedViews field is set.
*/
@java.lang.Override
public boolean hasDeduplicateBlocksInDependentMaterializedViews() {
return deduplicateBlocksInDependentMaterializedViews_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return The deduplicateBlocksInDependentMaterializedViews.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getDeduplicateBlocksInDependentMaterializedViews() {
return deduplicateBlocksInDependentMaterializedViews_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : deduplicateBlocksInDependentMaterializedViews_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getDeduplicateBlocksInDependentMaterializedViewsOrBuilder() {
return getDeduplicateBlocksInDependentMaterializedViews();
}
public static final int REPLICATION_ALTER_PARTITIONS_SYNC_FIELD_NUMBER = 42;
private com.google.protobuf.Int64Value replicationAlterPartitionsSync_;
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return Whether the replicationAlterPartitionsSync field is set.
*/
@java.lang.Override
public boolean hasReplicationAlterPartitionsSync() {
return replicationAlterPartitionsSync_ != null;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return The replicationAlterPartitionsSync.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getReplicationAlterPartitionsSync() {
return replicationAlterPartitionsSync_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicationAlterPartitionsSync_;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getReplicationAlterPartitionsSyncOrBuilder() {
return getReplicationAlterPartitionsSync();
}
public static final int MAX_REPLICA_DELAY_FOR_DISTRIBUTED_QUERIES_FIELD_NUMBER = 6;
private com.google.protobuf.Int64Value maxReplicaDelayForDistributedQueries_;
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the maxReplicaDelayForDistributedQueries field is set.
*/
@java.lang.Override
public boolean hasMaxReplicaDelayForDistributedQueries() {
return maxReplicaDelayForDistributedQueries_ != null;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return The maxReplicaDelayForDistributedQueries.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxReplicaDelayForDistributedQueries() {
return maxReplicaDelayForDistributedQueries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicaDelayForDistributedQueries_;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxReplicaDelayForDistributedQueriesOrBuilder() {
return getMaxReplicaDelayForDistributedQueries();
}
public static final int FALLBACK_TO_STALE_REPLICAS_FOR_DISTRIBUTED_QUERIES_FIELD_NUMBER = 7;
private com.google.protobuf.BoolValue fallbackToStaleReplicasForDistributedQueries_;
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return Whether the fallbackToStaleReplicasForDistributedQueries field is set.
*/
@java.lang.Override
public boolean hasFallbackToStaleReplicasForDistributedQueries() {
return fallbackToStaleReplicasForDistributedQueries_ != null;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return The fallbackToStaleReplicasForDistributedQueries.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getFallbackToStaleReplicasForDistributedQueries() {
return fallbackToStaleReplicasForDistributedQueries_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : fallbackToStaleReplicasForDistributedQueries_;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getFallbackToStaleReplicasForDistributedQueriesOrBuilder() {
return getFallbackToStaleReplicasForDistributedQueries();
}
public static final int DISTRIBUTED_PRODUCT_MODE_FIELD_NUMBER = 43;
private int distributedProductMode_;
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The enum numeric value on the wire for distributedProductMode.
*/
@java.lang.Override public int getDistributedProductModeValue() {
return distributedProductMode_;
}
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The distributedProductMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode getDistributedProductMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.valueOf(distributedProductMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.UNRECOGNIZED : result;
}
public static final int DISTRIBUTED_AGGREGATION_MEMORY_EFFICIENT_FIELD_NUMBER = 72;
private com.google.protobuf.BoolValue distributedAggregationMemoryEfficient_;
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return Whether the distributedAggregationMemoryEfficient field is set.
*/
@java.lang.Override
public boolean hasDistributedAggregationMemoryEfficient() {
return distributedAggregationMemoryEfficient_ != null;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return The distributedAggregationMemoryEfficient.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getDistributedAggregationMemoryEfficient() {
return distributedAggregationMemoryEfficient_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : distributedAggregationMemoryEfficient_;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getDistributedAggregationMemoryEfficientOrBuilder() {
return getDistributedAggregationMemoryEfficient();
}
public static final int DISTRIBUTED_DDL_TASK_TIMEOUT_FIELD_NUMBER = 73;
private com.google.protobuf.Int64Value distributedDdlTaskTimeout_;
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return Whether the distributedDdlTaskTimeout field is set.
*/
@java.lang.Override
public boolean hasDistributedDdlTaskTimeout() {
return distributedDdlTaskTimeout_ != null;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return The distributedDdlTaskTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getDistributedDdlTaskTimeout() {
return distributedDdlTaskTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : distributedDdlTaskTimeout_;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getDistributedDdlTaskTimeoutOrBuilder() {
return getDistributedDdlTaskTimeout();
}
public static final int SKIP_UNAVAILABLE_SHARDS_FIELD_NUMBER = 81;
private com.google.protobuf.BoolValue skipUnavailableShards_;
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return Whether the skipUnavailableShards field is set.
*/
@java.lang.Override
public boolean hasSkipUnavailableShards() {
return skipUnavailableShards_ != null;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return The skipUnavailableShards.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getSkipUnavailableShards() {
return skipUnavailableShards_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : skipUnavailableShards_;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getSkipUnavailableShardsOrBuilder() {
return getSkipUnavailableShards();
}
public static final int COMPILE_EXPRESSIONS_FIELD_NUMBER = 46;
private com.google.protobuf.BoolValue compileExpressions_;
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return Whether the compileExpressions field is set.
*/
@java.lang.Override
public boolean hasCompileExpressions() {
return compileExpressions_ != null;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return The compileExpressions.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getCompileExpressions() {
return compileExpressions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : compileExpressions_;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getCompileExpressionsOrBuilder() {
return getCompileExpressions();
}
public static final int MIN_COUNT_TO_COMPILE_EXPRESSION_FIELD_NUMBER = 47;
private com.google.protobuf.Int64Value minCountToCompileExpression_;
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minCountToCompileExpression field is set.
*/
@java.lang.Override
public boolean hasMinCountToCompileExpression() {
return minCountToCompileExpression_ != null;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return The minCountToCompileExpression.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinCountToCompileExpression() {
return minCountToCompileExpression_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompileExpression_;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileExpressionOrBuilder() {
return getMinCountToCompileExpression();
}
public static final int MAX_BLOCK_SIZE_FIELD_NUMBER = 9;
private com.google.protobuf.Int64Value maxBlockSize_;
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxBlockSize field is set.
*/
@java.lang.Override
public boolean hasMaxBlockSize() {
return maxBlockSize_ != null;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return The maxBlockSize.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBlockSize() {
return maxBlockSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBlockSize_;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBlockSizeOrBuilder() {
return getMaxBlockSize();
}
public static final int MIN_INSERT_BLOCK_SIZE_ROWS_FIELD_NUMBER = 48;
private com.google.protobuf.Int64Value minInsertBlockSizeRows_;
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeRows field is set.
*/
@java.lang.Override
public boolean hasMinInsertBlockSizeRows() {
return minInsertBlockSizeRows_ != null;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeRows.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinInsertBlockSizeRows() {
return minInsertBlockSizeRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeRows_;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeRowsOrBuilder() {
return getMinInsertBlockSizeRows();
}
public static final int MIN_INSERT_BLOCK_SIZE_BYTES_FIELD_NUMBER = 49;
private com.google.protobuf.Int64Value minInsertBlockSizeBytes_;
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeBytes field is set.
*/
@java.lang.Override
public boolean hasMinInsertBlockSizeBytes() {
return minInsertBlockSizeBytes_ != null;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeBytes.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinInsertBlockSizeBytes() {
return minInsertBlockSizeBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeBytes_;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeBytesOrBuilder() {
return getMinInsertBlockSizeBytes();
}
public static final int MAX_INSERT_BLOCK_SIZE_FIELD_NUMBER = 10;
private com.google.protobuf.Int64Value maxInsertBlockSize_;
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxInsertBlockSize field is set.
*/
@java.lang.Override
public boolean hasMaxInsertBlockSize() {
return maxInsertBlockSize_ != null;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return The maxInsertBlockSize.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxInsertBlockSize() {
return maxInsertBlockSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxInsertBlockSize_;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxInsertBlockSizeOrBuilder() {
return getMaxInsertBlockSize();
}
public static final int MIN_BYTES_TO_USE_DIRECT_IO_FIELD_NUMBER = 50;
private com.google.protobuf.Int64Value minBytesToUseDirectIo_;
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minBytesToUseDirectIo field is set.
*/
@java.lang.Override
public boolean hasMinBytesToUseDirectIo() {
return minBytesToUseDirectIo_ != null;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return The minBytesToUseDirectIo.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinBytesToUseDirectIo() {
return minBytesToUseDirectIo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minBytesToUseDirectIo_;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinBytesToUseDirectIoOrBuilder() {
return getMinBytesToUseDirectIo();
}
public static final int USE_UNCOMPRESSED_CACHE_FIELD_NUMBER = 51;
private com.google.protobuf.BoolValue useUncompressedCache_;
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return Whether the useUncompressedCache field is set.
*/
@java.lang.Override
public boolean hasUseUncompressedCache() {
return useUncompressedCache_ != null;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return The useUncompressedCache.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getUseUncompressedCache() {
return useUncompressedCache_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : useUncompressedCache_;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getUseUncompressedCacheOrBuilder() {
return getUseUncompressedCache();
}
public static final int MERGE_TREE_MAX_ROWS_TO_USE_CACHE_FIELD_NUMBER = 52;
private com.google.protobuf.Int64Value mergeTreeMaxRowsToUseCache_;
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxRowsToUseCache field is set.
*/
@java.lang.Override
public boolean hasMergeTreeMaxRowsToUseCache() {
return mergeTreeMaxRowsToUseCache_ != null;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxRowsToUseCache.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMergeTreeMaxRowsToUseCache() {
return mergeTreeMaxRowsToUseCache_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxRowsToUseCache_;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxRowsToUseCacheOrBuilder() {
return getMergeTreeMaxRowsToUseCache();
}
public static final int MERGE_TREE_MAX_BYTES_TO_USE_CACHE_FIELD_NUMBER = 53;
private com.google.protobuf.Int64Value mergeTreeMaxBytesToUseCache_;
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxBytesToUseCache field is set.
*/
@java.lang.Override
public boolean hasMergeTreeMaxBytesToUseCache() {
return mergeTreeMaxBytesToUseCache_ != null;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxBytesToUseCache.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMergeTreeMaxBytesToUseCache() {
return mergeTreeMaxBytesToUseCache_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxBytesToUseCache_;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxBytesToUseCacheOrBuilder() {
return getMergeTreeMaxBytesToUseCache();
}
public static final int MERGE_TREE_MIN_ROWS_FOR_CONCURRENT_READ_FIELD_NUMBER = 54;
private com.google.protobuf.Int64Value mergeTreeMinRowsForConcurrentRead_;
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinRowsForConcurrentRead field is set.
*/
@java.lang.Override
public boolean hasMergeTreeMinRowsForConcurrentRead() {
return mergeTreeMinRowsForConcurrentRead_ != null;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinRowsForConcurrentRead.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMergeTreeMinRowsForConcurrentRead() {
return mergeTreeMinRowsForConcurrentRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinRowsForConcurrentRead_;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinRowsForConcurrentReadOrBuilder() {
return getMergeTreeMinRowsForConcurrentRead();
}
public static final int MERGE_TREE_MIN_BYTES_FOR_CONCURRENT_READ_FIELD_NUMBER = 55;
private com.google.protobuf.Int64Value mergeTreeMinBytesForConcurrentRead_;
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinBytesForConcurrentRead field is set.
*/
@java.lang.Override
public boolean hasMergeTreeMinBytesForConcurrentRead() {
return mergeTreeMinBytesForConcurrentRead_ != null;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinBytesForConcurrentRead.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMergeTreeMinBytesForConcurrentRead() {
return mergeTreeMinBytesForConcurrentRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinBytesForConcurrentRead_;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinBytesForConcurrentReadOrBuilder() {
return getMergeTreeMinBytesForConcurrentRead();
}
public static final int MAX_BYTES_BEFORE_EXTERNAL_GROUP_BY_FIELD_NUMBER = 74;
private com.google.protobuf.Int64Value maxBytesBeforeExternalGroupBy_;
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return Whether the maxBytesBeforeExternalGroupBy field is set.
*/
@java.lang.Override
public boolean hasMaxBytesBeforeExternalGroupBy() {
return maxBytesBeforeExternalGroupBy_ != null;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return The maxBytesBeforeExternalGroupBy.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesBeforeExternalGroupBy() {
return maxBytesBeforeExternalGroupBy_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalGroupBy_;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalGroupByOrBuilder() {
return getMaxBytesBeforeExternalGroupBy();
}
public static final int MAX_BYTES_BEFORE_EXTERNAL_SORT_FIELD_NUMBER = 75;
private com.google.protobuf.Int64Value maxBytesBeforeExternalSort_;
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return Whether the maxBytesBeforeExternalSort field is set.
*/
@java.lang.Override
public boolean hasMaxBytesBeforeExternalSort() {
return maxBytesBeforeExternalSort_ != null;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return The maxBytesBeforeExternalSort.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesBeforeExternalSort() {
return maxBytesBeforeExternalSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalSort_;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalSortOrBuilder() {
return getMaxBytesBeforeExternalSort();
}
public static final int GROUP_BY_TWO_LEVEL_THRESHOLD_FIELD_NUMBER = 76;
private com.google.protobuf.Int64Value groupByTwoLevelThreshold_;
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return Whether the groupByTwoLevelThreshold field is set.
*/
@java.lang.Override
public boolean hasGroupByTwoLevelThreshold() {
return groupByTwoLevelThreshold_ != null;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return The groupByTwoLevelThreshold.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getGroupByTwoLevelThreshold() {
return groupByTwoLevelThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThreshold_;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdOrBuilder() {
return getGroupByTwoLevelThreshold();
}
public static final int GROUP_BY_TWO_LEVEL_THRESHOLD_BYTES_FIELD_NUMBER = 77;
private com.google.protobuf.Int64Value groupByTwoLevelThresholdBytes_;
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return Whether the groupByTwoLevelThresholdBytes field is set.
*/
@java.lang.Override
public boolean hasGroupByTwoLevelThresholdBytes() {
return groupByTwoLevelThresholdBytes_ != null;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return The groupByTwoLevelThresholdBytes.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getGroupByTwoLevelThresholdBytes() {
return groupByTwoLevelThresholdBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThresholdBytes_;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdBytesOrBuilder() {
return getGroupByTwoLevelThresholdBytes();
}
public static final int PRIORITY_FIELD_NUMBER = 56;
private com.google.protobuf.Int64Value priority_;
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return Whether the priority field is set.
*/
@java.lang.Override
public boolean hasPriority() {
return priority_ != null;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return The priority.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getPriority() {
return priority_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : priority_;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getPriorityOrBuilder() {
return getPriority();
}
public static final int MAX_THREADS_FIELD_NUMBER = 8;
private com.google.protobuf.Int64Value maxThreads_;
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxThreads field is set.
*/
@java.lang.Override
public boolean hasMaxThreads() {
return maxThreads_ != null;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return The maxThreads.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxThreads() {
return maxThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxThreads_;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxThreadsOrBuilder() {
return getMaxThreads();
}
public static final int MAX_MEMORY_USAGE_FIELD_NUMBER = 11;
private com.google.protobuf.Int64Value maxMemoryUsage_;
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsage field is set.
*/
@java.lang.Override
public boolean hasMaxMemoryUsage() {
return maxMemoryUsage_ != null;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsage.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxMemoryUsage() {
return maxMemoryUsage_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsage_;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageOrBuilder() {
return getMaxMemoryUsage();
}
public static final int MAX_MEMORY_USAGE_FOR_USER_FIELD_NUMBER = 12;
private com.google.protobuf.Int64Value maxMemoryUsageForUser_;
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsageForUser field is set.
*/
@java.lang.Override
public boolean hasMaxMemoryUsageForUser() {
return maxMemoryUsageForUser_ != null;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsageForUser.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxMemoryUsageForUser() {
return maxMemoryUsageForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsageForUser_;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageForUserOrBuilder() {
return getMaxMemoryUsageForUser();
}
public static final int MAX_NETWORK_BANDWIDTH_FIELD_NUMBER = 57;
private com.google.protobuf.Int64Value maxNetworkBandwidth_;
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return Whether the maxNetworkBandwidth field is set.
*/
@java.lang.Override
public boolean hasMaxNetworkBandwidth() {
return maxNetworkBandwidth_ != null;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return The maxNetworkBandwidth.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxNetworkBandwidth() {
return maxNetworkBandwidth_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidth_;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthOrBuilder() {
return getMaxNetworkBandwidth();
}
public static final int MAX_NETWORK_BANDWIDTH_FOR_USER_FIELD_NUMBER = 58;
private com.google.protobuf.Int64Value maxNetworkBandwidthForUser_;
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return Whether the maxNetworkBandwidthForUser field is set.
*/
@java.lang.Override
public boolean hasMaxNetworkBandwidthForUser() {
return maxNetworkBandwidthForUser_ != null;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return The maxNetworkBandwidthForUser.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxNetworkBandwidthForUser() {
return maxNetworkBandwidthForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidthForUser_;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthForUserOrBuilder() {
return getMaxNetworkBandwidthForUser();
}
public static final int MAX_PARTITIONS_PER_INSERT_BLOCK_FIELD_NUMBER = 102;
private com.google.protobuf.Int64Value maxPartitionsPerInsertBlock_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return Whether the maxPartitionsPerInsertBlock field is set.
*/
@java.lang.Override
public boolean hasMaxPartitionsPerInsertBlock() {
return maxPartitionsPerInsertBlock_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return The maxPartitionsPerInsertBlock.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxPartitionsPerInsertBlock() {
return maxPartitionsPerInsertBlock_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionsPerInsertBlock_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxPartitionsPerInsertBlockOrBuilder() {
return getMaxPartitionsPerInsertBlock();
}
public static final int MAX_CONCURRENT_QUERIES_FOR_USER_FIELD_NUMBER = 103;
private com.google.protobuf.Int64Value maxConcurrentQueriesForUser_;
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return Whether the maxConcurrentQueriesForUser field is set.
*/
@java.lang.Override
public boolean hasMaxConcurrentQueriesForUser() {
return maxConcurrentQueriesForUser_ != null;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return The maxConcurrentQueriesForUser.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxConcurrentQueriesForUser() {
return maxConcurrentQueriesForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueriesForUser_;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesForUserOrBuilder() {
return getMaxConcurrentQueriesForUser();
}
public static final int FORCE_INDEX_BY_DATE_FIELD_NUMBER = 59;
private com.google.protobuf.BoolValue forceIndexByDate_;
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return Whether the forceIndexByDate field is set.
*/
@java.lang.Override
public boolean hasForceIndexByDate() {
return forceIndexByDate_ != null;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return The forceIndexByDate.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getForceIndexByDate() {
return forceIndexByDate_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : forceIndexByDate_;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getForceIndexByDateOrBuilder() {
return getForceIndexByDate();
}
public static final int FORCE_PRIMARY_KEY_FIELD_NUMBER = 60;
private com.google.protobuf.BoolValue forcePrimaryKey_;
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return Whether the forcePrimaryKey field is set.
*/
@java.lang.Override
public boolean hasForcePrimaryKey() {
return forcePrimaryKey_ != null;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return The forcePrimaryKey.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getForcePrimaryKey() {
return forcePrimaryKey_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : forcePrimaryKey_;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getForcePrimaryKeyOrBuilder() {
return getForcePrimaryKey();
}
public static final int MAX_ROWS_TO_READ_FIELD_NUMBER = 13;
private com.google.protobuf.Int64Value maxRowsToRead_;
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToRead field is set.
*/
@java.lang.Override
public boolean hasMaxRowsToRead() {
return maxRowsToRead_ != null;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToRead.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsToRead() {
return maxRowsToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToRead_;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToReadOrBuilder() {
return getMaxRowsToRead();
}
public static final int MAX_BYTES_TO_READ_FIELD_NUMBER = 14;
private com.google.protobuf.Int64Value maxBytesToRead_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToRead field is set.
*/
@java.lang.Override
public boolean hasMaxBytesToRead() {
return maxBytesToRead_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToRead.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesToRead() {
return maxBytesToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToRead_;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToReadOrBuilder() {
return getMaxBytesToRead();
}
public static final int READ_OVERFLOW_MODE_FIELD_NUMBER = 15;
private int readOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The enum numeric value on the wire for readOverflowMode.
*/
@java.lang.Override public int getReadOverflowModeValue() {
return readOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The readOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getReadOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(readOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_TO_GROUP_BY_FIELD_NUMBER = 16;
private com.google.protobuf.Int64Value maxRowsToGroupBy_;
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToGroupBy field is set.
*/
@java.lang.Override
public boolean hasMaxRowsToGroupBy() {
return maxRowsToGroupBy_ != null;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToGroupBy.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsToGroupBy() {
return maxRowsToGroupBy_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToGroupBy_;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToGroupByOrBuilder() {
return getMaxRowsToGroupBy();
}
public static final int GROUP_BY_OVERFLOW_MODE_FIELD_NUMBER = 17;
private int groupByOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The enum numeric value on the wire for groupByOverflowMode.
*/
@java.lang.Override public int getGroupByOverflowModeValue() {
return groupByOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The groupByOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode getGroupByOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.valueOf(groupByOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_TO_SORT_FIELD_NUMBER = 18;
private com.google.protobuf.Int64Value maxRowsToSort_;
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToSort field is set.
*/
@java.lang.Override
public boolean hasMaxRowsToSort() {
return maxRowsToSort_ != null;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToSort.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsToSort() {
return maxRowsToSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToSort_;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToSortOrBuilder() {
return getMaxRowsToSort();
}
public static final int MAX_BYTES_TO_SORT_FIELD_NUMBER = 19;
private com.google.protobuf.Int64Value maxBytesToSort_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToSort field is set.
*/
@java.lang.Override
public boolean hasMaxBytesToSort() {
return maxBytesToSort_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToSort.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesToSort() {
return maxBytesToSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToSort_;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToSortOrBuilder() {
return getMaxBytesToSort();
}
public static final int SORT_OVERFLOW_MODE_FIELD_NUMBER = 20;
private int sortOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The enum numeric value on the wire for sortOverflowMode.
*/
@java.lang.Override public int getSortOverflowModeValue() {
return sortOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The sortOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSortOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(sortOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_RESULT_ROWS_FIELD_NUMBER = 21;
private com.google.protobuf.Int64Value maxResultRows_;
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultRows field is set.
*/
@java.lang.Override
public boolean hasMaxResultRows() {
return maxResultRows_ != null;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultRows.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxResultRows() {
return maxResultRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxResultRows_;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxResultRowsOrBuilder() {
return getMaxResultRows();
}
public static final int MAX_RESULT_BYTES_FIELD_NUMBER = 22;
private com.google.protobuf.Int64Value maxResultBytes_;
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultBytes field is set.
*/
@java.lang.Override
public boolean hasMaxResultBytes() {
return maxResultBytes_ != null;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultBytes.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxResultBytes() {
return maxResultBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxResultBytes_;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxResultBytesOrBuilder() {
return getMaxResultBytes();
}
public static final int RESULT_OVERFLOW_MODE_FIELD_NUMBER = 23;
private int resultOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The enum numeric value on the wire for resultOverflowMode.
*/
@java.lang.Override public int getResultOverflowModeValue() {
return resultOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The resultOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getResultOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(resultOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_IN_DISTINCT_FIELD_NUMBER = 24;
private com.google.protobuf.Int64Value maxRowsInDistinct_;
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInDistinct field is set.
*/
@java.lang.Override
public boolean hasMaxRowsInDistinct() {
return maxRowsInDistinct_ != null;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInDistinct.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsInDistinct() {
return maxRowsInDistinct_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInDistinct_;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInDistinctOrBuilder() {
return getMaxRowsInDistinct();
}
public static final int MAX_BYTES_IN_DISTINCT_FIELD_NUMBER = 25;
private com.google.protobuf.Int64Value maxBytesInDistinct_;
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInDistinct field is set.
*/
@java.lang.Override
public boolean hasMaxBytesInDistinct() {
return maxBytesInDistinct_ != null;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInDistinct.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesInDistinct() {
return maxBytesInDistinct_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInDistinct_;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInDistinctOrBuilder() {
return getMaxBytesInDistinct();
}
public static final int DISTINCT_OVERFLOW_MODE_FIELD_NUMBER = 26;
private int distinctOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The enum numeric value on the wire for distinctOverflowMode.
*/
@java.lang.Override public int getDistinctOverflowModeValue() {
return distinctOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The distinctOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getDistinctOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(distinctOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_TO_TRANSFER_FIELD_NUMBER = 27;
private com.google.protobuf.Int64Value maxRowsToTransfer_;
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToTransfer field is set.
*/
@java.lang.Override
public boolean hasMaxRowsToTransfer() {
return maxRowsToTransfer_ != null;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToTransfer.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsToTransfer() {
return maxRowsToTransfer_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToTransfer_;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToTransferOrBuilder() {
return getMaxRowsToTransfer();
}
public static final int MAX_BYTES_TO_TRANSFER_FIELD_NUMBER = 28;
private com.google.protobuf.Int64Value maxBytesToTransfer_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToTransfer field is set.
*/
@java.lang.Override
public boolean hasMaxBytesToTransfer() {
return maxBytesToTransfer_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToTransfer.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesToTransfer() {
return maxBytesToTransfer_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToTransfer_;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToTransferOrBuilder() {
return getMaxBytesToTransfer();
}
public static final int TRANSFER_OVERFLOW_MODE_FIELD_NUMBER = 29;
private int transferOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The enum numeric value on the wire for transferOverflowMode.
*/
@java.lang.Override public int getTransferOverflowModeValue() {
return transferOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The transferOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTransferOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(transferOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_EXECUTION_TIME_FIELD_NUMBER = 30;
private com.google.protobuf.Int64Value maxExecutionTime_;
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxExecutionTime field is set.
*/
@java.lang.Override
public boolean hasMaxExecutionTime() {
return maxExecutionTime_ != null;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return The maxExecutionTime.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxExecutionTime() {
return maxExecutionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxExecutionTime_;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxExecutionTimeOrBuilder() {
return getMaxExecutionTime();
}
public static final int TIMEOUT_OVERFLOW_MODE_FIELD_NUMBER = 31;
private int timeoutOverflowMode_;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The enum numeric value on the wire for timeoutOverflowMode.
*/
@java.lang.Override public int getTimeoutOverflowModeValue() {
return timeoutOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The timeoutOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTimeoutOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(timeoutOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_IN_SET_FIELD_NUMBER = 87;
private com.google.protobuf.Int64Value maxRowsInSet_;
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInSet field is set.
*/
@java.lang.Override
public boolean hasMaxRowsInSet() {
return maxRowsInSet_ != null;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInSet.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsInSet() {
return maxRowsInSet_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInSet_;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInSetOrBuilder() {
return getMaxRowsInSet();
}
public static final int MAX_BYTES_IN_SET_FIELD_NUMBER = 88;
private com.google.protobuf.Int64Value maxBytesInSet_;
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInSet field is set.
*/
@java.lang.Override
public boolean hasMaxBytesInSet() {
return maxBytesInSet_ != null;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInSet.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesInSet() {
return maxBytesInSet_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInSet_;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInSetOrBuilder() {
return getMaxBytesInSet();
}
public static final int SET_OVERFLOW_MODE_FIELD_NUMBER = 89;
private int setOverflowMode_;
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The enum numeric value on the wire for setOverflowMode.
*/
@java.lang.Override public int getSetOverflowModeValue() {
return setOverflowMode_;
}
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The setOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSetOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(setOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int MAX_ROWS_IN_JOIN_FIELD_NUMBER = 90;
private com.google.protobuf.Int64Value maxRowsInJoin_;
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInJoin field is set.
*/
@java.lang.Override
public boolean hasMaxRowsInJoin() {
return maxRowsInJoin_ != null;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInJoin.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxRowsInJoin() {
return maxRowsInJoin_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInJoin_;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInJoinOrBuilder() {
return getMaxRowsInJoin();
}
public static final int MAX_BYTES_IN_JOIN_FIELD_NUMBER = 91;
private com.google.protobuf.Int64Value maxBytesInJoin_;
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInJoin field is set.
*/
@java.lang.Override
public boolean hasMaxBytesInJoin() {
return maxBytesInJoin_ != null;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInJoin.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxBytesInJoin() {
return maxBytesInJoin_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInJoin_;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInJoinOrBuilder() {
return getMaxBytesInJoin();
}
public static final int JOIN_OVERFLOW_MODE_FIELD_NUMBER = 92;
private int joinOverflowMode_;
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The enum numeric value on the wire for joinOverflowMode.
*/
@java.lang.Override public int getJoinOverflowModeValue() {
return joinOverflowMode_;
}
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The joinOverflowMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getJoinOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(joinOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
public static final int JOIN_ALGORITHM_FIELD_NUMBER = 104;
private java.util.List joinAlgorithm_;
private static final com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm> joinAlgorithm_converter_ =
new com.google.protobuf.Internal.ListAdapter.Converter<
java.lang.Integer, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm>() {
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm convert(java.lang.Integer from) {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm.valueOf(from);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm.UNRECOGNIZED : result;
}
};
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the joinAlgorithm.
*/
@java.lang.Override
public java.util.List getJoinAlgorithmList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm>(joinAlgorithm_, joinAlgorithm_converter_);
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return The count of joinAlgorithm.
*/
@java.lang.Override
public int getJoinAlgorithmCount() {
return joinAlgorithm_.size();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the element to return.
* @return The joinAlgorithm at the given index.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm getJoinAlgorithm(int index) {
return joinAlgorithm_converter_.convert(joinAlgorithm_.get(index));
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the enum numeric values on the wire for joinAlgorithm.
*/
@java.lang.Override
public java.util.List
getJoinAlgorithmValueList() {
return joinAlgorithm_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of joinAlgorithm at the given index.
*/
@java.lang.Override
public int getJoinAlgorithmValue(int index) {
return joinAlgorithm_.get(index);
}
private int joinAlgorithmMemoizedSerializedSize;
public static final int ANY_JOIN_DISTINCT_RIGHT_TABLE_KEYS_FIELD_NUMBER = 105;
private com.google.protobuf.BoolValue anyJoinDistinctRightTableKeys_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return Whether the anyJoinDistinctRightTableKeys field is set.
*/
@java.lang.Override
public boolean hasAnyJoinDistinctRightTableKeys() {
return anyJoinDistinctRightTableKeys_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return The anyJoinDistinctRightTableKeys.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAnyJoinDistinctRightTableKeys() {
return anyJoinDistinctRightTableKeys_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : anyJoinDistinctRightTableKeys_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAnyJoinDistinctRightTableKeysOrBuilder() {
return getAnyJoinDistinctRightTableKeys();
}
public static final int MAX_COLUMNS_TO_READ_FIELD_NUMBER = 32;
private com.google.protobuf.Int64Value maxColumnsToRead_;
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxColumnsToRead field is set.
*/
@java.lang.Override
public boolean hasMaxColumnsToRead() {
return maxColumnsToRead_ != null;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return The maxColumnsToRead.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxColumnsToRead() {
return maxColumnsToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxColumnsToRead_;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxColumnsToReadOrBuilder() {
return getMaxColumnsToRead();
}
public static final int MAX_TEMPORARY_COLUMNS_FIELD_NUMBER = 33;
private com.google.protobuf.Int64Value maxTemporaryColumns_;
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryColumns field is set.
*/
@java.lang.Override
public boolean hasMaxTemporaryColumns() {
return maxTemporaryColumns_ != null;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryColumns.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxTemporaryColumns() {
return maxTemporaryColumns_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryColumns_;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryColumnsOrBuilder() {
return getMaxTemporaryColumns();
}
public static final int MAX_TEMPORARY_NON_CONST_COLUMNS_FIELD_NUMBER = 34;
private com.google.protobuf.Int64Value maxTemporaryNonConstColumns_;
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryNonConstColumns field is set.
*/
@java.lang.Override
public boolean hasMaxTemporaryNonConstColumns() {
return maxTemporaryNonConstColumns_ != null;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryNonConstColumns.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxTemporaryNonConstColumns() {
return maxTemporaryNonConstColumns_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryNonConstColumns_;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryNonConstColumnsOrBuilder() {
return getMaxTemporaryNonConstColumns();
}
public static final int MAX_QUERY_SIZE_FIELD_NUMBER = 35;
private com.google.protobuf.Int64Value maxQuerySize_;
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxQuerySize field is set.
*/
@java.lang.Override
public boolean hasMaxQuerySize() {
return maxQuerySize_ != null;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return The maxQuerySize.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxQuerySize() {
return maxQuerySize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxQuerySize_;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxQuerySizeOrBuilder() {
return getMaxQuerySize();
}
public static final int MAX_AST_DEPTH_FIELD_NUMBER = 36;
private com.google.protobuf.Int64Value maxAstDepth_;
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstDepth field is set.
*/
@java.lang.Override
public boolean hasMaxAstDepth() {
return maxAstDepth_ != null;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return The maxAstDepth.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxAstDepth() {
return maxAstDepth_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxAstDepth_;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxAstDepthOrBuilder() {
return getMaxAstDepth();
}
public static final int MAX_AST_ELEMENTS_FIELD_NUMBER = 37;
private com.google.protobuf.Int64Value maxAstElements_;
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstElements field is set.
*/
@java.lang.Override
public boolean hasMaxAstElements() {
return maxAstElements_ != null;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return The maxAstElements.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxAstElements() {
return maxAstElements_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxAstElements_;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxAstElementsOrBuilder() {
return getMaxAstElements();
}
public static final int MAX_EXPANDED_AST_ELEMENTS_FIELD_NUMBER = 38;
private com.google.protobuf.Int64Value maxExpandedAstElements_;
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxExpandedAstElements field is set.
*/
@java.lang.Override
public boolean hasMaxExpandedAstElements() {
return maxExpandedAstElements_ != null;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return The maxExpandedAstElements.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxExpandedAstElements() {
return maxExpandedAstElements_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxExpandedAstElements_;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxExpandedAstElementsOrBuilder() {
return getMaxExpandedAstElements();
}
public static final int MIN_EXECUTION_SPEED_FIELD_NUMBER = 84;
private com.google.protobuf.Int64Value minExecutionSpeed_;
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeed field is set.
*/
@java.lang.Override
public boolean hasMinExecutionSpeed() {
return minExecutionSpeed_ != null;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeed.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinExecutionSpeed() {
return minExecutionSpeed_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeed_;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedOrBuilder() {
return getMinExecutionSpeed();
}
public static final int MIN_EXECUTION_SPEED_BYTES_FIELD_NUMBER = 85;
private com.google.protobuf.Int64Value minExecutionSpeedBytes_;
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeedBytes field is set.
*/
@java.lang.Override
public boolean hasMinExecutionSpeedBytes() {
return minExecutionSpeedBytes_ != null;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeedBytes.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMinExecutionSpeedBytes() {
return minExecutionSpeedBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeedBytes_;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedBytesOrBuilder() {
return getMinExecutionSpeedBytes();
}
public static final int COUNT_DISTINCT_IMPLEMENTATION_FIELD_NUMBER = 86;
private int countDistinctImplementation_;
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The enum numeric value on the wire for countDistinctImplementation.
*/
@java.lang.Override public int getCountDistinctImplementationValue() {
return countDistinctImplementation_;
}
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The countDistinctImplementation.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation getCountDistinctImplementation() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.valueOf(countDistinctImplementation_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.UNRECOGNIZED : result;
}
public static final int INPUT_FORMAT_VALUES_INTERPRET_EXPRESSIONS_FIELD_NUMBER = 61;
private com.google.protobuf.BoolValue inputFormatValuesInterpretExpressions_;
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return Whether the inputFormatValuesInterpretExpressions field is set.
*/
@java.lang.Override
public boolean hasInputFormatValuesInterpretExpressions() {
return inputFormatValuesInterpretExpressions_ != null;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return The inputFormatValuesInterpretExpressions.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatValuesInterpretExpressions() {
return inputFormatValuesInterpretExpressions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatValuesInterpretExpressions_;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatValuesInterpretExpressionsOrBuilder() {
return getInputFormatValuesInterpretExpressions();
}
public static final int INPUT_FORMAT_DEFAULTS_FOR_OMITTED_FIELDS_FIELD_NUMBER = 62;
private com.google.protobuf.BoolValue inputFormatDefaultsForOmittedFields_;
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return Whether the inputFormatDefaultsForOmittedFields field is set.
*/
@java.lang.Override
public boolean hasInputFormatDefaultsForOmittedFields() {
return inputFormatDefaultsForOmittedFields_ != null;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return The inputFormatDefaultsForOmittedFields.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatDefaultsForOmittedFields() {
return inputFormatDefaultsForOmittedFields_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatDefaultsForOmittedFields_;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatDefaultsForOmittedFieldsOrBuilder() {
return getInputFormatDefaultsForOmittedFields();
}
public static final int INPUT_FORMAT_NULL_AS_DEFAULT_FIELD_NUMBER = 106;
private com.google.protobuf.BoolValue inputFormatNullAsDefault_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return Whether the inputFormatNullAsDefault field is set.
*/
@java.lang.Override
public boolean hasInputFormatNullAsDefault() {
return inputFormatNullAsDefault_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return The inputFormatNullAsDefault.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatNullAsDefault() {
return inputFormatNullAsDefault_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatNullAsDefault_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatNullAsDefaultOrBuilder() {
return getInputFormatNullAsDefault();
}
public static final int DATE_TIME_INPUT_FORMAT_FIELD_NUMBER = 107;
private int dateTimeInputFormat_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The enum numeric value on the wire for dateTimeInputFormat.
*/
@java.lang.Override public int getDateTimeInputFormatValue() {
return dateTimeInputFormat_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The dateTimeInputFormat.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat getDateTimeInputFormat() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.valueOf(dateTimeInputFormat_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.UNRECOGNIZED : result;
}
public static final int INPUT_FORMAT_WITH_NAMES_USE_HEADER_FIELD_NUMBER = 108;
private com.google.protobuf.BoolValue inputFormatWithNamesUseHeader_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return Whether the inputFormatWithNamesUseHeader field is set.
*/
@java.lang.Override
public boolean hasInputFormatWithNamesUseHeader() {
return inputFormatWithNamesUseHeader_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return The inputFormatWithNamesUseHeader.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatWithNamesUseHeader() {
return inputFormatWithNamesUseHeader_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatWithNamesUseHeader_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatWithNamesUseHeaderOrBuilder() {
return getInputFormatWithNamesUseHeader();
}
public static final int OUTPUT_FORMAT_JSON_QUOTE_64BIT_INTEGERS_FIELD_NUMBER = 63;
private com.google.protobuf.BoolValue outputFormatJsonQuote64BitIntegers_;
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return Whether the outputFormatJsonQuote64bitIntegers field is set.
*/
@java.lang.Override
public boolean hasOutputFormatJsonQuote64BitIntegers() {
return outputFormatJsonQuote64BitIntegers_ != null;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return The outputFormatJsonQuote64bitIntegers.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getOutputFormatJsonQuote64BitIntegers() {
return outputFormatJsonQuote64BitIntegers_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuote64BitIntegers_;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuote64BitIntegersOrBuilder() {
return getOutputFormatJsonQuote64BitIntegers();
}
public static final int OUTPUT_FORMAT_JSON_QUOTE_DENORMALS_FIELD_NUMBER = 64;
private com.google.protobuf.BoolValue outputFormatJsonQuoteDenormals_;
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return Whether the outputFormatJsonQuoteDenormals field is set.
*/
@java.lang.Override
public boolean hasOutputFormatJsonQuoteDenormals() {
return outputFormatJsonQuoteDenormals_ != null;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return The outputFormatJsonQuoteDenormals.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getOutputFormatJsonQuoteDenormals() {
return outputFormatJsonQuoteDenormals_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuoteDenormals_;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuoteDenormalsOrBuilder() {
return getOutputFormatJsonQuoteDenormals();
}
public static final int DATE_TIME_OUTPUT_FORMAT_FIELD_NUMBER = 109;
private int dateTimeOutputFormat_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The enum numeric value on the wire for dateTimeOutputFormat.
*/
@java.lang.Override public int getDateTimeOutputFormatValue() {
return dateTimeOutputFormat_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The dateTimeOutputFormat.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat getDateTimeOutputFormat() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.valueOf(dateTimeOutputFormat_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.UNRECOGNIZED : result;
}
public static final int LOW_CARDINALITY_ALLOW_IN_NATIVE_FORMAT_FIELD_NUMBER = 78;
private com.google.protobuf.BoolValue lowCardinalityAllowInNativeFormat_;
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return Whether the lowCardinalityAllowInNativeFormat field is set.
*/
@java.lang.Override
public boolean hasLowCardinalityAllowInNativeFormat() {
return lowCardinalityAllowInNativeFormat_ != null;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return The lowCardinalityAllowInNativeFormat.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getLowCardinalityAllowInNativeFormat() {
return lowCardinalityAllowInNativeFormat_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : lowCardinalityAllowInNativeFormat_;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getLowCardinalityAllowInNativeFormatOrBuilder() {
return getLowCardinalityAllowInNativeFormat();
}
public static final int ALLOW_SUSPICIOUS_LOW_CARDINALITY_TYPES_FIELD_NUMBER = 110;
private com.google.protobuf.BoolValue allowSuspiciousLowCardinalityTypes_;
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return Whether the allowSuspiciousLowCardinalityTypes field is set.
*/
@java.lang.Override
public boolean hasAllowSuspiciousLowCardinalityTypes() {
return allowSuspiciousLowCardinalityTypes_ != null;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return The allowSuspiciousLowCardinalityTypes.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAllowSuspiciousLowCardinalityTypes() {
return allowSuspiciousLowCardinalityTypes_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowSuspiciousLowCardinalityTypes_;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAllowSuspiciousLowCardinalityTypesOrBuilder() {
return getAllowSuspiciousLowCardinalityTypes();
}
public static final int EMPTY_RESULT_FOR_AGGREGATION_BY_EMPTY_SET_FIELD_NUMBER = 79;
private com.google.protobuf.BoolValue emptyResultForAggregationByEmptySet_;
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return Whether the emptyResultForAggregationByEmptySet field is set.
*/
@java.lang.Override
public boolean hasEmptyResultForAggregationByEmptySet() {
return emptyResultForAggregationByEmptySet_ != null;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return The emptyResultForAggregationByEmptySet.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEmptyResultForAggregationByEmptySet() {
return emptyResultForAggregationByEmptySet_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : emptyResultForAggregationByEmptySet_;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEmptyResultForAggregationByEmptySetOrBuilder() {
return getEmptyResultForAggregationByEmptySet();
}
public static final int HTTP_CONNECTION_TIMEOUT_FIELD_NUMBER = 65;
private com.google.protobuf.Int64Value httpConnectionTimeout_;
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return Whether the httpConnectionTimeout field is set.
*/
@java.lang.Override
public boolean hasHttpConnectionTimeout() {
return httpConnectionTimeout_ != null;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return The httpConnectionTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getHttpConnectionTimeout() {
return httpConnectionTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpConnectionTimeout_;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getHttpConnectionTimeoutOrBuilder() {
return getHttpConnectionTimeout();
}
public static final int HTTP_RECEIVE_TIMEOUT_FIELD_NUMBER = 66;
private com.google.protobuf.Int64Value httpReceiveTimeout_;
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return Whether the httpReceiveTimeout field is set.
*/
@java.lang.Override
public boolean hasHttpReceiveTimeout() {
return httpReceiveTimeout_ != null;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return The httpReceiveTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getHttpReceiveTimeout() {
return httpReceiveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpReceiveTimeout_;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getHttpReceiveTimeoutOrBuilder() {
return getHttpReceiveTimeout();
}
public static final int HTTP_SEND_TIMEOUT_FIELD_NUMBER = 67;
private com.google.protobuf.Int64Value httpSendTimeout_;
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return Whether the httpSendTimeout field is set.
*/
@java.lang.Override
public boolean hasHttpSendTimeout() {
return httpSendTimeout_ != null;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return The httpSendTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getHttpSendTimeout() {
return httpSendTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpSendTimeout_;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getHttpSendTimeoutOrBuilder() {
return getHttpSendTimeout();
}
public static final int ENABLE_HTTP_COMPRESSION_FIELD_NUMBER = 68;
private com.google.protobuf.BoolValue enableHttpCompression_;
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return Whether the enableHttpCompression field is set.
*/
@java.lang.Override
public boolean hasEnableHttpCompression() {
return enableHttpCompression_ != null;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return The enableHttpCompression.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getEnableHttpCompression() {
return enableHttpCompression_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableHttpCompression_;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getEnableHttpCompressionOrBuilder() {
return getEnableHttpCompression();
}
public static final int SEND_PROGRESS_IN_HTTP_HEADERS_FIELD_NUMBER = 69;
private com.google.protobuf.BoolValue sendProgressInHttpHeaders_;
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return Whether the sendProgressInHttpHeaders field is set.
*/
@java.lang.Override
public boolean hasSendProgressInHttpHeaders() {
return sendProgressInHttpHeaders_ != null;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return The sendProgressInHttpHeaders.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getSendProgressInHttpHeaders() {
return sendProgressInHttpHeaders_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : sendProgressInHttpHeaders_;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getSendProgressInHttpHeadersOrBuilder() {
return getSendProgressInHttpHeaders();
}
public static final int HTTP_HEADERS_PROGRESS_INTERVAL_FIELD_NUMBER = 70;
private com.google.protobuf.Int64Value httpHeadersProgressInterval_;
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return Whether the httpHeadersProgressInterval field is set.
*/
@java.lang.Override
public boolean hasHttpHeadersProgressInterval() {
return httpHeadersProgressInterval_ != null;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return The httpHeadersProgressInterval.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getHttpHeadersProgressInterval() {
return httpHeadersProgressInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpHeadersProgressInterval_;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getHttpHeadersProgressIntervalOrBuilder() {
return getHttpHeadersProgressInterval();
}
public static final int ADD_HTTP_CORS_HEADER_FIELD_NUMBER = 71;
private com.google.protobuf.BoolValue addHttpCorsHeader_;
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return Whether the addHttpCorsHeader field is set.
*/
@java.lang.Override
public boolean hasAddHttpCorsHeader() {
return addHttpCorsHeader_ != null;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return The addHttpCorsHeader.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAddHttpCorsHeader() {
return addHttpCorsHeader_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : addHttpCorsHeader_;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAddHttpCorsHeaderOrBuilder() {
return getAddHttpCorsHeader();
}
public static final int CANCEL_HTTP_READONLY_QUERIES_ON_CLIENT_CLOSE_FIELD_NUMBER = 111;
private com.google.protobuf.BoolValue cancelHttpReadonlyQueriesOnClientClose_;
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return Whether the cancelHttpReadonlyQueriesOnClientClose field is set.
*/
@java.lang.Override
public boolean hasCancelHttpReadonlyQueriesOnClientClose() {
return cancelHttpReadonlyQueriesOnClientClose_ != null;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return The cancelHttpReadonlyQueriesOnClientClose.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getCancelHttpReadonlyQueriesOnClientClose() {
return cancelHttpReadonlyQueriesOnClientClose_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cancelHttpReadonlyQueriesOnClientClose_;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getCancelHttpReadonlyQueriesOnClientCloseOrBuilder() {
return getCancelHttpReadonlyQueriesOnClientClose();
}
public static final int MAX_HTTP_GET_REDIRECTS_FIELD_NUMBER = 112;
private com.google.protobuf.Int64Value maxHttpGetRedirects_;
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return Whether the maxHttpGetRedirects field is set.
*/
@java.lang.Override
public boolean hasMaxHttpGetRedirects() {
return maxHttpGetRedirects_ != null;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return The maxHttpGetRedirects.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxHttpGetRedirects() {
return maxHttpGetRedirects_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxHttpGetRedirects_;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxHttpGetRedirectsOrBuilder() {
return getMaxHttpGetRedirects();
}
public static final int JOINED_SUBQUERY_REQUIRES_ALIAS_FIELD_NUMBER = 93;
private com.google.protobuf.BoolValue joinedSubqueryRequiresAlias_;
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return Whether the joinedSubqueryRequiresAlias field is set.
*/
@java.lang.Override
public boolean hasJoinedSubqueryRequiresAlias() {
return joinedSubqueryRequiresAlias_ != null;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return The joinedSubqueryRequiresAlias.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getJoinedSubqueryRequiresAlias() {
return joinedSubqueryRequiresAlias_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : joinedSubqueryRequiresAlias_;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getJoinedSubqueryRequiresAliasOrBuilder() {
return getJoinedSubqueryRequiresAlias();
}
public static final int JOIN_USE_NULLS_FIELD_NUMBER = 94;
private com.google.protobuf.BoolValue joinUseNulls_;
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return Whether the joinUseNulls field is set.
*/
@java.lang.Override
public boolean hasJoinUseNulls() {
return joinUseNulls_ != null;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return The joinUseNulls.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getJoinUseNulls() {
return joinUseNulls_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : joinUseNulls_;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getJoinUseNullsOrBuilder() {
return getJoinUseNulls();
}
public static final int TRANSFORM_NULL_IN_FIELD_NUMBER = 95;
private com.google.protobuf.BoolValue transformNullIn_;
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return Whether the transformNullIn field is set.
*/
@java.lang.Override
public boolean hasTransformNullIn() {
return transformNullIn_ != null;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return The transformNullIn.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getTransformNullIn() {
return transformNullIn_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : transformNullIn_;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getTransformNullInOrBuilder() {
return getTransformNullIn();
}
public static final int QUOTA_MODE_FIELD_NUMBER = 80;
private int quotaMode_;
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The enum numeric value on the wire for quotaMode.
*/
@java.lang.Override public int getQuotaModeValue() {
return quotaMode_;
}
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The quotaMode.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode getQuotaMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.valueOf(quotaMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.UNRECOGNIZED : result;
}
public static final int FLATTEN_NESTED_FIELD_NUMBER = 113;
private com.google.protobuf.BoolValue flattenNested_;
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return Whether the flattenNested field is set.
*/
@java.lang.Override
public boolean hasFlattenNested() {
return flattenNested_ != null;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return The flattenNested.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getFlattenNested() {
return flattenNested_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : flattenNested_;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getFlattenNestedOrBuilder() {
return getFlattenNested();
}
public static final int FORMAT_REGEXP_FIELD_NUMBER = 114;
private volatile java.lang.Object formatRegexp_;
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The formatRegexp.
*/
@java.lang.Override
public java.lang.String getFormatRegexp() {
java.lang.Object ref = formatRegexp_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
formatRegexp_ = s;
return s;
}
}
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The bytes for formatRegexp.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFormatRegexpBytes() {
java.lang.Object ref = formatRegexp_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formatRegexp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int FORMAT_REGEXP_ESCAPING_RULE_FIELD_NUMBER = 115;
private int formatRegexpEscapingRule_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The enum numeric value on the wire for formatRegexpEscapingRule.
*/
@java.lang.Override public int getFormatRegexpEscapingRuleValue() {
return formatRegexpEscapingRule_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The formatRegexpEscapingRule.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule getFormatRegexpEscapingRule() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.valueOf(formatRegexpEscapingRule_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.UNRECOGNIZED : result;
}
public static final int FORMAT_REGEXP_SKIP_UNMATCHED_FIELD_NUMBER = 116;
private com.google.protobuf.BoolValue formatRegexpSkipUnmatched_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return Whether the formatRegexpSkipUnmatched field is set.
*/
@java.lang.Override
public boolean hasFormatRegexpSkipUnmatched() {
return formatRegexpSkipUnmatched_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return The formatRegexpSkipUnmatched.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getFormatRegexpSkipUnmatched() {
return formatRegexpSkipUnmatched_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : formatRegexpSkipUnmatched_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getFormatRegexpSkipUnmatchedOrBuilder() {
return getFormatRegexpSkipUnmatched();
}
public static final int ASYNC_INSERT_FIELD_NUMBER = 117;
private com.google.protobuf.BoolValue asyncInsert_;
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return Whether the asyncInsert field is set.
*/
@java.lang.Override
public boolean hasAsyncInsert() {
return asyncInsert_ != null;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return The asyncInsert.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getAsyncInsert() {
return asyncInsert_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : asyncInsert_;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getAsyncInsertOrBuilder() {
return getAsyncInsert();
}
public static final int ASYNC_INSERT_THREADS_FIELD_NUMBER = 118;
private com.google.protobuf.Int64Value asyncInsertThreads_;
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return Whether the asyncInsertThreads field is set.
*/
@java.lang.Override
public boolean hasAsyncInsertThreads() {
return asyncInsertThreads_ != null;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return The asyncInsertThreads.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getAsyncInsertThreads() {
return asyncInsertThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertThreads_;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertThreadsOrBuilder() {
return getAsyncInsertThreads();
}
public static final int WAIT_FOR_ASYNC_INSERT_FIELD_NUMBER = 119;
private com.google.protobuf.BoolValue waitForAsyncInsert_;
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return Whether the waitForAsyncInsert field is set.
*/
@java.lang.Override
public boolean hasWaitForAsyncInsert() {
return waitForAsyncInsert_ != null;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return The waitForAsyncInsert.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getWaitForAsyncInsert() {
return waitForAsyncInsert_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : waitForAsyncInsert_;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getWaitForAsyncInsertOrBuilder() {
return getWaitForAsyncInsert();
}
public static final int WAIT_FOR_ASYNC_INSERT_TIMEOUT_FIELD_NUMBER = 120;
private com.google.protobuf.Int64Value waitForAsyncInsertTimeout_;
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return Whether the waitForAsyncInsertTimeout field is set.
*/
@java.lang.Override
public boolean hasWaitForAsyncInsertTimeout() {
return waitForAsyncInsertTimeout_ != null;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return The waitForAsyncInsertTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getWaitForAsyncInsertTimeout() {
return waitForAsyncInsertTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : waitForAsyncInsertTimeout_;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getWaitForAsyncInsertTimeoutOrBuilder() {
return getWaitForAsyncInsertTimeout();
}
public static final int ASYNC_INSERT_MAX_DATA_SIZE_FIELD_NUMBER = 121;
private com.google.protobuf.Int64Value asyncInsertMaxDataSize_;
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return Whether the asyncInsertMaxDataSize field is set.
*/
@java.lang.Override
public boolean hasAsyncInsertMaxDataSize() {
return asyncInsertMaxDataSize_ != null;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return The asyncInsertMaxDataSize.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getAsyncInsertMaxDataSize() {
return asyncInsertMaxDataSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertMaxDataSize_;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertMaxDataSizeOrBuilder() {
return getAsyncInsertMaxDataSize();
}
public static final int ASYNC_INSERT_BUSY_TIMEOUT_FIELD_NUMBER = 122;
private com.google.protobuf.Int64Value asyncInsertBusyTimeout_;
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return Whether the asyncInsertBusyTimeout field is set.
*/
@java.lang.Override
public boolean hasAsyncInsertBusyTimeout() {
return asyncInsertBusyTimeout_ != null;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return The asyncInsertBusyTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getAsyncInsertBusyTimeout() {
return asyncInsertBusyTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertBusyTimeout_;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertBusyTimeoutOrBuilder() {
return getAsyncInsertBusyTimeout();
}
public static final int ASYNC_INSERT_STALE_TIMEOUT_FIELD_NUMBER = 123;
private com.google.protobuf.Int64Value asyncInsertStaleTimeout_;
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return Whether the asyncInsertStaleTimeout field is set.
*/
@java.lang.Override
public boolean hasAsyncInsertStaleTimeout() {
return asyncInsertStaleTimeout_ != null;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return The asyncInsertStaleTimeout.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getAsyncInsertStaleTimeout() {
return asyncInsertStaleTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertStaleTimeout_;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertStaleTimeoutOrBuilder() {
return getAsyncInsertStaleTimeout();
}
public static final int MEMORY_PROFILER_STEP_FIELD_NUMBER = 124;
private com.google.protobuf.Int64Value memoryProfilerStep_;
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return Whether the memoryProfilerStep field is set.
*/
@java.lang.Override
public boolean hasMemoryProfilerStep() {
return memoryProfilerStep_ != null;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return The memoryProfilerStep.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMemoryProfilerStep() {
return memoryProfilerStep_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : memoryProfilerStep_;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMemoryProfilerStepOrBuilder() {
return getMemoryProfilerStep();
}
public static final int MEMORY_PROFILER_SAMPLE_PROBABILITY_FIELD_NUMBER = 125;
private com.google.protobuf.DoubleValue memoryProfilerSampleProbability_;
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return Whether the memoryProfilerSampleProbability field is set.
*/
@java.lang.Override
public boolean hasMemoryProfilerSampleProbability() {
return memoryProfilerSampleProbability_ != null;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return The memoryProfilerSampleProbability.
*/
@java.lang.Override
public com.google.protobuf.DoubleValue getMemoryProfilerSampleProbability() {
return memoryProfilerSampleProbability_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : memoryProfilerSampleProbability_;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
@java.lang.Override
public com.google.protobuf.DoubleValueOrBuilder getMemoryProfilerSampleProbabilityOrBuilder() {
return getMemoryProfilerSampleProbability();
}
public static final int MAX_FINAL_THREADS_FIELD_NUMBER = 126;
private com.google.protobuf.Int64Value maxFinalThreads_;
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxFinalThreads field is set.
*/
@java.lang.Override
public boolean hasMaxFinalThreads() {
return maxFinalThreads_ != null;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return The maxFinalThreads.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxFinalThreads() {
return maxFinalThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxFinalThreads_;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxFinalThreadsOrBuilder() {
return getMaxFinalThreads();
}
public static final int INPUT_FORMAT_PARALLEL_PARSING_FIELD_NUMBER = 127;
private com.google.protobuf.BoolValue inputFormatParallelParsing_;
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return Whether the inputFormatParallelParsing field is set.
*/
@java.lang.Override
public boolean hasInputFormatParallelParsing() {
return inputFormatParallelParsing_ != null;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return The inputFormatParallelParsing.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatParallelParsing() {
return inputFormatParallelParsing_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatParallelParsing_;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatParallelParsingOrBuilder() {
return getInputFormatParallelParsing();
}
public static final int INPUT_FORMAT_IMPORT_NESTED_JSON_FIELD_NUMBER = 128;
private com.google.protobuf.BoolValue inputFormatImportNestedJson_;
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return Whether the inputFormatImportNestedJson field is set.
*/
@java.lang.Override
public boolean hasInputFormatImportNestedJson() {
return inputFormatImportNestedJson_ != null;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return The inputFormatImportNestedJson.
*/
@java.lang.Override
public com.google.protobuf.BoolValue getInputFormatImportNestedJson() {
return inputFormatImportNestedJson_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatImportNestedJson_;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
@java.lang.Override
public com.google.protobuf.BoolValueOrBuilder getInputFormatImportNestedJsonOrBuilder() {
return getInputFormatImportNestedJson();
}
public static final int LOCAL_FILESYSTEM_READ_METHOD_FIELD_NUMBER = 129;
private int localFilesystemReadMethod_;
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The enum numeric value on the wire for localFilesystemReadMethod.
*/
@java.lang.Override public int getLocalFilesystemReadMethodValue() {
return localFilesystemReadMethod_;
}
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The localFilesystemReadMethod.
*/
@java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod getLocalFilesystemReadMethod() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.valueOf(localFilesystemReadMethod_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.UNRECOGNIZED : result;
}
public static final int MAX_READ_BUFFER_SIZE_FIELD_NUMBER = 130;
private com.google.protobuf.Int64Value maxReadBufferSize_;
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxReadBufferSize field is set.
*/
@java.lang.Override
public boolean hasMaxReadBufferSize() {
return maxReadBufferSize_ != null;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return The maxReadBufferSize.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxReadBufferSize() {
return maxReadBufferSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReadBufferSize_;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxReadBufferSizeOrBuilder() {
return getMaxReadBufferSize();
}
public static final int COMPILE_FIELD_NUMBER = 44;
private com.google.protobuf.BoolValue compile_;
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return Whether the compile field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasCompile() {
return compile_ != null;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return The compile.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.BoolValue getCompile() {
return compile_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : compile_;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.BoolValueOrBuilder getCompileOrBuilder() {
return getCompile();
}
public static final int MIN_COUNT_TO_COMPILE_FIELD_NUMBER = 45;
private com.google.protobuf.Int64Value minCountToCompile_;
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return Whether the minCountToCompile field is set.
*/
@java.lang.Override
@java.lang.Deprecated public boolean hasMinCountToCompile() {
return minCountToCompile_ != null;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return The minCountToCompile.
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.Int64Value getMinCountToCompile() {
return minCountToCompile_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompile_;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Override
@java.lang.Deprecated public com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileOrBuilder() {
return getMinCountToCompile();
}
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 (readonly_ != null) {
output.writeMessage(1, getReadonly());
}
if (allowDdl_ != null) {
output.writeMessage(2, getAllowDdl());
}
if (insertQuorum_ != null) {
output.writeMessage(3, getInsertQuorum());
}
if (insertQuorumTimeout_ != null) {
output.writeMessage(4, getInsertQuorumTimeout());
}
if (selectSequentialConsistency_ != null) {
output.writeMessage(5, getSelectSequentialConsistency());
}
if (maxReplicaDelayForDistributedQueries_ != null) {
output.writeMessage(6, getMaxReplicaDelayForDistributedQueries());
}
if (fallbackToStaleReplicasForDistributedQueries_ != null) {
output.writeMessage(7, getFallbackToStaleReplicasForDistributedQueries());
}
if (maxThreads_ != null) {
output.writeMessage(8, getMaxThreads());
}
if (maxBlockSize_ != null) {
output.writeMessage(9, getMaxBlockSize());
}
if (maxInsertBlockSize_ != null) {
output.writeMessage(10, getMaxInsertBlockSize());
}
if (maxMemoryUsage_ != null) {
output.writeMessage(11, getMaxMemoryUsage());
}
if (maxMemoryUsageForUser_ != null) {
output.writeMessage(12, getMaxMemoryUsageForUser());
}
if (maxRowsToRead_ != null) {
output.writeMessage(13, getMaxRowsToRead());
}
if (maxBytesToRead_ != null) {
output.writeMessage(14, getMaxBytesToRead());
}
if (readOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(15, readOverflowMode_);
}
if (maxRowsToGroupBy_ != null) {
output.writeMessage(16, getMaxRowsToGroupBy());
}
if (groupByOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.GROUP_BY_OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(17, groupByOverflowMode_);
}
if (maxRowsToSort_ != null) {
output.writeMessage(18, getMaxRowsToSort());
}
if (maxBytesToSort_ != null) {
output.writeMessage(19, getMaxBytesToSort());
}
if (sortOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(20, sortOverflowMode_);
}
if (maxResultRows_ != null) {
output.writeMessage(21, getMaxResultRows());
}
if (maxResultBytes_ != null) {
output.writeMessage(22, getMaxResultBytes());
}
if (resultOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(23, resultOverflowMode_);
}
if (maxRowsInDistinct_ != null) {
output.writeMessage(24, getMaxRowsInDistinct());
}
if (maxBytesInDistinct_ != null) {
output.writeMessage(25, getMaxBytesInDistinct());
}
if (distinctOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(26, distinctOverflowMode_);
}
if (maxRowsToTransfer_ != null) {
output.writeMessage(27, getMaxRowsToTransfer());
}
if (maxBytesToTransfer_ != null) {
output.writeMessage(28, getMaxBytesToTransfer());
}
if (transferOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(29, transferOverflowMode_);
}
if (maxExecutionTime_ != null) {
output.writeMessage(30, getMaxExecutionTime());
}
if (timeoutOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(31, timeoutOverflowMode_);
}
if (maxColumnsToRead_ != null) {
output.writeMessage(32, getMaxColumnsToRead());
}
if (maxTemporaryColumns_ != null) {
output.writeMessage(33, getMaxTemporaryColumns());
}
if (maxTemporaryNonConstColumns_ != null) {
output.writeMessage(34, getMaxTemporaryNonConstColumns());
}
if (maxQuerySize_ != null) {
output.writeMessage(35, getMaxQuerySize());
}
if (maxAstDepth_ != null) {
output.writeMessage(36, getMaxAstDepth());
}
if (maxAstElements_ != null) {
output.writeMessage(37, getMaxAstElements());
}
if (maxExpandedAstElements_ != null) {
output.writeMessage(38, getMaxExpandedAstElements());
}
if (connectTimeout_ != null) {
output.writeMessage(39, getConnectTimeout());
}
if (receiveTimeout_ != null) {
output.writeMessage(40, getReceiveTimeout());
}
if (sendTimeout_ != null) {
output.writeMessage(41, getSendTimeout());
}
if (replicationAlterPartitionsSync_ != null) {
output.writeMessage(42, getReplicationAlterPartitionsSync());
}
if (distributedProductMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(43, distributedProductMode_);
}
if (compile_ != null) {
output.writeMessage(44, getCompile());
}
if (minCountToCompile_ != null) {
output.writeMessage(45, getMinCountToCompile());
}
if (compileExpressions_ != null) {
output.writeMessage(46, getCompileExpressions());
}
if (minCountToCompileExpression_ != null) {
output.writeMessage(47, getMinCountToCompileExpression());
}
if (minInsertBlockSizeRows_ != null) {
output.writeMessage(48, getMinInsertBlockSizeRows());
}
if (minInsertBlockSizeBytes_ != null) {
output.writeMessage(49, getMinInsertBlockSizeBytes());
}
if (minBytesToUseDirectIo_ != null) {
output.writeMessage(50, getMinBytesToUseDirectIo());
}
if (useUncompressedCache_ != null) {
output.writeMessage(51, getUseUncompressedCache());
}
if (mergeTreeMaxRowsToUseCache_ != null) {
output.writeMessage(52, getMergeTreeMaxRowsToUseCache());
}
if (mergeTreeMaxBytesToUseCache_ != null) {
output.writeMessage(53, getMergeTreeMaxBytesToUseCache());
}
if (mergeTreeMinRowsForConcurrentRead_ != null) {
output.writeMessage(54, getMergeTreeMinRowsForConcurrentRead());
}
if (mergeTreeMinBytesForConcurrentRead_ != null) {
output.writeMessage(55, getMergeTreeMinBytesForConcurrentRead());
}
if (priority_ != null) {
output.writeMessage(56, getPriority());
}
if (maxNetworkBandwidth_ != null) {
output.writeMessage(57, getMaxNetworkBandwidth());
}
if (maxNetworkBandwidthForUser_ != null) {
output.writeMessage(58, getMaxNetworkBandwidthForUser());
}
if (forceIndexByDate_ != null) {
output.writeMessage(59, getForceIndexByDate());
}
if (forcePrimaryKey_ != null) {
output.writeMessage(60, getForcePrimaryKey());
}
if (inputFormatValuesInterpretExpressions_ != null) {
output.writeMessage(61, getInputFormatValuesInterpretExpressions());
}
if (inputFormatDefaultsForOmittedFields_ != null) {
output.writeMessage(62, getInputFormatDefaultsForOmittedFields());
}
if (outputFormatJsonQuote64BitIntegers_ != null) {
output.writeMessage(63, getOutputFormatJsonQuote64BitIntegers());
}
if (outputFormatJsonQuoteDenormals_ != null) {
output.writeMessage(64, getOutputFormatJsonQuoteDenormals());
}
if (httpConnectionTimeout_ != null) {
output.writeMessage(65, getHttpConnectionTimeout());
}
if (httpReceiveTimeout_ != null) {
output.writeMessage(66, getHttpReceiveTimeout());
}
if (httpSendTimeout_ != null) {
output.writeMessage(67, getHttpSendTimeout());
}
if (enableHttpCompression_ != null) {
output.writeMessage(68, getEnableHttpCompression());
}
if (sendProgressInHttpHeaders_ != null) {
output.writeMessage(69, getSendProgressInHttpHeaders());
}
if (httpHeadersProgressInterval_ != null) {
output.writeMessage(70, getHttpHeadersProgressInterval());
}
if (addHttpCorsHeader_ != null) {
output.writeMessage(71, getAddHttpCorsHeader());
}
if (distributedAggregationMemoryEfficient_ != null) {
output.writeMessage(72, getDistributedAggregationMemoryEfficient());
}
if (distributedDdlTaskTimeout_ != null) {
output.writeMessage(73, getDistributedDdlTaskTimeout());
}
if (maxBytesBeforeExternalGroupBy_ != null) {
output.writeMessage(74, getMaxBytesBeforeExternalGroupBy());
}
if (maxBytesBeforeExternalSort_ != null) {
output.writeMessage(75, getMaxBytesBeforeExternalSort());
}
if (groupByTwoLevelThreshold_ != null) {
output.writeMessage(76, getGroupByTwoLevelThreshold());
}
if (groupByTwoLevelThresholdBytes_ != null) {
output.writeMessage(77, getGroupByTwoLevelThresholdBytes());
}
if (lowCardinalityAllowInNativeFormat_ != null) {
output.writeMessage(78, getLowCardinalityAllowInNativeFormat());
}
if (emptyResultForAggregationByEmptySet_ != null) {
output.writeMessage(79, getEmptyResultForAggregationByEmptySet());
}
if (quotaMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.QUOTA_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(80, quotaMode_);
}
if (skipUnavailableShards_ != null) {
output.writeMessage(81, getSkipUnavailableShards());
}
if (minExecutionSpeed_ != null) {
output.writeMessage(84, getMinExecutionSpeed());
}
if (minExecutionSpeedBytes_ != null) {
output.writeMessage(85, getMinExecutionSpeedBytes());
}
if (countDistinctImplementation_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED.getNumber()) {
output.writeEnum(86, countDistinctImplementation_);
}
if (maxRowsInSet_ != null) {
output.writeMessage(87, getMaxRowsInSet());
}
if (maxBytesInSet_ != null) {
output.writeMessage(88, getMaxBytesInSet());
}
if (setOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(89, setOverflowMode_);
}
if (maxRowsInJoin_ != null) {
output.writeMessage(90, getMaxRowsInJoin());
}
if (maxBytesInJoin_ != null) {
output.writeMessage(91, getMaxBytesInJoin());
}
if (joinOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
output.writeEnum(92, joinOverflowMode_);
}
if (joinedSubqueryRequiresAlias_ != null) {
output.writeMessage(93, getJoinedSubqueryRequiresAlias());
}
if (joinUseNulls_ != null) {
output.writeMessage(94, getJoinUseNulls());
}
if (transformNullIn_ != null) {
output.writeMessage(95, getTransformNullIn());
}
if (allowIntrospectionFunctions_ != null) {
output.writeMessage(96, getAllowIntrospectionFunctions());
}
if (connectTimeoutWithFailover_ != null) {
output.writeMessage(97, getConnectTimeoutWithFailover());
}
if (timeoutBeforeCheckingExecutionSpeed_ != null) {
output.writeMessage(98, getTimeoutBeforeCheckingExecutionSpeed());
}
if (insertQuorumParallel_ != null) {
output.writeMessage(99, getInsertQuorumParallel());
}
if (insertNullAsDefault_ != null) {
output.writeMessage(100, getInsertNullAsDefault());
}
if (deduplicateBlocksInDependentMaterializedViews_ != null) {
output.writeMessage(101, getDeduplicateBlocksInDependentMaterializedViews());
}
if (maxPartitionsPerInsertBlock_ != null) {
output.writeMessage(102, getMaxPartitionsPerInsertBlock());
}
if (maxConcurrentQueriesForUser_ != null) {
output.writeMessage(103, getMaxConcurrentQueriesForUser());
}
if (getJoinAlgorithmList().size() > 0) {
output.writeUInt32NoTag(834);
output.writeUInt32NoTag(joinAlgorithmMemoizedSerializedSize);
}
for (int i = 0; i < joinAlgorithm_.size(); i++) {
output.writeEnumNoTag(joinAlgorithm_.get(i));
}
if (anyJoinDistinctRightTableKeys_ != null) {
output.writeMessage(105, getAnyJoinDistinctRightTableKeys());
}
if (inputFormatNullAsDefault_ != null) {
output.writeMessage(106, getInputFormatNullAsDefault());
}
if (dateTimeInputFormat_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.DATE_TIME_INPUT_FORMAT_UNSPECIFIED.getNumber()) {
output.writeEnum(107, dateTimeInputFormat_);
}
if (inputFormatWithNamesUseHeader_ != null) {
output.writeMessage(108, getInputFormatWithNamesUseHeader());
}
if (dateTimeOutputFormat_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED.getNumber()) {
output.writeEnum(109, dateTimeOutputFormat_);
}
if (allowSuspiciousLowCardinalityTypes_ != null) {
output.writeMessage(110, getAllowSuspiciousLowCardinalityTypes());
}
if (cancelHttpReadonlyQueriesOnClientClose_ != null) {
output.writeMessage(111, getCancelHttpReadonlyQueriesOnClientClose());
}
if (maxHttpGetRedirects_ != null) {
output.writeMessage(112, getMaxHttpGetRedirects());
}
if (flattenNested_ != null) {
output.writeMessage(113, getFlattenNested());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formatRegexp_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 114, formatRegexp_);
}
if (formatRegexpEscapingRule_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED.getNumber()) {
output.writeEnum(115, formatRegexpEscapingRule_);
}
if (formatRegexpSkipUnmatched_ != null) {
output.writeMessage(116, getFormatRegexpSkipUnmatched());
}
if (asyncInsert_ != null) {
output.writeMessage(117, getAsyncInsert());
}
if (asyncInsertThreads_ != null) {
output.writeMessage(118, getAsyncInsertThreads());
}
if (waitForAsyncInsert_ != null) {
output.writeMessage(119, getWaitForAsyncInsert());
}
if (waitForAsyncInsertTimeout_ != null) {
output.writeMessage(120, getWaitForAsyncInsertTimeout());
}
if (asyncInsertMaxDataSize_ != null) {
output.writeMessage(121, getAsyncInsertMaxDataSize());
}
if (asyncInsertBusyTimeout_ != null) {
output.writeMessage(122, getAsyncInsertBusyTimeout());
}
if (asyncInsertStaleTimeout_ != null) {
output.writeMessage(123, getAsyncInsertStaleTimeout());
}
if (memoryProfilerStep_ != null) {
output.writeMessage(124, getMemoryProfilerStep());
}
if (memoryProfilerSampleProbability_ != null) {
output.writeMessage(125, getMemoryProfilerSampleProbability());
}
if (maxFinalThreads_ != null) {
output.writeMessage(126, getMaxFinalThreads());
}
if (inputFormatParallelParsing_ != null) {
output.writeMessage(127, getInputFormatParallelParsing());
}
if (inputFormatImportNestedJson_ != null) {
output.writeMessage(128, getInputFormatImportNestedJson());
}
if (localFilesystemReadMethod_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED.getNumber()) {
output.writeEnum(129, localFilesystemReadMethod_);
}
if (maxReadBufferSize_ != null) {
output.writeMessage(130, getMaxReadBufferSize());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (readonly_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getReadonly());
}
if (allowDdl_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getAllowDdl());
}
if (insertQuorum_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getInsertQuorum());
}
if (insertQuorumTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getInsertQuorumTimeout());
}
if (selectSequentialConsistency_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getSelectSequentialConsistency());
}
if (maxReplicaDelayForDistributedQueries_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getMaxReplicaDelayForDistributedQueries());
}
if (fallbackToStaleReplicasForDistributedQueries_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getFallbackToStaleReplicasForDistributedQueries());
}
if (maxThreads_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getMaxThreads());
}
if (maxBlockSize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getMaxBlockSize());
}
if (maxInsertBlockSize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, getMaxInsertBlockSize());
}
if (maxMemoryUsage_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getMaxMemoryUsage());
}
if (maxMemoryUsageForUser_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getMaxMemoryUsageForUser());
}
if (maxRowsToRead_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getMaxRowsToRead());
}
if (maxBytesToRead_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(14, getMaxBytesToRead());
}
if (readOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(15, readOverflowMode_);
}
if (maxRowsToGroupBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(16, getMaxRowsToGroupBy());
}
if (groupByOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.GROUP_BY_OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(17, groupByOverflowMode_);
}
if (maxRowsToSort_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(18, getMaxRowsToSort());
}
if (maxBytesToSort_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(19, getMaxBytesToSort());
}
if (sortOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(20, sortOverflowMode_);
}
if (maxResultRows_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(21, getMaxResultRows());
}
if (maxResultBytes_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(22, getMaxResultBytes());
}
if (resultOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(23, resultOverflowMode_);
}
if (maxRowsInDistinct_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(24, getMaxRowsInDistinct());
}
if (maxBytesInDistinct_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(25, getMaxBytesInDistinct());
}
if (distinctOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(26, distinctOverflowMode_);
}
if (maxRowsToTransfer_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(27, getMaxRowsToTransfer());
}
if (maxBytesToTransfer_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(28, getMaxBytesToTransfer());
}
if (transferOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(29, transferOverflowMode_);
}
if (maxExecutionTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(30, getMaxExecutionTime());
}
if (timeoutOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(31, timeoutOverflowMode_);
}
if (maxColumnsToRead_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(32, getMaxColumnsToRead());
}
if (maxTemporaryColumns_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(33, getMaxTemporaryColumns());
}
if (maxTemporaryNonConstColumns_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(34, getMaxTemporaryNonConstColumns());
}
if (maxQuerySize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(35, getMaxQuerySize());
}
if (maxAstDepth_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(36, getMaxAstDepth());
}
if (maxAstElements_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(37, getMaxAstElements());
}
if (maxExpandedAstElements_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(38, getMaxExpandedAstElements());
}
if (connectTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(39, getConnectTimeout());
}
if (receiveTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(40, getReceiveTimeout());
}
if (sendTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(41, getSendTimeout());
}
if (replicationAlterPartitionsSync_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(42, getReplicationAlterPartitionsSync());
}
if (distributedProductMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.DISTRIBUTED_PRODUCT_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(43, distributedProductMode_);
}
if (compile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(44, getCompile());
}
if (minCountToCompile_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(45, getMinCountToCompile());
}
if (compileExpressions_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(46, getCompileExpressions());
}
if (minCountToCompileExpression_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(47, getMinCountToCompileExpression());
}
if (minInsertBlockSizeRows_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(48, getMinInsertBlockSizeRows());
}
if (minInsertBlockSizeBytes_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(49, getMinInsertBlockSizeBytes());
}
if (minBytesToUseDirectIo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(50, getMinBytesToUseDirectIo());
}
if (useUncompressedCache_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(51, getUseUncompressedCache());
}
if (mergeTreeMaxRowsToUseCache_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(52, getMergeTreeMaxRowsToUseCache());
}
if (mergeTreeMaxBytesToUseCache_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(53, getMergeTreeMaxBytesToUseCache());
}
if (mergeTreeMinRowsForConcurrentRead_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(54, getMergeTreeMinRowsForConcurrentRead());
}
if (mergeTreeMinBytesForConcurrentRead_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(55, getMergeTreeMinBytesForConcurrentRead());
}
if (priority_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(56, getPriority());
}
if (maxNetworkBandwidth_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(57, getMaxNetworkBandwidth());
}
if (maxNetworkBandwidthForUser_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(58, getMaxNetworkBandwidthForUser());
}
if (forceIndexByDate_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(59, getForceIndexByDate());
}
if (forcePrimaryKey_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(60, getForcePrimaryKey());
}
if (inputFormatValuesInterpretExpressions_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(61, getInputFormatValuesInterpretExpressions());
}
if (inputFormatDefaultsForOmittedFields_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(62, getInputFormatDefaultsForOmittedFields());
}
if (outputFormatJsonQuote64BitIntegers_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(63, getOutputFormatJsonQuote64BitIntegers());
}
if (outputFormatJsonQuoteDenormals_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(64, getOutputFormatJsonQuoteDenormals());
}
if (httpConnectionTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(65, getHttpConnectionTimeout());
}
if (httpReceiveTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(66, getHttpReceiveTimeout());
}
if (httpSendTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(67, getHttpSendTimeout());
}
if (enableHttpCompression_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(68, getEnableHttpCompression());
}
if (sendProgressInHttpHeaders_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(69, getSendProgressInHttpHeaders());
}
if (httpHeadersProgressInterval_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(70, getHttpHeadersProgressInterval());
}
if (addHttpCorsHeader_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(71, getAddHttpCorsHeader());
}
if (distributedAggregationMemoryEfficient_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(72, getDistributedAggregationMemoryEfficient());
}
if (distributedDdlTaskTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(73, getDistributedDdlTaskTimeout());
}
if (maxBytesBeforeExternalGroupBy_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(74, getMaxBytesBeforeExternalGroupBy());
}
if (maxBytesBeforeExternalSort_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(75, getMaxBytesBeforeExternalSort());
}
if (groupByTwoLevelThreshold_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(76, getGroupByTwoLevelThreshold());
}
if (groupByTwoLevelThresholdBytes_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(77, getGroupByTwoLevelThresholdBytes());
}
if (lowCardinalityAllowInNativeFormat_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(78, getLowCardinalityAllowInNativeFormat());
}
if (emptyResultForAggregationByEmptySet_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(79, getEmptyResultForAggregationByEmptySet());
}
if (quotaMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.QUOTA_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(80, quotaMode_);
}
if (skipUnavailableShards_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(81, getSkipUnavailableShards());
}
if (minExecutionSpeed_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(84, getMinExecutionSpeed());
}
if (minExecutionSpeedBytes_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(85, getMinExecutionSpeedBytes());
}
if (countDistinctImplementation_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.COUNT_DISTINCT_IMPLEMENTATION_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(86, countDistinctImplementation_);
}
if (maxRowsInSet_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(87, getMaxRowsInSet());
}
if (maxBytesInSet_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(88, getMaxBytesInSet());
}
if (setOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(89, setOverflowMode_);
}
if (maxRowsInJoin_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(90, getMaxRowsInJoin());
}
if (maxBytesInJoin_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(91, getMaxBytesInJoin());
}
if (joinOverflowMode_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.OVERFLOW_MODE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(92, joinOverflowMode_);
}
if (joinedSubqueryRequiresAlias_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(93, getJoinedSubqueryRequiresAlias());
}
if (joinUseNulls_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(94, getJoinUseNulls());
}
if (transformNullIn_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(95, getTransformNullIn());
}
if (allowIntrospectionFunctions_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(96, getAllowIntrospectionFunctions());
}
if (connectTimeoutWithFailover_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(97, getConnectTimeoutWithFailover());
}
if (timeoutBeforeCheckingExecutionSpeed_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(98, getTimeoutBeforeCheckingExecutionSpeed());
}
if (insertQuorumParallel_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(99, getInsertQuorumParallel());
}
if (insertNullAsDefault_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(100, getInsertNullAsDefault());
}
if (deduplicateBlocksInDependentMaterializedViews_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(101, getDeduplicateBlocksInDependentMaterializedViews());
}
if (maxPartitionsPerInsertBlock_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(102, getMaxPartitionsPerInsertBlock());
}
if (maxConcurrentQueriesForUser_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(103, getMaxConcurrentQueriesForUser());
}
{
int dataSize = 0;
for (int i = 0; i < joinAlgorithm_.size(); i++) {
dataSize += com.google.protobuf.CodedOutputStream
.computeEnumSizeNoTag(joinAlgorithm_.get(i));
}
size += dataSize;
if (!getJoinAlgorithmList().isEmpty()) { size += 2;
size += com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(dataSize);
}joinAlgorithmMemoizedSerializedSize = dataSize;
}
if (anyJoinDistinctRightTableKeys_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(105, getAnyJoinDistinctRightTableKeys());
}
if (inputFormatNullAsDefault_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(106, getInputFormatNullAsDefault());
}
if (dateTimeInputFormat_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.DATE_TIME_INPUT_FORMAT_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(107, dateTimeInputFormat_);
}
if (inputFormatWithNamesUseHeader_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(108, getInputFormatWithNamesUseHeader());
}
if (dateTimeOutputFormat_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.DATE_TIME_OUTPUT_FORMAT_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(109, dateTimeOutputFormat_);
}
if (allowSuspiciousLowCardinalityTypes_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(110, getAllowSuspiciousLowCardinalityTypes());
}
if (cancelHttpReadonlyQueriesOnClientClose_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(111, getCancelHttpReadonlyQueriesOnClientClose());
}
if (maxHttpGetRedirects_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(112, getMaxHttpGetRedirects());
}
if (flattenNested_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(113, getFlattenNested());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(formatRegexp_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(114, formatRegexp_);
}
if (formatRegexpEscapingRule_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.FORMAT_REGEXP_ESCAPING_RULE_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(115, formatRegexpEscapingRule_);
}
if (formatRegexpSkipUnmatched_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(116, getFormatRegexpSkipUnmatched());
}
if (asyncInsert_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(117, getAsyncInsert());
}
if (asyncInsertThreads_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(118, getAsyncInsertThreads());
}
if (waitForAsyncInsert_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(119, getWaitForAsyncInsert());
}
if (waitForAsyncInsertTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(120, getWaitForAsyncInsertTimeout());
}
if (asyncInsertMaxDataSize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(121, getAsyncInsertMaxDataSize());
}
if (asyncInsertBusyTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(122, getAsyncInsertBusyTimeout());
}
if (asyncInsertStaleTimeout_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(123, getAsyncInsertStaleTimeout());
}
if (memoryProfilerStep_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(124, getMemoryProfilerStep());
}
if (memoryProfilerSampleProbability_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(125, getMemoryProfilerSampleProbability());
}
if (maxFinalThreads_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(126, getMaxFinalThreads());
}
if (inputFormatParallelParsing_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(127, getInputFormatParallelParsing());
}
if (inputFormatImportNestedJson_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(128, getInputFormatImportNestedJson());
}
if (localFilesystemReadMethod_ != yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.LOCAL_FILESYSTEM_READ_METHOD_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(129, localFilesystemReadMethod_);
}
if (maxReadBufferSize_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(130, getMaxReadBufferSize());
}
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings other = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings) obj;
if (hasReadonly() != other.hasReadonly()) return false;
if (hasReadonly()) {
if (!getReadonly()
.equals(other.getReadonly())) return false;
}
if (hasAllowDdl() != other.hasAllowDdl()) return false;
if (hasAllowDdl()) {
if (!getAllowDdl()
.equals(other.getAllowDdl())) return false;
}
if (hasAllowIntrospectionFunctions() != other.hasAllowIntrospectionFunctions()) return false;
if (hasAllowIntrospectionFunctions()) {
if (!getAllowIntrospectionFunctions()
.equals(other.getAllowIntrospectionFunctions())) return false;
}
if (hasConnectTimeout() != other.hasConnectTimeout()) return false;
if (hasConnectTimeout()) {
if (!getConnectTimeout()
.equals(other.getConnectTimeout())) return false;
}
if (hasConnectTimeoutWithFailover() != other.hasConnectTimeoutWithFailover()) return false;
if (hasConnectTimeoutWithFailover()) {
if (!getConnectTimeoutWithFailover()
.equals(other.getConnectTimeoutWithFailover())) return false;
}
if (hasReceiveTimeout() != other.hasReceiveTimeout()) return false;
if (hasReceiveTimeout()) {
if (!getReceiveTimeout()
.equals(other.getReceiveTimeout())) return false;
}
if (hasSendTimeout() != other.hasSendTimeout()) return false;
if (hasSendTimeout()) {
if (!getSendTimeout()
.equals(other.getSendTimeout())) return false;
}
if (hasTimeoutBeforeCheckingExecutionSpeed() != other.hasTimeoutBeforeCheckingExecutionSpeed()) return false;
if (hasTimeoutBeforeCheckingExecutionSpeed()) {
if (!getTimeoutBeforeCheckingExecutionSpeed()
.equals(other.getTimeoutBeforeCheckingExecutionSpeed())) return false;
}
if (hasInsertQuorum() != other.hasInsertQuorum()) return false;
if (hasInsertQuorum()) {
if (!getInsertQuorum()
.equals(other.getInsertQuorum())) return false;
}
if (hasInsertQuorumTimeout() != other.hasInsertQuorumTimeout()) return false;
if (hasInsertQuorumTimeout()) {
if (!getInsertQuorumTimeout()
.equals(other.getInsertQuorumTimeout())) return false;
}
if (hasInsertQuorumParallel() != other.hasInsertQuorumParallel()) return false;
if (hasInsertQuorumParallel()) {
if (!getInsertQuorumParallel()
.equals(other.getInsertQuorumParallel())) return false;
}
if (hasInsertNullAsDefault() != other.hasInsertNullAsDefault()) return false;
if (hasInsertNullAsDefault()) {
if (!getInsertNullAsDefault()
.equals(other.getInsertNullAsDefault())) return false;
}
if (hasSelectSequentialConsistency() != other.hasSelectSequentialConsistency()) return false;
if (hasSelectSequentialConsistency()) {
if (!getSelectSequentialConsistency()
.equals(other.getSelectSequentialConsistency())) return false;
}
if (hasDeduplicateBlocksInDependentMaterializedViews() != other.hasDeduplicateBlocksInDependentMaterializedViews()) return false;
if (hasDeduplicateBlocksInDependentMaterializedViews()) {
if (!getDeduplicateBlocksInDependentMaterializedViews()
.equals(other.getDeduplicateBlocksInDependentMaterializedViews())) return false;
}
if (hasReplicationAlterPartitionsSync() != other.hasReplicationAlterPartitionsSync()) return false;
if (hasReplicationAlterPartitionsSync()) {
if (!getReplicationAlterPartitionsSync()
.equals(other.getReplicationAlterPartitionsSync())) return false;
}
if (hasMaxReplicaDelayForDistributedQueries() != other.hasMaxReplicaDelayForDistributedQueries()) return false;
if (hasMaxReplicaDelayForDistributedQueries()) {
if (!getMaxReplicaDelayForDistributedQueries()
.equals(other.getMaxReplicaDelayForDistributedQueries())) return false;
}
if (hasFallbackToStaleReplicasForDistributedQueries() != other.hasFallbackToStaleReplicasForDistributedQueries()) return false;
if (hasFallbackToStaleReplicasForDistributedQueries()) {
if (!getFallbackToStaleReplicasForDistributedQueries()
.equals(other.getFallbackToStaleReplicasForDistributedQueries())) return false;
}
if (distributedProductMode_ != other.distributedProductMode_) return false;
if (hasDistributedAggregationMemoryEfficient() != other.hasDistributedAggregationMemoryEfficient()) return false;
if (hasDistributedAggregationMemoryEfficient()) {
if (!getDistributedAggregationMemoryEfficient()
.equals(other.getDistributedAggregationMemoryEfficient())) return false;
}
if (hasDistributedDdlTaskTimeout() != other.hasDistributedDdlTaskTimeout()) return false;
if (hasDistributedDdlTaskTimeout()) {
if (!getDistributedDdlTaskTimeout()
.equals(other.getDistributedDdlTaskTimeout())) return false;
}
if (hasSkipUnavailableShards() != other.hasSkipUnavailableShards()) return false;
if (hasSkipUnavailableShards()) {
if (!getSkipUnavailableShards()
.equals(other.getSkipUnavailableShards())) return false;
}
if (hasCompileExpressions() != other.hasCompileExpressions()) return false;
if (hasCompileExpressions()) {
if (!getCompileExpressions()
.equals(other.getCompileExpressions())) return false;
}
if (hasMinCountToCompileExpression() != other.hasMinCountToCompileExpression()) return false;
if (hasMinCountToCompileExpression()) {
if (!getMinCountToCompileExpression()
.equals(other.getMinCountToCompileExpression())) return false;
}
if (hasMaxBlockSize() != other.hasMaxBlockSize()) return false;
if (hasMaxBlockSize()) {
if (!getMaxBlockSize()
.equals(other.getMaxBlockSize())) return false;
}
if (hasMinInsertBlockSizeRows() != other.hasMinInsertBlockSizeRows()) return false;
if (hasMinInsertBlockSizeRows()) {
if (!getMinInsertBlockSizeRows()
.equals(other.getMinInsertBlockSizeRows())) return false;
}
if (hasMinInsertBlockSizeBytes() != other.hasMinInsertBlockSizeBytes()) return false;
if (hasMinInsertBlockSizeBytes()) {
if (!getMinInsertBlockSizeBytes()
.equals(other.getMinInsertBlockSizeBytes())) return false;
}
if (hasMaxInsertBlockSize() != other.hasMaxInsertBlockSize()) return false;
if (hasMaxInsertBlockSize()) {
if (!getMaxInsertBlockSize()
.equals(other.getMaxInsertBlockSize())) return false;
}
if (hasMinBytesToUseDirectIo() != other.hasMinBytesToUseDirectIo()) return false;
if (hasMinBytesToUseDirectIo()) {
if (!getMinBytesToUseDirectIo()
.equals(other.getMinBytesToUseDirectIo())) return false;
}
if (hasUseUncompressedCache() != other.hasUseUncompressedCache()) return false;
if (hasUseUncompressedCache()) {
if (!getUseUncompressedCache()
.equals(other.getUseUncompressedCache())) return false;
}
if (hasMergeTreeMaxRowsToUseCache() != other.hasMergeTreeMaxRowsToUseCache()) return false;
if (hasMergeTreeMaxRowsToUseCache()) {
if (!getMergeTreeMaxRowsToUseCache()
.equals(other.getMergeTreeMaxRowsToUseCache())) return false;
}
if (hasMergeTreeMaxBytesToUseCache() != other.hasMergeTreeMaxBytesToUseCache()) return false;
if (hasMergeTreeMaxBytesToUseCache()) {
if (!getMergeTreeMaxBytesToUseCache()
.equals(other.getMergeTreeMaxBytesToUseCache())) return false;
}
if (hasMergeTreeMinRowsForConcurrentRead() != other.hasMergeTreeMinRowsForConcurrentRead()) return false;
if (hasMergeTreeMinRowsForConcurrentRead()) {
if (!getMergeTreeMinRowsForConcurrentRead()
.equals(other.getMergeTreeMinRowsForConcurrentRead())) return false;
}
if (hasMergeTreeMinBytesForConcurrentRead() != other.hasMergeTreeMinBytesForConcurrentRead()) return false;
if (hasMergeTreeMinBytesForConcurrentRead()) {
if (!getMergeTreeMinBytesForConcurrentRead()
.equals(other.getMergeTreeMinBytesForConcurrentRead())) return false;
}
if (hasMaxBytesBeforeExternalGroupBy() != other.hasMaxBytesBeforeExternalGroupBy()) return false;
if (hasMaxBytesBeforeExternalGroupBy()) {
if (!getMaxBytesBeforeExternalGroupBy()
.equals(other.getMaxBytesBeforeExternalGroupBy())) return false;
}
if (hasMaxBytesBeforeExternalSort() != other.hasMaxBytesBeforeExternalSort()) return false;
if (hasMaxBytesBeforeExternalSort()) {
if (!getMaxBytesBeforeExternalSort()
.equals(other.getMaxBytesBeforeExternalSort())) return false;
}
if (hasGroupByTwoLevelThreshold() != other.hasGroupByTwoLevelThreshold()) return false;
if (hasGroupByTwoLevelThreshold()) {
if (!getGroupByTwoLevelThreshold()
.equals(other.getGroupByTwoLevelThreshold())) return false;
}
if (hasGroupByTwoLevelThresholdBytes() != other.hasGroupByTwoLevelThresholdBytes()) return false;
if (hasGroupByTwoLevelThresholdBytes()) {
if (!getGroupByTwoLevelThresholdBytes()
.equals(other.getGroupByTwoLevelThresholdBytes())) return false;
}
if (hasPriority() != other.hasPriority()) return false;
if (hasPriority()) {
if (!getPriority()
.equals(other.getPriority())) return false;
}
if (hasMaxThreads() != other.hasMaxThreads()) return false;
if (hasMaxThreads()) {
if (!getMaxThreads()
.equals(other.getMaxThreads())) return false;
}
if (hasMaxMemoryUsage() != other.hasMaxMemoryUsage()) return false;
if (hasMaxMemoryUsage()) {
if (!getMaxMemoryUsage()
.equals(other.getMaxMemoryUsage())) return false;
}
if (hasMaxMemoryUsageForUser() != other.hasMaxMemoryUsageForUser()) return false;
if (hasMaxMemoryUsageForUser()) {
if (!getMaxMemoryUsageForUser()
.equals(other.getMaxMemoryUsageForUser())) return false;
}
if (hasMaxNetworkBandwidth() != other.hasMaxNetworkBandwidth()) return false;
if (hasMaxNetworkBandwidth()) {
if (!getMaxNetworkBandwidth()
.equals(other.getMaxNetworkBandwidth())) return false;
}
if (hasMaxNetworkBandwidthForUser() != other.hasMaxNetworkBandwidthForUser()) return false;
if (hasMaxNetworkBandwidthForUser()) {
if (!getMaxNetworkBandwidthForUser()
.equals(other.getMaxNetworkBandwidthForUser())) return false;
}
if (hasMaxPartitionsPerInsertBlock() != other.hasMaxPartitionsPerInsertBlock()) return false;
if (hasMaxPartitionsPerInsertBlock()) {
if (!getMaxPartitionsPerInsertBlock()
.equals(other.getMaxPartitionsPerInsertBlock())) return false;
}
if (hasMaxConcurrentQueriesForUser() != other.hasMaxConcurrentQueriesForUser()) return false;
if (hasMaxConcurrentQueriesForUser()) {
if (!getMaxConcurrentQueriesForUser()
.equals(other.getMaxConcurrentQueriesForUser())) return false;
}
if (hasForceIndexByDate() != other.hasForceIndexByDate()) return false;
if (hasForceIndexByDate()) {
if (!getForceIndexByDate()
.equals(other.getForceIndexByDate())) return false;
}
if (hasForcePrimaryKey() != other.hasForcePrimaryKey()) return false;
if (hasForcePrimaryKey()) {
if (!getForcePrimaryKey()
.equals(other.getForcePrimaryKey())) return false;
}
if (hasMaxRowsToRead() != other.hasMaxRowsToRead()) return false;
if (hasMaxRowsToRead()) {
if (!getMaxRowsToRead()
.equals(other.getMaxRowsToRead())) return false;
}
if (hasMaxBytesToRead() != other.hasMaxBytesToRead()) return false;
if (hasMaxBytesToRead()) {
if (!getMaxBytesToRead()
.equals(other.getMaxBytesToRead())) return false;
}
if (readOverflowMode_ != other.readOverflowMode_) return false;
if (hasMaxRowsToGroupBy() != other.hasMaxRowsToGroupBy()) return false;
if (hasMaxRowsToGroupBy()) {
if (!getMaxRowsToGroupBy()
.equals(other.getMaxRowsToGroupBy())) return false;
}
if (groupByOverflowMode_ != other.groupByOverflowMode_) return false;
if (hasMaxRowsToSort() != other.hasMaxRowsToSort()) return false;
if (hasMaxRowsToSort()) {
if (!getMaxRowsToSort()
.equals(other.getMaxRowsToSort())) return false;
}
if (hasMaxBytesToSort() != other.hasMaxBytesToSort()) return false;
if (hasMaxBytesToSort()) {
if (!getMaxBytesToSort()
.equals(other.getMaxBytesToSort())) return false;
}
if (sortOverflowMode_ != other.sortOverflowMode_) return false;
if (hasMaxResultRows() != other.hasMaxResultRows()) return false;
if (hasMaxResultRows()) {
if (!getMaxResultRows()
.equals(other.getMaxResultRows())) return false;
}
if (hasMaxResultBytes() != other.hasMaxResultBytes()) return false;
if (hasMaxResultBytes()) {
if (!getMaxResultBytes()
.equals(other.getMaxResultBytes())) return false;
}
if (resultOverflowMode_ != other.resultOverflowMode_) return false;
if (hasMaxRowsInDistinct() != other.hasMaxRowsInDistinct()) return false;
if (hasMaxRowsInDistinct()) {
if (!getMaxRowsInDistinct()
.equals(other.getMaxRowsInDistinct())) return false;
}
if (hasMaxBytesInDistinct() != other.hasMaxBytesInDistinct()) return false;
if (hasMaxBytesInDistinct()) {
if (!getMaxBytesInDistinct()
.equals(other.getMaxBytesInDistinct())) return false;
}
if (distinctOverflowMode_ != other.distinctOverflowMode_) return false;
if (hasMaxRowsToTransfer() != other.hasMaxRowsToTransfer()) return false;
if (hasMaxRowsToTransfer()) {
if (!getMaxRowsToTransfer()
.equals(other.getMaxRowsToTransfer())) return false;
}
if (hasMaxBytesToTransfer() != other.hasMaxBytesToTransfer()) return false;
if (hasMaxBytesToTransfer()) {
if (!getMaxBytesToTransfer()
.equals(other.getMaxBytesToTransfer())) return false;
}
if (transferOverflowMode_ != other.transferOverflowMode_) return false;
if (hasMaxExecutionTime() != other.hasMaxExecutionTime()) return false;
if (hasMaxExecutionTime()) {
if (!getMaxExecutionTime()
.equals(other.getMaxExecutionTime())) return false;
}
if (timeoutOverflowMode_ != other.timeoutOverflowMode_) return false;
if (hasMaxRowsInSet() != other.hasMaxRowsInSet()) return false;
if (hasMaxRowsInSet()) {
if (!getMaxRowsInSet()
.equals(other.getMaxRowsInSet())) return false;
}
if (hasMaxBytesInSet() != other.hasMaxBytesInSet()) return false;
if (hasMaxBytesInSet()) {
if (!getMaxBytesInSet()
.equals(other.getMaxBytesInSet())) return false;
}
if (setOverflowMode_ != other.setOverflowMode_) return false;
if (hasMaxRowsInJoin() != other.hasMaxRowsInJoin()) return false;
if (hasMaxRowsInJoin()) {
if (!getMaxRowsInJoin()
.equals(other.getMaxRowsInJoin())) return false;
}
if (hasMaxBytesInJoin() != other.hasMaxBytesInJoin()) return false;
if (hasMaxBytesInJoin()) {
if (!getMaxBytesInJoin()
.equals(other.getMaxBytesInJoin())) return false;
}
if (joinOverflowMode_ != other.joinOverflowMode_) return false;
if (!joinAlgorithm_.equals(other.joinAlgorithm_)) return false;
if (hasAnyJoinDistinctRightTableKeys() != other.hasAnyJoinDistinctRightTableKeys()) return false;
if (hasAnyJoinDistinctRightTableKeys()) {
if (!getAnyJoinDistinctRightTableKeys()
.equals(other.getAnyJoinDistinctRightTableKeys())) return false;
}
if (hasMaxColumnsToRead() != other.hasMaxColumnsToRead()) return false;
if (hasMaxColumnsToRead()) {
if (!getMaxColumnsToRead()
.equals(other.getMaxColumnsToRead())) return false;
}
if (hasMaxTemporaryColumns() != other.hasMaxTemporaryColumns()) return false;
if (hasMaxTemporaryColumns()) {
if (!getMaxTemporaryColumns()
.equals(other.getMaxTemporaryColumns())) return false;
}
if (hasMaxTemporaryNonConstColumns() != other.hasMaxTemporaryNonConstColumns()) return false;
if (hasMaxTemporaryNonConstColumns()) {
if (!getMaxTemporaryNonConstColumns()
.equals(other.getMaxTemporaryNonConstColumns())) return false;
}
if (hasMaxQuerySize() != other.hasMaxQuerySize()) return false;
if (hasMaxQuerySize()) {
if (!getMaxQuerySize()
.equals(other.getMaxQuerySize())) return false;
}
if (hasMaxAstDepth() != other.hasMaxAstDepth()) return false;
if (hasMaxAstDepth()) {
if (!getMaxAstDepth()
.equals(other.getMaxAstDepth())) return false;
}
if (hasMaxAstElements() != other.hasMaxAstElements()) return false;
if (hasMaxAstElements()) {
if (!getMaxAstElements()
.equals(other.getMaxAstElements())) return false;
}
if (hasMaxExpandedAstElements() != other.hasMaxExpandedAstElements()) return false;
if (hasMaxExpandedAstElements()) {
if (!getMaxExpandedAstElements()
.equals(other.getMaxExpandedAstElements())) return false;
}
if (hasMinExecutionSpeed() != other.hasMinExecutionSpeed()) return false;
if (hasMinExecutionSpeed()) {
if (!getMinExecutionSpeed()
.equals(other.getMinExecutionSpeed())) return false;
}
if (hasMinExecutionSpeedBytes() != other.hasMinExecutionSpeedBytes()) return false;
if (hasMinExecutionSpeedBytes()) {
if (!getMinExecutionSpeedBytes()
.equals(other.getMinExecutionSpeedBytes())) return false;
}
if (countDistinctImplementation_ != other.countDistinctImplementation_) return false;
if (hasInputFormatValuesInterpretExpressions() != other.hasInputFormatValuesInterpretExpressions()) return false;
if (hasInputFormatValuesInterpretExpressions()) {
if (!getInputFormatValuesInterpretExpressions()
.equals(other.getInputFormatValuesInterpretExpressions())) return false;
}
if (hasInputFormatDefaultsForOmittedFields() != other.hasInputFormatDefaultsForOmittedFields()) return false;
if (hasInputFormatDefaultsForOmittedFields()) {
if (!getInputFormatDefaultsForOmittedFields()
.equals(other.getInputFormatDefaultsForOmittedFields())) return false;
}
if (hasInputFormatNullAsDefault() != other.hasInputFormatNullAsDefault()) return false;
if (hasInputFormatNullAsDefault()) {
if (!getInputFormatNullAsDefault()
.equals(other.getInputFormatNullAsDefault())) return false;
}
if (dateTimeInputFormat_ != other.dateTimeInputFormat_) return false;
if (hasInputFormatWithNamesUseHeader() != other.hasInputFormatWithNamesUseHeader()) return false;
if (hasInputFormatWithNamesUseHeader()) {
if (!getInputFormatWithNamesUseHeader()
.equals(other.getInputFormatWithNamesUseHeader())) return false;
}
if (hasOutputFormatJsonQuote64BitIntegers() != other.hasOutputFormatJsonQuote64BitIntegers()) return false;
if (hasOutputFormatJsonQuote64BitIntegers()) {
if (!getOutputFormatJsonQuote64BitIntegers()
.equals(other.getOutputFormatJsonQuote64BitIntegers())) return false;
}
if (hasOutputFormatJsonQuoteDenormals() != other.hasOutputFormatJsonQuoteDenormals()) return false;
if (hasOutputFormatJsonQuoteDenormals()) {
if (!getOutputFormatJsonQuoteDenormals()
.equals(other.getOutputFormatJsonQuoteDenormals())) return false;
}
if (dateTimeOutputFormat_ != other.dateTimeOutputFormat_) return false;
if (hasLowCardinalityAllowInNativeFormat() != other.hasLowCardinalityAllowInNativeFormat()) return false;
if (hasLowCardinalityAllowInNativeFormat()) {
if (!getLowCardinalityAllowInNativeFormat()
.equals(other.getLowCardinalityAllowInNativeFormat())) return false;
}
if (hasAllowSuspiciousLowCardinalityTypes() != other.hasAllowSuspiciousLowCardinalityTypes()) return false;
if (hasAllowSuspiciousLowCardinalityTypes()) {
if (!getAllowSuspiciousLowCardinalityTypes()
.equals(other.getAllowSuspiciousLowCardinalityTypes())) return false;
}
if (hasEmptyResultForAggregationByEmptySet() != other.hasEmptyResultForAggregationByEmptySet()) return false;
if (hasEmptyResultForAggregationByEmptySet()) {
if (!getEmptyResultForAggregationByEmptySet()
.equals(other.getEmptyResultForAggregationByEmptySet())) return false;
}
if (hasHttpConnectionTimeout() != other.hasHttpConnectionTimeout()) return false;
if (hasHttpConnectionTimeout()) {
if (!getHttpConnectionTimeout()
.equals(other.getHttpConnectionTimeout())) return false;
}
if (hasHttpReceiveTimeout() != other.hasHttpReceiveTimeout()) return false;
if (hasHttpReceiveTimeout()) {
if (!getHttpReceiveTimeout()
.equals(other.getHttpReceiveTimeout())) return false;
}
if (hasHttpSendTimeout() != other.hasHttpSendTimeout()) return false;
if (hasHttpSendTimeout()) {
if (!getHttpSendTimeout()
.equals(other.getHttpSendTimeout())) return false;
}
if (hasEnableHttpCompression() != other.hasEnableHttpCompression()) return false;
if (hasEnableHttpCompression()) {
if (!getEnableHttpCompression()
.equals(other.getEnableHttpCompression())) return false;
}
if (hasSendProgressInHttpHeaders() != other.hasSendProgressInHttpHeaders()) return false;
if (hasSendProgressInHttpHeaders()) {
if (!getSendProgressInHttpHeaders()
.equals(other.getSendProgressInHttpHeaders())) return false;
}
if (hasHttpHeadersProgressInterval() != other.hasHttpHeadersProgressInterval()) return false;
if (hasHttpHeadersProgressInterval()) {
if (!getHttpHeadersProgressInterval()
.equals(other.getHttpHeadersProgressInterval())) return false;
}
if (hasAddHttpCorsHeader() != other.hasAddHttpCorsHeader()) return false;
if (hasAddHttpCorsHeader()) {
if (!getAddHttpCorsHeader()
.equals(other.getAddHttpCorsHeader())) return false;
}
if (hasCancelHttpReadonlyQueriesOnClientClose() != other.hasCancelHttpReadonlyQueriesOnClientClose()) return false;
if (hasCancelHttpReadonlyQueriesOnClientClose()) {
if (!getCancelHttpReadonlyQueriesOnClientClose()
.equals(other.getCancelHttpReadonlyQueriesOnClientClose())) return false;
}
if (hasMaxHttpGetRedirects() != other.hasMaxHttpGetRedirects()) return false;
if (hasMaxHttpGetRedirects()) {
if (!getMaxHttpGetRedirects()
.equals(other.getMaxHttpGetRedirects())) return false;
}
if (hasJoinedSubqueryRequiresAlias() != other.hasJoinedSubqueryRequiresAlias()) return false;
if (hasJoinedSubqueryRequiresAlias()) {
if (!getJoinedSubqueryRequiresAlias()
.equals(other.getJoinedSubqueryRequiresAlias())) return false;
}
if (hasJoinUseNulls() != other.hasJoinUseNulls()) return false;
if (hasJoinUseNulls()) {
if (!getJoinUseNulls()
.equals(other.getJoinUseNulls())) return false;
}
if (hasTransformNullIn() != other.hasTransformNullIn()) return false;
if (hasTransformNullIn()) {
if (!getTransformNullIn()
.equals(other.getTransformNullIn())) return false;
}
if (quotaMode_ != other.quotaMode_) return false;
if (hasFlattenNested() != other.hasFlattenNested()) return false;
if (hasFlattenNested()) {
if (!getFlattenNested()
.equals(other.getFlattenNested())) return false;
}
if (!getFormatRegexp()
.equals(other.getFormatRegexp())) return false;
if (formatRegexpEscapingRule_ != other.formatRegexpEscapingRule_) return false;
if (hasFormatRegexpSkipUnmatched() != other.hasFormatRegexpSkipUnmatched()) return false;
if (hasFormatRegexpSkipUnmatched()) {
if (!getFormatRegexpSkipUnmatched()
.equals(other.getFormatRegexpSkipUnmatched())) return false;
}
if (hasAsyncInsert() != other.hasAsyncInsert()) return false;
if (hasAsyncInsert()) {
if (!getAsyncInsert()
.equals(other.getAsyncInsert())) return false;
}
if (hasAsyncInsertThreads() != other.hasAsyncInsertThreads()) return false;
if (hasAsyncInsertThreads()) {
if (!getAsyncInsertThreads()
.equals(other.getAsyncInsertThreads())) return false;
}
if (hasWaitForAsyncInsert() != other.hasWaitForAsyncInsert()) return false;
if (hasWaitForAsyncInsert()) {
if (!getWaitForAsyncInsert()
.equals(other.getWaitForAsyncInsert())) return false;
}
if (hasWaitForAsyncInsertTimeout() != other.hasWaitForAsyncInsertTimeout()) return false;
if (hasWaitForAsyncInsertTimeout()) {
if (!getWaitForAsyncInsertTimeout()
.equals(other.getWaitForAsyncInsertTimeout())) return false;
}
if (hasAsyncInsertMaxDataSize() != other.hasAsyncInsertMaxDataSize()) return false;
if (hasAsyncInsertMaxDataSize()) {
if (!getAsyncInsertMaxDataSize()
.equals(other.getAsyncInsertMaxDataSize())) return false;
}
if (hasAsyncInsertBusyTimeout() != other.hasAsyncInsertBusyTimeout()) return false;
if (hasAsyncInsertBusyTimeout()) {
if (!getAsyncInsertBusyTimeout()
.equals(other.getAsyncInsertBusyTimeout())) return false;
}
if (hasAsyncInsertStaleTimeout() != other.hasAsyncInsertStaleTimeout()) return false;
if (hasAsyncInsertStaleTimeout()) {
if (!getAsyncInsertStaleTimeout()
.equals(other.getAsyncInsertStaleTimeout())) return false;
}
if (hasMemoryProfilerStep() != other.hasMemoryProfilerStep()) return false;
if (hasMemoryProfilerStep()) {
if (!getMemoryProfilerStep()
.equals(other.getMemoryProfilerStep())) return false;
}
if (hasMemoryProfilerSampleProbability() != other.hasMemoryProfilerSampleProbability()) return false;
if (hasMemoryProfilerSampleProbability()) {
if (!getMemoryProfilerSampleProbability()
.equals(other.getMemoryProfilerSampleProbability())) return false;
}
if (hasMaxFinalThreads() != other.hasMaxFinalThreads()) return false;
if (hasMaxFinalThreads()) {
if (!getMaxFinalThreads()
.equals(other.getMaxFinalThreads())) return false;
}
if (hasInputFormatParallelParsing() != other.hasInputFormatParallelParsing()) return false;
if (hasInputFormatParallelParsing()) {
if (!getInputFormatParallelParsing()
.equals(other.getInputFormatParallelParsing())) return false;
}
if (hasInputFormatImportNestedJson() != other.hasInputFormatImportNestedJson()) return false;
if (hasInputFormatImportNestedJson()) {
if (!getInputFormatImportNestedJson()
.equals(other.getInputFormatImportNestedJson())) return false;
}
if (localFilesystemReadMethod_ != other.localFilesystemReadMethod_) return false;
if (hasMaxReadBufferSize() != other.hasMaxReadBufferSize()) return false;
if (hasMaxReadBufferSize()) {
if (!getMaxReadBufferSize()
.equals(other.getMaxReadBufferSize())) return false;
}
if (hasCompile() != other.hasCompile()) return false;
if (hasCompile()) {
if (!getCompile()
.equals(other.getCompile())) return false;
}
if (hasMinCountToCompile() != other.hasMinCountToCompile()) return false;
if (hasMinCountToCompile()) {
if (!getMinCountToCompile()
.equals(other.getMinCountToCompile())) 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 (hasReadonly()) {
hash = (37 * hash) + READONLY_FIELD_NUMBER;
hash = (53 * hash) + getReadonly().hashCode();
}
if (hasAllowDdl()) {
hash = (37 * hash) + ALLOW_DDL_FIELD_NUMBER;
hash = (53 * hash) + getAllowDdl().hashCode();
}
if (hasAllowIntrospectionFunctions()) {
hash = (37 * hash) + ALLOW_INTROSPECTION_FUNCTIONS_FIELD_NUMBER;
hash = (53 * hash) + getAllowIntrospectionFunctions().hashCode();
}
if (hasConnectTimeout()) {
hash = (37 * hash) + CONNECT_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getConnectTimeout().hashCode();
}
if (hasConnectTimeoutWithFailover()) {
hash = (37 * hash) + CONNECT_TIMEOUT_WITH_FAILOVER_FIELD_NUMBER;
hash = (53 * hash) + getConnectTimeoutWithFailover().hashCode();
}
if (hasReceiveTimeout()) {
hash = (37 * hash) + RECEIVE_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getReceiveTimeout().hashCode();
}
if (hasSendTimeout()) {
hash = (37 * hash) + SEND_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getSendTimeout().hashCode();
}
if (hasTimeoutBeforeCheckingExecutionSpeed()) {
hash = (37 * hash) + TIMEOUT_BEFORE_CHECKING_EXECUTION_SPEED_FIELD_NUMBER;
hash = (53 * hash) + getTimeoutBeforeCheckingExecutionSpeed().hashCode();
}
if (hasInsertQuorum()) {
hash = (37 * hash) + INSERT_QUORUM_FIELD_NUMBER;
hash = (53 * hash) + getInsertQuorum().hashCode();
}
if (hasInsertQuorumTimeout()) {
hash = (37 * hash) + INSERT_QUORUM_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getInsertQuorumTimeout().hashCode();
}
if (hasInsertQuorumParallel()) {
hash = (37 * hash) + INSERT_QUORUM_PARALLEL_FIELD_NUMBER;
hash = (53 * hash) + getInsertQuorumParallel().hashCode();
}
if (hasInsertNullAsDefault()) {
hash = (37 * hash) + INSERT_NULL_AS_DEFAULT_FIELD_NUMBER;
hash = (53 * hash) + getInsertNullAsDefault().hashCode();
}
if (hasSelectSequentialConsistency()) {
hash = (37 * hash) + SELECT_SEQUENTIAL_CONSISTENCY_FIELD_NUMBER;
hash = (53 * hash) + getSelectSequentialConsistency().hashCode();
}
if (hasDeduplicateBlocksInDependentMaterializedViews()) {
hash = (37 * hash) + DEDUPLICATE_BLOCKS_IN_DEPENDENT_MATERIALIZED_VIEWS_FIELD_NUMBER;
hash = (53 * hash) + getDeduplicateBlocksInDependentMaterializedViews().hashCode();
}
if (hasReplicationAlterPartitionsSync()) {
hash = (37 * hash) + REPLICATION_ALTER_PARTITIONS_SYNC_FIELD_NUMBER;
hash = (53 * hash) + getReplicationAlterPartitionsSync().hashCode();
}
if (hasMaxReplicaDelayForDistributedQueries()) {
hash = (37 * hash) + MAX_REPLICA_DELAY_FOR_DISTRIBUTED_QUERIES_FIELD_NUMBER;
hash = (53 * hash) + getMaxReplicaDelayForDistributedQueries().hashCode();
}
if (hasFallbackToStaleReplicasForDistributedQueries()) {
hash = (37 * hash) + FALLBACK_TO_STALE_REPLICAS_FOR_DISTRIBUTED_QUERIES_FIELD_NUMBER;
hash = (53 * hash) + getFallbackToStaleReplicasForDistributedQueries().hashCode();
}
hash = (37 * hash) + DISTRIBUTED_PRODUCT_MODE_FIELD_NUMBER;
hash = (53 * hash) + distributedProductMode_;
if (hasDistributedAggregationMemoryEfficient()) {
hash = (37 * hash) + DISTRIBUTED_AGGREGATION_MEMORY_EFFICIENT_FIELD_NUMBER;
hash = (53 * hash) + getDistributedAggregationMemoryEfficient().hashCode();
}
if (hasDistributedDdlTaskTimeout()) {
hash = (37 * hash) + DISTRIBUTED_DDL_TASK_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getDistributedDdlTaskTimeout().hashCode();
}
if (hasSkipUnavailableShards()) {
hash = (37 * hash) + SKIP_UNAVAILABLE_SHARDS_FIELD_NUMBER;
hash = (53 * hash) + getSkipUnavailableShards().hashCode();
}
if (hasCompileExpressions()) {
hash = (37 * hash) + COMPILE_EXPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + getCompileExpressions().hashCode();
}
if (hasMinCountToCompileExpression()) {
hash = (37 * hash) + MIN_COUNT_TO_COMPILE_EXPRESSION_FIELD_NUMBER;
hash = (53 * hash) + getMinCountToCompileExpression().hashCode();
}
if (hasMaxBlockSize()) {
hash = (37 * hash) + MAX_BLOCK_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getMaxBlockSize().hashCode();
}
if (hasMinInsertBlockSizeRows()) {
hash = (37 * hash) + MIN_INSERT_BLOCK_SIZE_ROWS_FIELD_NUMBER;
hash = (53 * hash) + getMinInsertBlockSizeRows().hashCode();
}
if (hasMinInsertBlockSizeBytes()) {
hash = (37 * hash) + MIN_INSERT_BLOCK_SIZE_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getMinInsertBlockSizeBytes().hashCode();
}
if (hasMaxInsertBlockSize()) {
hash = (37 * hash) + MAX_INSERT_BLOCK_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getMaxInsertBlockSize().hashCode();
}
if (hasMinBytesToUseDirectIo()) {
hash = (37 * hash) + MIN_BYTES_TO_USE_DIRECT_IO_FIELD_NUMBER;
hash = (53 * hash) + getMinBytesToUseDirectIo().hashCode();
}
if (hasUseUncompressedCache()) {
hash = (37 * hash) + USE_UNCOMPRESSED_CACHE_FIELD_NUMBER;
hash = (53 * hash) + getUseUncompressedCache().hashCode();
}
if (hasMergeTreeMaxRowsToUseCache()) {
hash = (37 * hash) + MERGE_TREE_MAX_ROWS_TO_USE_CACHE_FIELD_NUMBER;
hash = (53 * hash) + getMergeTreeMaxRowsToUseCache().hashCode();
}
if (hasMergeTreeMaxBytesToUseCache()) {
hash = (37 * hash) + MERGE_TREE_MAX_BYTES_TO_USE_CACHE_FIELD_NUMBER;
hash = (53 * hash) + getMergeTreeMaxBytesToUseCache().hashCode();
}
if (hasMergeTreeMinRowsForConcurrentRead()) {
hash = (37 * hash) + MERGE_TREE_MIN_ROWS_FOR_CONCURRENT_READ_FIELD_NUMBER;
hash = (53 * hash) + getMergeTreeMinRowsForConcurrentRead().hashCode();
}
if (hasMergeTreeMinBytesForConcurrentRead()) {
hash = (37 * hash) + MERGE_TREE_MIN_BYTES_FOR_CONCURRENT_READ_FIELD_NUMBER;
hash = (53 * hash) + getMergeTreeMinBytesForConcurrentRead().hashCode();
}
if (hasMaxBytesBeforeExternalGroupBy()) {
hash = (37 * hash) + MAX_BYTES_BEFORE_EXTERNAL_GROUP_BY_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesBeforeExternalGroupBy().hashCode();
}
if (hasMaxBytesBeforeExternalSort()) {
hash = (37 * hash) + MAX_BYTES_BEFORE_EXTERNAL_SORT_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesBeforeExternalSort().hashCode();
}
if (hasGroupByTwoLevelThreshold()) {
hash = (37 * hash) + GROUP_BY_TWO_LEVEL_THRESHOLD_FIELD_NUMBER;
hash = (53 * hash) + getGroupByTwoLevelThreshold().hashCode();
}
if (hasGroupByTwoLevelThresholdBytes()) {
hash = (37 * hash) + GROUP_BY_TWO_LEVEL_THRESHOLD_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getGroupByTwoLevelThresholdBytes().hashCode();
}
if (hasPriority()) {
hash = (37 * hash) + PRIORITY_FIELD_NUMBER;
hash = (53 * hash) + getPriority().hashCode();
}
if (hasMaxThreads()) {
hash = (37 * hash) + MAX_THREADS_FIELD_NUMBER;
hash = (53 * hash) + getMaxThreads().hashCode();
}
if (hasMaxMemoryUsage()) {
hash = (37 * hash) + MAX_MEMORY_USAGE_FIELD_NUMBER;
hash = (53 * hash) + getMaxMemoryUsage().hashCode();
}
if (hasMaxMemoryUsageForUser()) {
hash = (37 * hash) + MAX_MEMORY_USAGE_FOR_USER_FIELD_NUMBER;
hash = (53 * hash) + getMaxMemoryUsageForUser().hashCode();
}
if (hasMaxNetworkBandwidth()) {
hash = (37 * hash) + MAX_NETWORK_BANDWIDTH_FIELD_NUMBER;
hash = (53 * hash) + getMaxNetworkBandwidth().hashCode();
}
if (hasMaxNetworkBandwidthForUser()) {
hash = (37 * hash) + MAX_NETWORK_BANDWIDTH_FOR_USER_FIELD_NUMBER;
hash = (53 * hash) + getMaxNetworkBandwidthForUser().hashCode();
}
if (hasMaxPartitionsPerInsertBlock()) {
hash = (37 * hash) + MAX_PARTITIONS_PER_INSERT_BLOCK_FIELD_NUMBER;
hash = (53 * hash) + getMaxPartitionsPerInsertBlock().hashCode();
}
if (hasMaxConcurrentQueriesForUser()) {
hash = (37 * hash) + MAX_CONCURRENT_QUERIES_FOR_USER_FIELD_NUMBER;
hash = (53 * hash) + getMaxConcurrentQueriesForUser().hashCode();
}
if (hasForceIndexByDate()) {
hash = (37 * hash) + FORCE_INDEX_BY_DATE_FIELD_NUMBER;
hash = (53 * hash) + getForceIndexByDate().hashCode();
}
if (hasForcePrimaryKey()) {
hash = (37 * hash) + FORCE_PRIMARY_KEY_FIELD_NUMBER;
hash = (53 * hash) + getForcePrimaryKey().hashCode();
}
if (hasMaxRowsToRead()) {
hash = (37 * hash) + MAX_ROWS_TO_READ_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsToRead().hashCode();
}
if (hasMaxBytesToRead()) {
hash = (37 * hash) + MAX_BYTES_TO_READ_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesToRead().hashCode();
}
hash = (37 * hash) + READ_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + readOverflowMode_;
if (hasMaxRowsToGroupBy()) {
hash = (37 * hash) + MAX_ROWS_TO_GROUP_BY_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsToGroupBy().hashCode();
}
hash = (37 * hash) + GROUP_BY_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + groupByOverflowMode_;
if (hasMaxRowsToSort()) {
hash = (37 * hash) + MAX_ROWS_TO_SORT_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsToSort().hashCode();
}
if (hasMaxBytesToSort()) {
hash = (37 * hash) + MAX_BYTES_TO_SORT_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesToSort().hashCode();
}
hash = (37 * hash) + SORT_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + sortOverflowMode_;
if (hasMaxResultRows()) {
hash = (37 * hash) + MAX_RESULT_ROWS_FIELD_NUMBER;
hash = (53 * hash) + getMaxResultRows().hashCode();
}
if (hasMaxResultBytes()) {
hash = (37 * hash) + MAX_RESULT_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getMaxResultBytes().hashCode();
}
hash = (37 * hash) + RESULT_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + resultOverflowMode_;
if (hasMaxRowsInDistinct()) {
hash = (37 * hash) + MAX_ROWS_IN_DISTINCT_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsInDistinct().hashCode();
}
if (hasMaxBytesInDistinct()) {
hash = (37 * hash) + MAX_BYTES_IN_DISTINCT_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesInDistinct().hashCode();
}
hash = (37 * hash) + DISTINCT_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + distinctOverflowMode_;
if (hasMaxRowsToTransfer()) {
hash = (37 * hash) + MAX_ROWS_TO_TRANSFER_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsToTransfer().hashCode();
}
if (hasMaxBytesToTransfer()) {
hash = (37 * hash) + MAX_BYTES_TO_TRANSFER_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesToTransfer().hashCode();
}
hash = (37 * hash) + TRANSFER_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + transferOverflowMode_;
if (hasMaxExecutionTime()) {
hash = (37 * hash) + MAX_EXECUTION_TIME_FIELD_NUMBER;
hash = (53 * hash) + getMaxExecutionTime().hashCode();
}
hash = (37 * hash) + TIMEOUT_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + timeoutOverflowMode_;
if (hasMaxRowsInSet()) {
hash = (37 * hash) + MAX_ROWS_IN_SET_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsInSet().hashCode();
}
if (hasMaxBytesInSet()) {
hash = (37 * hash) + MAX_BYTES_IN_SET_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesInSet().hashCode();
}
hash = (37 * hash) + SET_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + setOverflowMode_;
if (hasMaxRowsInJoin()) {
hash = (37 * hash) + MAX_ROWS_IN_JOIN_FIELD_NUMBER;
hash = (53 * hash) + getMaxRowsInJoin().hashCode();
}
if (hasMaxBytesInJoin()) {
hash = (37 * hash) + MAX_BYTES_IN_JOIN_FIELD_NUMBER;
hash = (53 * hash) + getMaxBytesInJoin().hashCode();
}
hash = (37 * hash) + JOIN_OVERFLOW_MODE_FIELD_NUMBER;
hash = (53 * hash) + joinOverflowMode_;
if (getJoinAlgorithmCount() > 0) {
hash = (37 * hash) + JOIN_ALGORITHM_FIELD_NUMBER;
hash = (53 * hash) + joinAlgorithm_.hashCode();
}
if (hasAnyJoinDistinctRightTableKeys()) {
hash = (37 * hash) + ANY_JOIN_DISTINCT_RIGHT_TABLE_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getAnyJoinDistinctRightTableKeys().hashCode();
}
if (hasMaxColumnsToRead()) {
hash = (37 * hash) + MAX_COLUMNS_TO_READ_FIELD_NUMBER;
hash = (53 * hash) + getMaxColumnsToRead().hashCode();
}
if (hasMaxTemporaryColumns()) {
hash = (37 * hash) + MAX_TEMPORARY_COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getMaxTemporaryColumns().hashCode();
}
if (hasMaxTemporaryNonConstColumns()) {
hash = (37 * hash) + MAX_TEMPORARY_NON_CONST_COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getMaxTemporaryNonConstColumns().hashCode();
}
if (hasMaxQuerySize()) {
hash = (37 * hash) + MAX_QUERY_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getMaxQuerySize().hashCode();
}
if (hasMaxAstDepth()) {
hash = (37 * hash) + MAX_AST_DEPTH_FIELD_NUMBER;
hash = (53 * hash) + getMaxAstDepth().hashCode();
}
if (hasMaxAstElements()) {
hash = (37 * hash) + MAX_AST_ELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getMaxAstElements().hashCode();
}
if (hasMaxExpandedAstElements()) {
hash = (37 * hash) + MAX_EXPANDED_AST_ELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getMaxExpandedAstElements().hashCode();
}
if (hasMinExecutionSpeed()) {
hash = (37 * hash) + MIN_EXECUTION_SPEED_FIELD_NUMBER;
hash = (53 * hash) + getMinExecutionSpeed().hashCode();
}
if (hasMinExecutionSpeedBytes()) {
hash = (37 * hash) + MIN_EXECUTION_SPEED_BYTES_FIELD_NUMBER;
hash = (53 * hash) + getMinExecutionSpeedBytes().hashCode();
}
hash = (37 * hash) + COUNT_DISTINCT_IMPLEMENTATION_FIELD_NUMBER;
hash = (53 * hash) + countDistinctImplementation_;
if (hasInputFormatValuesInterpretExpressions()) {
hash = (37 * hash) + INPUT_FORMAT_VALUES_INTERPRET_EXPRESSIONS_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatValuesInterpretExpressions().hashCode();
}
if (hasInputFormatDefaultsForOmittedFields()) {
hash = (37 * hash) + INPUT_FORMAT_DEFAULTS_FOR_OMITTED_FIELDS_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatDefaultsForOmittedFields().hashCode();
}
if (hasInputFormatNullAsDefault()) {
hash = (37 * hash) + INPUT_FORMAT_NULL_AS_DEFAULT_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatNullAsDefault().hashCode();
}
hash = (37 * hash) + DATE_TIME_INPUT_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + dateTimeInputFormat_;
if (hasInputFormatWithNamesUseHeader()) {
hash = (37 * hash) + INPUT_FORMAT_WITH_NAMES_USE_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatWithNamesUseHeader().hashCode();
}
if (hasOutputFormatJsonQuote64BitIntegers()) {
hash = (37 * hash) + OUTPUT_FORMAT_JSON_QUOTE_64BIT_INTEGERS_FIELD_NUMBER;
hash = (53 * hash) + getOutputFormatJsonQuote64BitIntegers().hashCode();
}
if (hasOutputFormatJsonQuoteDenormals()) {
hash = (37 * hash) + OUTPUT_FORMAT_JSON_QUOTE_DENORMALS_FIELD_NUMBER;
hash = (53 * hash) + getOutputFormatJsonQuoteDenormals().hashCode();
}
hash = (37 * hash) + DATE_TIME_OUTPUT_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + dateTimeOutputFormat_;
if (hasLowCardinalityAllowInNativeFormat()) {
hash = (37 * hash) + LOW_CARDINALITY_ALLOW_IN_NATIVE_FORMAT_FIELD_NUMBER;
hash = (53 * hash) + getLowCardinalityAllowInNativeFormat().hashCode();
}
if (hasAllowSuspiciousLowCardinalityTypes()) {
hash = (37 * hash) + ALLOW_SUSPICIOUS_LOW_CARDINALITY_TYPES_FIELD_NUMBER;
hash = (53 * hash) + getAllowSuspiciousLowCardinalityTypes().hashCode();
}
if (hasEmptyResultForAggregationByEmptySet()) {
hash = (37 * hash) + EMPTY_RESULT_FOR_AGGREGATION_BY_EMPTY_SET_FIELD_NUMBER;
hash = (53 * hash) + getEmptyResultForAggregationByEmptySet().hashCode();
}
if (hasHttpConnectionTimeout()) {
hash = (37 * hash) + HTTP_CONNECTION_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getHttpConnectionTimeout().hashCode();
}
if (hasHttpReceiveTimeout()) {
hash = (37 * hash) + HTTP_RECEIVE_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getHttpReceiveTimeout().hashCode();
}
if (hasHttpSendTimeout()) {
hash = (37 * hash) + HTTP_SEND_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getHttpSendTimeout().hashCode();
}
if (hasEnableHttpCompression()) {
hash = (37 * hash) + ENABLE_HTTP_COMPRESSION_FIELD_NUMBER;
hash = (53 * hash) + getEnableHttpCompression().hashCode();
}
if (hasSendProgressInHttpHeaders()) {
hash = (37 * hash) + SEND_PROGRESS_IN_HTTP_HEADERS_FIELD_NUMBER;
hash = (53 * hash) + getSendProgressInHttpHeaders().hashCode();
}
if (hasHttpHeadersProgressInterval()) {
hash = (37 * hash) + HTTP_HEADERS_PROGRESS_INTERVAL_FIELD_NUMBER;
hash = (53 * hash) + getHttpHeadersProgressInterval().hashCode();
}
if (hasAddHttpCorsHeader()) {
hash = (37 * hash) + ADD_HTTP_CORS_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getAddHttpCorsHeader().hashCode();
}
if (hasCancelHttpReadonlyQueriesOnClientClose()) {
hash = (37 * hash) + CANCEL_HTTP_READONLY_QUERIES_ON_CLIENT_CLOSE_FIELD_NUMBER;
hash = (53 * hash) + getCancelHttpReadonlyQueriesOnClientClose().hashCode();
}
if (hasMaxHttpGetRedirects()) {
hash = (37 * hash) + MAX_HTTP_GET_REDIRECTS_FIELD_NUMBER;
hash = (53 * hash) + getMaxHttpGetRedirects().hashCode();
}
if (hasJoinedSubqueryRequiresAlias()) {
hash = (37 * hash) + JOINED_SUBQUERY_REQUIRES_ALIAS_FIELD_NUMBER;
hash = (53 * hash) + getJoinedSubqueryRequiresAlias().hashCode();
}
if (hasJoinUseNulls()) {
hash = (37 * hash) + JOIN_USE_NULLS_FIELD_NUMBER;
hash = (53 * hash) + getJoinUseNulls().hashCode();
}
if (hasTransformNullIn()) {
hash = (37 * hash) + TRANSFORM_NULL_IN_FIELD_NUMBER;
hash = (53 * hash) + getTransformNullIn().hashCode();
}
hash = (37 * hash) + QUOTA_MODE_FIELD_NUMBER;
hash = (53 * hash) + quotaMode_;
if (hasFlattenNested()) {
hash = (37 * hash) + FLATTEN_NESTED_FIELD_NUMBER;
hash = (53 * hash) + getFlattenNested().hashCode();
}
hash = (37 * hash) + FORMAT_REGEXP_FIELD_NUMBER;
hash = (53 * hash) + getFormatRegexp().hashCode();
hash = (37 * hash) + FORMAT_REGEXP_ESCAPING_RULE_FIELD_NUMBER;
hash = (53 * hash) + formatRegexpEscapingRule_;
if (hasFormatRegexpSkipUnmatched()) {
hash = (37 * hash) + FORMAT_REGEXP_SKIP_UNMATCHED_FIELD_NUMBER;
hash = (53 * hash) + getFormatRegexpSkipUnmatched().hashCode();
}
if (hasAsyncInsert()) {
hash = (37 * hash) + ASYNC_INSERT_FIELD_NUMBER;
hash = (53 * hash) + getAsyncInsert().hashCode();
}
if (hasAsyncInsertThreads()) {
hash = (37 * hash) + ASYNC_INSERT_THREADS_FIELD_NUMBER;
hash = (53 * hash) + getAsyncInsertThreads().hashCode();
}
if (hasWaitForAsyncInsert()) {
hash = (37 * hash) + WAIT_FOR_ASYNC_INSERT_FIELD_NUMBER;
hash = (53 * hash) + getWaitForAsyncInsert().hashCode();
}
if (hasWaitForAsyncInsertTimeout()) {
hash = (37 * hash) + WAIT_FOR_ASYNC_INSERT_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getWaitForAsyncInsertTimeout().hashCode();
}
if (hasAsyncInsertMaxDataSize()) {
hash = (37 * hash) + ASYNC_INSERT_MAX_DATA_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getAsyncInsertMaxDataSize().hashCode();
}
if (hasAsyncInsertBusyTimeout()) {
hash = (37 * hash) + ASYNC_INSERT_BUSY_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getAsyncInsertBusyTimeout().hashCode();
}
if (hasAsyncInsertStaleTimeout()) {
hash = (37 * hash) + ASYNC_INSERT_STALE_TIMEOUT_FIELD_NUMBER;
hash = (53 * hash) + getAsyncInsertStaleTimeout().hashCode();
}
if (hasMemoryProfilerStep()) {
hash = (37 * hash) + MEMORY_PROFILER_STEP_FIELD_NUMBER;
hash = (53 * hash) + getMemoryProfilerStep().hashCode();
}
if (hasMemoryProfilerSampleProbability()) {
hash = (37 * hash) + MEMORY_PROFILER_SAMPLE_PROBABILITY_FIELD_NUMBER;
hash = (53 * hash) + getMemoryProfilerSampleProbability().hashCode();
}
if (hasMaxFinalThreads()) {
hash = (37 * hash) + MAX_FINAL_THREADS_FIELD_NUMBER;
hash = (53 * hash) + getMaxFinalThreads().hashCode();
}
if (hasInputFormatParallelParsing()) {
hash = (37 * hash) + INPUT_FORMAT_PARALLEL_PARSING_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatParallelParsing().hashCode();
}
if (hasInputFormatImportNestedJson()) {
hash = (37 * hash) + INPUT_FORMAT_IMPORT_NESTED_JSON_FIELD_NUMBER;
hash = (53 * hash) + getInputFormatImportNestedJson().hashCode();
}
hash = (37 * hash) + LOCAL_FILESYSTEM_READ_METHOD_FIELD_NUMBER;
hash = (53 * hash) + localFilesystemReadMethod_;
if (hasMaxReadBufferSize()) {
hash = (37 * hash) + MAX_READ_BUFFER_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getMaxReadBufferSize().hashCode();
}
if (hasCompile()) {
hash = (37 * hash) + COMPILE_FIELD_NUMBER;
hash = (53 * hash) + getCompile().hashCode();
}
if (hasMinCountToCompile()) {
hash = (37 * hash) + MIN_COUNT_TO_COMPILE_FIELD_NUMBER;
hash = (53 * hash) + getMinCountToCompile().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings 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(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings 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;
}
/**
*
* ClickHouse user settings. Supported settings are a limited subset of all settings
* described in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.UserSettings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.UserSettings)
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.Builder.class);
}
// Construct using yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (readonlyBuilder_ == null) {
readonly_ = null;
} else {
readonly_ = null;
readonlyBuilder_ = null;
}
if (allowDdlBuilder_ == null) {
allowDdl_ = null;
} else {
allowDdl_ = null;
allowDdlBuilder_ = null;
}
if (allowIntrospectionFunctionsBuilder_ == null) {
allowIntrospectionFunctions_ = null;
} else {
allowIntrospectionFunctions_ = null;
allowIntrospectionFunctionsBuilder_ = null;
}
if (connectTimeoutBuilder_ == null) {
connectTimeout_ = null;
} else {
connectTimeout_ = null;
connectTimeoutBuilder_ = null;
}
if (connectTimeoutWithFailoverBuilder_ == null) {
connectTimeoutWithFailover_ = null;
} else {
connectTimeoutWithFailover_ = null;
connectTimeoutWithFailoverBuilder_ = null;
}
if (receiveTimeoutBuilder_ == null) {
receiveTimeout_ = null;
} else {
receiveTimeout_ = null;
receiveTimeoutBuilder_ = null;
}
if (sendTimeoutBuilder_ == null) {
sendTimeout_ = null;
} else {
sendTimeout_ = null;
sendTimeoutBuilder_ = null;
}
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
timeoutBeforeCheckingExecutionSpeed_ = null;
} else {
timeoutBeforeCheckingExecutionSpeed_ = null;
timeoutBeforeCheckingExecutionSpeedBuilder_ = null;
}
if (insertQuorumBuilder_ == null) {
insertQuorum_ = null;
} else {
insertQuorum_ = null;
insertQuorumBuilder_ = null;
}
if (insertQuorumTimeoutBuilder_ == null) {
insertQuorumTimeout_ = null;
} else {
insertQuorumTimeout_ = null;
insertQuorumTimeoutBuilder_ = null;
}
if (insertQuorumParallelBuilder_ == null) {
insertQuorumParallel_ = null;
} else {
insertQuorumParallel_ = null;
insertQuorumParallelBuilder_ = null;
}
if (insertNullAsDefaultBuilder_ == null) {
insertNullAsDefault_ = null;
} else {
insertNullAsDefault_ = null;
insertNullAsDefaultBuilder_ = null;
}
if (selectSequentialConsistencyBuilder_ == null) {
selectSequentialConsistency_ = null;
} else {
selectSequentialConsistency_ = null;
selectSequentialConsistencyBuilder_ = null;
}
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
deduplicateBlocksInDependentMaterializedViews_ = null;
} else {
deduplicateBlocksInDependentMaterializedViews_ = null;
deduplicateBlocksInDependentMaterializedViewsBuilder_ = null;
}
if (replicationAlterPartitionsSyncBuilder_ == null) {
replicationAlterPartitionsSync_ = null;
} else {
replicationAlterPartitionsSync_ = null;
replicationAlterPartitionsSyncBuilder_ = null;
}
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
maxReplicaDelayForDistributedQueries_ = null;
} else {
maxReplicaDelayForDistributedQueries_ = null;
maxReplicaDelayForDistributedQueriesBuilder_ = null;
}
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
fallbackToStaleReplicasForDistributedQueries_ = null;
} else {
fallbackToStaleReplicasForDistributedQueries_ = null;
fallbackToStaleReplicasForDistributedQueriesBuilder_ = null;
}
distributedProductMode_ = 0;
if (distributedAggregationMemoryEfficientBuilder_ == null) {
distributedAggregationMemoryEfficient_ = null;
} else {
distributedAggregationMemoryEfficient_ = null;
distributedAggregationMemoryEfficientBuilder_ = null;
}
if (distributedDdlTaskTimeoutBuilder_ == null) {
distributedDdlTaskTimeout_ = null;
} else {
distributedDdlTaskTimeout_ = null;
distributedDdlTaskTimeoutBuilder_ = null;
}
if (skipUnavailableShardsBuilder_ == null) {
skipUnavailableShards_ = null;
} else {
skipUnavailableShards_ = null;
skipUnavailableShardsBuilder_ = null;
}
if (compileExpressionsBuilder_ == null) {
compileExpressions_ = null;
} else {
compileExpressions_ = null;
compileExpressionsBuilder_ = null;
}
if (minCountToCompileExpressionBuilder_ == null) {
minCountToCompileExpression_ = null;
} else {
minCountToCompileExpression_ = null;
minCountToCompileExpressionBuilder_ = null;
}
if (maxBlockSizeBuilder_ == null) {
maxBlockSize_ = null;
} else {
maxBlockSize_ = null;
maxBlockSizeBuilder_ = null;
}
if (minInsertBlockSizeRowsBuilder_ == null) {
minInsertBlockSizeRows_ = null;
} else {
minInsertBlockSizeRows_ = null;
minInsertBlockSizeRowsBuilder_ = null;
}
if (minInsertBlockSizeBytesBuilder_ == null) {
minInsertBlockSizeBytes_ = null;
} else {
minInsertBlockSizeBytes_ = null;
minInsertBlockSizeBytesBuilder_ = null;
}
if (maxInsertBlockSizeBuilder_ == null) {
maxInsertBlockSize_ = null;
} else {
maxInsertBlockSize_ = null;
maxInsertBlockSizeBuilder_ = null;
}
if (minBytesToUseDirectIoBuilder_ == null) {
minBytesToUseDirectIo_ = null;
} else {
minBytesToUseDirectIo_ = null;
minBytesToUseDirectIoBuilder_ = null;
}
if (useUncompressedCacheBuilder_ == null) {
useUncompressedCache_ = null;
} else {
useUncompressedCache_ = null;
useUncompressedCacheBuilder_ = null;
}
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
mergeTreeMaxRowsToUseCache_ = null;
} else {
mergeTreeMaxRowsToUseCache_ = null;
mergeTreeMaxRowsToUseCacheBuilder_ = null;
}
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
mergeTreeMaxBytesToUseCache_ = null;
} else {
mergeTreeMaxBytesToUseCache_ = null;
mergeTreeMaxBytesToUseCacheBuilder_ = null;
}
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
mergeTreeMinRowsForConcurrentRead_ = null;
} else {
mergeTreeMinRowsForConcurrentRead_ = null;
mergeTreeMinRowsForConcurrentReadBuilder_ = null;
}
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
mergeTreeMinBytesForConcurrentRead_ = null;
} else {
mergeTreeMinBytesForConcurrentRead_ = null;
mergeTreeMinBytesForConcurrentReadBuilder_ = null;
}
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
maxBytesBeforeExternalGroupBy_ = null;
} else {
maxBytesBeforeExternalGroupBy_ = null;
maxBytesBeforeExternalGroupByBuilder_ = null;
}
if (maxBytesBeforeExternalSortBuilder_ == null) {
maxBytesBeforeExternalSort_ = null;
} else {
maxBytesBeforeExternalSort_ = null;
maxBytesBeforeExternalSortBuilder_ = null;
}
if (groupByTwoLevelThresholdBuilder_ == null) {
groupByTwoLevelThreshold_ = null;
} else {
groupByTwoLevelThreshold_ = null;
groupByTwoLevelThresholdBuilder_ = null;
}
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
groupByTwoLevelThresholdBytes_ = null;
} else {
groupByTwoLevelThresholdBytes_ = null;
groupByTwoLevelThresholdBytesBuilder_ = null;
}
if (priorityBuilder_ == null) {
priority_ = null;
} else {
priority_ = null;
priorityBuilder_ = null;
}
if (maxThreadsBuilder_ == null) {
maxThreads_ = null;
} else {
maxThreads_ = null;
maxThreadsBuilder_ = null;
}
if (maxMemoryUsageBuilder_ == null) {
maxMemoryUsage_ = null;
} else {
maxMemoryUsage_ = null;
maxMemoryUsageBuilder_ = null;
}
if (maxMemoryUsageForUserBuilder_ == null) {
maxMemoryUsageForUser_ = null;
} else {
maxMemoryUsageForUser_ = null;
maxMemoryUsageForUserBuilder_ = null;
}
if (maxNetworkBandwidthBuilder_ == null) {
maxNetworkBandwidth_ = null;
} else {
maxNetworkBandwidth_ = null;
maxNetworkBandwidthBuilder_ = null;
}
if (maxNetworkBandwidthForUserBuilder_ == null) {
maxNetworkBandwidthForUser_ = null;
} else {
maxNetworkBandwidthForUser_ = null;
maxNetworkBandwidthForUserBuilder_ = null;
}
if (maxPartitionsPerInsertBlockBuilder_ == null) {
maxPartitionsPerInsertBlock_ = null;
} else {
maxPartitionsPerInsertBlock_ = null;
maxPartitionsPerInsertBlockBuilder_ = null;
}
if (maxConcurrentQueriesForUserBuilder_ == null) {
maxConcurrentQueriesForUser_ = null;
} else {
maxConcurrentQueriesForUser_ = null;
maxConcurrentQueriesForUserBuilder_ = null;
}
if (forceIndexByDateBuilder_ == null) {
forceIndexByDate_ = null;
} else {
forceIndexByDate_ = null;
forceIndexByDateBuilder_ = null;
}
if (forcePrimaryKeyBuilder_ == null) {
forcePrimaryKey_ = null;
} else {
forcePrimaryKey_ = null;
forcePrimaryKeyBuilder_ = null;
}
if (maxRowsToReadBuilder_ == null) {
maxRowsToRead_ = null;
} else {
maxRowsToRead_ = null;
maxRowsToReadBuilder_ = null;
}
if (maxBytesToReadBuilder_ == null) {
maxBytesToRead_ = null;
} else {
maxBytesToRead_ = null;
maxBytesToReadBuilder_ = null;
}
readOverflowMode_ = 0;
if (maxRowsToGroupByBuilder_ == null) {
maxRowsToGroupBy_ = null;
} else {
maxRowsToGroupBy_ = null;
maxRowsToGroupByBuilder_ = null;
}
groupByOverflowMode_ = 0;
if (maxRowsToSortBuilder_ == null) {
maxRowsToSort_ = null;
} else {
maxRowsToSort_ = null;
maxRowsToSortBuilder_ = null;
}
if (maxBytesToSortBuilder_ == null) {
maxBytesToSort_ = null;
} else {
maxBytesToSort_ = null;
maxBytesToSortBuilder_ = null;
}
sortOverflowMode_ = 0;
if (maxResultRowsBuilder_ == null) {
maxResultRows_ = null;
} else {
maxResultRows_ = null;
maxResultRowsBuilder_ = null;
}
if (maxResultBytesBuilder_ == null) {
maxResultBytes_ = null;
} else {
maxResultBytes_ = null;
maxResultBytesBuilder_ = null;
}
resultOverflowMode_ = 0;
if (maxRowsInDistinctBuilder_ == null) {
maxRowsInDistinct_ = null;
} else {
maxRowsInDistinct_ = null;
maxRowsInDistinctBuilder_ = null;
}
if (maxBytesInDistinctBuilder_ == null) {
maxBytesInDistinct_ = null;
} else {
maxBytesInDistinct_ = null;
maxBytesInDistinctBuilder_ = null;
}
distinctOverflowMode_ = 0;
if (maxRowsToTransferBuilder_ == null) {
maxRowsToTransfer_ = null;
} else {
maxRowsToTransfer_ = null;
maxRowsToTransferBuilder_ = null;
}
if (maxBytesToTransferBuilder_ == null) {
maxBytesToTransfer_ = null;
} else {
maxBytesToTransfer_ = null;
maxBytesToTransferBuilder_ = null;
}
transferOverflowMode_ = 0;
if (maxExecutionTimeBuilder_ == null) {
maxExecutionTime_ = null;
} else {
maxExecutionTime_ = null;
maxExecutionTimeBuilder_ = null;
}
timeoutOverflowMode_ = 0;
if (maxRowsInSetBuilder_ == null) {
maxRowsInSet_ = null;
} else {
maxRowsInSet_ = null;
maxRowsInSetBuilder_ = null;
}
if (maxBytesInSetBuilder_ == null) {
maxBytesInSet_ = null;
} else {
maxBytesInSet_ = null;
maxBytesInSetBuilder_ = null;
}
setOverflowMode_ = 0;
if (maxRowsInJoinBuilder_ == null) {
maxRowsInJoin_ = null;
} else {
maxRowsInJoin_ = null;
maxRowsInJoinBuilder_ = null;
}
if (maxBytesInJoinBuilder_ == null) {
maxBytesInJoin_ = null;
} else {
maxBytesInJoin_ = null;
maxBytesInJoinBuilder_ = null;
}
joinOverflowMode_ = 0;
joinAlgorithm_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
anyJoinDistinctRightTableKeys_ = null;
} else {
anyJoinDistinctRightTableKeys_ = null;
anyJoinDistinctRightTableKeysBuilder_ = null;
}
if (maxColumnsToReadBuilder_ == null) {
maxColumnsToRead_ = null;
} else {
maxColumnsToRead_ = null;
maxColumnsToReadBuilder_ = null;
}
if (maxTemporaryColumnsBuilder_ == null) {
maxTemporaryColumns_ = null;
} else {
maxTemporaryColumns_ = null;
maxTemporaryColumnsBuilder_ = null;
}
if (maxTemporaryNonConstColumnsBuilder_ == null) {
maxTemporaryNonConstColumns_ = null;
} else {
maxTemporaryNonConstColumns_ = null;
maxTemporaryNonConstColumnsBuilder_ = null;
}
if (maxQuerySizeBuilder_ == null) {
maxQuerySize_ = null;
} else {
maxQuerySize_ = null;
maxQuerySizeBuilder_ = null;
}
if (maxAstDepthBuilder_ == null) {
maxAstDepth_ = null;
} else {
maxAstDepth_ = null;
maxAstDepthBuilder_ = null;
}
if (maxAstElementsBuilder_ == null) {
maxAstElements_ = null;
} else {
maxAstElements_ = null;
maxAstElementsBuilder_ = null;
}
if (maxExpandedAstElementsBuilder_ == null) {
maxExpandedAstElements_ = null;
} else {
maxExpandedAstElements_ = null;
maxExpandedAstElementsBuilder_ = null;
}
if (minExecutionSpeedBuilder_ == null) {
minExecutionSpeed_ = null;
} else {
minExecutionSpeed_ = null;
minExecutionSpeedBuilder_ = null;
}
if (minExecutionSpeedBytesBuilder_ == null) {
minExecutionSpeedBytes_ = null;
} else {
minExecutionSpeedBytes_ = null;
minExecutionSpeedBytesBuilder_ = null;
}
countDistinctImplementation_ = 0;
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
inputFormatValuesInterpretExpressions_ = null;
} else {
inputFormatValuesInterpretExpressions_ = null;
inputFormatValuesInterpretExpressionsBuilder_ = null;
}
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
inputFormatDefaultsForOmittedFields_ = null;
} else {
inputFormatDefaultsForOmittedFields_ = null;
inputFormatDefaultsForOmittedFieldsBuilder_ = null;
}
if (inputFormatNullAsDefaultBuilder_ == null) {
inputFormatNullAsDefault_ = null;
} else {
inputFormatNullAsDefault_ = null;
inputFormatNullAsDefaultBuilder_ = null;
}
dateTimeInputFormat_ = 0;
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
inputFormatWithNamesUseHeader_ = null;
} else {
inputFormatWithNamesUseHeader_ = null;
inputFormatWithNamesUseHeaderBuilder_ = null;
}
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
outputFormatJsonQuote64BitIntegers_ = null;
} else {
outputFormatJsonQuote64BitIntegers_ = null;
outputFormatJsonQuote64BitIntegersBuilder_ = null;
}
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
outputFormatJsonQuoteDenormals_ = null;
} else {
outputFormatJsonQuoteDenormals_ = null;
outputFormatJsonQuoteDenormalsBuilder_ = null;
}
dateTimeOutputFormat_ = 0;
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
lowCardinalityAllowInNativeFormat_ = null;
} else {
lowCardinalityAllowInNativeFormat_ = null;
lowCardinalityAllowInNativeFormatBuilder_ = null;
}
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
allowSuspiciousLowCardinalityTypes_ = null;
} else {
allowSuspiciousLowCardinalityTypes_ = null;
allowSuspiciousLowCardinalityTypesBuilder_ = null;
}
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
emptyResultForAggregationByEmptySet_ = null;
} else {
emptyResultForAggregationByEmptySet_ = null;
emptyResultForAggregationByEmptySetBuilder_ = null;
}
if (httpConnectionTimeoutBuilder_ == null) {
httpConnectionTimeout_ = null;
} else {
httpConnectionTimeout_ = null;
httpConnectionTimeoutBuilder_ = null;
}
if (httpReceiveTimeoutBuilder_ == null) {
httpReceiveTimeout_ = null;
} else {
httpReceiveTimeout_ = null;
httpReceiveTimeoutBuilder_ = null;
}
if (httpSendTimeoutBuilder_ == null) {
httpSendTimeout_ = null;
} else {
httpSendTimeout_ = null;
httpSendTimeoutBuilder_ = null;
}
if (enableHttpCompressionBuilder_ == null) {
enableHttpCompression_ = null;
} else {
enableHttpCompression_ = null;
enableHttpCompressionBuilder_ = null;
}
if (sendProgressInHttpHeadersBuilder_ == null) {
sendProgressInHttpHeaders_ = null;
} else {
sendProgressInHttpHeaders_ = null;
sendProgressInHttpHeadersBuilder_ = null;
}
if (httpHeadersProgressIntervalBuilder_ == null) {
httpHeadersProgressInterval_ = null;
} else {
httpHeadersProgressInterval_ = null;
httpHeadersProgressIntervalBuilder_ = null;
}
if (addHttpCorsHeaderBuilder_ == null) {
addHttpCorsHeader_ = null;
} else {
addHttpCorsHeader_ = null;
addHttpCorsHeaderBuilder_ = null;
}
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
cancelHttpReadonlyQueriesOnClientClose_ = null;
} else {
cancelHttpReadonlyQueriesOnClientClose_ = null;
cancelHttpReadonlyQueriesOnClientCloseBuilder_ = null;
}
if (maxHttpGetRedirectsBuilder_ == null) {
maxHttpGetRedirects_ = null;
} else {
maxHttpGetRedirects_ = null;
maxHttpGetRedirectsBuilder_ = null;
}
if (joinedSubqueryRequiresAliasBuilder_ == null) {
joinedSubqueryRequiresAlias_ = null;
} else {
joinedSubqueryRequiresAlias_ = null;
joinedSubqueryRequiresAliasBuilder_ = null;
}
if (joinUseNullsBuilder_ == null) {
joinUseNulls_ = null;
} else {
joinUseNulls_ = null;
joinUseNullsBuilder_ = null;
}
if (transformNullInBuilder_ == null) {
transformNullIn_ = null;
} else {
transformNullIn_ = null;
transformNullInBuilder_ = null;
}
quotaMode_ = 0;
if (flattenNestedBuilder_ == null) {
flattenNested_ = null;
} else {
flattenNested_ = null;
flattenNestedBuilder_ = null;
}
formatRegexp_ = "";
formatRegexpEscapingRule_ = 0;
if (formatRegexpSkipUnmatchedBuilder_ == null) {
formatRegexpSkipUnmatched_ = null;
} else {
formatRegexpSkipUnmatched_ = null;
formatRegexpSkipUnmatchedBuilder_ = null;
}
if (asyncInsertBuilder_ == null) {
asyncInsert_ = null;
} else {
asyncInsert_ = null;
asyncInsertBuilder_ = null;
}
if (asyncInsertThreadsBuilder_ == null) {
asyncInsertThreads_ = null;
} else {
asyncInsertThreads_ = null;
asyncInsertThreadsBuilder_ = null;
}
if (waitForAsyncInsertBuilder_ == null) {
waitForAsyncInsert_ = null;
} else {
waitForAsyncInsert_ = null;
waitForAsyncInsertBuilder_ = null;
}
if (waitForAsyncInsertTimeoutBuilder_ == null) {
waitForAsyncInsertTimeout_ = null;
} else {
waitForAsyncInsertTimeout_ = null;
waitForAsyncInsertTimeoutBuilder_ = null;
}
if (asyncInsertMaxDataSizeBuilder_ == null) {
asyncInsertMaxDataSize_ = null;
} else {
asyncInsertMaxDataSize_ = null;
asyncInsertMaxDataSizeBuilder_ = null;
}
if (asyncInsertBusyTimeoutBuilder_ == null) {
asyncInsertBusyTimeout_ = null;
} else {
asyncInsertBusyTimeout_ = null;
asyncInsertBusyTimeoutBuilder_ = null;
}
if (asyncInsertStaleTimeoutBuilder_ == null) {
asyncInsertStaleTimeout_ = null;
} else {
asyncInsertStaleTimeout_ = null;
asyncInsertStaleTimeoutBuilder_ = null;
}
if (memoryProfilerStepBuilder_ == null) {
memoryProfilerStep_ = null;
} else {
memoryProfilerStep_ = null;
memoryProfilerStepBuilder_ = null;
}
if (memoryProfilerSampleProbabilityBuilder_ == null) {
memoryProfilerSampleProbability_ = null;
} else {
memoryProfilerSampleProbability_ = null;
memoryProfilerSampleProbabilityBuilder_ = null;
}
if (maxFinalThreadsBuilder_ == null) {
maxFinalThreads_ = null;
} else {
maxFinalThreads_ = null;
maxFinalThreadsBuilder_ = null;
}
if (inputFormatParallelParsingBuilder_ == null) {
inputFormatParallelParsing_ = null;
} else {
inputFormatParallelParsing_ = null;
inputFormatParallelParsingBuilder_ = null;
}
if (inputFormatImportNestedJsonBuilder_ == null) {
inputFormatImportNestedJson_ = null;
} else {
inputFormatImportNestedJson_ = null;
inputFormatImportNestedJsonBuilder_ = null;
}
localFilesystemReadMethod_ = 0;
if (maxReadBufferSizeBuilder_ == null) {
maxReadBufferSize_ = null;
} else {
maxReadBufferSize_ = null;
maxReadBufferSizeBuilder_ = null;
}
if (compileBuilder_ == null) {
compile_ = null;
} else {
compile_ = null;
compileBuilder_ = null;
}
if (minCountToCompileBuilder_ == null) {
minCountToCompile_ = null;
} else {
minCountToCompile_ = null;
minCountToCompileBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getDefaultInstanceForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings build() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings buildPartial() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings result = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings(this);
int from_bitField0_ = bitField0_;
if (readonlyBuilder_ == null) {
result.readonly_ = readonly_;
} else {
result.readonly_ = readonlyBuilder_.build();
}
if (allowDdlBuilder_ == null) {
result.allowDdl_ = allowDdl_;
} else {
result.allowDdl_ = allowDdlBuilder_.build();
}
if (allowIntrospectionFunctionsBuilder_ == null) {
result.allowIntrospectionFunctions_ = allowIntrospectionFunctions_;
} else {
result.allowIntrospectionFunctions_ = allowIntrospectionFunctionsBuilder_.build();
}
if (connectTimeoutBuilder_ == null) {
result.connectTimeout_ = connectTimeout_;
} else {
result.connectTimeout_ = connectTimeoutBuilder_.build();
}
if (connectTimeoutWithFailoverBuilder_ == null) {
result.connectTimeoutWithFailover_ = connectTimeoutWithFailover_;
} else {
result.connectTimeoutWithFailover_ = connectTimeoutWithFailoverBuilder_.build();
}
if (receiveTimeoutBuilder_ == null) {
result.receiveTimeout_ = receiveTimeout_;
} else {
result.receiveTimeout_ = receiveTimeoutBuilder_.build();
}
if (sendTimeoutBuilder_ == null) {
result.sendTimeout_ = sendTimeout_;
} else {
result.sendTimeout_ = sendTimeoutBuilder_.build();
}
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
result.timeoutBeforeCheckingExecutionSpeed_ = timeoutBeforeCheckingExecutionSpeed_;
} else {
result.timeoutBeforeCheckingExecutionSpeed_ = timeoutBeforeCheckingExecutionSpeedBuilder_.build();
}
if (insertQuorumBuilder_ == null) {
result.insertQuorum_ = insertQuorum_;
} else {
result.insertQuorum_ = insertQuorumBuilder_.build();
}
if (insertQuorumTimeoutBuilder_ == null) {
result.insertQuorumTimeout_ = insertQuorumTimeout_;
} else {
result.insertQuorumTimeout_ = insertQuorumTimeoutBuilder_.build();
}
if (insertQuorumParallelBuilder_ == null) {
result.insertQuorumParallel_ = insertQuorumParallel_;
} else {
result.insertQuorumParallel_ = insertQuorumParallelBuilder_.build();
}
if (insertNullAsDefaultBuilder_ == null) {
result.insertNullAsDefault_ = insertNullAsDefault_;
} else {
result.insertNullAsDefault_ = insertNullAsDefaultBuilder_.build();
}
if (selectSequentialConsistencyBuilder_ == null) {
result.selectSequentialConsistency_ = selectSequentialConsistency_;
} else {
result.selectSequentialConsistency_ = selectSequentialConsistencyBuilder_.build();
}
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
result.deduplicateBlocksInDependentMaterializedViews_ = deduplicateBlocksInDependentMaterializedViews_;
} else {
result.deduplicateBlocksInDependentMaterializedViews_ = deduplicateBlocksInDependentMaterializedViewsBuilder_.build();
}
if (replicationAlterPartitionsSyncBuilder_ == null) {
result.replicationAlterPartitionsSync_ = replicationAlterPartitionsSync_;
} else {
result.replicationAlterPartitionsSync_ = replicationAlterPartitionsSyncBuilder_.build();
}
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
result.maxReplicaDelayForDistributedQueries_ = maxReplicaDelayForDistributedQueries_;
} else {
result.maxReplicaDelayForDistributedQueries_ = maxReplicaDelayForDistributedQueriesBuilder_.build();
}
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
result.fallbackToStaleReplicasForDistributedQueries_ = fallbackToStaleReplicasForDistributedQueries_;
} else {
result.fallbackToStaleReplicasForDistributedQueries_ = fallbackToStaleReplicasForDistributedQueriesBuilder_.build();
}
result.distributedProductMode_ = distributedProductMode_;
if (distributedAggregationMemoryEfficientBuilder_ == null) {
result.distributedAggregationMemoryEfficient_ = distributedAggregationMemoryEfficient_;
} else {
result.distributedAggregationMemoryEfficient_ = distributedAggregationMemoryEfficientBuilder_.build();
}
if (distributedDdlTaskTimeoutBuilder_ == null) {
result.distributedDdlTaskTimeout_ = distributedDdlTaskTimeout_;
} else {
result.distributedDdlTaskTimeout_ = distributedDdlTaskTimeoutBuilder_.build();
}
if (skipUnavailableShardsBuilder_ == null) {
result.skipUnavailableShards_ = skipUnavailableShards_;
} else {
result.skipUnavailableShards_ = skipUnavailableShardsBuilder_.build();
}
if (compileExpressionsBuilder_ == null) {
result.compileExpressions_ = compileExpressions_;
} else {
result.compileExpressions_ = compileExpressionsBuilder_.build();
}
if (minCountToCompileExpressionBuilder_ == null) {
result.minCountToCompileExpression_ = minCountToCompileExpression_;
} else {
result.minCountToCompileExpression_ = minCountToCompileExpressionBuilder_.build();
}
if (maxBlockSizeBuilder_ == null) {
result.maxBlockSize_ = maxBlockSize_;
} else {
result.maxBlockSize_ = maxBlockSizeBuilder_.build();
}
if (minInsertBlockSizeRowsBuilder_ == null) {
result.minInsertBlockSizeRows_ = minInsertBlockSizeRows_;
} else {
result.minInsertBlockSizeRows_ = minInsertBlockSizeRowsBuilder_.build();
}
if (minInsertBlockSizeBytesBuilder_ == null) {
result.minInsertBlockSizeBytes_ = minInsertBlockSizeBytes_;
} else {
result.minInsertBlockSizeBytes_ = minInsertBlockSizeBytesBuilder_.build();
}
if (maxInsertBlockSizeBuilder_ == null) {
result.maxInsertBlockSize_ = maxInsertBlockSize_;
} else {
result.maxInsertBlockSize_ = maxInsertBlockSizeBuilder_.build();
}
if (minBytesToUseDirectIoBuilder_ == null) {
result.minBytesToUseDirectIo_ = minBytesToUseDirectIo_;
} else {
result.minBytesToUseDirectIo_ = minBytesToUseDirectIoBuilder_.build();
}
if (useUncompressedCacheBuilder_ == null) {
result.useUncompressedCache_ = useUncompressedCache_;
} else {
result.useUncompressedCache_ = useUncompressedCacheBuilder_.build();
}
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
result.mergeTreeMaxRowsToUseCache_ = mergeTreeMaxRowsToUseCache_;
} else {
result.mergeTreeMaxRowsToUseCache_ = mergeTreeMaxRowsToUseCacheBuilder_.build();
}
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
result.mergeTreeMaxBytesToUseCache_ = mergeTreeMaxBytesToUseCache_;
} else {
result.mergeTreeMaxBytesToUseCache_ = mergeTreeMaxBytesToUseCacheBuilder_.build();
}
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
result.mergeTreeMinRowsForConcurrentRead_ = mergeTreeMinRowsForConcurrentRead_;
} else {
result.mergeTreeMinRowsForConcurrentRead_ = mergeTreeMinRowsForConcurrentReadBuilder_.build();
}
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
result.mergeTreeMinBytesForConcurrentRead_ = mergeTreeMinBytesForConcurrentRead_;
} else {
result.mergeTreeMinBytesForConcurrentRead_ = mergeTreeMinBytesForConcurrentReadBuilder_.build();
}
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
result.maxBytesBeforeExternalGroupBy_ = maxBytesBeforeExternalGroupBy_;
} else {
result.maxBytesBeforeExternalGroupBy_ = maxBytesBeforeExternalGroupByBuilder_.build();
}
if (maxBytesBeforeExternalSortBuilder_ == null) {
result.maxBytesBeforeExternalSort_ = maxBytesBeforeExternalSort_;
} else {
result.maxBytesBeforeExternalSort_ = maxBytesBeforeExternalSortBuilder_.build();
}
if (groupByTwoLevelThresholdBuilder_ == null) {
result.groupByTwoLevelThreshold_ = groupByTwoLevelThreshold_;
} else {
result.groupByTwoLevelThreshold_ = groupByTwoLevelThresholdBuilder_.build();
}
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
result.groupByTwoLevelThresholdBytes_ = groupByTwoLevelThresholdBytes_;
} else {
result.groupByTwoLevelThresholdBytes_ = groupByTwoLevelThresholdBytesBuilder_.build();
}
if (priorityBuilder_ == null) {
result.priority_ = priority_;
} else {
result.priority_ = priorityBuilder_.build();
}
if (maxThreadsBuilder_ == null) {
result.maxThreads_ = maxThreads_;
} else {
result.maxThreads_ = maxThreadsBuilder_.build();
}
if (maxMemoryUsageBuilder_ == null) {
result.maxMemoryUsage_ = maxMemoryUsage_;
} else {
result.maxMemoryUsage_ = maxMemoryUsageBuilder_.build();
}
if (maxMemoryUsageForUserBuilder_ == null) {
result.maxMemoryUsageForUser_ = maxMemoryUsageForUser_;
} else {
result.maxMemoryUsageForUser_ = maxMemoryUsageForUserBuilder_.build();
}
if (maxNetworkBandwidthBuilder_ == null) {
result.maxNetworkBandwidth_ = maxNetworkBandwidth_;
} else {
result.maxNetworkBandwidth_ = maxNetworkBandwidthBuilder_.build();
}
if (maxNetworkBandwidthForUserBuilder_ == null) {
result.maxNetworkBandwidthForUser_ = maxNetworkBandwidthForUser_;
} else {
result.maxNetworkBandwidthForUser_ = maxNetworkBandwidthForUserBuilder_.build();
}
if (maxPartitionsPerInsertBlockBuilder_ == null) {
result.maxPartitionsPerInsertBlock_ = maxPartitionsPerInsertBlock_;
} else {
result.maxPartitionsPerInsertBlock_ = maxPartitionsPerInsertBlockBuilder_.build();
}
if (maxConcurrentQueriesForUserBuilder_ == null) {
result.maxConcurrentQueriesForUser_ = maxConcurrentQueriesForUser_;
} else {
result.maxConcurrentQueriesForUser_ = maxConcurrentQueriesForUserBuilder_.build();
}
if (forceIndexByDateBuilder_ == null) {
result.forceIndexByDate_ = forceIndexByDate_;
} else {
result.forceIndexByDate_ = forceIndexByDateBuilder_.build();
}
if (forcePrimaryKeyBuilder_ == null) {
result.forcePrimaryKey_ = forcePrimaryKey_;
} else {
result.forcePrimaryKey_ = forcePrimaryKeyBuilder_.build();
}
if (maxRowsToReadBuilder_ == null) {
result.maxRowsToRead_ = maxRowsToRead_;
} else {
result.maxRowsToRead_ = maxRowsToReadBuilder_.build();
}
if (maxBytesToReadBuilder_ == null) {
result.maxBytesToRead_ = maxBytesToRead_;
} else {
result.maxBytesToRead_ = maxBytesToReadBuilder_.build();
}
result.readOverflowMode_ = readOverflowMode_;
if (maxRowsToGroupByBuilder_ == null) {
result.maxRowsToGroupBy_ = maxRowsToGroupBy_;
} else {
result.maxRowsToGroupBy_ = maxRowsToGroupByBuilder_.build();
}
result.groupByOverflowMode_ = groupByOverflowMode_;
if (maxRowsToSortBuilder_ == null) {
result.maxRowsToSort_ = maxRowsToSort_;
} else {
result.maxRowsToSort_ = maxRowsToSortBuilder_.build();
}
if (maxBytesToSortBuilder_ == null) {
result.maxBytesToSort_ = maxBytesToSort_;
} else {
result.maxBytesToSort_ = maxBytesToSortBuilder_.build();
}
result.sortOverflowMode_ = sortOverflowMode_;
if (maxResultRowsBuilder_ == null) {
result.maxResultRows_ = maxResultRows_;
} else {
result.maxResultRows_ = maxResultRowsBuilder_.build();
}
if (maxResultBytesBuilder_ == null) {
result.maxResultBytes_ = maxResultBytes_;
} else {
result.maxResultBytes_ = maxResultBytesBuilder_.build();
}
result.resultOverflowMode_ = resultOverflowMode_;
if (maxRowsInDistinctBuilder_ == null) {
result.maxRowsInDistinct_ = maxRowsInDistinct_;
} else {
result.maxRowsInDistinct_ = maxRowsInDistinctBuilder_.build();
}
if (maxBytesInDistinctBuilder_ == null) {
result.maxBytesInDistinct_ = maxBytesInDistinct_;
} else {
result.maxBytesInDistinct_ = maxBytesInDistinctBuilder_.build();
}
result.distinctOverflowMode_ = distinctOverflowMode_;
if (maxRowsToTransferBuilder_ == null) {
result.maxRowsToTransfer_ = maxRowsToTransfer_;
} else {
result.maxRowsToTransfer_ = maxRowsToTransferBuilder_.build();
}
if (maxBytesToTransferBuilder_ == null) {
result.maxBytesToTransfer_ = maxBytesToTransfer_;
} else {
result.maxBytesToTransfer_ = maxBytesToTransferBuilder_.build();
}
result.transferOverflowMode_ = transferOverflowMode_;
if (maxExecutionTimeBuilder_ == null) {
result.maxExecutionTime_ = maxExecutionTime_;
} else {
result.maxExecutionTime_ = maxExecutionTimeBuilder_.build();
}
result.timeoutOverflowMode_ = timeoutOverflowMode_;
if (maxRowsInSetBuilder_ == null) {
result.maxRowsInSet_ = maxRowsInSet_;
} else {
result.maxRowsInSet_ = maxRowsInSetBuilder_.build();
}
if (maxBytesInSetBuilder_ == null) {
result.maxBytesInSet_ = maxBytesInSet_;
} else {
result.maxBytesInSet_ = maxBytesInSetBuilder_.build();
}
result.setOverflowMode_ = setOverflowMode_;
if (maxRowsInJoinBuilder_ == null) {
result.maxRowsInJoin_ = maxRowsInJoin_;
} else {
result.maxRowsInJoin_ = maxRowsInJoinBuilder_.build();
}
if (maxBytesInJoinBuilder_ == null) {
result.maxBytesInJoin_ = maxBytesInJoin_;
} else {
result.maxBytesInJoin_ = maxBytesInJoinBuilder_.build();
}
result.joinOverflowMode_ = joinOverflowMode_;
if (((bitField0_ & 0x00000001) != 0)) {
joinAlgorithm_ = java.util.Collections.unmodifiableList(joinAlgorithm_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.joinAlgorithm_ = joinAlgorithm_;
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
result.anyJoinDistinctRightTableKeys_ = anyJoinDistinctRightTableKeys_;
} else {
result.anyJoinDistinctRightTableKeys_ = anyJoinDistinctRightTableKeysBuilder_.build();
}
if (maxColumnsToReadBuilder_ == null) {
result.maxColumnsToRead_ = maxColumnsToRead_;
} else {
result.maxColumnsToRead_ = maxColumnsToReadBuilder_.build();
}
if (maxTemporaryColumnsBuilder_ == null) {
result.maxTemporaryColumns_ = maxTemporaryColumns_;
} else {
result.maxTemporaryColumns_ = maxTemporaryColumnsBuilder_.build();
}
if (maxTemporaryNonConstColumnsBuilder_ == null) {
result.maxTemporaryNonConstColumns_ = maxTemporaryNonConstColumns_;
} else {
result.maxTemporaryNonConstColumns_ = maxTemporaryNonConstColumnsBuilder_.build();
}
if (maxQuerySizeBuilder_ == null) {
result.maxQuerySize_ = maxQuerySize_;
} else {
result.maxQuerySize_ = maxQuerySizeBuilder_.build();
}
if (maxAstDepthBuilder_ == null) {
result.maxAstDepth_ = maxAstDepth_;
} else {
result.maxAstDepth_ = maxAstDepthBuilder_.build();
}
if (maxAstElementsBuilder_ == null) {
result.maxAstElements_ = maxAstElements_;
} else {
result.maxAstElements_ = maxAstElementsBuilder_.build();
}
if (maxExpandedAstElementsBuilder_ == null) {
result.maxExpandedAstElements_ = maxExpandedAstElements_;
} else {
result.maxExpandedAstElements_ = maxExpandedAstElementsBuilder_.build();
}
if (minExecutionSpeedBuilder_ == null) {
result.minExecutionSpeed_ = minExecutionSpeed_;
} else {
result.minExecutionSpeed_ = minExecutionSpeedBuilder_.build();
}
if (minExecutionSpeedBytesBuilder_ == null) {
result.minExecutionSpeedBytes_ = minExecutionSpeedBytes_;
} else {
result.minExecutionSpeedBytes_ = minExecutionSpeedBytesBuilder_.build();
}
result.countDistinctImplementation_ = countDistinctImplementation_;
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
result.inputFormatValuesInterpretExpressions_ = inputFormatValuesInterpretExpressions_;
} else {
result.inputFormatValuesInterpretExpressions_ = inputFormatValuesInterpretExpressionsBuilder_.build();
}
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
result.inputFormatDefaultsForOmittedFields_ = inputFormatDefaultsForOmittedFields_;
} else {
result.inputFormatDefaultsForOmittedFields_ = inputFormatDefaultsForOmittedFieldsBuilder_.build();
}
if (inputFormatNullAsDefaultBuilder_ == null) {
result.inputFormatNullAsDefault_ = inputFormatNullAsDefault_;
} else {
result.inputFormatNullAsDefault_ = inputFormatNullAsDefaultBuilder_.build();
}
result.dateTimeInputFormat_ = dateTimeInputFormat_;
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
result.inputFormatWithNamesUseHeader_ = inputFormatWithNamesUseHeader_;
} else {
result.inputFormatWithNamesUseHeader_ = inputFormatWithNamesUseHeaderBuilder_.build();
}
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
result.outputFormatJsonQuote64BitIntegers_ = outputFormatJsonQuote64BitIntegers_;
} else {
result.outputFormatJsonQuote64BitIntegers_ = outputFormatJsonQuote64BitIntegersBuilder_.build();
}
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
result.outputFormatJsonQuoteDenormals_ = outputFormatJsonQuoteDenormals_;
} else {
result.outputFormatJsonQuoteDenormals_ = outputFormatJsonQuoteDenormalsBuilder_.build();
}
result.dateTimeOutputFormat_ = dateTimeOutputFormat_;
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
result.lowCardinalityAllowInNativeFormat_ = lowCardinalityAllowInNativeFormat_;
} else {
result.lowCardinalityAllowInNativeFormat_ = lowCardinalityAllowInNativeFormatBuilder_.build();
}
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
result.allowSuspiciousLowCardinalityTypes_ = allowSuspiciousLowCardinalityTypes_;
} else {
result.allowSuspiciousLowCardinalityTypes_ = allowSuspiciousLowCardinalityTypesBuilder_.build();
}
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
result.emptyResultForAggregationByEmptySet_ = emptyResultForAggregationByEmptySet_;
} else {
result.emptyResultForAggregationByEmptySet_ = emptyResultForAggregationByEmptySetBuilder_.build();
}
if (httpConnectionTimeoutBuilder_ == null) {
result.httpConnectionTimeout_ = httpConnectionTimeout_;
} else {
result.httpConnectionTimeout_ = httpConnectionTimeoutBuilder_.build();
}
if (httpReceiveTimeoutBuilder_ == null) {
result.httpReceiveTimeout_ = httpReceiveTimeout_;
} else {
result.httpReceiveTimeout_ = httpReceiveTimeoutBuilder_.build();
}
if (httpSendTimeoutBuilder_ == null) {
result.httpSendTimeout_ = httpSendTimeout_;
} else {
result.httpSendTimeout_ = httpSendTimeoutBuilder_.build();
}
if (enableHttpCompressionBuilder_ == null) {
result.enableHttpCompression_ = enableHttpCompression_;
} else {
result.enableHttpCompression_ = enableHttpCompressionBuilder_.build();
}
if (sendProgressInHttpHeadersBuilder_ == null) {
result.sendProgressInHttpHeaders_ = sendProgressInHttpHeaders_;
} else {
result.sendProgressInHttpHeaders_ = sendProgressInHttpHeadersBuilder_.build();
}
if (httpHeadersProgressIntervalBuilder_ == null) {
result.httpHeadersProgressInterval_ = httpHeadersProgressInterval_;
} else {
result.httpHeadersProgressInterval_ = httpHeadersProgressIntervalBuilder_.build();
}
if (addHttpCorsHeaderBuilder_ == null) {
result.addHttpCorsHeader_ = addHttpCorsHeader_;
} else {
result.addHttpCorsHeader_ = addHttpCorsHeaderBuilder_.build();
}
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
result.cancelHttpReadonlyQueriesOnClientClose_ = cancelHttpReadonlyQueriesOnClientClose_;
} else {
result.cancelHttpReadonlyQueriesOnClientClose_ = cancelHttpReadonlyQueriesOnClientCloseBuilder_.build();
}
if (maxHttpGetRedirectsBuilder_ == null) {
result.maxHttpGetRedirects_ = maxHttpGetRedirects_;
} else {
result.maxHttpGetRedirects_ = maxHttpGetRedirectsBuilder_.build();
}
if (joinedSubqueryRequiresAliasBuilder_ == null) {
result.joinedSubqueryRequiresAlias_ = joinedSubqueryRequiresAlias_;
} else {
result.joinedSubqueryRequiresAlias_ = joinedSubqueryRequiresAliasBuilder_.build();
}
if (joinUseNullsBuilder_ == null) {
result.joinUseNulls_ = joinUseNulls_;
} else {
result.joinUseNulls_ = joinUseNullsBuilder_.build();
}
if (transformNullInBuilder_ == null) {
result.transformNullIn_ = transformNullIn_;
} else {
result.transformNullIn_ = transformNullInBuilder_.build();
}
result.quotaMode_ = quotaMode_;
if (flattenNestedBuilder_ == null) {
result.flattenNested_ = flattenNested_;
} else {
result.flattenNested_ = flattenNestedBuilder_.build();
}
result.formatRegexp_ = formatRegexp_;
result.formatRegexpEscapingRule_ = formatRegexpEscapingRule_;
if (formatRegexpSkipUnmatchedBuilder_ == null) {
result.formatRegexpSkipUnmatched_ = formatRegexpSkipUnmatched_;
} else {
result.formatRegexpSkipUnmatched_ = formatRegexpSkipUnmatchedBuilder_.build();
}
if (asyncInsertBuilder_ == null) {
result.asyncInsert_ = asyncInsert_;
} else {
result.asyncInsert_ = asyncInsertBuilder_.build();
}
if (asyncInsertThreadsBuilder_ == null) {
result.asyncInsertThreads_ = asyncInsertThreads_;
} else {
result.asyncInsertThreads_ = asyncInsertThreadsBuilder_.build();
}
if (waitForAsyncInsertBuilder_ == null) {
result.waitForAsyncInsert_ = waitForAsyncInsert_;
} else {
result.waitForAsyncInsert_ = waitForAsyncInsertBuilder_.build();
}
if (waitForAsyncInsertTimeoutBuilder_ == null) {
result.waitForAsyncInsertTimeout_ = waitForAsyncInsertTimeout_;
} else {
result.waitForAsyncInsertTimeout_ = waitForAsyncInsertTimeoutBuilder_.build();
}
if (asyncInsertMaxDataSizeBuilder_ == null) {
result.asyncInsertMaxDataSize_ = asyncInsertMaxDataSize_;
} else {
result.asyncInsertMaxDataSize_ = asyncInsertMaxDataSizeBuilder_.build();
}
if (asyncInsertBusyTimeoutBuilder_ == null) {
result.asyncInsertBusyTimeout_ = asyncInsertBusyTimeout_;
} else {
result.asyncInsertBusyTimeout_ = asyncInsertBusyTimeoutBuilder_.build();
}
if (asyncInsertStaleTimeoutBuilder_ == null) {
result.asyncInsertStaleTimeout_ = asyncInsertStaleTimeout_;
} else {
result.asyncInsertStaleTimeout_ = asyncInsertStaleTimeoutBuilder_.build();
}
if (memoryProfilerStepBuilder_ == null) {
result.memoryProfilerStep_ = memoryProfilerStep_;
} else {
result.memoryProfilerStep_ = memoryProfilerStepBuilder_.build();
}
if (memoryProfilerSampleProbabilityBuilder_ == null) {
result.memoryProfilerSampleProbability_ = memoryProfilerSampleProbability_;
} else {
result.memoryProfilerSampleProbability_ = memoryProfilerSampleProbabilityBuilder_.build();
}
if (maxFinalThreadsBuilder_ == null) {
result.maxFinalThreads_ = maxFinalThreads_;
} else {
result.maxFinalThreads_ = maxFinalThreadsBuilder_.build();
}
if (inputFormatParallelParsingBuilder_ == null) {
result.inputFormatParallelParsing_ = inputFormatParallelParsing_;
} else {
result.inputFormatParallelParsing_ = inputFormatParallelParsingBuilder_.build();
}
if (inputFormatImportNestedJsonBuilder_ == null) {
result.inputFormatImportNestedJson_ = inputFormatImportNestedJson_;
} else {
result.inputFormatImportNestedJson_ = inputFormatImportNestedJsonBuilder_.build();
}
result.localFilesystemReadMethod_ = localFilesystemReadMethod_;
if (maxReadBufferSizeBuilder_ == null) {
result.maxReadBufferSize_ = maxReadBufferSize_;
} else {
result.maxReadBufferSize_ = maxReadBufferSizeBuilder_.build();
}
if (compileBuilder_ == null) {
result.compile_ = compile_;
} else {
result.compile_ = compileBuilder_.build();
}
if (minCountToCompileBuilder_ == null) {
result.minCountToCompile_ = minCountToCompile_;
} else {
result.minCountToCompile_ = minCountToCompileBuilder_.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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings) {
return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings other) {
if (other == yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.getDefaultInstance()) return this;
if (other.hasReadonly()) {
mergeReadonly(other.getReadonly());
}
if (other.hasAllowDdl()) {
mergeAllowDdl(other.getAllowDdl());
}
if (other.hasAllowIntrospectionFunctions()) {
mergeAllowIntrospectionFunctions(other.getAllowIntrospectionFunctions());
}
if (other.hasConnectTimeout()) {
mergeConnectTimeout(other.getConnectTimeout());
}
if (other.hasConnectTimeoutWithFailover()) {
mergeConnectTimeoutWithFailover(other.getConnectTimeoutWithFailover());
}
if (other.hasReceiveTimeout()) {
mergeReceiveTimeout(other.getReceiveTimeout());
}
if (other.hasSendTimeout()) {
mergeSendTimeout(other.getSendTimeout());
}
if (other.hasTimeoutBeforeCheckingExecutionSpeed()) {
mergeTimeoutBeforeCheckingExecutionSpeed(other.getTimeoutBeforeCheckingExecutionSpeed());
}
if (other.hasInsertQuorum()) {
mergeInsertQuorum(other.getInsertQuorum());
}
if (other.hasInsertQuorumTimeout()) {
mergeInsertQuorumTimeout(other.getInsertQuorumTimeout());
}
if (other.hasInsertQuorumParallel()) {
mergeInsertQuorumParallel(other.getInsertQuorumParallel());
}
if (other.hasInsertNullAsDefault()) {
mergeInsertNullAsDefault(other.getInsertNullAsDefault());
}
if (other.hasSelectSequentialConsistency()) {
mergeSelectSequentialConsistency(other.getSelectSequentialConsistency());
}
if (other.hasDeduplicateBlocksInDependentMaterializedViews()) {
mergeDeduplicateBlocksInDependentMaterializedViews(other.getDeduplicateBlocksInDependentMaterializedViews());
}
if (other.hasReplicationAlterPartitionsSync()) {
mergeReplicationAlterPartitionsSync(other.getReplicationAlterPartitionsSync());
}
if (other.hasMaxReplicaDelayForDistributedQueries()) {
mergeMaxReplicaDelayForDistributedQueries(other.getMaxReplicaDelayForDistributedQueries());
}
if (other.hasFallbackToStaleReplicasForDistributedQueries()) {
mergeFallbackToStaleReplicasForDistributedQueries(other.getFallbackToStaleReplicasForDistributedQueries());
}
if (other.distributedProductMode_ != 0) {
setDistributedProductModeValue(other.getDistributedProductModeValue());
}
if (other.hasDistributedAggregationMemoryEfficient()) {
mergeDistributedAggregationMemoryEfficient(other.getDistributedAggregationMemoryEfficient());
}
if (other.hasDistributedDdlTaskTimeout()) {
mergeDistributedDdlTaskTimeout(other.getDistributedDdlTaskTimeout());
}
if (other.hasSkipUnavailableShards()) {
mergeSkipUnavailableShards(other.getSkipUnavailableShards());
}
if (other.hasCompileExpressions()) {
mergeCompileExpressions(other.getCompileExpressions());
}
if (other.hasMinCountToCompileExpression()) {
mergeMinCountToCompileExpression(other.getMinCountToCompileExpression());
}
if (other.hasMaxBlockSize()) {
mergeMaxBlockSize(other.getMaxBlockSize());
}
if (other.hasMinInsertBlockSizeRows()) {
mergeMinInsertBlockSizeRows(other.getMinInsertBlockSizeRows());
}
if (other.hasMinInsertBlockSizeBytes()) {
mergeMinInsertBlockSizeBytes(other.getMinInsertBlockSizeBytes());
}
if (other.hasMaxInsertBlockSize()) {
mergeMaxInsertBlockSize(other.getMaxInsertBlockSize());
}
if (other.hasMinBytesToUseDirectIo()) {
mergeMinBytesToUseDirectIo(other.getMinBytesToUseDirectIo());
}
if (other.hasUseUncompressedCache()) {
mergeUseUncompressedCache(other.getUseUncompressedCache());
}
if (other.hasMergeTreeMaxRowsToUseCache()) {
mergeMergeTreeMaxRowsToUseCache(other.getMergeTreeMaxRowsToUseCache());
}
if (other.hasMergeTreeMaxBytesToUseCache()) {
mergeMergeTreeMaxBytesToUseCache(other.getMergeTreeMaxBytesToUseCache());
}
if (other.hasMergeTreeMinRowsForConcurrentRead()) {
mergeMergeTreeMinRowsForConcurrentRead(other.getMergeTreeMinRowsForConcurrentRead());
}
if (other.hasMergeTreeMinBytesForConcurrentRead()) {
mergeMergeTreeMinBytesForConcurrentRead(other.getMergeTreeMinBytesForConcurrentRead());
}
if (other.hasMaxBytesBeforeExternalGroupBy()) {
mergeMaxBytesBeforeExternalGroupBy(other.getMaxBytesBeforeExternalGroupBy());
}
if (other.hasMaxBytesBeforeExternalSort()) {
mergeMaxBytesBeforeExternalSort(other.getMaxBytesBeforeExternalSort());
}
if (other.hasGroupByTwoLevelThreshold()) {
mergeGroupByTwoLevelThreshold(other.getGroupByTwoLevelThreshold());
}
if (other.hasGroupByTwoLevelThresholdBytes()) {
mergeGroupByTwoLevelThresholdBytes(other.getGroupByTwoLevelThresholdBytes());
}
if (other.hasPriority()) {
mergePriority(other.getPriority());
}
if (other.hasMaxThreads()) {
mergeMaxThreads(other.getMaxThreads());
}
if (other.hasMaxMemoryUsage()) {
mergeMaxMemoryUsage(other.getMaxMemoryUsage());
}
if (other.hasMaxMemoryUsageForUser()) {
mergeMaxMemoryUsageForUser(other.getMaxMemoryUsageForUser());
}
if (other.hasMaxNetworkBandwidth()) {
mergeMaxNetworkBandwidth(other.getMaxNetworkBandwidth());
}
if (other.hasMaxNetworkBandwidthForUser()) {
mergeMaxNetworkBandwidthForUser(other.getMaxNetworkBandwidthForUser());
}
if (other.hasMaxPartitionsPerInsertBlock()) {
mergeMaxPartitionsPerInsertBlock(other.getMaxPartitionsPerInsertBlock());
}
if (other.hasMaxConcurrentQueriesForUser()) {
mergeMaxConcurrentQueriesForUser(other.getMaxConcurrentQueriesForUser());
}
if (other.hasForceIndexByDate()) {
mergeForceIndexByDate(other.getForceIndexByDate());
}
if (other.hasForcePrimaryKey()) {
mergeForcePrimaryKey(other.getForcePrimaryKey());
}
if (other.hasMaxRowsToRead()) {
mergeMaxRowsToRead(other.getMaxRowsToRead());
}
if (other.hasMaxBytesToRead()) {
mergeMaxBytesToRead(other.getMaxBytesToRead());
}
if (other.readOverflowMode_ != 0) {
setReadOverflowModeValue(other.getReadOverflowModeValue());
}
if (other.hasMaxRowsToGroupBy()) {
mergeMaxRowsToGroupBy(other.getMaxRowsToGroupBy());
}
if (other.groupByOverflowMode_ != 0) {
setGroupByOverflowModeValue(other.getGroupByOverflowModeValue());
}
if (other.hasMaxRowsToSort()) {
mergeMaxRowsToSort(other.getMaxRowsToSort());
}
if (other.hasMaxBytesToSort()) {
mergeMaxBytesToSort(other.getMaxBytesToSort());
}
if (other.sortOverflowMode_ != 0) {
setSortOverflowModeValue(other.getSortOverflowModeValue());
}
if (other.hasMaxResultRows()) {
mergeMaxResultRows(other.getMaxResultRows());
}
if (other.hasMaxResultBytes()) {
mergeMaxResultBytes(other.getMaxResultBytes());
}
if (other.resultOverflowMode_ != 0) {
setResultOverflowModeValue(other.getResultOverflowModeValue());
}
if (other.hasMaxRowsInDistinct()) {
mergeMaxRowsInDistinct(other.getMaxRowsInDistinct());
}
if (other.hasMaxBytesInDistinct()) {
mergeMaxBytesInDistinct(other.getMaxBytesInDistinct());
}
if (other.distinctOverflowMode_ != 0) {
setDistinctOverflowModeValue(other.getDistinctOverflowModeValue());
}
if (other.hasMaxRowsToTransfer()) {
mergeMaxRowsToTransfer(other.getMaxRowsToTransfer());
}
if (other.hasMaxBytesToTransfer()) {
mergeMaxBytesToTransfer(other.getMaxBytesToTransfer());
}
if (other.transferOverflowMode_ != 0) {
setTransferOverflowModeValue(other.getTransferOverflowModeValue());
}
if (other.hasMaxExecutionTime()) {
mergeMaxExecutionTime(other.getMaxExecutionTime());
}
if (other.timeoutOverflowMode_ != 0) {
setTimeoutOverflowModeValue(other.getTimeoutOverflowModeValue());
}
if (other.hasMaxRowsInSet()) {
mergeMaxRowsInSet(other.getMaxRowsInSet());
}
if (other.hasMaxBytesInSet()) {
mergeMaxBytesInSet(other.getMaxBytesInSet());
}
if (other.setOverflowMode_ != 0) {
setSetOverflowModeValue(other.getSetOverflowModeValue());
}
if (other.hasMaxRowsInJoin()) {
mergeMaxRowsInJoin(other.getMaxRowsInJoin());
}
if (other.hasMaxBytesInJoin()) {
mergeMaxBytesInJoin(other.getMaxBytesInJoin());
}
if (other.joinOverflowMode_ != 0) {
setJoinOverflowModeValue(other.getJoinOverflowModeValue());
}
if (!other.joinAlgorithm_.isEmpty()) {
if (joinAlgorithm_.isEmpty()) {
joinAlgorithm_ = other.joinAlgorithm_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureJoinAlgorithmIsMutable();
joinAlgorithm_.addAll(other.joinAlgorithm_);
}
onChanged();
}
if (other.hasAnyJoinDistinctRightTableKeys()) {
mergeAnyJoinDistinctRightTableKeys(other.getAnyJoinDistinctRightTableKeys());
}
if (other.hasMaxColumnsToRead()) {
mergeMaxColumnsToRead(other.getMaxColumnsToRead());
}
if (other.hasMaxTemporaryColumns()) {
mergeMaxTemporaryColumns(other.getMaxTemporaryColumns());
}
if (other.hasMaxTemporaryNonConstColumns()) {
mergeMaxTemporaryNonConstColumns(other.getMaxTemporaryNonConstColumns());
}
if (other.hasMaxQuerySize()) {
mergeMaxQuerySize(other.getMaxQuerySize());
}
if (other.hasMaxAstDepth()) {
mergeMaxAstDepth(other.getMaxAstDepth());
}
if (other.hasMaxAstElements()) {
mergeMaxAstElements(other.getMaxAstElements());
}
if (other.hasMaxExpandedAstElements()) {
mergeMaxExpandedAstElements(other.getMaxExpandedAstElements());
}
if (other.hasMinExecutionSpeed()) {
mergeMinExecutionSpeed(other.getMinExecutionSpeed());
}
if (other.hasMinExecutionSpeedBytes()) {
mergeMinExecutionSpeedBytes(other.getMinExecutionSpeedBytes());
}
if (other.countDistinctImplementation_ != 0) {
setCountDistinctImplementationValue(other.getCountDistinctImplementationValue());
}
if (other.hasInputFormatValuesInterpretExpressions()) {
mergeInputFormatValuesInterpretExpressions(other.getInputFormatValuesInterpretExpressions());
}
if (other.hasInputFormatDefaultsForOmittedFields()) {
mergeInputFormatDefaultsForOmittedFields(other.getInputFormatDefaultsForOmittedFields());
}
if (other.hasInputFormatNullAsDefault()) {
mergeInputFormatNullAsDefault(other.getInputFormatNullAsDefault());
}
if (other.dateTimeInputFormat_ != 0) {
setDateTimeInputFormatValue(other.getDateTimeInputFormatValue());
}
if (other.hasInputFormatWithNamesUseHeader()) {
mergeInputFormatWithNamesUseHeader(other.getInputFormatWithNamesUseHeader());
}
if (other.hasOutputFormatJsonQuote64BitIntegers()) {
mergeOutputFormatJsonQuote64BitIntegers(other.getOutputFormatJsonQuote64BitIntegers());
}
if (other.hasOutputFormatJsonQuoteDenormals()) {
mergeOutputFormatJsonQuoteDenormals(other.getOutputFormatJsonQuoteDenormals());
}
if (other.dateTimeOutputFormat_ != 0) {
setDateTimeOutputFormatValue(other.getDateTimeOutputFormatValue());
}
if (other.hasLowCardinalityAllowInNativeFormat()) {
mergeLowCardinalityAllowInNativeFormat(other.getLowCardinalityAllowInNativeFormat());
}
if (other.hasAllowSuspiciousLowCardinalityTypes()) {
mergeAllowSuspiciousLowCardinalityTypes(other.getAllowSuspiciousLowCardinalityTypes());
}
if (other.hasEmptyResultForAggregationByEmptySet()) {
mergeEmptyResultForAggregationByEmptySet(other.getEmptyResultForAggregationByEmptySet());
}
if (other.hasHttpConnectionTimeout()) {
mergeHttpConnectionTimeout(other.getHttpConnectionTimeout());
}
if (other.hasHttpReceiveTimeout()) {
mergeHttpReceiveTimeout(other.getHttpReceiveTimeout());
}
if (other.hasHttpSendTimeout()) {
mergeHttpSendTimeout(other.getHttpSendTimeout());
}
if (other.hasEnableHttpCompression()) {
mergeEnableHttpCompression(other.getEnableHttpCompression());
}
if (other.hasSendProgressInHttpHeaders()) {
mergeSendProgressInHttpHeaders(other.getSendProgressInHttpHeaders());
}
if (other.hasHttpHeadersProgressInterval()) {
mergeHttpHeadersProgressInterval(other.getHttpHeadersProgressInterval());
}
if (other.hasAddHttpCorsHeader()) {
mergeAddHttpCorsHeader(other.getAddHttpCorsHeader());
}
if (other.hasCancelHttpReadonlyQueriesOnClientClose()) {
mergeCancelHttpReadonlyQueriesOnClientClose(other.getCancelHttpReadonlyQueriesOnClientClose());
}
if (other.hasMaxHttpGetRedirects()) {
mergeMaxHttpGetRedirects(other.getMaxHttpGetRedirects());
}
if (other.hasJoinedSubqueryRequiresAlias()) {
mergeJoinedSubqueryRequiresAlias(other.getJoinedSubqueryRequiresAlias());
}
if (other.hasJoinUseNulls()) {
mergeJoinUseNulls(other.getJoinUseNulls());
}
if (other.hasTransformNullIn()) {
mergeTransformNullIn(other.getTransformNullIn());
}
if (other.quotaMode_ != 0) {
setQuotaModeValue(other.getQuotaModeValue());
}
if (other.hasFlattenNested()) {
mergeFlattenNested(other.getFlattenNested());
}
if (!other.getFormatRegexp().isEmpty()) {
formatRegexp_ = other.formatRegexp_;
onChanged();
}
if (other.formatRegexpEscapingRule_ != 0) {
setFormatRegexpEscapingRuleValue(other.getFormatRegexpEscapingRuleValue());
}
if (other.hasFormatRegexpSkipUnmatched()) {
mergeFormatRegexpSkipUnmatched(other.getFormatRegexpSkipUnmatched());
}
if (other.hasAsyncInsert()) {
mergeAsyncInsert(other.getAsyncInsert());
}
if (other.hasAsyncInsertThreads()) {
mergeAsyncInsertThreads(other.getAsyncInsertThreads());
}
if (other.hasWaitForAsyncInsert()) {
mergeWaitForAsyncInsert(other.getWaitForAsyncInsert());
}
if (other.hasWaitForAsyncInsertTimeout()) {
mergeWaitForAsyncInsertTimeout(other.getWaitForAsyncInsertTimeout());
}
if (other.hasAsyncInsertMaxDataSize()) {
mergeAsyncInsertMaxDataSize(other.getAsyncInsertMaxDataSize());
}
if (other.hasAsyncInsertBusyTimeout()) {
mergeAsyncInsertBusyTimeout(other.getAsyncInsertBusyTimeout());
}
if (other.hasAsyncInsertStaleTimeout()) {
mergeAsyncInsertStaleTimeout(other.getAsyncInsertStaleTimeout());
}
if (other.hasMemoryProfilerStep()) {
mergeMemoryProfilerStep(other.getMemoryProfilerStep());
}
if (other.hasMemoryProfilerSampleProbability()) {
mergeMemoryProfilerSampleProbability(other.getMemoryProfilerSampleProbability());
}
if (other.hasMaxFinalThreads()) {
mergeMaxFinalThreads(other.getMaxFinalThreads());
}
if (other.hasInputFormatParallelParsing()) {
mergeInputFormatParallelParsing(other.getInputFormatParallelParsing());
}
if (other.hasInputFormatImportNestedJson()) {
mergeInputFormatImportNestedJson(other.getInputFormatImportNestedJson());
}
if (other.localFilesystemReadMethod_ != 0) {
setLocalFilesystemReadMethodValue(other.getLocalFilesystemReadMethodValue());
}
if (other.hasMaxReadBufferSize()) {
mergeMaxReadBufferSize(other.getMaxReadBufferSize());
}
if (other.hasCompile()) {
mergeCompile(other.getCompile());
}
if (other.hasMinCountToCompile()) {
mergeMinCountToCompile(other.getMinCountToCompile());
}
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 {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.Int64Value readonly_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> readonlyBuilder_;
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return Whether the readonly field is set.
*/
public boolean hasReadonly() {
return readonlyBuilder_ != null || readonly_ != null;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
* @return The readonly.
*/
public com.google.protobuf.Int64Value getReadonly() {
if (readonlyBuilder_ == null) {
return readonly_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : readonly_;
} else {
return readonlyBuilder_.getMessage();
}
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public Builder setReadonly(com.google.protobuf.Int64Value value) {
if (readonlyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
readonly_ = value;
onChanged();
} else {
readonlyBuilder_.setMessage(value);
}
return this;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public Builder setReadonly(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (readonlyBuilder_ == null) {
readonly_ = builderForValue.build();
onChanged();
} else {
readonlyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public Builder mergeReadonly(com.google.protobuf.Int64Value value) {
if (readonlyBuilder_ == null) {
if (readonly_ != null) {
readonly_ =
com.google.protobuf.Int64Value.newBuilder(readonly_).mergeFrom(value).buildPartial();
} else {
readonly_ = value;
}
onChanged();
} else {
readonlyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public Builder clearReadonly() {
if (readonlyBuilder_ == null) {
readonly_ = null;
onChanged();
} else {
readonly_ = null;
readonlyBuilder_ = null;
}
return this;
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public com.google.protobuf.Int64Value.Builder getReadonlyBuilder() {
onChanged();
return getReadonlyFieldBuilder().getBuilder();
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
public com.google.protobuf.Int64ValueOrBuilder getReadonlyOrBuilder() {
if (readonlyBuilder_ != null) {
return readonlyBuilder_.getMessageOrBuilder();
} else {
return readonly_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : readonly_;
}
}
/**
*
* Restricts permissions for non-DDL queries. To restrict permissions for DDL queries, use [allow_ddl] instead.
* * **0** (default)-no restrictions.
* * **1**-only read data queries are allowed.
* * **2**-read data and change settings queries are allowed.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_readonly).
*
*
* .google.protobuf.Int64Value readonly = 1 [(.yandex.cloud.value) = "0-2"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getReadonlyFieldBuilder() {
if (readonlyBuilder_ == null) {
readonlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getReadonly(),
getParentForChildren(),
isClean());
readonly_ = null;
}
return readonlyBuilder_;
}
private com.google.protobuf.BoolValue allowDdl_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowDdlBuilder_;
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return Whether the allowDdl field is set.
*/
public boolean hasAllowDdl() {
return allowDdlBuilder_ != null || allowDdl_ != null;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
* @return The allowDdl.
*/
public com.google.protobuf.BoolValue getAllowDdl() {
if (allowDdlBuilder_ == null) {
return allowDdl_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowDdl_;
} else {
return allowDdlBuilder_.getMessage();
}
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public Builder setAllowDdl(com.google.protobuf.BoolValue value) {
if (allowDdlBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowDdl_ = value;
onChanged();
} else {
allowDdlBuilder_.setMessage(value);
}
return this;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public Builder setAllowDdl(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (allowDdlBuilder_ == null) {
allowDdl_ = builderForValue.build();
onChanged();
} else {
allowDdlBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public Builder mergeAllowDdl(com.google.protobuf.BoolValue value) {
if (allowDdlBuilder_ == null) {
if (allowDdl_ != null) {
allowDdl_ =
com.google.protobuf.BoolValue.newBuilder(allowDdl_).mergeFrom(value).buildPartial();
} else {
allowDdl_ = value;
}
onChanged();
} else {
allowDdlBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public Builder clearAllowDdl() {
if (allowDdlBuilder_ == null) {
allowDdl_ = null;
onChanged();
} else {
allowDdl_ = null;
allowDdlBuilder_ = null;
}
return this;
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public com.google.protobuf.BoolValue.Builder getAllowDdlBuilder() {
onChanged();
return getAllowDdlFieldBuilder().getBuilder();
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
public com.google.protobuf.BoolValueOrBuilder getAllowDdlOrBuilder() {
if (allowDdlBuilder_ != null) {
return allowDdlBuilder_.getMessageOrBuilder();
} else {
return allowDdl_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : allowDdl_;
}
}
/**
*
* Determines whether DDL queries are allowed (e.g., **CREATE**, **ALTER**, **RENAME**, etc).
* Default value: **true**.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/permissions-for-queries/#settings_allow_ddl).
*
*
* .google.protobuf.BoolValue allow_ddl = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAllowDdlFieldBuilder() {
if (allowDdlBuilder_ == null) {
allowDdlBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAllowDdl(),
getParentForChildren(),
isClean());
allowDdl_ = null;
}
return allowDdlBuilder_;
}
private com.google.protobuf.BoolValue allowIntrospectionFunctions_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowIntrospectionFunctionsBuilder_;
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return Whether the allowIntrospectionFunctions field is set.
*/
public boolean hasAllowIntrospectionFunctions() {
return allowIntrospectionFunctionsBuilder_ != null || allowIntrospectionFunctions_ != null;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
* @return The allowIntrospectionFunctions.
*/
public com.google.protobuf.BoolValue getAllowIntrospectionFunctions() {
if (allowIntrospectionFunctionsBuilder_ == null) {
return allowIntrospectionFunctions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowIntrospectionFunctions_;
} else {
return allowIntrospectionFunctionsBuilder_.getMessage();
}
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public Builder setAllowIntrospectionFunctions(com.google.protobuf.BoolValue value) {
if (allowIntrospectionFunctionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowIntrospectionFunctions_ = value;
onChanged();
} else {
allowIntrospectionFunctionsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public Builder setAllowIntrospectionFunctions(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (allowIntrospectionFunctionsBuilder_ == null) {
allowIntrospectionFunctions_ = builderForValue.build();
onChanged();
} else {
allowIntrospectionFunctionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public Builder mergeAllowIntrospectionFunctions(com.google.protobuf.BoolValue value) {
if (allowIntrospectionFunctionsBuilder_ == null) {
if (allowIntrospectionFunctions_ != null) {
allowIntrospectionFunctions_ =
com.google.protobuf.BoolValue.newBuilder(allowIntrospectionFunctions_).mergeFrom(value).buildPartial();
} else {
allowIntrospectionFunctions_ = value;
}
onChanged();
} else {
allowIntrospectionFunctionsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public Builder clearAllowIntrospectionFunctions() {
if (allowIntrospectionFunctionsBuilder_ == null) {
allowIntrospectionFunctions_ = null;
onChanged();
} else {
allowIntrospectionFunctions_ = null;
allowIntrospectionFunctionsBuilder_ = null;
}
return this;
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public com.google.protobuf.BoolValue.Builder getAllowIntrospectionFunctionsBuilder() {
onChanged();
return getAllowIntrospectionFunctionsFieldBuilder().getBuilder();
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
public com.google.protobuf.BoolValueOrBuilder getAllowIntrospectionFunctionsOrBuilder() {
if (allowIntrospectionFunctionsBuilder_ != null) {
return allowIntrospectionFunctionsBuilder_.getMessageOrBuilder();
} else {
return allowIntrospectionFunctions_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : allowIntrospectionFunctions_;
}
}
/**
*
* Enables [introspections functions](https://clickhouse.com/docs/en/sql-reference/functions/introspection) for query profiling.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-allow_introspection_functions).
*
*
* .google.protobuf.BoolValue allow_introspection_functions = 96;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAllowIntrospectionFunctionsFieldBuilder() {
if (allowIntrospectionFunctionsBuilder_ == null) {
allowIntrospectionFunctionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAllowIntrospectionFunctions(),
getParentForChildren(),
isClean());
allowIntrospectionFunctions_ = null;
}
return allowIntrospectionFunctionsBuilder_;
}
private com.google.protobuf.Int64Value connectTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> connectTimeoutBuilder_;
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeout field is set.
*/
public boolean hasConnectTimeout() {
return connectTimeoutBuilder_ != null || connectTimeout_ != null;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeout.
*/
public com.google.protobuf.Int64Value getConnectTimeout() {
if (connectTimeoutBuilder_ == null) {
return connectTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeout_;
} else {
return connectTimeoutBuilder_.getMessage();
}
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public Builder setConnectTimeout(com.google.protobuf.Int64Value value) {
if (connectTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectTimeout_ = value;
onChanged();
} else {
connectTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public Builder setConnectTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (connectTimeoutBuilder_ == null) {
connectTimeout_ = builderForValue.build();
onChanged();
} else {
connectTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeConnectTimeout(com.google.protobuf.Int64Value value) {
if (connectTimeoutBuilder_ == null) {
if (connectTimeout_ != null) {
connectTimeout_ =
com.google.protobuf.Int64Value.newBuilder(connectTimeout_).mergeFrom(value).buildPartial();
} else {
connectTimeout_ = value;
}
onChanged();
} else {
connectTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearConnectTimeout() {
if (connectTimeoutBuilder_ == null) {
connectTimeout_ = null;
onChanged();
} else {
connectTimeout_ = null;
connectTimeoutBuilder_ = null;
}
return this;
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getConnectTimeoutBuilder() {
onChanged();
return getConnectTimeoutFieldBuilder().getBuilder();
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutOrBuilder() {
if (connectTimeoutBuilder_ != null) {
return connectTimeoutBuilder_.getMessageOrBuilder();
} else {
return connectTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeout_;
}
}
/**
*
* Connection timeout in milliseconds.
* Value must be greater than **0** (default: **10000**, 10 seconds).
*
*
* .google.protobuf.Int64Value connect_timeout = 39 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getConnectTimeoutFieldBuilder() {
if (connectTimeoutBuilder_ == null) {
connectTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getConnectTimeout(),
getParentForChildren(),
isClean());
connectTimeout_ = null;
}
return connectTimeoutBuilder_;
}
private com.google.protobuf.Int64Value connectTimeoutWithFailover_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> connectTimeoutWithFailoverBuilder_;
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return Whether the connectTimeoutWithFailover field is set.
*/
public boolean hasConnectTimeoutWithFailover() {
return connectTimeoutWithFailoverBuilder_ != null || connectTimeoutWithFailover_ != null;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
* @return The connectTimeoutWithFailover.
*/
public com.google.protobuf.Int64Value getConnectTimeoutWithFailover() {
if (connectTimeoutWithFailoverBuilder_ == null) {
return connectTimeoutWithFailover_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeoutWithFailover_;
} else {
return connectTimeoutWithFailoverBuilder_.getMessage();
}
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public Builder setConnectTimeoutWithFailover(com.google.protobuf.Int64Value value) {
if (connectTimeoutWithFailoverBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
connectTimeoutWithFailover_ = value;
onChanged();
} else {
connectTimeoutWithFailoverBuilder_.setMessage(value);
}
return this;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public Builder setConnectTimeoutWithFailover(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (connectTimeoutWithFailoverBuilder_ == null) {
connectTimeoutWithFailover_ = builderForValue.build();
onChanged();
} else {
connectTimeoutWithFailoverBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeConnectTimeoutWithFailover(com.google.protobuf.Int64Value value) {
if (connectTimeoutWithFailoverBuilder_ == null) {
if (connectTimeoutWithFailover_ != null) {
connectTimeoutWithFailover_ =
com.google.protobuf.Int64Value.newBuilder(connectTimeoutWithFailover_).mergeFrom(value).buildPartial();
} else {
connectTimeoutWithFailover_ = value;
}
onChanged();
} else {
connectTimeoutWithFailoverBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearConnectTimeoutWithFailover() {
if (connectTimeoutWithFailoverBuilder_ == null) {
connectTimeoutWithFailover_ = null;
onChanged();
} else {
connectTimeoutWithFailover_ = null;
connectTimeoutWithFailoverBuilder_ = null;
}
return this;
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getConnectTimeoutWithFailoverBuilder() {
onChanged();
return getConnectTimeoutWithFailoverFieldBuilder().getBuilder();
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getConnectTimeoutWithFailoverOrBuilder() {
if (connectTimeoutWithFailoverBuilder_ != null) {
return connectTimeoutWithFailoverBuilder_.getMessageOrBuilder();
} else {
return connectTimeoutWithFailover_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : connectTimeoutWithFailover_;
}
}
/**
*
* The timeout in milliseconds for connecting to a remote server for a Distributed table engine. Applies only if the cluster uses sharding and replication. If unsuccessful, several attempts are made to connect to various replicas.
* Default value: **50**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#connect-timeout-with-failover-ms).
*
*
* .google.protobuf.Int64Value connect_timeout_with_failover = 97 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getConnectTimeoutWithFailoverFieldBuilder() {
if (connectTimeoutWithFailoverBuilder_ == null) {
connectTimeoutWithFailoverBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getConnectTimeoutWithFailover(),
getParentForChildren(),
isClean());
connectTimeoutWithFailover_ = null;
}
return connectTimeoutWithFailoverBuilder_;
}
private com.google.protobuf.Int64Value receiveTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> receiveTimeoutBuilder_;
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return Whether the receiveTimeout field is set.
*/
public boolean hasReceiveTimeout() {
return receiveTimeoutBuilder_ != null || receiveTimeout_ != null;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
* @return The receiveTimeout.
*/
public com.google.protobuf.Int64Value getReceiveTimeout() {
if (receiveTimeoutBuilder_ == null) {
return receiveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : receiveTimeout_;
} else {
return receiveTimeoutBuilder_.getMessage();
}
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public Builder setReceiveTimeout(com.google.protobuf.Int64Value value) {
if (receiveTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
receiveTimeout_ = value;
onChanged();
} else {
receiveTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public Builder setReceiveTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (receiveTimeoutBuilder_ == null) {
receiveTimeout_ = builderForValue.build();
onChanged();
} else {
receiveTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeReceiveTimeout(com.google.protobuf.Int64Value value) {
if (receiveTimeoutBuilder_ == null) {
if (receiveTimeout_ != null) {
receiveTimeout_ =
com.google.protobuf.Int64Value.newBuilder(receiveTimeout_).mergeFrom(value).buildPartial();
} else {
receiveTimeout_ = value;
}
onChanged();
} else {
receiveTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearReceiveTimeout() {
if (receiveTimeoutBuilder_ == null) {
receiveTimeout_ = null;
onChanged();
} else {
receiveTimeout_ = null;
receiveTimeoutBuilder_ = null;
}
return this;
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getReceiveTimeoutBuilder() {
onChanged();
return getReceiveTimeoutFieldBuilder().getBuilder();
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getReceiveTimeoutOrBuilder() {
if (receiveTimeoutBuilder_ != null) {
return receiveTimeoutBuilder_.getMessageOrBuilder();
} else {
return receiveTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : receiveTimeout_;
}
}
/**
*
* Receive timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value receive_timeout = 40 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getReceiveTimeoutFieldBuilder() {
if (receiveTimeoutBuilder_ == null) {
receiveTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getReceiveTimeout(),
getParentForChildren(),
isClean());
receiveTimeout_ = null;
}
return receiveTimeoutBuilder_;
}
private com.google.protobuf.Int64Value sendTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> sendTimeoutBuilder_;
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return Whether the sendTimeout field is set.
*/
public boolean hasSendTimeout() {
return sendTimeoutBuilder_ != null || sendTimeout_ != null;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
* @return The sendTimeout.
*/
public com.google.protobuf.Int64Value getSendTimeout() {
if (sendTimeoutBuilder_ == null) {
return sendTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : sendTimeout_;
} else {
return sendTimeoutBuilder_.getMessage();
}
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public Builder setSendTimeout(com.google.protobuf.Int64Value value) {
if (sendTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sendTimeout_ = value;
onChanged();
} else {
sendTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public Builder setSendTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (sendTimeoutBuilder_ == null) {
sendTimeout_ = builderForValue.build();
onChanged();
} else {
sendTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeSendTimeout(com.google.protobuf.Int64Value value) {
if (sendTimeoutBuilder_ == null) {
if (sendTimeout_ != null) {
sendTimeout_ =
com.google.protobuf.Int64Value.newBuilder(sendTimeout_).mergeFrom(value).buildPartial();
} else {
sendTimeout_ = value;
}
onChanged();
} else {
sendTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearSendTimeout() {
if (sendTimeoutBuilder_ == null) {
sendTimeout_ = null;
onChanged();
} else {
sendTimeout_ = null;
sendTimeoutBuilder_ = null;
}
return this;
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getSendTimeoutBuilder() {
onChanged();
return getSendTimeoutFieldBuilder().getBuilder();
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getSendTimeoutOrBuilder() {
if (sendTimeoutBuilder_ != null) {
return sendTimeoutBuilder_.getMessageOrBuilder();
} else {
return sendTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : sendTimeout_;
}
}
/**
*
* Send timeout in milliseconds.
* Value must be greater than **0** (default: **300000**, 300 seconds or 5 minutes).
*
*
* .google.protobuf.Int64Value send_timeout = 41 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getSendTimeoutFieldBuilder() {
if (sendTimeoutBuilder_ == null) {
sendTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getSendTimeout(),
getParentForChildren(),
isClean());
sendTimeout_ = null;
}
return sendTimeoutBuilder_;
}
private com.google.protobuf.Int64Value timeoutBeforeCheckingExecutionSpeed_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> timeoutBeforeCheckingExecutionSpeedBuilder_;
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return Whether the timeoutBeforeCheckingExecutionSpeed field is set.
*/
public boolean hasTimeoutBeforeCheckingExecutionSpeed() {
return timeoutBeforeCheckingExecutionSpeedBuilder_ != null || timeoutBeforeCheckingExecutionSpeed_ != null;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
* @return The timeoutBeforeCheckingExecutionSpeed.
*/
public com.google.protobuf.Int64Value getTimeoutBeforeCheckingExecutionSpeed() {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
return timeoutBeforeCheckingExecutionSpeed_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : timeoutBeforeCheckingExecutionSpeed_;
} else {
return timeoutBeforeCheckingExecutionSpeedBuilder_.getMessage();
}
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public Builder setTimeoutBeforeCheckingExecutionSpeed(com.google.protobuf.Int64Value value) {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeoutBeforeCheckingExecutionSpeed_ = value;
onChanged();
} else {
timeoutBeforeCheckingExecutionSpeedBuilder_.setMessage(value);
}
return this;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public Builder setTimeoutBeforeCheckingExecutionSpeed(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
timeoutBeforeCheckingExecutionSpeed_ = builderForValue.build();
onChanged();
} else {
timeoutBeforeCheckingExecutionSpeedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public Builder mergeTimeoutBeforeCheckingExecutionSpeed(com.google.protobuf.Int64Value value) {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
if (timeoutBeforeCheckingExecutionSpeed_ != null) {
timeoutBeforeCheckingExecutionSpeed_ =
com.google.protobuf.Int64Value.newBuilder(timeoutBeforeCheckingExecutionSpeed_).mergeFrom(value).buildPartial();
} else {
timeoutBeforeCheckingExecutionSpeed_ = value;
}
onChanged();
} else {
timeoutBeforeCheckingExecutionSpeedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public Builder clearTimeoutBeforeCheckingExecutionSpeed() {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
timeoutBeforeCheckingExecutionSpeed_ = null;
onChanged();
} else {
timeoutBeforeCheckingExecutionSpeed_ = null;
timeoutBeforeCheckingExecutionSpeedBuilder_ = null;
}
return this;
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public com.google.protobuf.Int64Value.Builder getTimeoutBeforeCheckingExecutionSpeedBuilder() {
onChanged();
return getTimeoutBeforeCheckingExecutionSpeedFieldBuilder().getBuilder();
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
public com.google.protobuf.Int64ValueOrBuilder getTimeoutBeforeCheckingExecutionSpeedOrBuilder() {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ != null) {
return timeoutBeforeCheckingExecutionSpeedBuilder_.getMessageOrBuilder();
} else {
return timeoutBeforeCheckingExecutionSpeed_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : timeoutBeforeCheckingExecutionSpeed_;
}
}
/**
*
* Timeout (in seconds) between checks of execution speed. It is checked that execution speed is not less that specified in [min_execution_speed] parameter.
* Default value: **10**.
*
*
* .google.protobuf.Int64Value timeout_before_checking_execution_speed = 98;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getTimeoutBeforeCheckingExecutionSpeedFieldBuilder() {
if (timeoutBeforeCheckingExecutionSpeedBuilder_ == null) {
timeoutBeforeCheckingExecutionSpeedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getTimeoutBeforeCheckingExecutionSpeed(),
getParentForChildren(),
isClean());
timeoutBeforeCheckingExecutionSpeed_ = null;
}
return timeoutBeforeCheckingExecutionSpeedBuilder_;
}
private com.google.protobuf.Int64Value insertQuorum_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> insertQuorumBuilder_;
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the insertQuorum field is set.
*/
public boolean hasInsertQuorum() {
return insertQuorumBuilder_ != null || insertQuorum_ != null;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
* @return The insertQuorum.
*/
public com.google.protobuf.Int64Value getInsertQuorum() {
if (insertQuorumBuilder_ == null) {
return insertQuorum_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorum_;
} else {
return insertQuorumBuilder_.getMessage();
}
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setInsertQuorum(com.google.protobuf.Int64Value value) {
if (insertQuorumBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
insertQuorum_ = value;
onChanged();
} else {
insertQuorumBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setInsertQuorum(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (insertQuorumBuilder_ == null) {
insertQuorum_ = builderForValue.build();
onChanged();
} else {
insertQuorumBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeInsertQuorum(com.google.protobuf.Int64Value value) {
if (insertQuorumBuilder_ == null) {
if (insertQuorum_ != null) {
insertQuorum_ =
com.google.protobuf.Int64Value.newBuilder(insertQuorum_).mergeFrom(value).buildPartial();
} else {
insertQuorum_ = value;
}
onChanged();
} else {
insertQuorumBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearInsertQuorum() {
if (insertQuorumBuilder_ == null) {
insertQuorum_ = null;
onChanged();
} else {
insertQuorum_ = null;
insertQuorumBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getInsertQuorumBuilder() {
onChanged();
return getInsertQuorumFieldBuilder().getBuilder();
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getInsertQuorumOrBuilder() {
if (insertQuorumBuilder_ != null) {
return insertQuorumBuilder_.getMessageOrBuilder();
} else {
return insertQuorum_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorum_;
}
}
/**
*
* Enables or disables write quorum for ClickHouse cluster.
* If the value is less than **2**, then write quorum is disabled, otherwise it is enabled.
* When used, write quorum guarantees that ClickHouse has written data to the quorum of **insert_quorum** replicas with no errors until the [insert_quorum_timeout] expires.
* All replicas in the quorum are in the consistent state, meaning that they contain linearized data from the previous **INSERT** queries.
* Employ write quorum, if you need the guarantees that the written data would not be lost in case of one or more replicas failure.
* You can use [select_sequential_consistency] setting to read the data written with write quorum.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum).
*
*
* .google.protobuf.Int64Value insert_quorum = 3 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getInsertQuorumFieldBuilder() {
if (insertQuorumBuilder_ == null) {
insertQuorumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getInsertQuorum(),
getParentForChildren(),
isClean());
insertQuorum_ = null;
}
return insertQuorumBuilder_;
}
private com.google.protobuf.Int64Value insertQuorumTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> insertQuorumTimeoutBuilder_;
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the insertQuorumTimeout field is set.
*/
public boolean hasInsertQuorumTimeout() {
return insertQuorumTimeoutBuilder_ != null || insertQuorumTimeout_ != null;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
* @return The insertQuorumTimeout.
*/
public com.google.protobuf.Int64Value getInsertQuorumTimeout() {
if (insertQuorumTimeoutBuilder_ == null) {
return insertQuorumTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorumTimeout_;
} else {
return insertQuorumTimeoutBuilder_.getMessage();
}
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setInsertQuorumTimeout(com.google.protobuf.Int64Value value) {
if (insertQuorumTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
insertQuorumTimeout_ = value;
onChanged();
} else {
insertQuorumTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setInsertQuorumTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (insertQuorumTimeoutBuilder_ == null) {
insertQuorumTimeout_ = builderForValue.build();
onChanged();
} else {
insertQuorumTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder mergeInsertQuorumTimeout(com.google.protobuf.Int64Value value) {
if (insertQuorumTimeoutBuilder_ == null) {
if (insertQuorumTimeout_ != null) {
insertQuorumTimeout_ =
com.google.protobuf.Int64Value.newBuilder(insertQuorumTimeout_).mergeFrom(value).buildPartial();
} else {
insertQuorumTimeout_ = value;
}
onChanged();
} else {
insertQuorumTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder clearInsertQuorumTimeout() {
if (insertQuorumTimeoutBuilder_ == null) {
insertQuorumTimeout_ = null;
onChanged();
} else {
insertQuorumTimeout_ = null;
insertQuorumTimeoutBuilder_ = null;
}
return this;
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64Value.Builder getInsertQuorumTimeoutBuilder() {
onChanged();
return getInsertQuorumTimeoutFieldBuilder().getBuilder();
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64ValueOrBuilder getInsertQuorumTimeoutOrBuilder() {
if (insertQuorumTimeoutBuilder_ != null) {
return insertQuorumTimeoutBuilder_.getMessageOrBuilder();
} else {
return insertQuorumTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : insertQuorumTimeout_;
}
}
/**
*
* Quorum write timeout in milliseconds.
* If the write quorum is enabled in the cluster, this timeout expires and some data is not written to the [insert_quorum] replicas, then ClickHouse will abort the execution of **INSERT** query and return an error.
* In this case, the client must send the query again to write the data block into the same or another replica.
* Minimum value: **1000**, 1 second (default: **60000**, 1 minute).
*
*
* .google.protobuf.Int64Value insert_quorum_timeout = 4 [(.yandex.cloud.value) = ">=1000"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getInsertQuorumTimeoutFieldBuilder() {
if (insertQuorumTimeoutBuilder_ == null) {
insertQuorumTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getInsertQuorumTimeout(),
getParentForChildren(),
isClean());
insertQuorumTimeout_ = null;
}
return insertQuorumTimeoutBuilder_;
}
private com.google.protobuf.BoolValue insertQuorumParallel_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> insertQuorumParallelBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return Whether the insertQuorumParallel field is set.
*/
public boolean hasInsertQuorumParallel() {
return insertQuorumParallelBuilder_ != null || insertQuorumParallel_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
* @return The insertQuorumParallel.
*/
public com.google.protobuf.BoolValue getInsertQuorumParallel() {
if (insertQuorumParallelBuilder_ == null) {
return insertQuorumParallel_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : insertQuorumParallel_;
} else {
return insertQuorumParallelBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public Builder setInsertQuorumParallel(com.google.protobuf.BoolValue value) {
if (insertQuorumParallelBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
insertQuorumParallel_ = value;
onChanged();
} else {
insertQuorumParallelBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public Builder setInsertQuorumParallel(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (insertQuorumParallelBuilder_ == null) {
insertQuorumParallel_ = builderForValue.build();
onChanged();
} else {
insertQuorumParallelBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public Builder mergeInsertQuorumParallel(com.google.protobuf.BoolValue value) {
if (insertQuorumParallelBuilder_ == null) {
if (insertQuorumParallel_ != null) {
insertQuorumParallel_ =
com.google.protobuf.BoolValue.newBuilder(insertQuorumParallel_).mergeFrom(value).buildPartial();
} else {
insertQuorumParallel_ = value;
}
onChanged();
} else {
insertQuorumParallelBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public Builder clearInsertQuorumParallel() {
if (insertQuorumParallelBuilder_ == null) {
insertQuorumParallel_ = null;
onChanged();
} else {
insertQuorumParallel_ = null;
insertQuorumParallelBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public com.google.protobuf.BoolValue.Builder getInsertQuorumParallelBuilder() {
onChanged();
return getInsertQuorumParallelFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
public com.google.protobuf.BoolValueOrBuilder getInsertQuorumParallelOrBuilder() {
if (insertQuorumParallelBuilder_ != null) {
return insertQuorumParallelBuilder_.getMessageOrBuilder();
} else {
return insertQuorumParallel_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : insertQuorumParallel_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-insert_quorum_parallel).
*
*
* .google.protobuf.BoolValue insert_quorum_parallel = 99;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInsertQuorumParallelFieldBuilder() {
if (insertQuorumParallelBuilder_ == null) {
insertQuorumParallelBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInsertQuorumParallel(),
getParentForChildren(),
isClean());
insertQuorumParallel_ = null;
}
return insertQuorumParallelBuilder_;
}
private com.google.protobuf.BoolValue insertNullAsDefault_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> insertNullAsDefaultBuilder_;
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return Whether the insertNullAsDefault field is set.
*/
public boolean hasInsertNullAsDefault() {
return insertNullAsDefaultBuilder_ != null || insertNullAsDefault_ != null;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
* @return The insertNullAsDefault.
*/
public com.google.protobuf.BoolValue getInsertNullAsDefault() {
if (insertNullAsDefaultBuilder_ == null) {
return insertNullAsDefault_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : insertNullAsDefault_;
} else {
return insertNullAsDefaultBuilder_.getMessage();
}
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public Builder setInsertNullAsDefault(com.google.protobuf.BoolValue value) {
if (insertNullAsDefaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
insertNullAsDefault_ = value;
onChanged();
} else {
insertNullAsDefaultBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public Builder setInsertNullAsDefault(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (insertNullAsDefaultBuilder_ == null) {
insertNullAsDefault_ = builderForValue.build();
onChanged();
} else {
insertNullAsDefaultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public Builder mergeInsertNullAsDefault(com.google.protobuf.BoolValue value) {
if (insertNullAsDefaultBuilder_ == null) {
if (insertNullAsDefault_ != null) {
insertNullAsDefault_ =
com.google.protobuf.BoolValue.newBuilder(insertNullAsDefault_).mergeFrom(value).buildPartial();
} else {
insertNullAsDefault_ = value;
}
onChanged();
} else {
insertNullAsDefaultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public Builder clearInsertNullAsDefault() {
if (insertNullAsDefaultBuilder_ == null) {
insertNullAsDefault_ = null;
onChanged();
} else {
insertNullAsDefault_ = null;
insertNullAsDefaultBuilder_ = null;
}
return this;
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public com.google.protobuf.BoolValue.Builder getInsertNullAsDefaultBuilder() {
onChanged();
return getInsertNullAsDefaultFieldBuilder().getBuilder();
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
public com.google.protobuf.BoolValueOrBuilder getInsertNullAsDefaultOrBuilder() {
if (insertNullAsDefaultBuilder_ != null) {
return insertNullAsDefaultBuilder_.getMessageOrBuilder();
} else {
return insertNullAsDefault_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : insertNullAsDefault_;
}
}
/**
*
* Enables the insertion of default values instead of NULL into columns with not nullable data type.
* Default value: **true**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#insert_null_as_default).
*
*
* .google.protobuf.BoolValue insert_null_as_default = 100;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInsertNullAsDefaultFieldBuilder() {
if (insertNullAsDefaultBuilder_ == null) {
insertNullAsDefaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInsertNullAsDefault(),
getParentForChildren(),
isClean());
insertNullAsDefault_ = null;
}
return insertNullAsDefaultBuilder_;
}
private com.google.protobuf.BoolValue selectSequentialConsistency_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> selectSequentialConsistencyBuilder_;
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return Whether the selectSequentialConsistency field is set.
*/
public boolean hasSelectSequentialConsistency() {
return selectSequentialConsistencyBuilder_ != null || selectSequentialConsistency_ != null;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
* @return The selectSequentialConsistency.
*/
public com.google.protobuf.BoolValue getSelectSequentialConsistency() {
if (selectSequentialConsistencyBuilder_ == null) {
return selectSequentialConsistency_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : selectSequentialConsistency_;
} else {
return selectSequentialConsistencyBuilder_.getMessage();
}
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public Builder setSelectSequentialConsistency(com.google.protobuf.BoolValue value) {
if (selectSequentialConsistencyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
selectSequentialConsistency_ = value;
onChanged();
} else {
selectSequentialConsistencyBuilder_.setMessage(value);
}
return this;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public Builder setSelectSequentialConsistency(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (selectSequentialConsistencyBuilder_ == null) {
selectSequentialConsistency_ = builderForValue.build();
onChanged();
} else {
selectSequentialConsistencyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public Builder mergeSelectSequentialConsistency(com.google.protobuf.BoolValue value) {
if (selectSequentialConsistencyBuilder_ == null) {
if (selectSequentialConsistency_ != null) {
selectSequentialConsistency_ =
com.google.protobuf.BoolValue.newBuilder(selectSequentialConsistency_).mergeFrom(value).buildPartial();
} else {
selectSequentialConsistency_ = value;
}
onChanged();
} else {
selectSequentialConsistencyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public Builder clearSelectSequentialConsistency() {
if (selectSequentialConsistencyBuilder_ == null) {
selectSequentialConsistency_ = null;
onChanged();
} else {
selectSequentialConsistency_ = null;
selectSequentialConsistencyBuilder_ = null;
}
return this;
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public com.google.protobuf.BoolValue.Builder getSelectSequentialConsistencyBuilder() {
onChanged();
return getSelectSequentialConsistencyFieldBuilder().getBuilder();
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
public com.google.protobuf.BoolValueOrBuilder getSelectSequentialConsistencyOrBuilder() {
if (selectSequentialConsistencyBuilder_ != null) {
return selectSequentialConsistencyBuilder_.getMessageOrBuilder();
} else {
return selectSequentialConsistency_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : selectSequentialConsistency_;
}
}
/**
*
* Determines the behavior of **SELECT** queries from the replicated table: if enabled, ClickHouse will terminate a query with error message in case the replica does not have a chunk written with the quorum and will not read the parts that have not yet been written with the quorum.
* Default value: **false** (sequential consistency is disabled).
*
*
* .google.protobuf.BoolValue select_sequential_consistency = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getSelectSequentialConsistencyFieldBuilder() {
if (selectSequentialConsistencyBuilder_ == null) {
selectSequentialConsistencyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getSelectSequentialConsistency(),
getParentForChildren(),
isClean());
selectSequentialConsistency_ = null;
}
return selectSequentialConsistencyBuilder_;
}
private com.google.protobuf.BoolValue deduplicateBlocksInDependentMaterializedViews_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> deduplicateBlocksInDependentMaterializedViewsBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return Whether the deduplicateBlocksInDependentMaterializedViews field is set.
*/
public boolean hasDeduplicateBlocksInDependentMaterializedViews() {
return deduplicateBlocksInDependentMaterializedViewsBuilder_ != null || deduplicateBlocksInDependentMaterializedViews_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
* @return The deduplicateBlocksInDependentMaterializedViews.
*/
public com.google.protobuf.BoolValue getDeduplicateBlocksInDependentMaterializedViews() {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
return deduplicateBlocksInDependentMaterializedViews_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : deduplicateBlocksInDependentMaterializedViews_;
} else {
return deduplicateBlocksInDependentMaterializedViewsBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public Builder setDeduplicateBlocksInDependentMaterializedViews(com.google.protobuf.BoolValue value) {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deduplicateBlocksInDependentMaterializedViews_ = value;
onChanged();
} else {
deduplicateBlocksInDependentMaterializedViewsBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public Builder setDeduplicateBlocksInDependentMaterializedViews(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
deduplicateBlocksInDependentMaterializedViews_ = builderForValue.build();
onChanged();
} else {
deduplicateBlocksInDependentMaterializedViewsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public Builder mergeDeduplicateBlocksInDependentMaterializedViews(com.google.protobuf.BoolValue value) {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
if (deduplicateBlocksInDependentMaterializedViews_ != null) {
deduplicateBlocksInDependentMaterializedViews_ =
com.google.protobuf.BoolValue.newBuilder(deduplicateBlocksInDependentMaterializedViews_).mergeFrom(value).buildPartial();
} else {
deduplicateBlocksInDependentMaterializedViews_ = value;
}
onChanged();
} else {
deduplicateBlocksInDependentMaterializedViewsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public Builder clearDeduplicateBlocksInDependentMaterializedViews() {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
deduplicateBlocksInDependentMaterializedViews_ = null;
onChanged();
} else {
deduplicateBlocksInDependentMaterializedViews_ = null;
deduplicateBlocksInDependentMaterializedViewsBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public com.google.protobuf.BoolValue.Builder getDeduplicateBlocksInDependentMaterializedViewsBuilder() {
onChanged();
return getDeduplicateBlocksInDependentMaterializedViewsFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
public com.google.protobuf.BoolValueOrBuilder getDeduplicateBlocksInDependentMaterializedViewsOrBuilder() {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ != null) {
return deduplicateBlocksInDependentMaterializedViewsBuilder_.getMessageOrBuilder();
} else {
return deduplicateBlocksInDependentMaterializedViews_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : deduplicateBlocksInDependentMaterializedViews_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-deduplicate-blocks-in-dependent-materialized-views).
*
*
* .google.protobuf.BoolValue deduplicate_blocks_in_dependent_materialized_views = 101;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getDeduplicateBlocksInDependentMaterializedViewsFieldBuilder() {
if (deduplicateBlocksInDependentMaterializedViewsBuilder_ == null) {
deduplicateBlocksInDependentMaterializedViewsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getDeduplicateBlocksInDependentMaterializedViews(),
getParentForChildren(),
isClean());
deduplicateBlocksInDependentMaterializedViews_ = null;
}
return deduplicateBlocksInDependentMaterializedViewsBuilder_;
}
private com.google.protobuf.Int64Value replicationAlterPartitionsSync_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> replicationAlterPartitionsSyncBuilder_;
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return Whether the replicationAlterPartitionsSync field is set.
*/
public boolean hasReplicationAlterPartitionsSync() {
return replicationAlterPartitionsSyncBuilder_ != null || replicationAlterPartitionsSync_ != null;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
* @return The replicationAlterPartitionsSync.
*/
public com.google.protobuf.Int64Value getReplicationAlterPartitionsSync() {
if (replicationAlterPartitionsSyncBuilder_ == null) {
return replicationAlterPartitionsSync_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicationAlterPartitionsSync_;
} else {
return replicationAlterPartitionsSyncBuilder_.getMessage();
}
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public Builder setReplicationAlterPartitionsSync(com.google.protobuf.Int64Value value) {
if (replicationAlterPartitionsSyncBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
replicationAlterPartitionsSync_ = value;
onChanged();
} else {
replicationAlterPartitionsSyncBuilder_.setMessage(value);
}
return this;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public Builder setReplicationAlterPartitionsSync(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (replicationAlterPartitionsSyncBuilder_ == null) {
replicationAlterPartitionsSync_ = builderForValue.build();
onChanged();
} else {
replicationAlterPartitionsSyncBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public Builder mergeReplicationAlterPartitionsSync(com.google.protobuf.Int64Value value) {
if (replicationAlterPartitionsSyncBuilder_ == null) {
if (replicationAlterPartitionsSync_ != null) {
replicationAlterPartitionsSync_ =
com.google.protobuf.Int64Value.newBuilder(replicationAlterPartitionsSync_).mergeFrom(value).buildPartial();
} else {
replicationAlterPartitionsSync_ = value;
}
onChanged();
} else {
replicationAlterPartitionsSyncBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public Builder clearReplicationAlterPartitionsSync() {
if (replicationAlterPartitionsSyncBuilder_ == null) {
replicationAlterPartitionsSync_ = null;
onChanged();
} else {
replicationAlterPartitionsSync_ = null;
replicationAlterPartitionsSyncBuilder_ = null;
}
return this;
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public com.google.protobuf.Int64Value.Builder getReplicationAlterPartitionsSyncBuilder() {
onChanged();
return getReplicationAlterPartitionsSyncFieldBuilder().getBuilder();
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
public com.google.protobuf.Int64ValueOrBuilder getReplicationAlterPartitionsSyncOrBuilder() {
if (replicationAlterPartitionsSyncBuilder_ != null) {
return replicationAlterPartitionsSyncBuilder_.getMessageOrBuilder();
} else {
return replicationAlterPartitionsSync_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : replicationAlterPartitionsSync_;
}
}
/**
*
* Wait mode for asynchronous actions in **ALTER** queries on replicated tables:
* * **0**-do not wait for replicas.
* * **1**-only wait for own execution (default).
* * **2**-wait for all replicas.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/alter/#synchronicity-of-alter-queries).
*
*
* .google.protobuf.Int64Value replication_alter_partitions_sync = 42 [(.yandex.cloud.value) = "0-2"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getReplicationAlterPartitionsSyncFieldBuilder() {
if (replicationAlterPartitionsSyncBuilder_ == null) {
replicationAlterPartitionsSyncBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getReplicationAlterPartitionsSync(),
getParentForChildren(),
isClean());
replicationAlterPartitionsSync_ = null;
}
return replicationAlterPartitionsSyncBuilder_;
}
private com.google.protobuf.Int64Value maxReplicaDelayForDistributedQueries_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxReplicaDelayForDistributedQueriesBuilder_;
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the maxReplicaDelayForDistributedQueries field is set.
*/
public boolean hasMaxReplicaDelayForDistributedQueries() {
return maxReplicaDelayForDistributedQueriesBuilder_ != null || maxReplicaDelayForDistributedQueries_ != null;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
* @return The maxReplicaDelayForDistributedQueries.
*/
public com.google.protobuf.Int64Value getMaxReplicaDelayForDistributedQueries() {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
return maxReplicaDelayForDistributedQueries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicaDelayForDistributedQueries_;
} else {
return maxReplicaDelayForDistributedQueriesBuilder_.getMessage();
}
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setMaxReplicaDelayForDistributedQueries(com.google.protobuf.Int64Value value) {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxReplicaDelayForDistributedQueries_ = value;
onChanged();
} else {
maxReplicaDelayForDistributedQueriesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setMaxReplicaDelayForDistributedQueries(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
maxReplicaDelayForDistributedQueries_ = builderForValue.build();
onChanged();
} else {
maxReplicaDelayForDistributedQueriesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder mergeMaxReplicaDelayForDistributedQueries(com.google.protobuf.Int64Value value) {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
if (maxReplicaDelayForDistributedQueries_ != null) {
maxReplicaDelayForDistributedQueries_ =
com.google.protobuf.Int64Value.newBuilder(maxReplicaDelayForDistributedQueries_).mergeFrom(value).buildPartial();
} else {
maxReplicaDelayForDistributedQueries_ = value;
}
onChanged();
} else {
maxReplicaDelayForDistributedQueriesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder clearMaxReplicaDelayForDistributedQueries() {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
maxReplicaDelayForDistributedQueries_ = null;
onChanged();
} else {
maxReplicaDelayForDistributedQueries_ = null;
maxReplicaDelayForDistributedQueriesBuilder_ = null;
}
return this;
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64Value.Builder getMaxReplicaDelayForDistributedQueriesBuilder() {
onChanged();
return getMaxReplicaDelayForDistributedQueriesFieldBuilder().getBuilder();
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxReplicaDelayForDistributedQueriesOrBuilder() {
if (maxReplicaDelayForDistributedQueriesBuilder_ != null) {
return maxReplicaDelayForDistributedQueriesBuilder_.getMessageOrBuilder();
} else {
return maxReplicaDelayForDistributedQueries_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicaDelayForDistributedQueries_;
}
}
/**
*
* Max replica delay in milliseconds. If a replica lags more than the set value, this replica is not used and becomes a stale one.
* Minimum value: **1000**, 1 second (default: **300000**, 300 seconds or 5 minutes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_replica_delay_for_distributed_queries).
*
*
* .google.protobuf.Int64Value max_replica_delay_for_distributed_queries = 6 [(.yandex.cloud.value) = ">=1000"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxReplicaDelayForDistributedQueriesFieldBuilder() {
if (maxReplicaDelayForDistributedQueriesBuilder_ == null) {
maxReplicaDelayForDistributedQueriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxReplicaDelayForDistributedQueries(),
getParentForChildren(),
isClean());
maxReplicaDelayForDistributedQueries_ = null;
}
return maxReplicaDelayForDistributedQueriesBuilder_;
}
private com.google.protobuf.BoolValue fallbackToStaleReplicasForDistributedQueries_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> fallbackToStaleReplicasForDistributedQueriesBuilder_;
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return Whether the fallbackToStaleReplicasForDistributedQueries field is set.
*/
public boolean hasFallbackToStaleReplicasForDistributedQueries() {
return fallbackToStaleReplicasForDistributedQueriesBuilder_ != null || fallbackToStaleReplicasForDistributedQueries_ != null;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
* @return The fallbackToStaleReplicasForDistributedQueries.
*/
public com.google.protobuf.BoolValue getFallbackToStaleReplicasForDistributedQueries() {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
return fallbackToStaleReplicasForDistributedQueries_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : fallbackToStaleReplicasForDistributedQueries_;
} else {
return fallbackToStaleReplicasForDistributedQueriesBuilder_.getMessage();
}
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public Builder setFallbackToStaleReplicasForDistributedQueries(com.google.protobuf.BoolValue value) {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fallbackToStaleReplicasForDistributedQueries_ = value;
onChanged();
} else {
fallbackToStaleReplicasForDistributedQueriesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public Builder setFallbackToStaleReplicasForDistributedQueries(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
fallbackToStaleReplicasForDistributedQueries_ = builderForValue.build();
onChanged();
} else {
fallbackToStaleReplicasForDistributedQueriesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public Builder mergeFallbackToStaleReplicasForDistributedQueries(com.google.protobuf.BoolValue value) {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
if (fallbackToStaleReplicasForDistributedQueries_ != null) {
fallbackToStaleReplicasForDistributedQueries_ =
com.google.protobuf.BoolValue.newBuilder(fallbackToStaleReplicasForDistributedQueries_).mergeFrom(value).buildPartial();
} else {
fallbackToStaleReplicasForDistributedQueries_ = value;
}
onChanged();
} else {
fallbackToStaleReplicasForDistributedQueriesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public Builder clearFallbackToStaleReplicasForDistributedQueries() {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
fallbackToStaleReplicasForDistributedQueries_ = null;
onChanged();
} else {
fallbackToStaleReplicasForDistributedQueries_ = null;
fallbackToStaleReplicasForDistributedQueriesBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public com.google.protobuf.BoolValue.Builder getFallbackToStaleReplicasForDistributedQueriesBuilder() {
onChanged();
return getFallbackToStaleReplicasForDistributedQueriesFieldBuilder().getBuilder();
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
public com.google.protobuf.BoolValueOrBuilder getFallbackToStaleReplicasForDistributedQueriesOrBuilder() {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ != null) {
return fallbackToStaleReplicasForDistributedQueriesBuilder_.getMessageOrBuilder();
} else {
return fallbackToStaleReplicasForDistributedQueries_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : fallbackToStaleReplicasForDistributedQueries_;
}
}
/**
*
* Enables or disables query forcing to a stale replica in case the actual data is unavailable.
* If enabled, ClickHouse will choose the most up-to-date replica and force the query to use the data in this replica.
* This setting can be used when doing **SELECT** query from a distributed table that points to replicated tables.
* Default value: **true** (query forcing is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-fallback_to_stale_replicas_for_distributed_queries).
*
*
* .google.protobuf.BoolValue fallback_to_stale_replicas_for_distributed_queries = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getFallbackToStaleReplicasForDistributedQueriesFieldBuilder() {
if (fallbackToStaleReplicasForDistributedQueriesBuilder_ == null) {
fallbackToStaleReplicasForDistributedQueriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getFallbackToStaleReplicasForDistributedQueries(),
getParentForChildren(),
isClean());
fallbackToStaleReplicasForDistributedQueries_ = null;
}
return fallbackToStaleReplicasForDistributedQueriesBuilder_;
}
private int distributedProductMode_ = 0;
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The enum numeric value on the wire for distributedProductMode.
*/
@java.lang.Override public int getDistributedProductModeValue() {
return distributedProductMode_;
}
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @param value The enum numeric value on the wire for distributedProductMode to set.
* @return This builder for chaining.
*/
public Builder setDistributedProductModeValue(int value) {
distributedProductMode_ = value;
onChanged();
return this;
}
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return The distributedProductMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode getDistributedProductMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.valueOf(distributedProductMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode.UNRECOGNIZED : result;
}
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @param value The distributedProductMode to set.
* @return This builder for chaining.
*/
public Builder setDistributedProductMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DistributedProductMode value) {
if (value == null) {
throw new NullPointerException();
}
distributedProductMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determine the behavior of distributed subqueries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#distributed-product-mode).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DistributedProductMode distributed_product_mode = 43;
* @return This builder for chaining.
*/
public Builder clearDistributedProductMode() {
distributedProductMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue distributedAggregationMemoryEfficient_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> distributedAggregationMemoryEfficientBuilder_;
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return Whether the distributedAggregationMemoryEfficient field is set.
*/
public boolean hasDistributedAggregationMemoryEfficient() {
return distributedAggregationMemoryEfficientBuilder_ != null || distributedAggregationMemoryEfficient_ != null;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
* @return The distributedAggregationMemoryEfficient.
*/
public com.google.protobuf.BoolValue getDistributedAggregationMemoryEfficient() {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
return distributedAggregationMemoryEfficient_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : distributedAggregationMemoryEfficient_;
} else {
return distributedAggregationMemoryEfficientBuilder_.getMessage();
}
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public Builder setDistributedAggregationMemoryEfficient(com.google.protobuf.BoolValue value) {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
distributedAggregationMemoryEfficient_ = value;
onChanged();
} else {
distributedAggregationMemoryEfficientBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public Builder setDistributedAggregationMemoryEfficient(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
distributedAggregationMemoryEfficient_ = builderForValue.build();
onChanged();
} else {
distributedAggregationMemoryEfficientBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public Builder mergeDistributedAggregationMemoryEfficient(com.google.protobuf.BoolValue value) {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
if (distributedAggregationMemoryEfficient_ != null) {
distributedAggregationMemoryEfficient_ =
com.google.protobuf.BoolValue.newBuilder(distributedAggregationMemoryEfficient_).mergeFrom(value).buildPartial();
} else {
distributedAggregationMemoryEfficient_ = value;
}
onChanged();
} else {
distributedAggregationMemoryEfficientBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public Builder clearDistributedAggregationMemoryEfficient() {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
distributedAggregationMemoryEfficient_ = null;
onChanged();
} else {
distributedAggregationMemoryEfficient_ = null;
distributedAggregationMemoryEfficientBuilder_ = null;
}
return this;
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public com.google.protobuf.BoolValue.Builder getDistributedAggregationMemoryEfficientBuilder() {
onChanged();
return getDistributedAggregationMemoryEfficientFieldBuilder().getBuilder();
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
public com.google.protobuf.BoolValueOrBuilder getDistributedAggregationMemoryEfficientOrBuilder() {
if (distributedAggregationMemoryEfficientBuilder_ != null) {
return distributedAggregationMemoryEfficientBuilder_.getMessageOrBuilder();
} else {
return distributedAggregationMemoryEfficient_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : distributedAggregationMemoryEfficient_;
}
}
/**
*
* Enables of disables memory saving mode when doing distributed aggregation.
* When ClickHouse works with a distributed query, external aggregation is done on remote servers.
* Enable this setting to achieve a smaller memory footprint on the server that sourced such a distributed query.
* Default value: **false** (memory saving mode is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
*
*
* .google.protobuf.BoolValue distributed_aggregation_memory_efficient = 72;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getDistributedAggregationMemoryEfficientFieldBuilder() {
if (distributedAggregationMemoryEfficientBuilder_ == null) {
distributedAggregationMemoryEfficientBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getDistributedAggregationMemoryEfficient(),
getParentForChildren(),
isClean());
distributedAggregationMemoryEfficient_ = null;
}
return distributedAggregationMemoryEfficientBuilder_;
}
private com.google.protobuf.Int64Value distributedDdlTaskTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> distributedDdlTaskTimeoutBuilder_;
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return Whether the distributedDdlTaskTimeout field is set.
*/
public boolean hasDistributedDdlTaskTimeout() {
return distributedDdlTaskTimeoutBuilder_ != null || distributedDdlTaskTimeout_ != null;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
* @return The distributedDdlTaskTimeout.
*/
public com.google.protobuf.Int64Value getDistributedDdlTaskTimeout() {
if (distributedDdlTaskTimeoutBuilder_ == null) {
return distributedDdlTaskTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : distributedDdlTaskTimeout_;
} else {
return distributedDdlTaskTimeoutBuilder_.getMessage();
}
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public Builder setDistributedDdlTaskTimeout(com.google.protobuf.Int64Value value) {
if (distributedDdlTaskTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
distributedDdlTaskTimeout_ = value;
onChanged();
} else {
distributedDdlTaskTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public Builder setDistributedDdlTaskTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (distributedDdlTaskTimeoutBuilder_ == null) {
distributedDdlTaskTimeout_ = builderForValue.build();
onChanged();
} else {
distributedDdlTaskTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public Builder mergeDistributedDdlTaskTimeout(com.google.protobuf.Int64Value value) {
if (distributedDdlTaskTimeoutBuilder_ == null) {
if (distributedDdlTaskTimeout_ != null) {
distributedDdlTaskTimeout_ =
com.google.protobuf.Int64Value.newBuilder(distributedDdlTaskTimeout_).mergeFrom(value).buildPartial();
} else {
distributedDdlTaskTimeout_ = value;
}
onChanged();
} else {
distributedDdlTaskTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public Builder clearDistributedDdlTaskTimeout() {
if (distributedDdlTaskTimeoutBuilder_ == null) {
distributedDdlTaskTimeout_ = null;
onChanged();
} else {
distributedDdlTaskTimeout_ = null;
distributedDdlTaskTimeoutBuilder_ = null;
}
return this;
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public com.google.protobuf.Int64Value.Builder getDistributedDdlTaskTimeoutBuilder() {
onChanged();
return getDistributedDdlTaskTimeoutFieldBuilder().getBuilder();
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
public com.google.protobuf.Int64ValueOrBuilder getDistributedDdlTaskTimeoutOrBuilder() {
if (distributedDdlTaskTimeoutBuilder_ != null) {
return distributedDdlTaskTimeoutBuilder_.getMessageOrBuilder();
} else {
return distributedDdlTaskTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : distributedDdlTaskTimeout_;
}
}
/**
*
* Timeout for DDL queries, in milliseconds.
*
*
* .google.protobuf.Int64Value distributed_ddl_task_timeout = 73;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getDistributedDdlTaskTimeoutFieldBuilder() {
if (distributedDdlTaskTimeoutBuilder_ == null) {
distributedDdlTaskTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getDistributedDdlTaskTimeout(),
getParentForChildren(),
isClean());
distributedDdlTaskTimeout_ = null;
}
return distributedDdlTaskTimeoutBuilder_;
}
private com.google.protobuf.BoolValue skipUnavailableShards_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> skipUnavailableShardsBuilder_;
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return Whether the skipUnavailableShards field is set.
*/
public boolean hasSkipUnavailableShards() {
return skipUnavailableShardsBuilder_ != null || skipUnavailableShards_ != null;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
* @return The skipUnavailableShards.
*/
public com.google.protobuf.BoolValue getSkipUnavailableShards() {
if (skipUnavailableShardsBuilder_ == null) {
return skipUnavailableShards_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : skipUnavailableShards_;
} else {
return skipUnavailableShardsBuilder_.getMessage();
}
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public Builder setSkipUnavailableShards(com.google.protobuf.BoolValue value) {
if (skipUnavailableShardsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
skipUnavailableShards_ = value;
onChanged();
} else {
skipUnavailableShardsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public Builder setSkipUnavailableShards(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (skipUnavailableShardsBuilder_ == null) {
skipUnavailableShards_ = builderForValue.build();
onChanged();
} else {
skipUnavailableShardsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public Builder mergeSkipUnavailableShards(com.google.protobuf.BoolValue value) {
if (skipUnavailableShardsBuilder_ == null) {
if (skipUnavailableShards_ != null) {
skipUnavailableShards_ =
com.google.protobuf.BoolValue.newBuilder(skipUnavailableShards_).mergeFrom(value).buildPartial();
} else {
skipUnavailableShards_ = value;
}
onChanged();
} else {
skipUnavailableShardsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public Builder clearSkipUnavailableShards() {
if (skipUnavailableShardsBuilder_ == null) {
skipUnavailableShards_ = null;
onChanged();
} else {
skipUnavailableShards_ = null;
skipUnavailableShardsBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public com.google.protobuf.BoolValue.Builder getSkipUnavailableShardsBuilder() {
onChanged();
return getSkipUnavailableShardsFieldBuilder().getBuilder();
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
public com.google.protobuf.BoolValueOrBuilder getSkipUnavailableShardsOrBuilder() {
if (skipUnavailableShardsBuilder_ != null) {
return skipUnavailableShardsBuilder_.getMessageOrBuilder();
} else {
return skipUnavailableShards_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : skipUnavailableShards_;
}
}
/**
*
* Enables or disables silent skipping of unavailable shards.
* A shard is considered unavailable if all its replicas are also unavailable.
* Default value: **false** (silent skipping is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-skip_unavailable_shards).
*
*
* .google.protobuf.BoolValue skip_unavailable_shards = 81;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getSkipUnavailableShardsFieldBuilder() {
if (skipUnavailableShardsBuilder_ == null) {
skipUnavailableShardsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getSkipUnavailableShards(),
getParentForChildren(),
isClean());
skipUnavailableShards_ = null;
}
return skipUnavailableShardsBuilder_;
}
private com.google.protobuf.BoolValue compileExpressions_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> compileExpressionsBuilder_;
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return Whether the compileExpressions field is set.
*/
public boolean hasCompileExpressions() {
return compileExpressionsBuilder_ != null || compileExpressions_ != null;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
* @return The compileExpressions.
*/
public com.google.protobuf.BoolValue getCompileExpressions() {
if (compileExpressionsBuilder_ == null) {
return compileExpressions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : compileExpressions_;
} else {
return compileExpressionsBuilder_.getMessage();
}
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public Builder setCompileExpressions(com.google.protobuf.BoolValue value) {
if (compileExpressionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
compileExpressions_ = value;
onChanged();
} else {
compileExpressionsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public Builder setCompileExpressions(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (compileExpressionsBuilder_ == null) {
compileExpressions_ = builderForValue.build();
onChanged();
} else {
compileExpressionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public Builder mergeCompileExpressions(com.google.protobuf.BoolValue value) {
if (compileExpressionsBuilder_ == null) {
if (compileExpressions_ != null) {
compileExpressions_ =
com.google.protobuf.BoolValue.newBuilder(compileExpressions_).mergeFrom(value).buildPartial();
} else {
compileExpressions_ = value;
}
onChanged();
} else {
compileExpressionsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public Builder clearCompileExpressions() {
if (compileExpressionsBuilder_ == null) {
compileExpressions_ = null;
onChanged();
} else {
compileExpressions_ = null;
compileExpressionsBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public com.google.protobuf.BoolValue.Builder getCompileExpressionsBuilder() {
onChanged();
return getCompileExpressionsFieldBuilder().getBuilder();
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
public com.google.protobuf.BoolValueOrBuilder getCompileExpressionsOrBuilder() {
if (compileExpressionsBuilder_ != null) {
return compileExpressionsBuilder_.getMessageOrBuilder();
} else {
return compileExpressions_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : compileExpressions_;
}
}
/**
*
* Enables or disables expression compilation.
* If you execute a lot of queries that contain identical expressions, then enable this setting.
* As a result, such queries may be executed faster due to use of compiled expressions.
* Use this setting in combination with [min_count_to_compile_expression] setting.
* Default value: **false** (expression compilation is disabled).
*
*
* .google.protobuf.BoolValue compile_expressions = 46;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getCompileExpressionsFieldBuilder() {
if (compileExpressionsBuilder_ == null) {
compileExpressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getCompileExpressions(),
getParentForChildren(),
isClean());
compileExpressions_ = null;
}
return compileExpressionsBuilder_;
}
private com.google.protobuf.Int64Value minCountToCompileExpression_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minCountToCompileExpressionBuilder_;
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minCountToCompileExpression field is set.
*/
public boolean hasMinCountToCompileExpression() {
return minCountToCompileExpressionBuilder_ != null || minCountToCompileExpression_ != null;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
* @return The minCountToCompileExpression.
*/
public com.google.protobuf.Int64Value getMinCountToCompileExpression() {
if (minCountToCompileExpressionBuilder_ == null) {
return minCountToCompileExpression_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompileExpression_;
} else {
return minCountToCompileExpressionBuilder_.getMessage();
}
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinCountToCompileExpression(com.google.protobuf.Int64Value value) {
if (minCountToCompileExpressionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minCountToCompileExpression_ = value;
onChanged();
} else {
minCountToCompileExpressionBuilder_.setMessage(value);
}
return this;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinCountToCompileExpression(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minCountToCompileExpressionBuilder_ == null) {
minCountToCompileExpression_ = builderForValue.build();
onChanged();
} else {
minCountToCompileExpressionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinCountToCompileExpression(com.google.protobuf.Int64Value value) {
if (minCountToCompileExpressionBuilder_ == null) {
if (minCountToCompileExpression_ != null) {
minCountToCompileExpression_ =
com.google.protobuf.Int64Value.newBuilder(minCountToCompileExpression_).mergeFrom(value).buildPartial();
} else {
minCountToCompileExpression_ = value;
}
onChanged();
} else {
minCountToCompileExpressionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinCountToCompileExpression() {
if (minCountToCompileExpressionBuilder_ == null) {
minCountToCompileExpression_ = null;
onChanged();
} else {
minCountToCompileExpression_ = null;
minCountToCompileExpressionBuilder_ = null;
}
return this;
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinCountToCompileExpressionBuilder() {
onChanged();
return getMinCountToCompileExpressionFieldBuilder().getBuilder();
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileExpressionOrBuilder() {
if (minCountToCompileExpressionBuilder_ != null) {
return minCountToCompileExpressionBuilder_.getMessageOrBuilder();
} else {
return minCountToCompileExpression_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompileExpression_;
}
}
/**
*
* How many identical expressions ClickHouse has to encounter before they are compiled.
* Minimum value: **0** (default: **3**).
* For the **0** value compilation is synchronous: a query waits for expression compilation process to complete prior to continuing execution.
* It is recommended to set this value only for testing purposes.
* For all other values, compilation is asynchronous: the compilation process executes in a separate thread.
* When a compiled expression is ready, it will be used by ClickHouse for eligible queries, including the ones that are currently running.
*
*
* .google.protobuf.Int64Value min_count_to_compile_expression = 47 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinCountToCompileExpressionFieldBuilder() {
if (minCountToCompileExpressionBuilder_ == null) {
minCountToCompileExpressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinCountToCompileExpression(),
getParentForChildren(),
isClean());
minCountToCompileExpression_ = null;
}
return minCountToCompileExpressionBuilder_;
}
private com.google.protobuf.Int64Value maxBlockSize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBlockSizeBuilder_;
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxBlockSize field is set.
*/
public boolean hasMaxBlockSize() {
return maxBlockSizeBuilder_ != null || maxBlockSize_ != null;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
* @return The maxBlockSize.
*/
public com.google.protobuf.Int64Value getMaxBlockSize() {
if (maxBlockSizeBuilder_ == null) {
return maxBlockSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBlockSize_;
} else {
return maxBlockSizeBuilder_.getMessage();
}
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxBlockSize(com.google.protobuf.Int64Value value) {
if (maxBlockSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBlockSize_ = value;
onChanged();
} else {
maxBlockSizeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxBlockSize(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBlockSizeBuilder_ == null) {
maxBlockSize_ = builderForValue.build();
onChanged();
} else {
maxBlockSizeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxBlockSize(com.google.protobuf.Int64Value value) {
if (maxBlockSizeBuilder_ == null) {
if (maxBlockSize_ != null) {
maxBlockSize_ =
com.google.protobuf.Int64Value.newBuilder(maxBlockSize_).mergeFrom(value).buildPartial();
} else {
maxBlockSize_ = value;
}
onChanged();
} else {
maxBlockSizeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxBlockSize() {
if (maxBlockSizeBuilder_ == null) {
maxBlockSize_ = null;
onChanged();
} else {
maxBlockSize_ = null;
maxBlockSizeBuilder_ = null;
}
return this;
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBlockSizeBuilder() {
onChanged();
return getMaxBlockSizeFieldBuilder().getBuilder();
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBlockSizeOrBuilder() {
if (maxBlockSizeBuilder_ != null) {
return maxBlockSizeBuilder_.getMessageOrBuilder();
} else {
return maxBlockSize_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBlockSize_;
}
}
/**
*
* The maximum block size for reading.
* Data in ClickHouse is organized and processed by blocks (block is a set of columns' parts).
* The internal processing cycles for a single block are efficient enough, but there are noticeable expenditures on each block.
* This setting is a recommendation for size of block (in a count of rows) that should be loaded from tables.
* Value must be greater than **0** (default: **65536**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_block_size).
*
*
* .google.protobuf.Int64Value max_block_size = 9 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBlockSizeFieldBuilder() {
if (maxBlockSizeBuilder_ == null) {
maxBlockSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBlockSize(),
getParentForChildren(),
isClean());
maxBlockSize_ = null;
}
return maxBlockSizeBuilder_;
}
private com.google.protobuf.Int64Value minInsertBlockSizeRows_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minInsertBlockSizeRowsBuilder_;
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeRows field is set.
*/
public boolean hasMinInsertBlockSizeRows() {
return minInsertBlockSizeRowsBuilder_ != null || minInsertBlockSizeRows_ != null;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeRows.
*/
public com.google.protobuf.Int64Value getMinInsertBlockSizeRows() {
if (minInsertBlockSizeRowsBuilder_ == null) {
return minInsertBlockSizeRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeRows_;
} else {
return minInsertBlockSizeRowsBuilder_.getMessage();
}
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinInsertBlockSizeRows(com.google.protobuf.Int64Value value) {
if (minInsertBlockSizeRowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minInsertBlockSizeRows_ = value;
onChanged();
} else {
minInsertBlockSizeRowsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinInsertBlockSizeRows(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minInsertBlockSizeRowsBuilder_ == null) {
minInsertBlockSizeRows_ = builderForValue.build();
onChanged();
} else {
minInsertBlockSizeRowsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinInsertBlockSizeRows(com.google.protobuf.Int64Value value) {
if (minInsertBlockSizeRowsBuilder_ == null) {
if (minInsertBlockSizeRows_ != null) {
minInsertBlockSizeRows_ =
com.google.protobuf.Int64Value.newBuilder(minInsertBlockSizeRows_).mergeFrom(value).buildPartial();
} else {
minInsertBlockSizeRows_ = value;
}
onChanged();
} else {
minInsertBlockSizeRowsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinInsertBlockSizeRows() {
if (minInsertBlockSizeRowsBuilder_ == null) {
minInsertBlockSizeRows_ = null;
onChanged();
} else {
minInsertBlockSizeRows_ = null;
minInsertBlockSizeRowsBuilder_ = null;
}
return this;
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinInsertBlockSizeRowsBuilder() {
onChanged();
return getMinInsertBlockSizeRowsFieldBuilder().getBuilder();
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeRowsOrBuilder() {
if (minInsertBlockSizeRowsBuilder_ != null) {
return minInsertBlockSizeRowsBuilder_.getMessageOrBuilder();
} else {
return minInsertBlockSizeRows_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeRows_;
}
}
/**
*
* Limits the minimum number of rows in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **1048576**).
*
*
* .google.protobuf.Int64Value min_insert_block_size_rows = 48 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinInsertBlockSizeRowsFieldBuilder() {
if (minInsertBlockSizeRowsBuilder_ == null) {
minInsertBlockSizeRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinInsertBlockSizeRows(),
getParentForChildren(),
isClean());
minInsertBlockSizeRows_ = null;
}
return minInsertBlockSizeRowsBuilder_;
}
private com.google.protobuf.Int64Value minInsertBlockSizeBytes_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minInsertBlockSizeBytesBuilder_;
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minInsertBlockSizeBytes field is set.
*/
public boolean hasMinInsertBlockSizeBytes() {
return minInsertBlockSizeBytesBuilder_ != null || minInsertBlockSizeBytes_ != null;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
* @return The minInsertBlockSizeBytes.
*/
public com.google.protobuf.Int64Value getMinInsertBlockSizeBytes() {
if (minInsertBlockSizeBytesBuilder_ == null) {
return minInsertBlockSizeBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeBytes_;
} else {
return minInsertBlockSizeBytesBuilder_.getMessage();
}
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinInsertBlockSizeBytes(com.google.protobuf.Int64Value value) {
if (minInsertBlockSizeBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minInsertBlockSizeBytes_ = value;
onChanged();
} else {
minInsertBlockSizeBytesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinInsertBlockSizeBytes(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minInsertBlockSizeBytesBuilder_ == null) {
minInsertBlockSizeBytes_ = builderForValue.build();
onChanged();
} else {
minInsertBlockSizeBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinInsertBlockSizeBytes(com.google.protobuf.Int64Value value) {
if (minInsertBlockSizeBytesBuilder_ == null) {
if (minInsertBlockSizeBytes_ != null) {
minInsertBlockSizeBytes_ =
com.google.protobuf.Int64Value.newBuilder(minInsertBlockSizeBytes_).mergeFrom(value).buildPartial();
} else {
minInsertBlockSizeBytes_ = value;
}
onChanged();
} else {
minInsertBlockSizeBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinInsertBlockSizeBytes() {
if (minInsertBlockSizeBytesBuilder_ == null) {
minInsertBlockSizeBytes_ = null;
onChanged();
} else {
minInsertBlockSizeBytes_ = null;
minInsertBlockSizeBytesBuilder_ = null;
}
return this;
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinInsertBlockSizeBytesBuilder() {
onChanged();
return getMinInsertBlockSizeBytesFieldBuilder().getBuilder();
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinInsertBlockSizeBytesOrBuilder() {
if (minInsertBlockSizeBytesBuilder_ != null) {
return minInsertBlockSizeBytesBuilder_.getMessageOrBuilder();
} else {
return minInsertBlockSizeBytes_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minInsertBlockSizeBytes_;
}
}
/**
*
* Limits the minimum number of bytes in a block to be inserted in a table by **INSERT** query.
* Blocks that are smaller than the specified value, will be squashed together into the bigger blocks.
* Minimal value: **0**, block squashing is disabled (default: **268435456**, 256 MB).
*
*
* .google.protobuf.Int64Value min_insert_block_size_bytes = 49 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinInsertBlockSizeBytesFieldBuilder() {
if (minInsertBlockSizeBytesBuilder_ == null) {
minInsertBlockSizeBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinInsertBlockSizeBytes(),
getParentForChildren(),
isClean());
minInsertBlockSizeBytes_ = null;
}
return minInsertBlockSizeBytesBuilder_;
}
private com.google.protobuf.Int64Value maxInsertBlockSize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxInsertBlockSizeBuilder_;
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxInsertBlockSize field is set.
*/
public boolean hasMaxInsertBlockSize() {
return maxInsertBlockSizeBuilder_ != null || maxInsertBlockSize_ != null;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
* @return The maxInsertBlockSize.
*/
public com.google.protobuf.Int64Value getMaxInsertBlockSize() {
if (maxInsertBlockSizeBuilder_ == null) {
return maxInsertBlockSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxInsertBlockSize_;
} else {
return maxInsertBlockSizeBuilder_.getMessage();
}
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxInsertBlockSize(com.google.protobuf.Int64Value value) {
if (maxInsertBlockSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxInsertBlockSize_ = value;
onChanged();
} else {
maxInsertBlockSizeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxInsertBlockSize(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxInsertBlockSizeBuilder_ == null) {
maxInsertBlockSize_ = builderForValue.build();
onChanged();
} else {
maxInsertBlockSizeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxInsertBlockSize(com.google.protobuf.Int64Value value) {
if (maxInsertBlockSizeBuilder_ == null) {
if (maxInsertBlockSize_ != null) {
maxInsertBlockSize_ =
com.google.protobuf.Int64Value.newBuilder(maxInsertBlockSize_).mergeFrom(value).buildPartial();
} else {
maxInsertBlockSize_ = value;
}
onChanged();
} else {
maxInsertBlockSizeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxInsertBlockSize() {
if (maxInsertBlockSizeBuilder_ == null) {
maxInsertBlockSize_ = null;
onChanged();
} else {
maxInsertBlockSize_ = null;
maxInsertBlockSizeBuilder_ = null;
}
return this;
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxInsertBlockSizeBuilder() {
onChanged();
return getMaxInsertBlockSizeFieldBuilder().getBuilder();
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxInsertBlockSizeOrBuilder() {
if (maxInsertBlockSizeBuilder_ != null) {
return maxInsertBlockSizeBuilder_.getMessageOrBuilder();
} else {
return maxInsertBlockSize_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxInsertBlockSize_;
}
}
/**
*
* Allows to form blocks of the specified size (in bytes) when inserting data in a table.
* This setting has effect only if server is creating such blocks by itself.
* Value must be greater than **0** (default: **1048576**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_insert_block_size).
*
*
* .google.protobuf.Int64Value max_insert_block_size = 10 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxInsertBlockSizeFieldBuilder() {
if (maxInsertBlockSizeBuilder_ == null) {
maxInsertBlockSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxInsertBlockSize(),
getParentForChildren(),
isClean());
maxInsertBlockSize_ = null;
}
return maxInsertBlockSizeBuilder_;
}
private com.google.protobuf.Int64Value minBytesToUseDirectIo_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minBytesToUseDirectIoBuilder_;
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minBytesToUseDirectIo field is set.
*/
public boolean hasMinBytesToUseDirectIo() {
return minBytesToUseDirectIoBuilder_ != null || minBytesToUseDirectIo_ != null;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
* @return The minBytesToUseDirectIo.
*/
public com.google.protobuf.Int64Value getMinBytesToUseDirectIo() {
if (minBytesToUseDirectIoBuilder_ == null) {
return minBytesToUseDirectIo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minBytesToUseDirectIo_;
} else {
return minBytesToUseDirectIoBuilder_.getMessage();
}
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinBytesToUseDirectIo(com.google.protobuf.Int64Value value) {
if (minBytesToUseDirectIoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minBytesToUseDirectIo_ = value;
onChanged();
} else {
minBytesToUseDirectIoBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinBytesToUseDirectIo(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minBytesToUseDirectIoBuilder_ == null) {
minBytesToUseDirectIo_ = builderForValue.build();
onChanged();
} else {
minBytesToUseDirectIoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinBytesToUseDirectIo(com.google.protobuf.Int64Value value) {
if (minBytesToUseDirectIoBuilder_ == null) {
if (minBytesToUseDirectIo_ != null) {
minBytesToUseDirectIo_ =
com.google.protobuf.Int64Value.newBuilder(minBytesToUseDirectIo_).mergeFrom(value).buildPartial();
} else {
minBytesToUseDirectIo_ = value;
}
onChanged();
} else {
minBytesToUseDirectIoBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinBytesToUseDirectIo() {
if (minBytesToUseDirectIoBuilder_ == null) {
minBytesToUseDirectIo_ = null;
onChanged();
} else {
minBytesToUseDirectIo_ = null;
minBytesToUseDirectIoBuilder_ = null;
}
return this;
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinBytesToUseDirectIoBuilder() {
onChanged();
return getMinBytesToUseDirectIoFieldBuilder().getBuilder();
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinBytesToUseDirectIoOrBuilder() {
if (minBytesToUseDirectIoBuilder_ != null) {
return minBytesToUseDirectIoBuilder_.getMessageOrBuilder();
} else {
return minBytesToUseDirectIo_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minBytesToUseDirectIo_;
}
}
/**
*
* Limits the minimum number of bytes to enable unbuffered direct reads from disk (Direct I/O).
* By default, ClickHouse does not read data directly from disk, but relies on the filesystem and its cache instead.
* Such reading strategy is effective when the data volume is small.
* If the amount of the data to read is huge, it is more effective to read directly from the disk, bypassing the filesystem cache.
* If the total amount of the data to read is greater than the value of this setting, then ClickHouse will fetch this data directly from the disk.
* Minimal value and default value: **0**, Direct I/O is disabled.
*
*
* .google.protobuf.Int64Value min_bytes_to_use_direct_io = 50 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinBytesToUseDirectIoFieldBuilder() {
if (minBytesToUseDirectIoBuilder_ == null) {
minBytesToUseDirectIoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinBytesToUseDirectIo(),
getParentForChildren(),
isClean());
minBytesToUseDirectIo_ = null;
}
return minBytesToUseDirectIoBuilder_;
}
private com.google.protobuf.BoolValue useUncompressedCache_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> useUncompressedCacheBuilder_;
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return Whether the useUncompressedCache field is set.
*/
public boolean hasUseUncompressedCache() {
return useUncompressedCacheBuilder_ != null || useUncompressedCache_ != null;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
* @return The useUncompressedCache.
*/
public com.google.protobuf.BoolValue getUseUncompressedCache() {
if (useUncompressedCacheBuilder_ == null) {
return useUncompressedCache_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : useUncompressedCache_;
} else {
return useUncompressedCacheBuilder_.getMessage();
}
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public Builder setUseUncompressedCache(com.google.protobuf.BoolValue value) {
if (useUncompressedCacheBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
useUncompressedCache_ = value;
onChanged();
} else {
useUncompressedCacheBuilder_.setMessage(value);
}
return this;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public Builder setUseUncompressedCache(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (useUncompressedCacheBuilder_ == null) {
useUncompressedCache_ = builderForValue.build();
onChanged();
} else {
useUncompressedCacheBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public Builder mergeUseUncompressedCache(com.google.protobuf.BoolValue value) {
if (useUncompressedCacheBuilder_ == null) {
if (useUncompressedCache_ != null) {
useUncompressedCache_ =
com.google.protobuf.BoolValue.newBuilder(useUncompressedCache_).mergeFrom(value).buildPartial();
} else {
useUncompressedCache_ = value;
}
onChanged();
} else {
useUncompressedCacheBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public Builder clearUseUncompressedCache() {
if (useUncompressedCacheBuilder_ == null) {
useUncompressedCache_ = null;
onChanged();
} else {
useUncompressedCache_ = null;
useUncompressedCacheBuilder_ = null;
}
return this;
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public com.google.protobuf.BoolValue.Builder getUseUncompressedCacheBuilder() {
onChanged();
return getUseUncompressedCacheFieldBuilder().getBuilder();
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
public com.google.protobuf.BoolValueOrBuilder getUseUncompressedCacheOrBuilder() {
if (useUncompressedCacheBuilder_ != null) {
return useUncompressedCacheBuilder_.getMessageOrBuilder();
} else {
return useUncompressedCache_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : useUncompressedCache_;
}
}
/**
*
* Determines whether to use the cache of uncompressed blocks, or not.
* Using this cache can significantly reduce latency and increase the throughput when a huge amount of small queries is to be processed.
* Enable this setting for the users who instantiates small queries frequently.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (uncompressed cache is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-use_uncompressed_cache).
*
*
* .google.protobuf.BoolValue use_uncompressed_cache = 51;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getUseUncompressedCacheFieldBuilder() {
if (useUncompressedCacheBuilder_ == null) {
useUncompressedCacheBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getUseUncompressedCache(),
getParentForChildren(),
isClean());
useUncompressedCache_ = null;
}
return useUncompressedCacheBuilder_;
}
private com.google.protobuf.Int64Value mergeTreeMaxRowsToUseCache_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeTreeMaxRowsToUseCacheBuilder_;
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxRowsToUseCache field is set.
*/
public boolean hasMergeTreeMaxRowsToUseCache() {
return mergeTreeMaxRowsToUseCacheBuilder_ != null || mergeTreeMaxRowsToUseCache_ != null;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxRowsToUseCache.
*/
public com.google.protobuf.Int64Value getMergeTreeMaxRowsToUseCache() {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
return mergeTreeMaxRowsToUseCache_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxRowsToUseCache_;
} else {
return mergeTreeMaxRowsToUseCacheBuilder_.getMessage();
}
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMaxRowsToUseCache(com.google.protobuf.Int64Value value) {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mergeTreeMaxRowsToUseCache_ = value;
onChanged();
} else {
mergeTreeMaxRowsToUseCacheBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMaxRowsToUseCache(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
mergeTreeMaxRowsToUseCache_ = builderForValue.build();
onChanged();
} else {
mergeTreeMaxRowsToUseCacheBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMergeTreeMaxRowsToUseCache(com.google.protobuf.Int64Value value) {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
if (mergeTreeMaxRowsToUseCache_ != null) {
mergeTreeMaxRowsToUseCache_ =
com.google.protobuf.Int64Value.newBuilder(mergeTreeMaxRowsToUseCache_).mergeFrom(value).buildPartial();
} else {
mergeTreeMaxRowsToUseCache_ = value;
}
onChanged();
} else {
mergeTreeMaxRowsToUseCacheBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMergeTreeMaxRowsToUseCache() {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
mergeTreeMaxRowsToUseCache_ = null;
onChanged();
} else {
mergeTreeMaxRowsToUseCache_ = null;
mergeTreeMaxRowsToUseCacheBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMergeTreeMaxRowsToUseCacheBuilder() {
onChanged();
return getMergeTreeMaxRowsToUseCacheFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxRowsToUseCacheOrBuilder() {
if (mergeTreeMaxRowsToUseCacheBuilder_ != null) {
return mergeTreeMaxRowsToUseCacheBuilder_.getMessageOrBuilder();
} else {
return mergeTreeMaxRowsToUseCache_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxRowsToUseCache_;
}
}
/**
*
* Limits the maximum size in rows of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **128x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_max_rows_to_use_cache = 52 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMergeTreeMaxRowsToUseCacheFieldBuilder() {
if (mergeTreeMaxRowsToUseCacheBuilder_ == null) {
mergeTreeMaxRowsToUseCacheBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMergeTreeMaxRowsToUseCache(),
getParentForChildren(),
isClean());
mergeTreeMaxRowsToUseCache_ = null;
}
return mergeTreeMaxRowsToUseCacheBuilder_;
}
private com.google.protobuf.Int64Value mergeTreeMaxBytesToUseCache_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeTreeMaxBytesToUseCacheBuilder_;
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMaxBytesToUseCache field is set.
*/
public boolean hasMergeTreeMaxBytesToUseCache() {
return mergeTreeMaxBytesToUseCacheBuilder_ != null || mergeTreeMaxBytesToUseCache_ != null;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMaxBytesToUseCache.
*/
public com.google.protobuf.Int64Value getMergeTreeMaxBytesToUseCache() {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
return mergeTreeMaxBytesToUseCache_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxBytesToUseCache_;
} else {
return mergeTreeMaxBytesToUseCacheBuilder_.getMessage();
}
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMaxBytesToUseCache(com.google.protobuf.Int64Value value) {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mergeTreeMaxBytesToUseCache_ = value;
onChanged();
} else {
mergeTreeMaxBytesToUseCacheBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMaxBytesToUseCache(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
mergeTreeMaxBytesToUseCache_ = builderForValue.build();
onChanged();
} else {
mergeTreeMaxBytesToUseCacheBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMergeTreeMaxBytesToUseCache(com.google.protobuf.Int64Value value) {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
if (mergeTreeMaxBytesToUseCache_ != null) {
mergeTreeMaxBytesToUseCache_ =
com.google.protobuf.Int64Value.newBuilder(mergeTreeMaxBytesToUseCache_).mergeFrom(value).buildPartial();
} else {
mergeTreeMaxBytesToUseCache_ = value;
}
onChanged();
} else {
mergeTreeMaxBytesToUseCacheBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMergeTreeMaxBytesToUseCache() {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
mergeTreeMaxBytesToUseCache_ = null;
onChanged();
} else {
mergeTreeMaxBytesToUseCache_ = null;
mergeTreeMaxBytesToUseCacheBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMergeTreeMaxBytesToUseCacheBuilder() {
onChanged();
return getMergeTreeMaxBytesToUseCacheFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMaxBytesToUseCacheOrBuilder() {
if (mergeTreeMaxBytesToUseCacheBuilder_ != null) {
return mergeTreeMaxBytesToUseCacheBuilder_.getMessageOrBuilder();
} else {
return mergeTreeMaxBytesToUseCache_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMaxBytesToUseCache_;
}
}
/**
*
* Limits the maximum size in bytes of the request that can use the cache of uncompressed data. The cache is not used for requests larger
* than the specified value.
* Use this setting in combination with [use_uncompressed_cache] setting.
* Value must be greater than **0** (default: **192x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_max_bytes_to_use_cache = 53 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMergeTreeMaxBytesToUseCacheFieldBuilder() {
if (mergeTreeMaxBytesToUseCacheBuilder_ == null) {
mergeTreeMaxBytesToUseCacheBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMergeTreeMaxBytesToUseCache(),
getParentForChildren(),
isClean());
mergeTreeMaxBytesToUseCache_ = null;
}
return mergeTreeMaxBytesToUseCacheBuilder_;
}
private com.google.protobuf.Int64Value mergeTreeMinRowsForConcurrentRead_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeTreeMinRowsForConcurrentReadBuilder_;
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinRowsForConcurrentRead field is set.
*/
public boolean hasMergeTreeMinRowsForConcurrentRead() {
return mergeTreeMinRowsForConcurrentReadBuilder_ != null || mergeTreeMinRowsForConcurrentRead_ != null;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinRowsForConcurrentRead.
*/
public com.google.protobuf.Int64Value getMergeTreeMinRowsForConcurrentRead() {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
return mergeTreeMinRowsForConcurrentRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinRowsForConcurrentRead_;
} else {
return mergeTreeMinRowsForConcurrentReadBuilder_.getMessage();
}
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMinRowsForConcurrentRead(com.google.protobuf.Int64Value value) {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mergeTreeMinRowsForConcurrentRead_ = value;
onChanged();
} else {
mergeTreeMinRowsForConcurrentReadBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMinRowsForConcurrentRead(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
mergeTreeMinRowsForConcurrentRead_ = builderForValue.build();
onChanged();
} else {
mergeTreeMinRowsForConcurrentReadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMergeTreeMinRowsForConcurrentRead(com.google.protobuf.Int64Value value) {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
if (mergeTreeMinRowsForConcurrentRead_ != null) {
mergeTreeMinRowsForConcurrentRead_ =
com.google.protobuf.Int64Value.newBuilder(mergeTreeMinRowsForConcurrentRead_).mergeFrom(value).buildPartial();
} else {
mergeTreeMinRowsForConcurrentRead_ = value;
}
onChanged();
} else {
mergeTreeMinRowsForConcurrentReadBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMergeTreeMinRowsForConcurrentRead() {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
mergeTreeMinRowsForConcurrentRead_ = null;
onChanged();
} else {
mergeTreeMinRowsForConcurrentRead_ = null;
mergeTreeMinRowsForConcurrentReadBuilder_ = null;
}
return this;
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMergeTreeMinRowsForConcurrentReadBuilder() {
onChanged();
return getMergeTreeMinRowsForConcurrentReadFieldBuilder().getBuilder();
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinRowsForConcurrentReadOrBuilder() {
if (mergeTreeMinRowsForConcurrentReadBuilder_ != null) {
return mergeTreeMinRowsForConcurrentReadBuilder_.getMessageOrBuilder();
} else {
return mergeTreeMinRowsForConcurrentRead_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinRowsForConcurrentRead_;
}
}
/**
*
* Limits the minimum number of rows to be read from a file to enable concurrent read.
* If the number of rows to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **20x8192**).
*
*
* .google.protobuf.Int64Value merge_tree_min_rows_for_concurrent_read = 54 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMergeTreeMinRowsForConcurrentReadFieldBuilder() {
if (mergeTreeMinRowsForConcurrentReadBuilder_ == null) {
mergeTreeMinRowsForConcurrentReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMergeTreeMinRowsForConcurrentRead(),
getParentForChildren(),
isClean());
mergeTreeMinRowsForConcurrentRead_ = null;
}
return mergeTreeMinRowsForConcurrentReadBuilder_;
}
private com.google.protobuf.Int64Value mergeTreeMinBytesForConcurrentRead_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeTreeMinBytesForConcurrentReadBuilder_;
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return Whether the mergeTreeMinBytesForConcurrentRead field is set.
*/
public boolean hasMergeTreeMinBytesForConcurrentRead() {
return mergeTreeMinBytesForConcurrentReadBuilder_ != null || mergeTreeMinBytesForConcurrentRead_ != null;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
* @return The mergeTreeMinBytesForConcurrentRead.
*/
public com.google.protobuf.Int64Value getMergeTreeMinBytesForConcurrentRead() {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
return mergeTreeMinBytesForConcurrentRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinBytesForConcurrentRead_;
} else {
return mergeTreeMinBytesForConcurrentReadBuilder_.getMessage();
}
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMinBytesForConcurrentRead(com.google.protobuf.Int64Value value) {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
mergeTreeMinBytesForConcurrentRead_ = value;
onChanged();
} else {
mergeTreeMinBytesForConcurrentReadBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMergeTreeMinBytesForConcurrentRead(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
mergeTreeMinBytesForConcurrentRead_ = builderForValue.build();
onChanged();
} else {
mergeTreeMinBytesForConcurrentReadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMergeTreeMinBytesForConcurrentRead(com.google.protobuf.Int64Value value) {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
if (mergeTreeMinBytesForConcurrentRead_ != null) {
mergeTreeMinBytesForConcurrentRead_ =
com.google.protobuf.Int64Value.newBuilder(mergeTreeMinBytesForConcurrentRead_).mergeFrom(value).buildPartial();
} else {
mergeTreeMinBytesForConcurrentRead_ = value;
}
onChanged();
} else {
mergeTreeMinBytesForConcurrentReadBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMergeTreeMinBytesForConcurrentRead() {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
mergeTreeMinBytesForConcurrentRead_ = null;
onChanged();
} else {
mergeTreeMinBytesForConcurrentRead_ = null;
mergeTreeMinBytesForConcurrentReadBuilder_ = null;
}
return this;
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMergeTreeMinBytesForConcurrentReadBuilder() {
onChanged();
return getMergeTreeMinBytesForConcurrentReadFieldBuilder().getBuilder();
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMergeTreeMinBytesForConcurrentReadOrBuilder() {
if (mergeTreeMinBytesForConcurrentReadBuilder_ != null) {
return mergeTreeMinBytesForConcurrentReadBuilder_.getMessageOrBuilder();
} else {
return mergeTreeMinBytesForConcurrentRead_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : mergeTreeMinBytesForConcurrentRead_;
}
}
/**
*
* Limits the number of bytes to be read from a file to enable concurrent read.
* If the number of bytes to be read exceeds this value, then ClickHouse will try to use a few threads to read from a file concurrently.
* This setting has effect only for tables of the MergeTree family.
* Value must be greater than **0** (default: **24x10x1024x1024**).
*
*
* .google.protobuf.Int64Value merge_tree_min_bytes_for_concurrent_read = 55 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMergeTreeMinBytesForConcurrentReadFieldBuilder() {
if (mergeTreeMinBytesForConcurrentReadBuilder_ == null) {
mergeTreeMinBytesForConcurrentReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMergeTreeMinBytesForConcurrentRead(),
getParentForChildren(),
isClean());
mergeTreeMinBytesForConcurrentRead_ = null;
}
return mergeTreeMinBytesForConcurrentReadBuilder_;
}
private com.google.protobuf.Int64Value maxBytesBeforeExternalGroupBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesBeforeExternalGroupByBuilder_;
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return Whether the maxBytesBeforeExternalGroupBy field is set.
*/
public boolean hasMaxBytesBeforeExternalGroupBy() {
return maxBytesBeforeExternalGroupByBuilder_ != null || maxBytesBeforeExternalGroupBy_ != null;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
* @return The maxBytesBeforeExternalGroupBy.
*/
public com.google.protobuf.Int64Value getMaxBytesBeforeExternalGroupBy() {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
return maxBytesBeforeExternalGroupBy_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalGroupBy_;
} else {
return maxBytesBeforeExternalGroupByBuilder_.getMessage();
}
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public Builder setMaxBytesBeforeExternalGroupBy(com.google.protobuf.Int64Value value) {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesBeforeExternalGroupBy_ = value;
onChanged();
} else {
maxBytesBeforeExternalGroupByBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public Builder setMaxBytesBeforeExternalGroupBy(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
maxBytesBeforeExternalGroupBy_ = builderForValue.build();
onChanged();
} else {
maxBytesBeforeExternalGroupByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public Builder mergeMaxBytesBeforeExternalGroupBy(com.google.protobuf.Int64Value value) {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
if (maxBytesBeforeExternalGroupBy_ != null) {
maxBytesBeforeExternalGroupBy_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesBeforeExternalGroupBy_).mergeFrom(value).buildPartial();
} else {
maxBytesBeforeExternalGroupBy_ = value;
}
onChanged();
} else {
maxBytesBeforeExternalGroupByBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public Builder clearMaxBytesBeforeExternalGroupBy() {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
maxBytesBeforeExternalGroupBy_ = null;
onChanged();
} else {
maxBytesBeforeExternalGroupBy_ = null;
maxBytesBeforeExternalGroupByBuilder_ = null;
}
return this;
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesBeforeExternalGroupByBuilder() {
onChanged();
return getMaxBytesBeforeExternalGroupByFieldBuilder().getBuilder();
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalGroupByOrBuilder() {
if (maxBytesBeforeExternalGroupByBuilder_ != null) {
return maxBytesBeforeExternalGroupByBuilder_.getMessageOrBuilder();
} else {
return maxBytesBeforeExternalGroupBy_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalGroupBy_;
}
}
/**
*
* Sets the threshold of RAM consumption (in bytes) after that the temporary data, collected during the **GROUP BY** operation, should be flushed to disk to limit the RAM comsumption.
* By default, aggregation is done by employing hash table that resides in RAM.
* A query can result in aggregation of huge data volumes that can lead to memory exhaustion and abortion of the query (see the [max_memory_usage] setting).
* For such queries, you can use this setting to force ClickHouse to do flushing and complete aggregation successfully.
* Minimal value and default value: **0**, **GROUP BY** in the external memory is disabled.
* When using aggregation in external memory, it is recommended to set the value of this setting twice as low as the [max_memory_usage] setting value (by default, the maximum memory usage is limited to ten gigabytes).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/sql-reference/statements/select/group-by/#select-group-by-in-external-memory).
* See also: the [distributed_aggregation_memory_efficient] setting.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_group_by = 74;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesBeforeExternalGroupByFieldBuilder() {
if (maxBytesBeforeExternalGroupByBuilder_ == null) {
maxBytesBeforeExternalGroupByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesBeforeExternalGroupBy(),
getParentForChildren(),
isClean());
maxBytesBeforeExternalGroupBy_ = null;
}
return maxBytesBeforeExternalGroupByBuilder_;
}
private com.google.protobuf.Int64Value maxBytesBeforeExternalSort_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesBeforeExternalSortBuilder_;
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return Whether the maxBytesBeforeExternalSort field is set.
*/
public boolean hasMaxBytesBeforeExternalSort() {
return maxBytesBeforeExternalSortBuilder_ != null || maxBytesBeforeExternalSort_ != null;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
* @return The maxBytesBeforeExternalSort.
*/
public com.google.protobuf.Int64Value getMaxBytesBeforeExternalSort() {
if (maxBytesBeforeExternalSortBuilder_ == null) {
return maxBytesBeforeExternalSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalSort_;
} else {
return maxBytesBeforeExternalSortBuilder_.getMessage();
}
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public Builder setMaxBytesBeforeExternalSort(com.google.protobuf.Int64Value value) {
if (maxBytesBeforeExternalSortBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesBeforeExternalSort_ = value;
onChanged();
} else {
maxBytesBeforeExternalSortBuilder_.setMessage(value);
}
return this;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public Builder setMaxBytesBeforeExternalSort(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesBeforeExternalSortBuilder_ == null) {
maxBytesBeforeExternalSort_ = builderForValue.build();
onChanged();
} else {
maxBytesBeforeExternalSortBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public Builder mergeMaxBytesBeforeExternalSort(com.google.protobuf.Int64Value value) {
if (maxBytesBeforeExternalSortBuilder_ == null) {
if (maxBytesBeforeExternalSort_ != null) {
maxBytesBeforeExternalSort_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesBeforeExternalSort_).mergeFrom(value).buildPartial();
} else {
maxBytesBeforeExternalSort_ = value;
}
onChanged();
} else {
maxBytesBeforeExternalSortBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public Builder clearMaxBytesBeforeExternalSort() {
if (maxBytesBeforeExternalSortBuilder_ == null) {
maxBytesBeforeExternalSort_ = null;
onChanged();
} else {
maxBytesBeforeExternalSort_ = null;
maxBytesBeforeExternalSortBuilder_ = null;
}
return this;
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesBeforeExternalSortBuilder() {
onChanged();
return getMaxBytesBeforeExternalSortFieldBuilder().getBuilder();
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesBeforeExternalSortOrBuilder() {
if (maxBytesBeforeExternalSortBuilder_ != null) {
return maxBytesBeforeExternalSortBuilder_.getMessageOrBuilder();
} else {
return maxBytesBeforeExternalSort_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesBeforeExternalSort_;
}
}
/**
*
* This setting is equivalent of the [max_bytes_before_external_group_by] setting, except for it is for sort operation (**ORDER BY**), not aggregation.
*
*
* .google.protobuf.Int64Value max_bytes_before_external_sort = 75;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesBeforeExternalSortFieldBuilder() {
if (maxBytesBeforeExternalSortBuilder_ == null) {
maxBytesBeforeExternalSortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesBeforeExternalSort(),
getParentForChildren(),
isClean());
maxBytesBeforeExternalSort_ = null;
}
return maxBytesBeforeExternalSortBuilder_;
}
private com.google.protobuf.Int64Value groupByTwoLevelThreshold_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> groupByTwoLevelThresholdBuilder_;
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return Whether the groupByTwoLevelThreshold field is set.
*/
public boolean hasGroupByTwoLevelThreshold() {
return groupByTwoLevelThresholdBuilder_ != null || groupByTwoLevelThreshold_ != null;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
* @return The groupByTwoLevelThreshold.
*/
public com.google.protobuf.Int64Value getGroupByTwoLevelThreshold() {
if (groupByTwoLevelThresholdBuilder_ == null) {
return groupByTwoLevelThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThreshold_;
} else {
return groupByTwoLevelThresholdBuilder_.getMessage();
}
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public Builder setGroupByTwoLevelThreshold(com.google.protobuf.Int64Value value) {
if (groupByTwoLevelThresholdBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
groupByTwoLevelThreshold_ = value;
onChanged();
} else {
groupByTwoLevelThresholdBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public Builder setGroupByTwoLevelThreshold(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (groupByTwoLevelThresholdBuilder_ == null) {
groupByTwoLevelThreshold_ = builderForValue.build();
onChanged();
} else {
groupByTwoLevelThresholdBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public Builder mergeGroupByTwoLevelThreshold(com.google.protobuf.Int64Value value) {
if (groupByTwoLevelThresholdBuilder_ == null) {
if (groupByTwoLevelThreshold_ != null) {
groupByTwoLevelThreshold_ =
com.google.protobuf.Int64Value.newBuilder(groupByTwoLevelThreshold_).mergeFrom(value).buildPartial();
} else {
groupByTwoLevelThreshold_ = value;
}
onChanged();
} else {
groupByTwoLevelThresholdBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public Builder clearGroupByTwoLevelThreshold() {
if (groupByTwoLevelThresholdBuilder_ == null) {
groupByTwoLevelThreshold_ = null;
onChanged();
} else {
groupByTwoLevelThreshold_ = null;
groupByTwoLevelThresholdBuilder_ = null;
}
return this;
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public com.google.protobuf.Int64Value.Builder getGroupByTwoLevelThresholdBuilder() {
onChanged();
return getGroupByTwoLevelThresholdFieldBuilder().getBuilder();
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
public com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdOrBuilder() {
if (groupByTwoLevelThresholdBuilder_ != null) {
return groupByTwoLevelThresholdBuilder_.getMessageOrBuilder();
} else {
return groupByTwoLevelThreshold_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThreshold_;
}
}
/**
*
* Sets the threshold of the number of keys, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **10000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold = 76;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getGroupByTwoLevelThresholdFieldBuilder() {
if (groupByTwoLevelThresholdBuilder_ == null) {
groupByTwoLevelThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getGroupByTwoLevelThreshold(),
getParentForChildren(),
isClean());
groupByTwoLevelThreshold_ = null;
}
return groupByTwoLevelThresholdBuilder_;
}
private com.google.protobuf.Int64Value groupByTwoLevelThresholdBytes_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> groupByTwoLevelThresholdBytesBuilder_;
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return Whether the groupByTwoLevelThresholdBytes field is set.
*/
public boolean hasGroupByTwoLevelThresholdBytes() {
return groupByTwoLevelThresholdBytesBuilder_ != null || groupByTwoLevelThresholdBytes_ != null;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
* @return The groupByTwoLevelThresholdBytes.
*/
public com.google.protobuf.Int64Value getGroupByTwoLevelThresholdBytes() {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
return groupByTwoLevelThresholdBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThresholdBytes_;
} else {
return groupByTwoLevelThresholdBytesBuilder_.getMessage();
}
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public Builder setGroupByTwoLevelThresholdBytes(com.google.protobuf.Int64Value value) {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
groupByTwoLevelThresholdBytes_ = value;
onChanged();
} else {
groupByTwoLevelThresholdBytesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public Builder setGroupByTwoLevelThresholdBytes(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
groupByTwoLevelThresholdBytes_ = builderForValue.build();
onChanged();
} else {
groupByTwoLevelThresholdBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public Builder mergeGroupByTwoLevelThresholdBytes(com.google.protobuf.Int64Value value) {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
if (groupByTwoLevelThresholdBytes_ != null) {
groupByTwoLevelThresholdBytes_ =
com.google.protobuf.Int64Value.newBuilder(groupByTwoLevelThresholdBytes_).mergeFrom(value).buildPartial();
} else {
groupByTwoLevelThresholdBytes_ = value;
}
onChanged();
} else {
groupByTwoLevelThresholdBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public Builder clearGroupByTwoLevelThresholdBytes() {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
groupByTwoLevelThresholdBytes_ = null;
onChanged();
} else {
groupByTwoLevelThresholdBytes_ = null;
groupByTwoLevelThresholdBytesBuilder_ = null;
}
return this;
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public com.google.protobuf.Int64Value.Builder getGroupByTwoLevelThresholdBytesBuilder() {
onChanged();
return getGroupByTwoLevelThresholdBytesFieldBuilder().getBuilder();
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
public com.google.protobuf.Int64ValueOrBuilder getGroupByTwoLevelThresholdBytesOrBuilder() {
if (groupByTwoLevelThresholdBytesBuilder_ != null) {
return groupByTwoLevelThresholdBytesBuilder_.getMessageOrBuilder();
} else {
return groupByTwoLevelThresholdBytes_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : groupByTwoLevelThresholdBytes_;
}
}
/**
*
* Sets the threshold of the number of bytes, after that the two-level aggregation should be used.
* Minimal value: **0**, threshold is not set (default: **100000000**).
*
*
* .google.protobuf.Int64Value group_by_two_level_threshold_bytes = 77;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getGroupByTwoLevelThresholdBytesFieldBuilder() {
if (groupByTwoLevelThresholdBytesBuilder_ == null) {
groupByTwoLevelThresholdBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getGroupByTwoLevelThresholdBytes(),
getParentForChildren(),
isClean());
groupByTwoLevelThresholdBytes_ = null;
}
return groupByTwoLevelThresholdBytesBuilder_;
}
private com.google.protobuf.Int64Value priority_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> priorityBuilder_;
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return Whether the priority field is set.
*/
public boolean hasPriority() {
return priorityBuilder_ != null || priority_ != null;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
* @return The priority.
*/
public com.google.protobuf.Int64Value getPriority() {
if (priorityBuilder_ == null) {
return priority_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : priority_;
} else {
return priorityBuilder_.getMessage();
}
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setPriority(com.google.protobuf.Int64Value value) {
if (priorityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
priority_ = value;
onChanged();
} else {
priorityBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setPriority(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (priorityBuilder_ == null) {
priority_ = builderForValue.build();
onChanged();
} else {
priorityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergePriority(com.google.protobuf.Int64Value value) {
if (priorityBuilder_ == null) {
if (priority_ != null) {
priority_ =
com.google.protobuf.Int64Value.newBuilder(priority_).mergeFrom(value).buildPartial();
} else {
priority_ = value;
}
onChanged();
} else {
priorityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearPriority() {
if (priorityBuilder_ == null) {
priority_ = null;
onChanged();
} else {
priority_ = null;
priorityBuilder_ = null;
}
return this;
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getPriorityBuilder() {
onChanged();
return getPriorityFieldBuilder().getBuilder();
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getPriorityOrBuilder() {
if (priorityBuilder_ != null) {
return priorityBuilder_.getMessageOrBuilder();
} else {
return priority_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : priority_;
}
}
/**
*
* Sets the priority of a query.
* * **0**-priority is not used.
* * **1**-the highest priority.
* * and so on. The higher the number, the lower a query's priority.
* This setting should be set up for each query individually.
* If ClickHouse is working with the high-priority queries, and a low-priority query enters, then the low-priority query is paused until higher-priority queries are completed.
* Minimal value and default value: **0**, priority is not used.
*
*
* .google.protobuf.Int64Value priority = 56 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getPriorityFieldBuilder() {
if (priorityBuilder_ == null) {
priorityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getPriority(),
getParentForChildren(),
isClean());
priority_ = null;
}
return priorityBuilder_;
}
private com.google.protobuf.Int64Value maxThreads_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxThreadsBuilder_;
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxThreads field is set.
*/
public boolean hasMaxThreads() {
return maxThreadsBuilder_ != null || maxThreads_ != null;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
* @return The maxThreads.
*/
public com.google.protobuf.Int64Value getMaxThreads() {
if (maxThreadsBuilder_ == null) {
return maxThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxThreads_;
} else {
return maxThreadsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxThreads(com.google.protobuf.Int64Value value) {
if (maxThreadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxThreads_ = value;
onChanged();
} else {
maxThreadsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxThreads(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxThreadsBuilder_ == null) {
maxThreads_ = builderForValue.build();
onChanged();
} else {
maxThreadsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxThreads(com.google.protobuf.Int64Value value) {
if (maxThreadsBuilder_ == null) {
if (maxThreads_ != null) {
maxThreads_ =
com.google.protobuf.Int64Value.newBuilder(maxThreads_).mergeFrom(value).buildPartial();
} else {
maxThreads_ = value;
}
onChanged();
} else {
maxThreadsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxThreads() {
if (maxThreadsBuilder_ == null) {
maxThreads_ = null;
onChanged();
} else {
maxThreads_ = null;
maxThreadsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxThreadsBuilder() {
onChanged();
return getMaxThreadsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxThreadsOrBuilder() {
if (maxThreadsBuilder_ != null) {
return maxThreadsBuilder_.getMessageOrBuilder();
} else {
return maxThreads_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxThreads_;
}
}
/**
*
* Limits the maximum number of threads to process the request (setting does not take threads that read data from remote servers into account).
* This setting applies to threads that perform the same stages of the query processing pipeline in parallel.
* Minimal value and default value: **0** (the thread number is calculated automatically based on the number of physical CPU cores, no HyperThreading cores are taken into account).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_threads).
*
*
* .google.protobuf.Int64Value max_threads = 8 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxThreadsFieldBuilder() {
if (maxThreadsBuilder_ == null) {
maxThreadsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxThreads(),
getParentForChildren(),
isClean());
maxThreads_ = null;
}
return maxThreadsBuilder_;
}
private com.google.protobuf.Int64Value maxMemoryUsage_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxMemoryUsageBuilder_;
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsage field is set.
*/
public boolean hasMaxMemoryUsage() {
return maxMemoryUsageBuilder_ != null || maxMemoryUsage_ != null;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsage.
*/
public com.google.protobuf.Int64Value getMaxMemoryUsage() {
if (maxMemoryUsageBuilder_ == null) {
return maxMemoryUsage_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsage_;
} else {
return maxMemoryUsageBuilder_.getMessage();
}
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxMemoryUsage(com.google.protobuf.Int64Value value) {
if (maxMemoryUsageBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxMemoryUsage_ = value;
onChanged();
} else {
maxMemoryUsageBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxMemoryUsage(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxMemoryUsageBuilder_ == null) {
maxMemoryUsage_ = builderForValue.build();
onChanged();
} else {
maxMemoryUsageBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxMemoryUsage(com.google.protobuf.Int64Value value) {
if (maxMemoryUsageBuilder_ == null) {
if (maxMemoryUsage_ != null) {
maxMemoryUsage_ =
com.google.protobuf.Int64Value.newBuilder(maxMemoryUsage_).mergeFrom(value).buildPartial();
} else {
maxMemoryUsage_ = value;
}
onChanged();
} else {
maxMemoryUsageBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxMemoryUsage() {
if (maxMemoryUsageBuilder_ == null) {
maxMemoryUsage_ = null;
onChanged();
} else {
maxMemoryUsage_ = null;
maxMemoryUsageBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxMemoryUsageBuilder() {
onChanged();
return getMaxMemoryUsageFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageOrBuilder() {
if (maxMemoryUsageBuilder_ != null) {
return maxMemoryUsageBuilder_.getMessageOrBuilder();
} else {
return maxMemoryUsage_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsage_;
}
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of a single user's query on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for any user's single query on a single server.
* Minimal value: **0**, no limitation is set.
* Value that is set in the ClickHouse default config file: **10737418240** (10 GB).
* If you use [max_bytes_before_external_group_by] or [max_bytes_before_external_sort] setting, then it is recommended to set their values twice as low as [max_memory_usage] setting value.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#settings_max_memory_usage).
*
*
* .google.protobuf.Int64Value max_memory_usage = 11 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxMemoryUsageFieldBuilder() {
if (maxMemoryUsageBuilder_ == null) {
maxMemoryUsageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxMemoryUsage(),
getParentForChildren(),
isClean());
maxMemoryUsage_ = null;
}
return maxMemoryUsageBuilder_;
}
private com.google.protobuf.Int64Value maxMemoryUsageForUser_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxMemoryUsageForUserBuilder_;
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxMemoryUsageForUser field is set.
*/
public boolean hasMaxMemoryUsageForUser() {
return maxMemoryUsageForUserBuilder_ != null || maxMemoryUsageForUser_ != null;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
* @return The maxMemoryUsageForUser.
*/
public com.google.protobuf.Int64Value getMaxMemoryUsageForUser() {
if (maxMemoryUsageForUserBuilder_ == null) {
return maxMemoryUsageForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsageForUser_;
} else {
return maxMemoryUsageForUserBuilder_.getMessage();
}
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxMemoryUsageForUser(com.google.protobuf.Int64Value value) {
if (maxMemoryUsageForUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxMemoryUsageForUser_ = value;
onChanged();
} else {
maxMemoryUsageForUserBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxMemoryUsageForUser(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxMemoryUsageForUserBuilder_ == null) {
maxMemoryUsageForUser_ = builderForValue.build();
onChanged();
} else {
maxMemoryUsageForUserBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxMemoryUsageForUser(com.google.protobuf.Int64Value value) {
if (maxMemoryUsageForUserBuilder_ == null) {
if (maxMemoryUsageForUser_ != null) {
maxMemoryUsageForUser_ =
com.google.protobuf.Int64Value.newBuilder(maxMemoryUsageForUser_).mergeFrom(value).buildPartial();
} else {
maxMemoryUsageForUser_ = value;
}
onChanged();
} else {
maxMemoryUsageForUserBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxMemoryUsageForUser() {
if (maxMemoryUsageForUserBuilder_ == null) {
maxMemoryUsageForUser_ = null;
onChanged();
} else {
maxMemoryUsageForUser_ = null;
maxMemoryUsageForUserBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxMemoryUsageForUserBuilder() {
onChanged();
return getMaxMemoryUsageForUserFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxMemoryUsageForUserOrBuilder() {
if (maxMemoryUsageForUserBuilder_ != null) {
return maxMemoryUsageForUserBuilder_.getMessageOrBuilder();
} else {
return maxMemoryUsageForUser_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxMemoryUsageForUser_;
}
}
/**
*
* Limits the maximum memory usage (in bytes) for processing of user's queries on a single server.
* This setting does not take server's free RAM amount or total RAM amount into account.
* This limitation is enforced for all queries that belong to one user and run simultaneously on a single server.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_memory_usage_for_user = 12 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxMemoryUsageForUserFieldBuilder() {
if (maxMemoryUsageForUserBuilder_ == null) {
maxMemoryUsageForUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxMemoryUsageForUser(),
getParentForChildren(),
isClean());
maxMemoryUsageForUser_ = null;
}
return maxMemoryUsageForUserBuilder_;
}
private com.google.protobuf.Int64Value maxNetworkBandwidth_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxNetworkBandwidthBuilder_;
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return Whether the maxNetworkBandwidth field is set.
*/
public boolean hasMaxNetworkBandwidth() {
return maxNetworkBandwidthBuilder_ != null || maxNetworkBandwidth_ != null;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
* @return The maxNetworkBandwidth.
*/
public com.google.protobuf.Int64Value getMaxNetworkBandwidth() {
if (maxNetworkBandwidthBuilder_ == null) {
return maxNetworkBandwidth_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidth_;
} else {
return maxNetworkBandwidthBuilder_.getMessage();
}
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public Builder setMaxNetworkBandwidth(com.google.protobuf.Int64Value value) {
if (maxNetworkBandwidthBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxNetworkBandwidth_ = value;
onChanged();
} else {
maxNetworkBandwidthBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public Builder setMaxNetworkBandwidth(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxNetworkBandwidthBuilder_ == null) {
maxNetworkBandwidth_ = builderForValue.build();
onChanged();
} else {
maxNetworkBandwidthBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public Builder mergeMaxNetworkBandwidth(com.google.protobuf.Int64Value value) {
if (maxNetworkBandwidthBuilder_ == null) {
if (maxNetworkBandwidth_ != null) {
maxNetworkBandwidth_ =
com.google.protobuf.Int64Value.newBuilder(maxNetworkBandwidth_).mergeFrom(value).buildPartial();
} else {
maxNetworkBandwidth_ = value;
}
onChanged();
} else {
maxNetworkBandwidthBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public Builder clearMaxNetworkBandwidth() {
if (maxNetworkBandwidthBuilder_ == null) {
maxNetworkBandwidth_ = null;
onChanged();
} else {
maxNetworkBandwidth_ = null;
maxNetworkBandwidthBuilder_ = null;
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public com.google.protobuf.Int64Value.Builder getMaxNetworkBandwidthBuilder() {
onChanged();
return getMaxNetworkBandwidthFieldBuilder().getBuilder();
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthOrBuilder() {
if (maxNetworkBandwidthBuilder_ != null) {
return maxNetworkBandwidthBuilder_.getMessageOrBuilder();
} else {
return maxNetworkBandwidth_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidth_;
}
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth = 57;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxNetworkBandwidthFieldBuilder() {
if (maxNetworkBandwidthBuilder_ == null) {
maxNetworkBandwidthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxNetworkBandwidth(),
getParentForChildren(),
isClean());
maxNetworkBandwidth_ = null;
}
return maxNetworkBandwidthBuilder_;
}
private com.google.protobuf.Int64Value maxNetworkBandwidthForUser_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxNetworkBandwidthForUserBuilder_;
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return Whether the maxNetworkBandwidthForUser field is set.
*/
public boolean hasMaxNetworkBandwidthForUser() {
return maxNetworkBandwidthForUserBuilder_ != null || maxNetworkBandwidthForUser_ != null;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
* @return The maxNetworkBandwidthForUser.
*/
public com.google.protobuf.Int64Value getMaxNetworkBandwidthForUser() {
if (maxNetworkBandwidthForUserBuilder_ == null) {
return maxNetworkBandwidthForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidthForUser_;
} else {
return maxNetworkBandwidthForUserBuilder_.getMessage();
}
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public Builder setMaxNetworkBandwidthForUser(com.google.protobuf.Int64Value value) {
if (maxNetworkBandwidthForUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxNetworkBandwidthForUser_ = value;
onChanged();
} else {
maxNetworkBandwidthForUserBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public Builder setMaxNetworkBandwidthForUser(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxNetworkBandwidthForUserBuilder_ == null) {
maxNetworkBandwidthForUser_ = builderForValue.build();
onChanged();
} else {
maxNetworkBandwidthForUserBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public Builder mergeMaxNetworkBandwidthForUser(com.google.protobuf.Int64Value value) {
if (maxNetworkBandwidthForUserBuilder_ == null) {
if (maxNetworkBandwidthForUser_ != null) {
maxNetworkBandwidthForUser_ =
com.google.protobuf.Int64Value.newBuilder(maxNetworkBandwidthForUser_).mergeFrom(value).buildPartial();
} else {
maxNetworkBandwidthForUser_ = value;
}
onChanged();
} else {
maxNetworkBandwidthForUserBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public Builder clearMaxNetworkBandwidthForUser() {
if (maxNetworkBandwidthForUserBuilder_ == null) {
maxNetworkBandwidthForUser_ = null;
onChanged();
} else {
maxNetworkBandwidthForUser_ = null;
maxNetworkBandwidthForUserBuilder_ = null;
}
return this;
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public com.google.protobuf.Int64Value.Builder getMaxNetworkBandwidthForUserBuilder() {
onChanged();
return getMaxNetworkBandwidthForUserFieldBuilder().getBuilder();
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxNetworkBandwidthForUserOrBuilder() {
if (maxNetworkBandwidthForUserBuilder_ != null) {
return maxNetworkBandwidthForUserBuilder_.getMessageOrBuilder();
} else {
return maxNetworkBandwidthForUser_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxNetworkBandwidthForUser_;
}
}
/**
*
* The maximum speed of data exchange over the network in bytes per second for all concurrently running user queries.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_network_bandwidth_for_user = 58;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxNetworkBandwidthForUserFieldBuilder() {
if (maxNetworkBandwidthForUserBuilder_ == null) {
maxNetworkBandwidthForUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxNetworkBandwidthForUser(),
getParentForChildren(),
isClean());
maxNetworkBandwidthForUser_ = null;
}
return maxNetworkBandwidthForUserBuilder_;
}
private com.google.protobuf.Int64Value maxPartitionsPerInsertBlock_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxPartitionsPerInsertBlockBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return Whether the maxPartitionsPerInsertBlock field is set.
*/
public boolean hasMaxPartitionsPerInsertBlock() {
return maxPartitionsPerInsertBlockBuilder_ != null || maxPartitionsPerInsertBlock_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
* @return The maxPartitionsPerInsertBlock.
*/
public com.google.protobuf.Int64Value getMaxPartitionsPerInsertBlock() {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
return maxPartitionsPerInsertBlock_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionsPerInsertBlock_;
} else {
return maxPartitionsPerInsertBlockBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public Builder setMaxPartitionsPerInsertBlock(com.google.protobuf.Int64Value value) {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxPartitionsPerInsertBlock_ = value;
onChanged();
} else {
maxPartitionsPerInsertBlockBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public Builder setMaxPartitionsPerInsertBlock(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
maxPartitionsPerInsertBlock_ = builderForValue.build();
onChanged();
} else {
maxPartitionsPerInsertBlockBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public Builder mergeMaxPartitionsPerInsertBlock(com.google.protobuf.Int64Value value) {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
if (maxPartitionsPerInsertBlock_ != null) {
maxPartitionsPerInsertBlock_ =
com.google.protobuf.Int64Value.newBuilder(maxPartitionsPerInsertBlock_).mergeFrom(value).buildPartial();
} else {
maxPartitionsPerInsertBlock_ = value;
}
onChanged();
} else {
maxPartitionsPerInsertBlockBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public Builder clearMaxPartitionsPerInsertBlock() {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
maxPartitionsPerInsertBlock_ = null;
onChanged();
} else {
maxPartitionsPerInsertBlock_ = null;
maxPartitionsPerInsertBlockBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public com.google.protobuf.Int64Value.Builder getMaxPartitionsPerInsertBlockBuilder() {
onChanged();
return getMaxPartitionsPerInsertBlockFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxPartitionsPerInsertBlockOrBuilder() {
if (maxPartitionsPerInsertBlockBuilder_ != null) {
return maxPartitionsPerInsertBlockBuilder_.getMessageOrBuilder();
} else {
return maxPartitionsPerInsertBlock_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionsPerInsertBlock_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/ru/operations/settings/query-complexity/#max-partitions-per-insert-block).
*
*
* .google.protobuf.Int64Value max_partitions_per_insert_block = 102;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxPartitionsPerInsertBlockFieldBuilder() {
if (maxPartitionsPerInsertBlockBuilder_ == null) {
maxPartitionsPerInsertBlockBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxPartitionsPerInsertBlock(),
getParentForChildren(),
isClean());
maxPartitionsPerInsertBlock_ = null;
}
return maxPartitionsPerInsertBlockBuilder_;
}
private com.google.protobuf.Int64Value maxConcurrentQueriesForUser_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxConcurrentQueriesForUserBuilder_;
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return Whether the maxConcurrentQueriesForUser field is set.
*/
public boolean hasMaxConcurrentQueriesForUser() {
return maxConcurrentQueriesForUserBuilder_ != null || maxConcurrentQueriesForUser_ != null;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
* @return The maxConcurrentQueriesForUser.
*/
public com.google.protobuf.Int64Value getMaxConcurrentQueriesForUser() {
if (maxConcurrentQueriesForUserBuilder_ == null) {
return maxConcurrentQueriesForUser_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueriesForUser_;
} else {
return maxConcurrentQueriesForUserBuilder_.getMessage();
}
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public Builder setMaxConcurrentQueriesForUser(com.google.protobuf.Int64Value value) {
if (maxConcurrentQueriesForUserBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxConcurrentQueriesForUser_ = value;
onChanged();
} else {
maxConcurrentQueriesForUserBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public Builder setMaxConcurrentQueriesForUser(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxConcurrentQueriesForUserBuilder_ == null) {
maxConcurrentQueriesForUser_ = builderForValue.build();
onChanged();
} else {
maxConcurrentQueriesForUserBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public Builder mergeMaxConcurrentQueriesForUser(com.google.protobuf.Int64Value value) {
if (maxConcurrentQueriesForUserBuilder_ == null) {
if (maxConcurrentQueriesForUser_ != null) {
maxConcurrentQueriesForUser_ =
com.google.protobuf.Int64Value.newBuilder(maxConcurrentQueriesForUser_).mergeFrom(value).buildPartial();
} else {
maxConcurrentQueriesForUser_ = value;
}
onChanged();
} else {
maxConcurrentQueriesForUserBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public Builder clearMaxConcurrentQueriesForUser() {
if (maxConcurrentQueriesForUserBuilder_ == null) {
maxConcurrentQueriesForUser_ = null;
onChanged();
} else {
maxConcurrentQueriesForUser_ = null;
maxConcurrentQueriesForUserBuilder_ = null;
}
return this;
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public com.google.protobuf.Int64Value.Builder getMaxConcurrentQueriesForUserBuilder() {
onChanged();
return getMaxConcurrentQueriesForUserFieldBuilder().getBuilder();
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesForUserOrBuilder() {
if (maxConcurrentQueriesForUserBuilder_ != null) {
return maxConcurrentQueriesForUserBuilder_.getMessageOrBuilder();
} else {
return maxConcurrentQueriesForUser_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueriesForUser_;
}
}
/**
*
* The maximum number of concurrent requests per user.
* Default value: 0 (no limit).
*
*
* .google.protobuf.Int64Value max_concurrent_queries_for_user = 103;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxConcurrentQueriesForUserFieldBuilder() {
if (maxConcurrentQueriesForUserBuilder_ == null) {
maxConcurrentQueriesForUserBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxConcurrentQueriesForUser(),
getParentForChildren(),
isClean());
maxConcurrentQueriesForUser_ = null;
}
return maxConcurrentQueriesForUserBuilder_;
}
private com.google.protobuf.BoolValue forceIndexByDate_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> forceIndexByDateBuilder_;
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return Whether the forceIndexByDate field is set.
*/
public boolean hasForceIndexByDate() {
return forceIndexByDateBuilder_ != null || forceIndexByDate_ != null;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
* @return The forceIndexByDate.
*/
public com.google.protobuf.BoolValue getForceIndexByDate() {
if (forceIndexByDateBuilder_ == null) {
return forceIndexByDate_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : forceIndexByDate_;
} else {
return forceIndexByDateBuilder_.getMessage();
}
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public Builder setForceIndexByDate(com.google.protobuf.BoolValue value) {
if (forceIndexByDateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
forceIndexByDate_ = value;
onChanged();
} else {
forceIndexByDateBuilder_.setMessage(value);
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public Builder setForceIndexByDate(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (forceIndexByDateBuilder_ == null) {
forceIndexByDate_ = builderForValue.build();
onChanged();
} else {
forceIndexByDateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public Builder mergeForceIndexByDate(com.google.protobuf.BoolValue value) {
if (forceIndexByDateBuilder_ == null) {
if (forceIndexByDate_ != null) {
forceIndexByDate_ =
com.google.protobuf.BoolValue.newBuilder(forceIndexByDate_).mergeFrom(value).buildPartial();
} else {
forceIndexByDate_ = value;
}
onChanged();
} else {
forceIndexByDateBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public Builder clearForceIndexByDate() {
if (forceIndexByDateBuilder_ == null) {
forceIndexByDate_ = null;
onChanged();
} else {
forceIndexByDate_ = null;
forceIndexByDateBuilder_ = null;
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public com.google.protobuf.BoolValue.Builder getForceIndexByDateBuilder() {
onChanged();
return getForceIndexByDateFieldBuilder().getBuilder();
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
public com.google.protobuf.BoolValueOrBuilder getForceIndexByDateOrBuilder() {
if (forceIndexByDateBuilder_ != null) {
return forceIndexByDateBuilder_.getMessageOrBuilder();
} else {
return forceIndexByDate_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : forceIndexByDate_;
}
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by date.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by date).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-force_index_by_date).
*
*
* .google.protobuf.BoolValue force_index_by_date = 59;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getForceIndexByDateFieldBuilder() {
if (forceIndexByDateBuilder_ == null) {
forceIndexByDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getForceIndexByDate(),
getParentForChildren(),
isClean());
forceIndexByDate_ = null;
}
return forceIndexByDateBuilder_;
}
private com.google.protobuf.BoolValue forcePrimaryKey_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> forcePrimaryKeyBuilder_;
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return Whether the forcePrimaryKey field is set.
*/
public boolean hasForcePrimaryKey() {
return forcePrimaryKeyBuilder_ != null || forcePrimaryKey_ != null;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
* @return The forcePrimaryKey.
*/
public com.google.protobuf.BoolValue getForcePrimaryKey() {
if (forcePrimaryKeyBuilder_ == null) {
return forcePrimaryKey_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : forcePrimaryKey_;
} else {
return forcePrimaryKeyBuilder_.getMessage();
}
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public Builder setForcePrimaryKey(com.google.protobuf.BoolValue value) {
if (forcePrimaryKeyBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
forcePrimaryKey_ = value;
onChanged();
} else {
forcePrimaryKeyBuilder_.setMessage(value);
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public Builder setForcePrimaryKey(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (forcePrimaryKeyBuilder_ == null) {
forcePrimaryKey_ = builderForValue.build();
onChanged();
} else {
forcePrimaryKeyBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public Builder mergeForcePrimaryKey(com.google.protobuf.BoolValue value) {
if (forcePrimaryKeyBuilder_ == null) {
if (forcePrimaryKey_ != null) {
forcePrimaryKey_ =
com.google.protobuf.BoolValue.newBuilder(forcePrimaryKey_).mergeFrom(value).buildPartial();
} else {
forcePrimaryKey_ = value;
}
onChanged();
} else {
forcePrimaryKeyBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public Builder clearForcePrimaryKey() {
if (forcePrimaryKeyBuilder_ == null) {
forcePrimaryKey_ = null;
onChanged();
} else {
forcePrimaryKey_ = null;
forcePrimaryKeyBuilder_ = null;
}
return this;
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public com.google.protobuf.BoolValue.Builder getForcePrimaryKeyBuilder() {
onChanged();
return getForcePrimaryKeyFieldBuilder().getBuilder();
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
public com.google.protobuf.BoolValueOrBuilder getForcePrimaryKeyOrBuilder() {
if (forcePrimaryKeyBuilder_ != null) {
return forcePrimaryKeyBuilder_.getMessageOrBuilder();
} else {
return forcePrimaryKey_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : forcePrimaryKey_;
}
}
/**
*
* If enabled, query is not executed if the ClickHouse can't use index by primary key.
* This setting has effect only for tables of the MergeTree family.
* Default value: **false** (setting is disabled, query executes even if ClickHouse can't use index by primary key).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#force-primary-key).
*
*
* .google.protobuf.BoolValue force_primary_key = 60;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getForcePrimaryKeyFieldBuilder() {
if (forcePrimaryKeyBuilder_ == null) {
forcePrimaryKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getForcePrimaryKey(),
getParentForChildren(),
isClean());
forcePrimaryKey_ = null;
}
return forcePrimaryKeyBuilder_;
}
private com.google.protobuf.Int64Value maxRowsToRead_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsToReadBuilder_;
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToRead field is set.
*/
public boolean hasMaxRowsToRead() {
return maxRowsToReadBuilder_ != null || maxRowsToRead_ != null;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToRead.
*/
public com.google.protobuf.Int64Value getMaxRowsToRead() {
if (maxRowsToReadBuilder_ == null) {
return maxRowsToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToRead_;
} else {
return maxRowsToReadBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToRead(com.google.protobuf.Int64Value value) {
if (maxRowsToReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsToRead_ = value;
onChanged();
} else {
maxRowsToReadBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToRead(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsToReadBuilder_ == null) {
maxRowsToRead_ = builderForValue.build();
onChanged();
} else {
maxRowsToReadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsToRead(com.google.protobuf.Int64Value value) {
if (maxRowsToReadBuilder_ == null) {
if (maxRowsToRead_ != null) {
maxRowsToRead_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsToRead_).mergeFrom(value).buildPartial();
} else {
maxRowsToRead_ = value;
}
onChanged();
} else {
maxRowsToReadBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsToRead() {
if (maxRowsToReadBuilder_ == null) {
maxRowsToRead_ = null;
onChanged();
} else {
maxRowsToRead_ = null;
maxRowsToReadBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsToReadBuilder() {
onChanged();
return getMaxRowsToReadFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToReadOrBuilder() {
if (maxRowsToReadBuilder_ != null) {
return maxRowsToReadBuilder_.getMessageOrBuilder();
} else {
return maxRowsToRead_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToRead_;
}
}
/**
*
* Limits the maximum number of rows that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-rows-to-read).
*
*
* .google.protobuf.Int64Value max_rows_to_read = 13 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsToReadFieldBuilder() {
if (maxRowsToReadBuilder_ == null) {
maxRowsToReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsToRead(),
getParentForChildren(),
isClean());
maxRowsToRead_ = null;
}
return maxRowsToReadBuilder_;
}
private com.google.protobuf.Int64Value maxBytesToRead_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesToReadBuilder_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToRead field is set.
*/
public boolean hasMaxBytesToRead() {
return maxBytesToReadBuilder_ != null || maxBytesToRead_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToRead.
*/
public com.google.protobuf.Int64Value getMaxBytesToRead() {
if (maxBytesToReadBuilder_ == null) {
return maxBytesToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToRead_;
} else {
return maxBytesToReadBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToRead(com.google.protobuf.Int64Value value) {
if (maxBytesToReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesToRead_ = value;
onChanged();
} else {
maxBytesToReadBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToRead(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesToReadBuilder_ == null) {
maxBytesToRead_ = builderForValue.build();
onChanged();
} else {
maxBytesToReadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesToRead(com.google.protobuf.Int64Value value) {
if (maxBytesToReadBuilder_ == null) {
if (maxBytesToRead_ != null) {
maxBytesToRead_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesToRead_).mergeFrom(value).buildPartial();
} else {
maxBytesToRead_ = value;
}
onChanged();
} else {
maxBytesToReadBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesToRead() {
if (maxBytesToReadBuilder_ == null) {
maxBytesToRead_ = null;
onChanged();
} else {
maxBytesToRead_ = null;
maxBytesToReadBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesToReadBuilder() {
onChanged();
return getMaxBytesToReadFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToReadOrBuilder() {
if (maxBytesToReadBuilder_ != null) {
return maxBytesToReadBuilder_.getMessageOrBuilder();
} else {
return maxBytesToRead_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToRead_;
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table when running a query.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_read = 14 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesToReadFieldBuilder() {
if (maxBytesToReadBuilder_ == null) {
maxBytesToReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesToRead(),
getParentForChildren(),
isClean());
maxBytesToRead_ = null;
}
return maxBytesToReadBuilder_;
}
private int readOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The enum numeric value on the wire for readOverflowMode.
*/
@java.lang.Override public int getReadOverflowModeValue() {
return readOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @param value The enum numeric value on the wire for readOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setReadOverflowModeValue(int value) {
readOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return The readOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getReadOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(readOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @param value The readOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setReadOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
readOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while reading the data.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode read_overflow_mode = 15;
* @return This builder for chaining.
*/
public Builder clearReadOverflowMode() {
readOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsToGroupBy_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsToGroupByBuilder_;
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToGroupBy field is set.
*/
public boolean hasMaxRowsToGroupBy() {
return maxRowsToGroupByBuilder_ != null || maxRowsToGroupBy_ != null;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToGroupBy.
*/
public com.google.protobuf.Int64Value getMaxRowsToGroupBy() {
if (maxRowsToGroupByBuilder_ == null) {
return maxRowsToGroupBy_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToGroupBy_;
} else {
return maxRowsToGroupByBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToGroupBy(com.google.protobuf.Int64Value value) {
if (maxRowsToGroupByBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsToGroupBy_ = value;
onChanged();
} else {
maxRowsToGroupByBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToGroupBy(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsToGroupByBuilder_ == null) {
maxRowsToGroupBy_ = builderForValue.build();
onChanged();
} else {
maxRowsToGroupByBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsToGroupBy(com.google.protobuf.Int64Value value) {
if (maxRowsToGroupByBuilder_ == null) {
if (maxRowsToGroupBy_ != null) {
maxRowsToGroupBy_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsToGroupBy_).mergeFrom(value).buildPartial();
} else {
maxRowsToGroupBy_ = value;
}
onChanged();
} else {
maxRowsToGroupByBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsToGroupBy() {
if (maxRowsToGroupByBuilder_ == null) {
maxRowsToGroupBy_ = null;
onChanged();
} else {
maxRowsToGroupBy_ = null;
maxRowsToGroupByBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsToGroupByBuilder() {
onChanged();
return getMaxRowsToGroupByFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToGroupByOrBuilder() {
if (maxRowsToGroupByBuilder_ != null) {
return maxRowsToGroupByBuilder_.getMessageOrBuilder();
} else {
return maxRowsToGroupBy_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToGroupBy_;
}
}
/**
*
* Limits the maximum number of unique keys received from aggregation function.
* This setting helps to reduce RAM consumption while doing aggregation.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_group_by = 16 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsToGroupByFieldBuilder() {
if (maxRowsToGroupByBuilder_ == null) {
maxRowsToGroupByBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsToGroupBy(),
getParentForChildren(),
isClean());
maxRowsToGroupBy_ = null;
}
return maxRowsToGroupByBuilder_;
}
private int groupByOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The enum numeric value on the wire for groupByOverflowMode.
*/
@java.lang.Override public int getGroupByOverflowModeValue() {
return groupByOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @param value The enum numeric value on the wire for groupByOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setGroupByOverflowModeValue(int value) {
groupByOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return The groupByOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode getGroupByOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.valueOf(groupByOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @param value The groupByOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setGroupByOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.GroupByOverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
groupByOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing aggregation.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
* * **any**-perform approximate **GROUP BY** operation by continuing aggregation for the keys that got into the set, but don't add new keys to the set.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.GroupByOverflowMode group_by_overflow_mode = 17;
* @return This builder for chaining.
*/
public Builder clearGroupByOverflowMode() {
groupByOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsToSort_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsToSortBuilder_;
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToSort field is set.
*/
public boolean hasMaxRowsToSort() {
return maxRowsToSortBuilder_ != null || maxRowsToSort_ != null;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToSort.
*/
public com.google.protobuf.Int64Value getMaxRowsToSort() {
if (maxRowsToSortBuilder_ == null) {
return maxRowsToSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToSort_;
} else {
return maxRowsToSortBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToSort(com.google.protobuf.Int64Value value) {
if (maxRowsToSortBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsToSort_ = value;
onChanged();
} else {
maxRowsToSortBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToSort(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsToSortBuilder_ == null) {
maxRowsToSort_ = builderForValue.build();
onChanged();
} else {
maxRowsToSortBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsToSort(com.google.protobuf.Int64Value value) {
if (maxRowsToSortBuilder_ == null) {
if (maxRowsToSort_ != null) {
maxRowsToSort_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsToSort_).mergeFrom(value).buildPartial();
} else {
maxRowsToSort_ = value;
}
onChanged();
} else {
maxRowsToSortBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsToSort() {
if (maxRowsToSortBuilder_ == null) {
maxRowsToSort_ = null;
onChanged();
} else {
maxRowsToSort_ = null;
maxRowsToSortBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsToSortBuilder() {
onChanged();
return getMaxRowsToSortFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToSortOrBuilder() {
if (maxRowsToSortBuilder_ != null) {
return maxRowsToSortBuilder_.getMessageOrBuilder();
} else {
return maxRowsToSort_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToSort_;
}
}
/**
*
* Limits the maximum number of rows that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_sort = 18 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsToSortFieldBuilder() {
if (maxRowsToSortBuilder_ == null) {
maxRowsToSortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsToSort(),
getParentForChildren(),
isClean());
maxRowsToSort_ = null;
}
return maxRowsToSortBuilder_;
}
private com.google.protobuf.Int64Value maxBytesToSort_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesToSortBuilder_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToSort field is set.
*/
public boolean hasMaxBytesToSort() {
return maxBytesToSortBuilder_ != null || maxBytesToSort_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToSort.
*/
public com.google.protobuf.Int64Value getMaxBytesToSort() {
if (maxBytesToSortBuilder_ == null) {
return maxBytesToSort_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToSort_;
} else {
return maxBytesToSortBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToSort(com.google.protobuf.Int64Value value) {
if (maxBytesToSortBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesToSort_ = value;
onChanged();
} else {
maxBytesToSortBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToSort(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesToSortBuilder_ == null) {
maxBytesToSort_ = builderForValue.build();
onChanged();
} else {
maxBytesToSortBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesToSort(com.google.protobuf.Int64Value value) {
if (maxBytesToSortBuilder_ == null) {
if (maxBytesToSort_ != null) {
maxBytesToSort_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesToSort_).mergeFrom(value).buildPartial();
} else {
maxBytesToSort_ = value;
}
onChanged();
} else {
maxBytesToSortBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesToSort() {
if (maxBytesToSortBuilder_ == null) {
maxBytesToSort_ = null;
onChanged();
} else {
maxBytesToSort_ = null;
maxBytesToSortBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesToSortBuilder() {
onChanged();
return getMaxBytesToSortFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToSortOrBuilder() {
if (maxBytesToSortBuilder_ != null) {
return maxBytesToSortBuilder_.getMessageOrBuilder();
} else {
return maxBytesToSort_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToSort_;
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be read from a table for sorting.
* This setting helps to reduce RAM consumption.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_sort = 19 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesToSortFieldBuilder() {
if (maxBytesToSortBuilder_ == null) {
maxBytesToSortBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesToSort(),
getParentForChildren(),
isClean());
maxBytesToSort_ = null;
}
return maxBytesToSortBuilder_;
}
private int sortOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The enum numeric value on the wire for sortOverflowMode.
*/
@java.lang.Override public int getSortOverflowModeValue() {
return sortOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @param value The enum numeric value on the wire for sortOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setSortOverflowModeValue(int value) {
sortOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return The sortOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSortOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(sortOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @param value The sortOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setSortOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
sortOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while sorting.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode sort_overflow_mode = 20;
* @return This builder for chaining.
*/
public Builder clearSortOverflowMode() {
sortOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxResultRows_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxResultRowsBuilder_;
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultRows field is set.
*/
public boolean hasMaxResultRows() {
return maxResultRowsBuilder_ != null || maxResultRows_ != null;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultRows.
*/
public com.google.protobuf.Int64Value getMaxResultRows() {
if (maxResultRowsBuilder_ == null) {
return maxResultRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxResultRows_;
} else {
return maxResultRowsBuilder_.getMessage();
}
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxResultRows(com.google.protobuf.Int64Value value) {
if (maxResultRowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxResultRows_ = value;
onChanged();
} else {
maxResultRowsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxResultRows(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxResultRowsBuilder_ == null) {
maxResultRows_ = builderForValue.build();
onChanged();
} else {
maxResultRowsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxResultRows(com.google.protobuf.Int64Value value) {
if (maxResultRowsBuilder_ == null) {
if (maxResultRows_ != null) {
maxResultRows_ =
com.google.protobuf.Int64Value.newBuilder(maxResultRows_).mergeFrom(value).buildPartial();
} else {
maxResultRows_ = value;
}
onChanged();
} else {
maxResultRowsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxResultRows() {
if (maxResultRowsBuilder_ == null) {
maxResultRows_ = null;
onChanged();
} else {
maxResultRows_ = null;
maxResultRowsBuilder_ = null;
}
return this;
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxResultRowsBuilder() {
onChanged();
return getMaxResultRowsFieldBuilder().getBuilder();
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxResultRowsOrBuilder() {
if (maxResultRowsBuilder_ != null) {
return maxResultRowsBuilder_.getMessageOrBuilder();
} else {
return maxResultRows_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxResultRows_;
}
}
/**
*
* Limits the number of rows in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_rows = 21 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxResultRowsFieldBuilder() {
if (maxResultRowsBuilder_ == null) {
maxResultRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxResultRows(),
getParentForChildren(),
isClean());
maxResultRows_ = null;
}
return maxResultRowsBuilder_;
}
private com.google.protobuf.Int64Value maxResultBytes_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxResultBytesBuilder_;
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxResultBytes field is set.
*/
public boolean hasMaxResultBytes() {
return maxResultBytesBuilder_ != null || maxResultBytes_ != null;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
* @return The maxResultBytes.
*/
public com.google.protobuf.Int64Value getMaxResultBytes() {
if (maxResultBytesBuilder_ == null) {
return maxResultBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxResultBytes_;
} else {
return maxResultBytesBuilder_.getMessage();
}
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxResultBytes(com.google.protobuf.Int64Value value) {
if (maxResultBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxResultBytes_ = value;
onChanged();
} else {
maxResultBytesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxResultBytes(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxResultBytesBuilder_ == null) {
maxResultBytes_ = builderForValue.build();
onChanged();
} else {
maxResultBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxResultBytes(com.google.protobuf.Int64Value value) {
if (maxResultBytesBuilder_ == null) {
if (maxResultBytes_ != null) {
maxResultBytes_ =
com.google.protobuf.Int64Value.newBuilder(maxResultBytes_).mergeFrom(value).buildPartial();
} else {
maxResultBytes_ = value;
}
onChanged();
} else {
maxResultBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxResultBytes() {
if (maxResultBytesBuilder_ == null) {
maxResultBytes_ = null;
onChanged();
} else {
maxResultBytes_ = null;
maxResultBytesBuilder_ = null;
}
return this;
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxResultBytesBuilder() {
onChanged();
return getMaxResultBytesFieldBuilder().getBuilder();
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxResultBytesOrBuilder() {
if (maxResultBytesBuilder_ != null) {
return maxResultBytesBuilder_.getMessageOrBuilder();
} else {
return maxResultBytes_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxResultBytes_;
}
}
/**
*
* Limits the number of bytes in the result.
* This limitation is also checked for subqueries and parts of distributed queries that run on remote servers.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_result_bytes = 22 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxResultBytesFieldBuilder() {
if (maxResultBytesBuilder_ == null) {
maxResultBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxResultBytes(),
getParentForChildren(),
isClean());
maxResultBytes_ = null;
}
return maxResultBytesBuilder_;
}
private int resultOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The enum numeric value on the wire for resultOverflowMode.
*/
@java.lang.Override public int getResultOverflowModeValue() {
return resultOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @param value The enum numeric value on the wire for resultOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setResultOverflowModeValue(int value) {
resultOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return The resultOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getResultOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(resultOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @param value The resultOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setResultOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
resultOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while forming result.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode result_overflow_mode = 23;
* @return This builder for chaining.
*/
public Builder clearResultOverflowMode() {
resultOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsInDistinct_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsInDistinctBuilder_;
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInDistinct field is set.
*/
public boolean hasMaxRowsInDistinct() {
return maxRowsInDistinctBuilder_ != null || maxRowsInDistinct_ != null;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInDistinct.
*/
public com.google.protobuf.Int64Value getMaxRowsInDistinct() {
if (maxRowsInDistinctBuilder_ == null) {
return maxRowsInDistinct_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInDistinct_;
} else {
return maxRowsInDistinctBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInDistinct(com.google.protobuf.Int64Value value) {
if (maxRowsInDistinctBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsInDistinct_ = value;
onChanged();
} else {
maxRowsInDistinctBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInDistinct(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsInDistinctBuilder_ == null) {
maxRowsInDistinct_ = builderForValue.build();
onChanged();
} else {
maxRowsInDistinctBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsInDistinct(com.google.protobuf.Int64Value value) {
if (maxRowsInDistinctBuilder_ == null) {
if (maxRowsInDistinct_ != null) {
maxRowsInDistinct_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsInDistinct_).mergeFrom(value).buildPartial();
} else {
maxRowsInDistinct_ = value;
}
onChanged();
} else {
maxRowsInDistinctBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsInDistinct() {
if (maxRowsInDistinctBuilder_ == null) {
maxRowsInDistinct_ = null;
onChanged();
} else {
maxRowsInDistinct_ = null;
maxRowsInDistinctBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsInDistinctBuilder() {
onChanged();
return getMaxRowsInDistinctFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInDistinctOrBuilder() {
if (maxRowsInDistinctBuilder_ != null) {
return maxRowsInDistinctBuilder_.getMessageOrBuilder();
} else {
return maxRowsInDistinct_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInDistinct_;
}
}
/**
*
* Limits the maximum number of different rows when using **DISTINCT**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_in_distinct = 24 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsInDistinctFieldBuilder() {
if (maxRowsInDistinctBuilder_ == null) {
maxRowsInDistinctBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsInDistinct(),
getParentForChildren(),
isClean());
maxRowsInDistinct_ = null;
}
return maxRowsInDistinctBuilder_;
}
private com.google.protobuf.Int64Value maxBytesInDistinct_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesInDistinctBuilder_;
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInDistinct field is set.
*/
public boolean hasMaxBytesInDistinct() {
return maxBytesInDistinctBuilder_ != null || maxBytesInDistinct_ != null;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInDistinct.
*/
public com.google.protobuf.Int64Value getMaxBytesInDistinct() {
if (maxBytesInDistinctBuilder_ == null) {
return maxBytesInDistinct_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInDistinct_;
} else {
return maxBytesInDistinctBuilder_.getMessage();
}
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInDistinct(com.google.protobuf.Int64Value value) {
if (maxBytesInDistinctBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesInDistinct_ = value;
onChanged();
} else {
maxBytesInDistinctBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInDistinct(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesInDistinctBuilder_ == null) {
maxBytesInDistinct_ = builderForValue.build();
onChanged();
} else {
maxBytesInDistinctBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesInDistinct(com.google.protobuf.Int64Value value) {
if (maxBytesInDistinctBuilder_ == null) {
if (maxBytesInDistinct_ != null) {
maxBytesInDistinct_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesInDistinct_).mergeFrom(value).buildPartial();
} else {
maxBytesInDistinct_ = value;
}
onChanged();
} else {
maxBytesInDistinctBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesInDistinct() {
if (maxBytesInDistinctBuilder_ == null) {
maxBytesInDistinct_ = null;
onChanged();
} else {
maxBytesInDistinct_ = null;
maxBytesInDistinctBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesInDistinctBuilder() {
onChanged();
return getMaxBytesInDistinctFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInDistinctOrBuilder() {
if (maxBytesInDistinctBuilder_ != null) {
return maxBytesInDistinctBuilder_.getMessageOrBuilder();
} else {
return maxBytesInDistinct_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInDistinct_;
}
}
/**
*
* Limits the maximum size of a hash table in bytes (uncompressed data) when using **DISTINCT**.
*
*
* .google.protobuf.Int64Value max_bytes_in_distinct = 25 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesInDistinctFieldBuilder() {
if (maxBytesInDistinctBuilder_ == null) {
maxBytesInDistinctBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesInDistinct(),
getParentForChildren(),
isClean());
maxBytesInDistinct_ = null;
}
return maxBytesInDistinctBuilder_;
}
private int distinctOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The enum numeric value on the wire for distinctOverflowMode.
*/
@java.lang.Override public int getDistinctOverflowModeValue() {
return distinctOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @param value The enum numeric value on the wire for distinctOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setDistinctOverflowModeValue(int value) {
distinctOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return The distinctOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getDistinctOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(distinctOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @param value The distinctOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setDistinctOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
distinctOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing **DISCTINCT**.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode distinct_overflow_mode = 26;
* @return This builder for chaining.
*/
public Builder clearDistinctOverflowMode() {
distinctOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsToTransfer_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsToTransferBuilder_;
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsToTransfer field is set.
*/
public boolean hasMaxRowsToTransfer() {
return maxRowsToTransferBuilder_ != null || maxRowsToTransfer_ != null;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsToTransfer.
*/
public com.google.protobuf.Int64Value getMaxRowsToTransfer() {
if (maxRowsToTransferBuilder_ == null) {
return maxRowsToTransfer_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToTransfer_;
} else {
return maxRowsToTransferBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToTransfer(com.google.protobuf.Int64Value value) {
if (maxRowsToTransferBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsToTransfer_ = value;
onChanged();
} else {
maxRowsToTransferBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsToTransfer(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsToTransferBuilder_ == null) {
maxRowsToTransfer_ = builderForValue.build();
onChanged();
} else {
maxRowsToTransferBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsToTransfer(com.google.protobuf.Int64Value value) {
if (maxRowsToTransferBuilder_ == null) {
if (maxRowsToTransfer_ != null) {
maxRowsToTransfer_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsToTransfer_).mergeFrom(value).buildPartial();
} else {
maxRowsToTransfer_ = value;
}
onChanged();
} else {
maxRowsToTransferBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsToTransfer() {
if (maxRowsToTransferBuilder_ == null) {
maxRowsToTransfer_ = null;
onChanged();
} else {
maxRowsToTransfer_ = null;
maxRowsToTransferBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsToTransferBuilder() {
onChanged();
return getMaxRowsToTransferFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsToTransferOrBuilder() {
if (maxRowsToTransferBuilder_ != null) {
return maxRowsToTransferBuilder_.getMessageOrBuilder();
} else {
return maxRowsToTransfer_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsToTransfer_;
}
}
/**
*
* Limits the maximum number of rows that can be passed to a remote server or saved in a temporary table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_rows_to_transfer = 27 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsToTransferFieldBuilder() {
if (maxRowsToTransferBuilder_ == null) {
maxRowsToTransferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsToTransfer(),
getParentForChildren(),
isClean());
maxRowsToTransfer_ = null;
}
return maxRowsToTransferBuilder_;
}
private com.google.protobuf.Int64Value maxBytesToTransfer_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesToTransferBuilder_;
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesToTransfer field is set.
*/
public boolean hasMaxBytesToTransfer() {
return maxBytesToTransferBuilder_ != null || maxBytesToTransfer_ != null;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesToTransfer.
*/
public com.google.protobuf.Int64Value getMaxBytesToTransfer() {
if (maxBytesToTransferBuilder_ == null) {
return maxBytesToTransfer_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToTransfer_;
} else {
return maxBytesToTransferBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToTransfer(com.google.protobuf.Int64Value value) {
if (maxBytesToTransferBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesToTransfer_ = value;
onChanged();
} else {
maxBytesToTransferBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesToTransfer(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesToTransferBuilder_ == null) {
maxBytesToTransfer_ = builderForValue.build();
onChanged();
} else {
maxBytesToTransferBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesToTransfer(com.google.protobuf.Int64Value value) {
if (maxBytesToTransferBuilder_ == null) {
if (maxBytesToTransfer_ != null) {
maxBytesToTransfer_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesToTransfer_).mergeFrom(value).buildPartial();
} else {
maxBytesToTransfer_ = value;
}
onChanged();
} else {
maxBytesToTransferBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesToTransfer() {
if (maxBytesToTransferBuilder_ == null) {
maxBytesToTransfer_ = null;
onChanged();
} else {
maxBytesToTransfer_ = null;
maxBytesToTransferBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesToTransferBuilder() {
onChanged();
return getMaxBytesToTransferFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToTransferOrBuilder() {
if (maxBytesToTransferBuilder_ != null) {
return maxBytesToTransferBuilder_.getMessageOrBuilder();
} else {
return maxBytesToTransfer_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToTransfer_;
}
}
/**
*
* Limits the maximum number of bytes (uncompressed data) that can be passed to a remote server or saved in a temporary
* table when using **GLOBAL IN**.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_bytes_to_transfer = 28 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesToTransferFieldBuilder() {
if (maxBytesToTransferBuilder_ == null) {
maxBytesToTransferBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesToTransfer(),
getParentForChildren(),
isClean());
maxBytesToTransfer_ = null;
}
return maxBytesToTransferBuilder_;
}
private int transferOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The enum numeric value on the wire for transferOverflowMode.
*/
@java.lang.Override public int getTransferOverflowModeValue() {
return transferOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @param value The enum numeric value on the wire for transferOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setTransferOverflowModeValue(int value) {
transferOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return The transferOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTransferOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(transferOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @param value The transferOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setTransferOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
transferOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) while doing transfers.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode transfer_overflow_mode = 29;
* @return This builder for chaining.
*/
public Builder clearTransferOverflowMode() {
transferOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxExecutionTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxExecutionTimeBuilder_;
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxExecutionTime field is set.
*/
public boolean hasMaxExecutionTime() {
return maxExecutionTimeBuilder_ != null || maxExecutionTime_ != null;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
* @return The maxExecutionTime.
*/
public com.google.protobuf.Int64Value getMaxExecutionTime() {
if (maxExecutionTimeBuilder_ == null) {
return maxExecutionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxExecutionTime_;
} else {
return maxExecutionTimeBuilder_.getMessage();
}
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxExecutionTime(com.google.protobuf.Int64Value value) {
if (maxExecutionTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxExecutionTime_ = value;
onChanged();
} else {
maxExecutionTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxExecutionTime(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxExecutionTimeBuilder_ == null) {
maxExecutionTime_ = builderForValue.build();
onChanged();
} else {
maxExecutionTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxExecutionTime(com.google.protobuf.Int64Value value) {
if (maxExecutionTimeBuilder_ == null) {
if (maxExecutionTime_ != null) {
maxExecutionTime_ =
com.google.protobuf.Int64Value.newBuilder(maxExecutionTime_).mergeFrom(value).buildPartial();
} else {
maxExecutionTime_ = value;
}
onChanged();
} else {
maxExecutionTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxExecutionTime() {
if (maxExecutionTimeBuilder_ == null) {
maxExecutionTime_ = null;
onChanged();
} else {
maxExecutionTime_ = null;
maxExecutionTimeBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxExecutionTimeBuilder() {
onChanged();
return getMaxExecutionTimeFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxExecutionTimeOrBuilder() {
if (maxExecutionTimeBuilder_ != null) {
return maxExecutionTimeBuilder_.getMessageOrBuilder();
} else {
return maxExecutionTime_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxExecutionTime_;
}
}
/**
*
* Limits the maximum query execution time in milliseconds.
* At this moment, this limitation is not checked when passing one of the sorting stages, as well as merging and finalizing aggregation funictions.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_execution_time = 30 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxExecutionTimeFieldBuilder() {
if (maxExecutionTimeBuilder_ == null) {
maxExecutionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxExecutionTime(),
getParentForChildren(),
isClean());
maxExecutionTime_ = null;
}
return maxExecutionTimeBuilder_;
}
private int timeoutOverflowMode_ = 0;
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The enum numeric value on the wire for timeoutOverflowMode.
*/
@java.lang.Override public int getTimeoutOverflowModeValue() {
return timeoutOverflowMode_;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @param value The enum numeric value on the wire for timeoutOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setTimeoutOverflowModeValue(int value) {
timeoutOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return The timeoutOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getTimeoutOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(timeoutOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @param value The timeoutOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setTimeoutOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
timeoutOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determines the behavior on exceeding [limits](https://clickhouse.com/docs/en/operations/settings/query-complexity/#restrictions-on-query-complexity) of execution time.
* * **throw**-abort query execution, return an error.
* * **break**-stop query execution, return partial result.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode timeout_overflow_mode = 31;
* @return This builder for chaining.
*/
public Builder clearTimeoutOverflowMode() {
timeoutOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsInSet_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsInSetBuilder_;
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInSet field is set.
*/
public boolean hasMaxRowsInSet() {
return maxRowsInSetBuilder_ != null || maxRowsInSet_ != null;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInSet.
*/
public com.google.protobuf.Int64Value getMaxRowsInSet() {
if (maxRowsInSetBuilder_ == null) {
return maxRowsInSet_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInSet_;
} else {
return maxRowsInSetBuilder_.getMessage();
}
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInSet(com.google.protobuf.Int64Value value) {
if (maxRowsInSetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsInSet_ = value;
onChanged();
} else {
maxRowsInSetBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInSet(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsInSetBuilder_ == null) {
maxRowsInSet_ = builderForValue.build();
onChanged();
} else {
maxRowsInSetBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsInSet(com.google.protobuf.Int64Value value) {
if (maxRowsInSetBuilder_ == null) {
if (maxRowsInSet_ != null) {
maxRowsInSet_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsInSet_).mergeFrom(value).buildPartial();
} else {
maxRowsInSet_ = value;
}
onChanged();
} else {
maxRowsInSetBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsInSet() {
if (maxRowsInSetBuilder_ == null) {
maxRowsInSet_ = null;
onChanged();
} else {
maxRowsInSet_ = null;
maxRowsInSetBuilder_ = null;
}
return this;
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsInSetBuilder() {
onChanged();
return getMaxRowsInSetFieldBuilder().getBuilder();
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInSetOrBuilder() {
if (maxRowsInSetBuilder_ != null) {
return maxRowsInSetBuilder_.getMessageOrBuilder();
} else {
return maxRowsInSet_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInSet_;
}
}
/**
*
* Limit on the number of rows in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_rows_in_set = 87 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsInSetFieldBuilder() {
if (maxRowsInSetBuilder_ == null) {
maxRowsInSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsInSet(),
getParentForChildren(),
isClean());
maxRowsInSet_ = null;
}
return maxRowsInSetBuilder_;
}
private com.google.protobuf.Int64Value maxBytesInSet_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesInSetBuilder_;
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInSet field is set.
*/
public boolean hasMaxBytesInSet() {
return maxBytesInSetBuilder_ != null || maxBytesInSet_ != null;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInSet.
*/
public com.google.protobuf.Int64Value getMaxBytesInSet() {
if (maxBytesInSetBuilder_ == null) {
return maxBytesInSet_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInSet_;
} else {
return maxBytesInSetBuilder_.getMessage();
}
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInSet(com.google.protobuf.Int64Value value) {
if (maxBytesInSetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesInSet_ = value;
onChanged();
} else {
maxBytesInSetBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInSet(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesInSetBuilder_ == null) {
maxBytesInSet_ = builderForValue.build();
onChanged();
} else {
maxBytesInSetBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesInSet(com.google.protobuf.Int64Value value) {
if (maxBytesInSetBuilder_ == null) {
if (maxBytesInSet_ != null) {
maxBytesInSet_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesInSet_).mergeFrom(value).buildPartial();
} else {
maxBytesInSet_ = value;
}
onChanged();
} else {
maxBytesInSetBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesInSet() {
if (maxBytesInSetBuilder_ == null) {
maxBytesInSet_ = null;
onChanged();
} else {
maxBytesInSet_ = null;
maxBytesInSetBuilder_ = null;
}
return this;
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesInSetBuilder() {
onChanged();
return getMaxBytesInSetFieldBuilder().getBuilder();
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInSetOrBuilder() {
if (maxBytesInSetBuilder_ != null) {
return maxBytesInSetBuilder_.getMessageOrBuilder();
} else {
return maxBytesInSet_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInSet_;
}
}
/**
*
* Limit on the number of bytes in the set resulting from the execution of the IN section.
*
*
* .google.protobuf.Int64Value max_bytes_in_set = 88 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesInSetFieldBuilder() {
if (maxBytesInSetBuilder_ == null) {
maxBytesInSetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesInSet(),
getParentForChildren(),
isClean());
maxBytesInSet_ = null;
}
return maxBytesInSetBuilder_;
}
private int setOverflowMode_ = 0;
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The enum numeric value on the wire for setOverflowMode.
*/
@java.lang.Override public int getSetOverflowModeValue() {
return setOverflowMode_;
}
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @param value The enum numeric value on the wire for setOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setSetOverflowModeValue(int value) {
setOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return The setOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getSetOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(setOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @param value The setOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setSetOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
setOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determine the behavior on exceeding max_rows_in_set or max_bytes_in_set limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode set_overflow_mode = 89;
* @return This builder for chaining.
*/
public Builder clearSetOverflowMode() {
setOverflowMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxRowsInJoin_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxRowsInJoinBuilder_;
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxRowsInJoin field is set.
*/
public boolean hasMaxRowsInJoin() {
return maxRowsInJoinBuilder_ != null || maxRowsInJoin_ != null;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
* @return The maxRowsInJoin.
*/
public com.google.protobuf.Int64Value getMaxRowsInJoin() {
if (maxRowsInJoinBuilder_ == null) {
return maxRowsInJoin_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInJoin_;
} else {
return maxRowsInJoinBuilder_.getMessage();
}
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInJoin(com.google.protobuf.Int64Value value) {
if (maxRowsInJoinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxRowsInJoin_ = value;
onChanged();
} else {
maxRowsInJoinBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxRowsInJoin(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxRowsInJoinBuilder_ == null) {
maxRowsInJoin_ = builderForValue.build();
onChanged();
} else {
maxRowsInJoinBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxRowsInJoin(com.google.protobuf.Int64Value value) {
if (maxRowsInJoinBuilder_ == null) {
if (maxRowsInJoin_ != null) {
maxRowsInJoin_ =
com.google.protobuf.Int64Value.newBuilder(maxRowsInJoin_).mergeFrom(value).buildPartial();
} else {
maxRowsInJoin_ = value;
}
onChanged();
} else {
maxRowsInJoinBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxRowsInJoin() {
if (maxRowsInJoinBuilder_ == null) {
maxRowsInJoin_ = null;
onChanged();
} else {
maxRowsInJoin_ = null;
maxRowsInJoinBuilder_ = null;
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxRowsInJoinBuilder() {
onChanged();
return getMaxRowsInJoinFieldBuilder().getBuilder();
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxRowsInJoinOrBuilder() {
if (maxRowsInJoinBuilder_ != null) {
return maxRowsInJoinBuilder_.getMessageOrBuilder();
} else {
return maxRowsInJoin_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxRowsInJoin_;
}
}
/**
*
* Limit on maximum size of the hash table for JOIN, in rows.
*
*
* .google.protobuf.Int64Value max_rows_in_join = 90 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxRowsInJoinFieldBuilder() {
if (maxRowsInJoinBuilder_ == null) {
maxRowsInJoinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxRowsInJoin(),
getParentForChildren(),
isClean());
maxRowsInJoin_ = null;
}
return maxRowsInJoinBuilder_;
}
private com.google.protobuf.Int64Value maxBytesInJoin_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesInJoinBuilder_;
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxBytesInJoin field is set.
*/
public boolean hasMaxBytesInJoin() {
return maxBytesInJoinBuilder_ != null || maxBytesInJoin_ != null;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
* @return The maxBytesInJoin.
*/
public com.google.protobuf.Int64Value getMaxBytesInJoin() {
if (maxBytesInJoinBuilder_ == null) {
return maxBytesInJoin_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInJoin_;
} else {
return maxBytesInJoinBuilder_.getMessage();
}
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInJoin(com.google.protobuf.Int64Value value) {
if (maxBytesInJoinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxBytesInJoin_ = value;
onChanged();
} else {
maxBytesInJoinBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxBytesInJoin(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxBytesInJoinBuilder_ == null) {
maxBytesInJoin_ = builderForValue.build();
onChanged();
} else {
maxBytesInJoinBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxBytesInJoin(com.google.protobuf.Int64Value value) {
if (maxBytesInJoinBuilder_ == null) {
if (maxBytesInJoin_ != null) {
maxBytesInJoin_ =
com.google.protobuf.Int64Value.newBuilder(maxBytesInJoin_).mergeFrom(value).buildPartial();
} else {
maxBytesInJoin_ = value;
}
onChanged();
} else {
maxBytesInJoinBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxBytesInJoin() {
if (maxBytesInJoinBuilder_ == null) {
maxBytesInJoin_ = null;
onChanged();
} else {
maxBytesInJoin_ = null;
maxBytesInJoinBuilder_ = null;
}
return this;
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxBytesInJoinBuilder() {
onChanged();
return getMaxBytesInJoinFieldBuilder().getBuilder();
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxBytesInJoinOrBuilder() {
if (maxBytesInJoinBuilder_ != null) {
return maxBytesInJoinBuilder_.getMessageOrBuilder();
} else {
return maxBytesInJoin_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesInJoin_;
}
}
/**
*
* Limit on maximum size of the hash table for JOIN, in bytes.
*
*
* .google.protobuf.Int64Value max_bytes_in_join = 91 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxBytesInJoinFieldBuilder() {
if (maxBytesInJoinBuilder_ == null) {
maxBytesInJoinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxBytesInJoin(),
getParentForChildren(),
isClean());
maxBytesInJoin_ = null;
}
return maxBytesInJoinBuilder_;
}
private int joinOverflowMode_ = 0;
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The enum numeric value on the wire for joinOverflowMode.
*/
@java.lang.Override public int getJoinOverflowModeValue() {
return joinOverflowMode_;
}
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @param value The enum numeric value on the wire for joinOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setJoinOverflowModeValue(int value) {
joinOverflowMode_ = value;
onChanged();
return this;
}
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return The joinOverflowMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode getJoinOverflowMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.valueOf(joinOverflowMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode.UNRECOGNIZED : result;
}
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @param value The joinOverflowMode to set.
* @return This builder for chaining.
*/
public Builder setJoinOverflowMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.OverflowMode value) {
if (value == null) {
throw new NullPointerException();
}
joinOverflowMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Determine the behavior on exceeding max_rows_in_join or max_bytes_in_join limit.
* Possible values: OVERFLOW_MODE_THROW, OVERFLOW_MODE_BREAK.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.OverflowMode join_overflow_mode = 92;
* @return This builder for chaining.
*/
public Builder clearJoinOverflowMode() {
joinOverflowMode_ = 0;
onChanged();
return this;
}
private java.util.List joinAlgorithm_ =
java.util.Collections.emptyList();
private void ensureJoinAlgorithmIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
joinAlgorithm_ = new java.util.ArrayList(joinAlgorithm_);
bitField0_ |= 0x00000001;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the joinAlgorithm.
*/
public java.util.List getJoinAlgorithmList() {
return new com.google.protobuf.Internal.ListAdapter<
java.lang.Integer, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm>(joinAlgorithm_, joinAlgorithm_converter_);
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return The count of joinAlgorithm.
*/
public int getJoinAlgorithmCount() {
return joinAlgorithm_.size();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the element to return.
* @return The joinAlgorithm at the given index.
*/
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm getJoinAlgorithm(int index) {
return joinAlgorithm_converter_.convert(joinAlgorithm_.get(index));
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index to set the value at.
* @param value The joinAlgorithm to set.
* @return This builder for chaining.
*/
public Builder setJoinAlgorithm(
int index, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm value) {
if (value == null) {
throw new NullPointerException();
}
ensureJoinAlgorithmIsMutable();
joinAlgorithm_.set(index, value.getNumber());
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param value The joinAlgorithm to add.
* @return This builder for chaining.
*/
public Builder addJoinAlgorithm(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm value) {
if (value == null) {
throw new NullPointerException();
}
ensureJoinAlgorithmIsMutable();
joinAlgorithm_.add(value.getNumber());
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param values The joinAlgorithm to add.
* @return This builder for chaining.
*/
public Builder addAllJoinAlgorithm(
java.lang.Iterable extends yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm> values) {
ensureJoinAlgorithmIsMutable();
for (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.JoinAlgorithm value : values) {
joinAlgorithm_.add(value.getNumber());
}
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return This builder for chaining.
*/
public Builder clearJoinAlgorithm() {
joinAlgorithm_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @return A list containing the enum numeric values on the wire for joinAlgorithm.
*/
public java.util.List
getJoinAlgorithmValueList() {
return java.util.Collections.unmodifiableList(joinAlgorithm_);
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of joinAlgorithm at the given index.
*/
public int getJoinAlgorithmValue(int index) {
return joinAlgorithm_.get(index);
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param index The index of the value to return.
* @return The enum numeric value on the wire of joinAlgorithm at the given index.
* @return This builder for chaining.
*/
public Builder setJoinAlgorithmValue(
int index, int value) {
ensureJoinAlgorithmIsMutable();
joinAlgorithm_.set(index, value);
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param value The enum numeric value on the wire for joinAlgorithm to add.
* @return This builder for chaining.
*/
public Builder addJoinAlgorithmValue(int value) {
ensureJoinAlgorithmIsMutable();
joinAlgorithm_.add(value);
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-join_algorithm).
*
*
* repeated .yandex.cloud.mdb.clickhouse.v1.UserSettings.JoinAlgorithm join_algorithm = 104;
* @param values The enum numeric values on the wire for joinAlgorithm to add.
* @return This builder for chaining.
*/
public Builder addAllJoinAlgorithmValue(
java.lang.Iterable values) {
ensureJoinAlgorithmIsMutable();
for (int value : values) {
joinAlgorithm_.add(value);
}
onChanged();
return this;
}
private com.google.protobuf.BoolValue anyJoinDistinctRightTableKeys_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> anyJoinDistinctRightTableKeysBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return Whether the anyJoinDistinctRightTableKeys field is set.
*/
public boolean hasAnyJoinDistinctRightTableKeys() {
return anyJoinDistinctRightTableKeysBuilder_ != null || anyJoinDistinctRightTableKeys_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
* @return The anyJoinDistinctRightTableKeys.
*/
public com.google.protobuf.BoolValue getAnyJoinDistinctRightTableKeys() {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
return anyJoinDistinctRightTableKeys_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : anyJoinDistinctRightTableKeys_;
} else {
return anyJoinDistinctRightTableKeysBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public Builder setAnyJoinDistinctRightTableKeys(com.google.protobuf.BoolValue value) {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
anyJoinDistinctRightTableKeys_ = value;
onChanged();
} else {
anyJoinDistinctRightTableKeysBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public Builder setAnyJoinDistinctRightTableKeys(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
anyJoinDistinctRightTableKeys_ = builderForValue.build();
onChanged();
} else {
anyJoinDistinctRightTableKeysBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public Builder mergeAnyJoinDistinctRightTableKeys(com.google.protobuf.BoolValue value) {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
if (anyJoinDistinctRightTableKeys_ != null) {
anyJoinDistinctRightTableKeys_ =
com.google.protobuf.BoolValue.newBuilder(anyJoinDistinctRightTableKeys_).mergeFrom(value).buildPartial();
} else {
anyJoinDistinctRightTableKeys_ = value;
}
onChanged();
} else {
anyJoinDistinctRightTableKeysBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public Builder clearAnyJoinDistinctRightTableKeys() {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
anyJoinDistinctRightTableKeys_ = null;
onChanged();
} else {
anyJoinDistinctRightTableKeys_ = null;
anyJoinDistinctRightTableKeysBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public com.google.protobuf.BoolValue.Builder getAnyJoinDistinctRightTableKeysBuilder() {
onChanged();
return getAnyJoinDistinctRightTableKeysFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
public com.google.protobuf.BoolValueOrBuilder getAnyJoinDistinctRightTableKeysOrBuilder() {
if (anyJoinDistinctRightTableKeysBuilder_ != null) {
return anyJoinDistinctRightTableKeysBuilder_.getMessageOrBuilder();
} else {
return anyJoinDistinctRightTableKeys_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : anyJoinDistinctRightTableKeys_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#any_join_distinct_right_table_keys).
*
*
* .google.protobuf.BoolValue any_join_distinct_right_table_keys = 105;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAnyJoinDistinctRightTableKeysFieldBuilder() {
if (anyJoinDistinctRightTableKeysBuilder_ == null) {
anyJoinDistinctRightTableKeysBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAnyJoinDistinctRightTableKeys(),
getParentForChildren(),
isClean());
anyJoinDistinctRightTableKeys_ = null;
}
return anyJoinDistinctRightTableKeysBuilder_;
}
private com.google.protobuf.Int64Value maxColumnsToRead_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxColumnsToReadBuilder_;
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxColumnsToRead field is set.
*/
public boolean hasMaxColumnsToRead() {
return maxColumnsToReadBuilder_ != null || maxColumnsToRead_ != null;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
* @return The maxColumnsToRead.
*/
public com.google.protobuf.Int64Value getMaxColumnsToRead() {
if (maxColumnsToReadBuilder_ == null) {
return maxColumnsToRead_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxColumnsToRead_;
} else {
return maxColumnsToReadBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxColumnsToRead(com.google.protobuf.Int64Value value) {
if (maxColumnsToReadBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxColumnsToRead_ = value;
onChanged();
} else {
maxColumnsToReadBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxColumnsToRead(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxColumnsToReadBuilder_ == null) {
maxColumnsToRead_ = builderForValue.build();
onChanged();
} else {
maxColumnsToReadBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxColumnsToRead(com.google.protobuf.Int64Value value) {
if (maxColumnsToReadBuilder_ == null) {
if (maxColumnsToRead_ != null) {
maxColumnsToRead_ =
com.google.protobuf.Int64Value.newBuilder(maxColumnsToRead_).mergeFrom(value).buildPartial();
} else {
maxColumnsToRead_ = value;
}
onChanged();
} else {
maxColumnsToReadBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxColumnsToRead() {
if (maxColumnsToReadBuilder_ == null) {
maxColumnsToRead_ = null;
onChanged();
} else {
maxColumnsToRead_ = null;
maxColumnsToReadBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxColumnsToReadBuilder() {
onChanged();
return getMaxColumnsToReadFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxColumnsToReadOrBuilder() {
if (maxColumnsToReadBuilder_ != null) {
return maxColumnsToReadBuilder_.getMessageOrBuilder();
} else {
return maxColumnsToRead_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxColumnsToRead_;
}
}
/**
*
* Limits the maximum number of columns that can be read from a table in a single query.
* If the query requires to read more columns to complete, then it will be aborted.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_columns_to_read = 32 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxColumnsToReadFieldBuilder() {
if (maxColumnsToReadBuilder_ == null) {
maxColumnsToReadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxColumnsToRead(),
getParentForChildren(),
isClean());
maxColumnsToRead_ = null;
}
return maxColumnsToReadBuilder_;
}
private com.google.protobuf.Int64Value maxTemporaryColumns_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxTemporaryColumnsBuilder_;
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryColumns field is set.
*/
public boolean hasMaxTemporaryColumns() {
return maxTemporaryColumnsBuilder_ != null || maxTemporaryColumns_ != null;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryColumns.
*/
public com.google.protobuf.Int64Value getMaxTemporaryColumns() {
if (maxTemporaryColumnsBuilder_ == null) {
return maxTemporaryColumns_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryColumns_;
} else {
return maxTemporaryColumnsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxTemporaryColumns(com.google.protobuf.Int64Value value) {
if (maxTemporaryColumnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxTemporaryColumns_ = value;
onChanged();
} else {
maxTemporaryColumnsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxTemporaryColumns(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxTemporaryColumnsBuilder_ == null) {
maxTemporaryColumns_ = builderForValue.build();
onChanged();
} else {
maxTemporaryColumnsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxTemporaryColumns(com.google.protobuf.Int64Value value) {
if (maxTemporaryColumnsBuilder_ == null) {
if (maxTemporaryColumns_ != null) {
maxTemporaryColumns_ =
com.google.protobuf.Int64Value.newBuilder(maxTemporaryColumns_).mergeFrom(value).buildPartial();
} else {
maxTemporaryColumns_ = value;
}
onChanged();
} else {
maxTemporaryColumnsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxTemporaryColumns() {
if (maxTemporaryColumnsBuilder_ == null) {
maxTemporaryColumns_ = null;
onChanged();
} else {
maxTemporaryColumns_ = null;
maxTemporaryColumnsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxTemporaryColumnsBuilder() {
onChanged();
return getMaxTemporaryColumnsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryColumnsOrBuilder() {
if (maxTemporaryColumnsBuilder_ != null) {
return maxTemporaryColumnsBuilder_.getMessageOrBuilder();
} else {
return maxTemporaryColumns_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryColumns_;
}
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, including constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_columns = 33 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxTemporaryColumnsFieldBuilder() {
if (maxTemporaryColumnsBuilder_ == null) {
maxTemporaryColumnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxTemporaryColumns(),
getParentForChildren(),
isClean());
maxTemporaryColumns_ = null;
}
return maxTemporaryColumnsBuilder_;
}
private com.google.protobuf.Int64Value maxTemporaryNonConstColumns_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxTemporaryNonConstColumnsBuilder_;
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxTemporaryNonConstColumns field is set.
*/
public boolean hasMaxTemporaryNonConstColumns() {
return maxTemporaryNonConstColumnsBuilder_ != null || maxTemporaryNonConstColumns_ != null;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
* @return The maxTemporaryNonConstColumns.
*/
public com.google.protobuf.Int64Value getMaxTemporaryNonConstColumns() {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
return maxTemporaryNonConstColumns_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryNonConstColumns_;
} else {
return maxTemporaryNonConstColumnsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxTemporaryNonConstColumns(com.google.protobuf.Int64Value value) {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxTemporaryNonConstColumns_ = value;
onChanged();
} else {
maxTemporaryNonConstColumnsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxTemporaryNonConstColumns(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
maxTemporaryNonConstColumns_ = builderForValue.build();
onChanged();
} else {
maxTemporaryNonConstColumnsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxTemporaryNonConstColumns(com.google.protobuf.Int64Value value) {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
if (maxTemporaryNonConstColumns_ != null) {
maxTemporaryNonConstColumns_ =
com.google.protobuf.Int64Value.newBuilder(maxTemporaryNonConstColumns_).mergeFrom(value).buildPartial();
} else {
maxTemporaryNonConstColumns_ = value;
}
onChanged();
} else {
maxTemporaryNonConstColumnsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxTemporaryNonConstColumns() {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
maxTemporaryNonConstColumns_ = null;
onChanged();
} else {
maxTemporaryNonConstColumns_ = null;
maxTemporaryNonConstColumnsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxTemporaryNonConstColumnsBuilder() {
onChanged();
return getMaxTemporaryNonConstColumnsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxTemporaryNonConstColumnsOrBuilder() {
if (maxTemporaryNonConstColumnsBuilder_ != null) {
return maxTemporaryNonConstColumnsBuilder_.getMessageOrBuilder();
} else {
return maxTemporaryNonConstColumns_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxTemporaryNonConstColumns_;
}
}
/**
*
* Limits the maximum number of temporary columns that must be kept in RAM at the same time when running a query, excluding constant columns.
* Minimal value and default value: **0**, no limitation is set.
*
*
* .google.protobuf.Int64Value max_temporary_non_const_columns = 34 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxTemporaryNonConstColumnsFieldBuilder() {
if (maxTemporaryNonConstColumnsBuilder_ == null) {
maxTemporaryNonConstColumnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxTemporaryNonConstColumns(),
getParentForChildren(),
isClean());
maxTemporaryNonConstColumns_ = null;
}
return maxTemporaryNonConstColumnsBuilder_;
}
private com.google.protobuf.Int64Value maxQuerySize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxQuerySizeBuilder_;
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxQuerySize field is set.
*/
public boolean hasMaxQuerySize() {
return maxQuerySizeBuilder_ != null || maxQuerySize_ != null;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
* @return The maxQuerySize.
*/
public com.google.protobuf.Int64Value getMaxQuerySize() {
if (maxQuerySizeBuilder_ == null) {
return maxQuerySize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxQuerySize_;
} else {
return maxQuerySizeBuilder_.getMessage();
}
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxQuerySize(com.google.protobuf.Int64Value value) {
if (maxQuerySizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxQuerySize_ = value;
onChanged();
} else {
maxQuerySizeBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxQuerySize(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxQuerySizeBuilder_ == null) {
maxQuerySize_ = builderForValue.build();
onChanged();
} else {
maxQuerySizeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxQuerySize(com.google.protobuf.Int64Value value) {
if (maxQuerySizeBuilder_ == null) {
if (maxQuerySize_ != null) {
maxQuerySize_ =
com.google.protobuf.Int64Value.newBuilder(maxQuerySize_).mergeFrom(value).buildPartial();
} else {
maxQuerySize_ = value;
}
onChanged();
} else {
maxQuerySizeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxQuerySize() {
if (maxQuerySizeBuilder_ == null) {
maxQuerySize_ = null;
onChanged();
} else {
maxQuerySize_ = null;
maxQuerySizeBuilder_ = null;
}
return this;
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxQuerySizeBuilder() {
onChanged();
return getMaxQuerySizeFieldBuilder().getBuilder();
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxQuerySizeOrBuilder() {
if (maxQuerySizeBuilder_ != null) {
return maxQuerySizeBuilder_.getMessageOrBuilder();
} else {
return maxQuerySize_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxQuerySize_;
}
}
/**
*
* Limits the size of the part of a query that can be transferred to RAM for parsing with the SQL parser, in bytes.
* Value must be greater than **0** (default: **262144**).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-max_query_size).
*
*
* .google.protobuf.Int64Value max_query_size = 35 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxQuerySizeFieldBuilder() {
if (maxQuerySizeBuilder_ == null) {
maxQuerySizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxQuerySize(),
getParentForChildren(),
isClean());
maxQuerySize_ = null;
}
return maxQuerySizeBuilder_;
}
private com.google.protobuf.Int64Value maxAstDepth_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxAstDepthBuilder_;
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstDepth field is set.
*/
public boolean hasMaxAstDepth() {
return maxAstDepthBuilder_ != null || maxAstDepth_ != null;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
* @return The maxAstDepth.
*/
public com.google.protobuf.Int64Value getMaxAstDepth() {
if (maxAstDepthBuilder_ == null) {
return maxAstDepth_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxAstDepth_;
} else {
return maxAstDepthBuilder_.getMessage();
}
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxAstDepth(com.google.protobuf.Int64Value value) {
if (maxAstDepthBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxAstDepth_ = value;
onChanged();
} else {
maxAstDepthBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxAstDepth(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxAstDepthBuilder_ == null) {
maxAstDepth_ = builderForValue.build();
onChanged();
} else {
maxAstDepthBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxAstDepth(com.google.protobuf.Int64Value value) {
if (maxAstDepthBuilder_ == null) {
if (maxAstDepth_ != null) {
maxAstDepth_ =
com.google.protobuf.Int64Value.newBuilder(maxAstDepth_).mergeFrom(value).buildPartial();
} else {
maxAstDepth_ = value;
}
onChanged();
} else {
maxAstDepthBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxAstDepth() {
if (maxAstDepthBuilder_ == null) {
maxAstDepth_ = null;
onChanged();
} else {
maxAstDepth_ = null;
maxAstDepthBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxAstDepthBuilder() {
onChanged();
return getMaxAstDepthFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxAstDepthOrBuilder() {
if (maxAstDepthBuilder_ != null) {
return maxAstDepthBuilder_.getMessageOrBuilder();
} else {
return maxAstDepth_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxAstDepth_;
}
}
/**
*
* Limits the maximum depth of query syntax tree.
* Executing a big and complex query may result in building a syntax tree of enormous depth.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* For example, the **SELECT *** query may result in more complex and deeper syntax tree, compared to the **SELECT ... WHERE ...** query, containing constraints and conditions, in the most cases.
* A user can be forced to construct more optimized queries, if this setting is used.
* Value must be greater than **0** (default: **1000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-depth).
*
*
* .google.protobuf.Int64Value max_ast_depth = 36 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxAstDepthFieldBuilder() {
if (maxAstDepthBuilder_ == null) {
maxAstDepthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxAstDepth(),
getParentForChildren(),
isClean());
maxAstDepth_ = null;
}
return maxAstDepthBuilder_;
}
private com.google.protobuf.Int64Value maxAstElements_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxAstElementsBuilder_;
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxAstElements field is set.
*/
public boolean hasMaxAstElements() {
return maxAstElementsBuilder_ != null || maxAstElements_ != null;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
* @return The maxAstElements.
*/
public com.google.protobuf.Int64Value getMaxAstElements() {
if (maxAstElementsBuilder_ == null) {
return maxAstElements_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxAstElements_;
} else {
return maxAstElementsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxAstElements(com.google.protobuf.Int64Value value) {
if (maxAstElementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxAstElements_ = value;
onChanged();
} else {
maxAstElementsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxAstElements(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxAstElementsBuilder_ == null) {
maxAstElements_ = builderForValue.build();
onChanged();
} else {
maxAstElementsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxAstElements(com.google.protobuf.Int64Value value) {
if (maxAstElementsBuilder_ == null) {
if (maxAstElements_ != null) {
maxAstElements_ =
com.google.protobuf.Int64Value.newBuilder(maxAstElements_).mergeFrom(value).buildPartial();
} else {
maxAstElements_ = value;
}
onChanged();
} else {
maxAstElementsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxAstElements() {
if (maxAstElementsBuilder_ == null) {
maxAstElements_ = null;
onChanged();
} else {
maxAstElements_ = null;
maxAstElementsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxAstElementsBuilder() {
onChanged();
return getMaxAstElementsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxAstElementsOrBuilder() {
if (maxAstElementsBuilder_ != null) {
return maxAstElementsBuilder_.getMessageOrBuilder();
} else {
return maxAstElements_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxAstElements_;
}
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **50000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/query-complexity/#max-ast-elements).
*
*
* .google.protobuf.Int64Value max_ast_elements = 37 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxAstElementsFieldBuilder() {
if (maxAstElementsBuilder_ == null) {
maxAstElementsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxAstElements(),
getParentForChildren(),
isClean());
maxAstElements_ = null;
}
return maxAstElementsBuilder_;
}
private com.google.protobuf.Int64Value maxExpandedAstElements_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxExpandedAstElementsBuilder_;
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxExpandedAstElements field is set.
*/
public boolean hasMaxExpandedAstElements() {
return maxExpandedAstElementsBuilder_ != null || maxExpandedAstElements_ != null;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
* @return The maxExpandedAstElements.
*/
public com.google.protobuf.Int64Value getMaxExpandedAstElements() {
if (maxExpandedAstElementsBuilder_ == null) {
return maxExpandedAstElements_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxExpandedAstElements_;
} else {
return maxExpandedAstElementsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxExpandedAstElements(com.google.protobuf.Int64Value value) {
if (maxExpandedAstElementsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxExpandedAstElements_ = value;
onChanged();
} else {
maxExpandedAstElementsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxExpandedAstElements(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxExpandedAstElementsBuilder_ == null) {
maxExpandedAstElements_ = builderForValue.build();
onChanged();
} else {
maxExpandedAstElementsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxExpandedAstElements(com.google.protobuf.Int64Value value) {
if (maxExpandedAstElementsBuilder_ == null) {
if (maxExpandedAstElements_ != null) {
maxExpandedAstElements_ =
com.google.protobuf.Int64Value.newBuilder(maxExpandedAstElements_).mergeFrom(value).buildPartial();
} else {
maxExpandedAstElements_ = value;
}
onChanged();
} else {
maxExpandedAstElementsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxExpandedAstElements() {
if (maxExpandedAstElementsBuilder_ == null) {
maxExpandedAstElements_ = null;
onChanged();
} else {
maxExpandedAstElements_ = null;
maxExpandedAstElementsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxExpandedAstElementsBuilder() {
onChanged();
return getMaxExpandedAstElementsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxExpandedAstElementsOrBuilder() {
if (maxExpandedAstElementsBuilder_ != null) {
return maxExpandedAstElementsBuilder_.getMessageOrBuilder();
} else {
return maxExpandedAstElements_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxExpandedAstElements_;
}
}
/**
*
* Limits the maximum size of query syntax tree in number of nodes after expansion of aliases and the asterisk values.
* Executing a big and complex query may result in building a syntax tree of enormous size.
* By using this setting, you can prohibit execution of over-sized or non-optimized queries for huge tables.
* Value must be greater than **0** (default: **500000**).
* If a too small value is set, it may render ClickHouse unable to execute even simple queries.
*
*
* .google.protobuf.Int64Value max_expanded_ast_elements = 38 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxExpandedAstElementsFieldBuilder() {
if (maxExpandedAstElementsBuilder_ == null) {
maxExpandedAstElementsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxExpandedAstElements(),
getParentForChildren(),
isClean());
maxExpandedAstElements_ = null;
}
return maxExpandedAstElementsBuilder_;
}
private com.google.protobuf.Int64Value minExecutionSpeed_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minExecutionSpeedBuilder_;
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeed field is set.
*/
public boolean hasMinExecutionSpeed() {
return minExecutionSpeedBuilder_ != null || minExecutionSpeed_ != null;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeed.
*/
public com.google.protobuf.Int64Value getMinExecutionSpeed() {
if (minExecutionSpeedBuilder_ == null) {
return minExecutionSpeed_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeed_;
} else {
return minExecutionSpeedBuilder_.getMessage();
}
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinExecutionSpeed(com.google.protobuf.Int64Value value) {
if (minExecutionSpeedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minExecutionSpeed_ = value;
onChanged();
} else {
minExecutionSpeedBuilder_.setMessage(value);
}
return this;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinExecutionSpeed(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minExecutionSpeedBuilder_ == null) {
minExecutionSpeed_ = builderForValue.build();
onChanged();
} else {
minExecutionSpeedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinExecutionSpeed(com.google.protobuf.Int64Value value) {
if (minExecutionSpeedBuilder_ == null) {
if (minExecutionSpeed_ != null) {
minExecutionSpeed_ =
com.google.protobuf.Int64Value.newBuilder(minExecutionSpeed_).mergeFrom(value).buildPartial();
} else {
minExecutionSpeed_ = value;
}
onChanged();
} else {
minExecutionSpeedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinExecutionSpeed() {
if (minExecutionSpeedBuilder_ == null) {
minExecutionSpeed_ = null;
onChanged();
} else {
minExecutionSpeed_ = null;
minExecutionSpeedBuilder_ = null;
}
return this;
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinExecutionSpeedBuilder() {
onChanged();
return getMinExecutionSpeedFieldBuilder().getBuilder();
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedOrBuilder() {
if (minExecutionSpeedBuilder_ != null) {
return minExecutionSpeedBuilder_.getMessageOrBuilder();
} else {
return minExecutionSpeed_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeed_;
}
}
/**
*
* Minimal execution speed in rows per second.
*
*
* .google.protobuf.Int64Value min_execution_speed = 84 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinExecutionSpeedFieldBuilder() {
if (minExecutionSpeedBuilder_ == null) {
minExecutionSpeedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinExecutionSpeed(),
getParentForChildren(),
isClean());
minExecutionSpeed_ = null;
}
return minExecutionSpeedBuilder_;
}
private com.google.protobuf.Int64Value minExecutionSpeedBytes_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minExecutionSpeedBytesBuilder_;
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return Whether the minExecutionSpeedBytes field is set.
*/
public boolean hasMinExecutionSpeedBytes() {
return minExecutionSpeedBytesBuilder_ != null || minExecutionSpeedBytes_ != null;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
* @return The minExecutionSpeedBytes.
*/
public com.google.protobuf.Int64Value getMinExecutionSpeedBytes() {
if (minExecutionSpeedBytesBuilder_ == null) {
return minExecutionSpeedBytes_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeedBytes_;
} else {
return minExecutionSpeedBytesBuilder_.getMessage();
}
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinExecutionSpeedBytes(com.google.protobuf.Int64Value value) {
if (minExecutionSpeedBytesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minExecutionSpeedBytes_ = value;
onChanged();
} else {
minExecutionSpeedBytesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMinExecutionSpeedBytes(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minExecutionSpeedBytesBuilder_ == null) {
minExecutionSpeedBytes_ = builderForValue.build();
onChanged();
} else {
minExecutionSpeedBytesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMinExecutionSpeedBytes(com.google.protobuf.Int64Value value) {
if (minExecutionSpeedBytesBuilder_ == null) {
if (minExecutionSpeedBytes_ != null) {
minExecutionSpeedBytes_ =
com.google.protobuf.Int64Value.newBuilder(minExecutionSpeedBytes_).mergeFrom(value).buildPartial();
} else {
minExecutionSpeedBytes_ = value;
}
onChanged();
} else {
minExecutionSpeedBytesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMinExecutionSpeedBytes() {
if (minExecutionSpeedBytesBuilder_ == null) {
minExecutionSpeedBytes_ = null;
onChanged();
} else {
minExecutionSpeedBytes_ = null;
minExecutionSpeedBytesBuilder_ = null;
}
return this;
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMinExecutionSpeedBytesBuilder() {
onChanged();
return getMinExecutionSpeedBytesFieldBuilder().getBuilder();
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMinExecutionSpeedBytesOrBuilder() {
if (minExecutionSpeedBytesBuilder_ != null) {
return minExecutionSpeedBytesBuilder_.getMessageOrBuilder();
} else {
return minExecutionSpeedBytes_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minExecutionSpeedBytes_;
}
}
/**
*
* Minimal execution speed in bytes per second.
*
*
* .google.protobuf.Int64Value min_execution_speed_bytes = 85 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinExecutionSpeedBytesFieldBuilder() {
if (minExecutionSpeedBytesBuilder_ == null) {
minExecutionSpeedBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinExecutionSpeedBytes(),
getParentForChildren(),
isClean());
minExecutionSpeedBytes_ = null;
}
return minExecutionSpeedBytesBuilder_;
}
private int countDistinctImplementation_ = 0;
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The enum numeric value on the wire for countDistinctImplementation.
*/
@java.lang.Override public int getCountDistinctImplementationValue() {
return countDistinctImplementation_;
}
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @param value The enum numeric value on the wire for countDistinctImplementation to set.
* @return This builder for chaining.
*/
public Builder setCountDistinctImplementationValue(int value) {
countDistinctImplementation_ = value;
onChanged();
return this;
}
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return The countDistinctImplementation.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation getCountDistinctImplementation() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.valueOf(countDistinctImplementation_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation.UNRECOGNIZED : result;
}
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @param value The countDistinctImplementation to set.
* @return This builder for chaining.
*/
public Builder setCountDistinctImplementation(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.CountDistinctImplementation value) {
if (value == null) {
throw new NullPointerException();
}
countDistinctImplementation_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Aggregate function to use for implementation of count(DISTINCT ...).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.CountDistinctImplementation count_distinct_implementation = 86;
* @return This builder for chaining.
*/
public Builder clearCountDistinctImplementation() {
countDistinctImplementation_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue inputFormatValuesInterpretExpressions_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatValuesInterpretExpressionsBuilder_;
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return Whether the inputFormatValuesInterpretExpressions field is set.
*/
public boolean hasInputFormatValuesInterpretExpressions() {
return inputFormatValuesInterpretExpressionsBuilder_ != null || inputFormatValuesInterpretExpressions_ != null;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
* @return The inputFormatValuesInterpretExpressions.
*/
public com.google.protobuf.BoolValue getInputFormatValuesInterpretExpressions() {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
return inputFormatValuesInterpretExpressions_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatValuesInterpretExpressions_;
} else {
return inputFormatValuesInterpretExpressionsBuilder_.getMessage();
}
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public Builder setInputFormatValuesInterpretExpressions(com.google.protobuf.BoolValue value) {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatValuesInterpretExpressions_ = value;
onChanged();
} else {
inputFormatValuesInterpretExpressionsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public Builder setInputFormatValuesInterpretExpressions(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
inputFormatValuesInterpretExpressions_ = builderForValue.build();
onChanged();
} else {
inputFormatValuesInterpretExpressionsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public Builder mergeInputFormatValuesInterpretExpressions(com.google.protobuf.BoolValue value) {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
if (inputFormatValuesInterpretExpressions_ != null) {
inputFormatValuesInterpretExpressions_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatValuesInterpretExpressions_).mergeFrom(value).buildPartial();
} else {
inputFormatValuesInterpretExpressions_ = value;
}
onChanged();
} else {
inputFormatValuesInterpretExpressionsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public Builder clearInputFormatValuesInterpretExpressions() {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
inputFormatValuesInterpretExpressions_ = null;
onChanged();
} else {
inputFormatValuesInterpretExpressions_ = null;
inputFormatValuesInterpretExpressionsBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatValuesInterpretExpressionsBuilder() {
onChanged();
return getInputFormatValuesInterpretExpressionsFieldBuilder().getBuilder();
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatValuesInterpretExpressionsOrBuilder() {
if (inputFormatValuesInterpretExpressionsBuilder_ != null) {
return inputFormatValuesInterpretExpressionsBuilder_.getMessageOrBuilder();
} else {
return inputFormatValuesInterpretExpressions_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatValuesInterpretExpressions_;
}
}
/**
*
* Enables or disables SQL parser if the fast stream parser cannot parse the data.
* Enable this setting, if the data that you want to insert into a table contains SQL expressions.
* For example, the stream parser is unable to parse a value that contains **now()** expression; therefore an **INSERT** query for this value will fail and no data will be inserted into a table.
* With enabled SQL parser, this expression is parsed correctly: the **now()** expression will be parsed as SQL function, interpreted, and the current date and time will be inserted into the table as a result.
* This setting has effect only if you use [Values](https://clickhouse.com/docs/en/interfaces/formats/#data-format-values) format when inserting data.
* Default value: **true** (SQL parser is enabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#settings-input_format_values_interpret_expressions).
*
*
* .google.protobuf.BoolValue input_format_values_interpret_expressions = 61;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatValuesInterpretExpressionsFieldBuilder() {
if (inputFormatValuesInterpretExpressionsBuilder_ == null) {
inputFormatValuesInterpretExpressionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatValuesInterpretExpressions(),
getParentForChildren(),
isClean());
inputFormatValuesInterpretExpressions_ = null;
}
return inputFormatValuesInterpretExpressionsBuilder_;
}
private com.google.protobuf.BoolValue inputFormatDefaultsForOmittedFields_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatDefaultsForOmittedFieldsBuilder_;
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return Whether the inputFormatDefaultsForOmittedFields field is set.
*/
public boolean hasInputFormatDefaultsForOmittedFields() {
return inputFormatDefaultsForOmittedFieldsBuilder_ != null || inputFormatDefaultsForOmittedFields_ != null;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
* @return The inputFormatDefaultsForOmittedFields.
*/
public com.google.protobuf.BoolValue getInputFormatDefaultsForOmittedFields() {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
return inputFormatDefaultsForOmittedFields_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatDefaultsForOmittedFields_;
} else {
return inputFormatDefaultsForOmittedFieldsBuilder_.getMessage();
}
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public Builder setInputFormatDefaultsForOmittedFields(com.google.protobuf.BoolValue value) {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatDefaultsForOmittedFields_ = value;
onChanged();
} else {
inputFormatDefaultsForOmittedFieldsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public Builder setInputFormatDefaultsForOmittedFields(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
inputFormatDefaultsForOmittedFields_ = builderForValue.build();
onChanged();
} else {
inputFormatDefaultsForOmittedFieldsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public Builder mergeInputFormatDefaultsForOmittedFields(com.google.protobuf.BoolValue value) {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
if (inputFormatDefaultsForOmittedFields_ != null) {
inputFormatDefaultsForOmittedFields_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatDefaultsForOmittedFields_).mergeFrom(value).buildPartial();
} else {
inputFormatDefaultsForOmittedFields_ = value;
}
onChanged();
} else {
inputFormatDefaultsForOmittedFieldsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public Builder clearInputFormatDefaultsForOmittedFields() {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
inputFormatDefaultsForOmittedFields_ = null;
onChanged();
} else {
inputFormatDefaultsForOmittedFields_ = null;
inputFormatDefaultsForOmittedFieldsBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatDefaultsForOmittedFieldsBuilder() {
onChanged();
return getInputFormatDefaultsForOmittedFieldsFieldBuilder().getBuilder();
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatDefaultsForOmittedFieldsOrBuilder() {
if (inputFormatDefaultsForOmittedFieldsBuilder_ != null) {
return inputFormatDefaultsForOmittedFieldsBuilder_.getMessageOrBuilder();
} else {
return inputFormatDefaultsForOmittedFields_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatDefaultsForOmittedFields_;
}
}
/**
*
* Enables or disables replacing omitted input values with default values of the respective columns when performing **INSERT** queries.
* Default value: **true** (replacing is enabled).
*
*
* .google.protobuf.BoolValue input_format_defaults_for_omitted_fields = 62;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatDefaultsForOmittedFieldsFieldBuilder() {
if (inputFormatDefaultsForOmittedFieldsBuilder_ == null) {
inputFormatDefaultsForOmittedFieldsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatDefaultsForOmittedFields(),
getParentForChildren(),
isClean());
inputFormatDefaultsForOmittedFields_ = null;
}
return inputFormatDefaultsForOmittedFieldsBuilder_;
}
private com.google.protobuf.BoolValue inputFormatNullAsDefault_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatNullAsDefaultBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return Whether the inputFormatNullAsDefault field is set.
*/
public boolean hasInputFormatNullAsDefault() {
return inputFormatNullAsDefaultBuilder_ != null || inputFormatNullAsDefault_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
* @return The inputFormatNullAsDefault.
*/
public com.google.protobuf.BoolValue getInputFormatNullAsDefault() {
if (inputFormatNullAsDefaultBuilder_ == null) {
return inputFormatNullAsDefault_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatNullAsDefault_;
} else {
return inputFormatNullAsDefaultBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public Builder setInputFormatNullAsDefault(com.google.protobuf.BoolValue value) {
if (inputFormatNullAsDefaultBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatNullAsDefault_ = value;
onChanged();
} else {
inputFormatNullAsDefaultBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public Builder setInputFormatNullAsDefault(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatNullAsDefaultBuilder_ == null) {
inputFormatNullAsDefault_ = builderForValue.build();
onChanged();
} else {
inputFormatNullAsDefaultBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public Builder mergeInputFormatNullAsDefault(com.google.protobuf.BoolValue value) {
if (inputFormatNullAsDefaultBuilder_ == null) {
if (inputFormatNullAsDefault_ != null) {
inputFormatNullAsDefault_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatNullAsDefault_).mergeFrom(value).buildPartial();
} else {
inputFormatNullAsDefault_ = value;
}
onChanged();
} else {
inputFormatNullAsDefaultBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public Builder clearInputFormatNullAsDefault() {
if (inputFormatNullAsDefaultBuilder_ == null) {
inputFormatNullAsDefault_ = null;
onChanged();
} else {
inputFormatNullAsDefault_ = null;
inputFormatNullAsDefaultBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatNullAsDefaultBuilder() {
onChanged();
return getInputFormatNullAsDefaultFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatNullAsDefaultOrBuilder() {
if (inputFormatNullAsDefaultBuilder_ != null) {
return inputFormatNullAsDefaultBuilder_.getMessageOrBuilder();
} else {
return inputFormatNullAsDefault_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatNullAsDefault_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_null_as_default).
*
*
* .google.protobuf.BoolValue input_format_null_as_default = 106;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatNullAsDefaultFieldBuilder() {
if (inputFormatNullAsDefaultBuilder_ == null) {
inputFormatNullAsDefaultBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatNullAsDefault(),
getParentForChildren(),
isClean());
inputFormatNullAsDefault_ = null;
}
return inputFormatNullAsDefaultBuilder_;
}
private int dateTimeInputFormat_ = 0;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The enum numeric value on the wire for dateTimeInputFormat.
*/
@java.lang.Override public int getDateTimeInputFormatValue() {
return dateTimeInputFormat_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @param value The enum numeric value on the wire for dateTimeInputFormat to set.
* @return This builder for chaining.
*/
public Builder setDateTimeInputFormatValue(int value) {
dateTimeInputFormat_ = value;
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return The dateTimeInputFormat.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat getDateTimeInputFormat() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.valueOf(dateTimeInputFormat_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat.UNRECOGNIZED : result;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @param value The dateTimeInputFormat to set.
* @return This builder for chaining.
*/
public Builder setDateTimeInputFormat(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeInputFormat value) {
if (value == null) {
throw new NullPointerException();
}
dateTimeInputFormat_ = value.getNumber();
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_input_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeInputFormat date_time_input_format = 107;
* @return This builder for chaining.
*/
public Builder clearDateTimeInputFormat() {
dateTimeInputFormat_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue inputFormatWithNamesUseHeader_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatWithNamesUseHeaderBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return Whether the inputFormatWithNamesUseHeader field is set.
*/
public boolean hasInputFormatWithNamesUseHeader() {
return inputFormatWithNamesUseHeaderBuilder_ != null || inputFormatWithNamesUseHeader_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
* @return The inputFormatWithNamesUseHeader.
*/
public com.google.protobuf.BoolValue getInputFormatWithNamesUseHeader() {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
return inputFormatWithNamesUseHeader_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatWithNamesUseHeader_;
} else {
return inputFormatWithNamesUseHeaderBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public Builder setInputFormatWithNamesUseHeader(com.google.protobuf.BoolValue value) {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatWithNamesUseHeader_ = value;
onChanged();
} else {
inputFormatWithNamesUseHeaderBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public Builder setInputFormatWithNamesUseHeader(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
inputFormatWithNamesUseHeader_ = builderForValue.build();
onChanged();
} else {
inputFormatWithNamesUseHeaderBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public Builder mergeInputFormatWithNamesUseHeader(com.google.protobuf.BoolValue value) {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
if (inputFormatWithNamesUseHeader_ != null) {
inputFormatWithNamesUseHeader_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatWithNamesUseHeader_).mergeFrom(value).buildPartial();
} else {
inputFormatWithNamesUseHeader_ = value;
}
onChanged();
} else {
inputFormatWithNamesUseHeaderBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public Builder clearInputFormatWithNamesUseHeader() {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
inputFormatWithNamesUseHeader_ = null;
onChanged();
} else {
inputFormatWithNamesUseHeader_ = null;
inputFormatWithNamesUseHeaderBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatWithNamesUseHeaderBuilder() {
onChanged();
return getInputFormatWithNamesUseHeaderFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatWithNamesUseHeaderOrBuilder() {
if (inputFormatWithNamesUseHeaderBuilder_ != null) {
return inputFormatWithNamesUseHeaderBuilder_.getMessageOrBuilder();
} else {
return inputFormatWithNamesUseHeader_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatWithNamesUseHeader_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#input_format_with_names_use_header).
*
*
* .google.protobuf.BoolValue input_format_with_names_use_header = 108;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatWithNamesUseHeaderFieldBuilder() {
if (inputFormatWithNamesUseHeaderBuilder_ == null) {
inputFormatWithNamesUseHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatWithNamesUseHeader(),
getParentForChildren(),
isClean());
inputFormatWithNamesUseHeader_ = null;
}
return inputFormatWithNamesUseHeaderBuilder_;
}
private com.google.protobuf.BoolValue outputFormatJsonQuote64BitIntegers_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> outputFormatJsonQuote64BitIntegersBuilder_;
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return Whether the outputFormatJsonQuote64bitIntegers field is set.
*/
public boolean hasOutputFormatJsonQuote64BitIntegers() {
return outputFormatJsonQuote64BitIntegersBuilder_ != null || outputFormatJsonQuote64BitIntegers_ != null;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
* @return The outputFormatJsonQuote64bitIntegers.
*/
public com.google.protobuf.BoolValue getOutputFormatJsonQuote64BitIntegers() {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
return outputFormatJsonQuote64BitIntegers_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuote64BitIntegers_;
} else {
return outputFormatJsonQuote64BitIntegersBuilder_.getMessage();
}
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public Builder setOutputFormatJsonQuote64BitIntegers(com.google.protobuf.BoolValue value) {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
outputFormatJsonQuote64BitIntegers_ = value;
onChanged();
} else {
outputFormatJsonQuote64BitIntegersBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public Builder setOutputFormatJsonQuote64BitIntegers(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
outputFormatJsonQuote64BitIntegers_ = builderForValue.build();
onChanged();
} else {
outputFormatJsonQuote64BitIntegersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public Builder mergeOutputFormatJsonQuote64BitIntegers(com.google.protobuf.BoolValue value) {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
if (outputFormatJsonQuote64BitIntegers_ != null) {
outputFormatJsonQuote64BitIntegers_ =
com.google.protobuf.BoolValue.newBuilder(outputFormatJsonQuote64BitIntegers_).mergeFrom(value).buildPartial();
} else {
outputFormatJsonQuote64BitIntegers_ = value;
}
onChanged();
} else {
outputFormatJsonQuote64BitIntegersBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public Builder clearOutputFormatJsonQuote64BitIntegers() {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
outputFormatJsonQuote64BitIntegers_ = null;
onChanged();
} else {
outputFormatJsonQuote64BitIntegers_ = null;
outputFormatJsonQuote64BitIntegersBuilder_ = null;
}
return this;
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public com.google.protobuf.BoolValue.Builder getOutputFormatJsonQuote64BitIntegersBuilder() {
onChanged();
return getOutputFormatJsonQuote64BitIntegersFieldBuilder().getBuilder();
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
public com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuote64BitIntegersOrBuilder() {
if (outputFormatJsonQuote64BitIntegersBuilder_ != null) {
return outputFormatJsonQuote64BitIntegersBuilder_.getMessageOrBuilder();
} else {
return outputFormatJsonQuote64BitIntegers_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuote64BitIntegers_;
}
}
/**
*
* Enables quoting of 64-bit integers in JSON output format.
* If this setting is enabled, then 64-bit integers (**UInt64** and **Int64**) will be quoted when written to JSON output in order to maintain compatibility with the most of the JavaScript engines.
* Otherwise, such integers will not be quoted.
* Default value: **false** (quoting 64-bit integers is disabled).
*
*
* .google.protobuf.BoolValue output_format_json_quote_64bit_integers = 63 [json_name = "outputFormatJsonQuote_64bitIntegers"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getOutputFormatJsonQuote64BitIntegersFieldBuilder() {
if (outputFormatJsonQuote64BitIntegersBuilder_ == null) {
outputFormatJsonQuote64BitIntegersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getOutputFormatJsonQuote64BitIntegers(),
getParentForChildren(),
isClean());
outputFormatJsonQuote64BitIntegers_ = null;
}
return outputFormatJsonQuote64BitIntegersBuilder_;
}
private com.google.protobuf.BoolValue outputFormatJsonQuoteDenormals_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> outputFormatJsonQuoteDenormalsBuilder_;
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return Whether the outputFormatJsonQuoteDenormals field is set.
*/
public boolean hasOutputFormatJsonQuoteDenormals() {
return outputFormatJsonQuoteDenormalsBuilder_ != null || outputFormatJsonQuoteDenormals_ != null;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
* @return The outputFormatJsonQuoteDenormals.
*/
public com.google.protobuf.BoolValue getOutputFormatJsonQuoteDenormals() {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
return outputFormatJsonQuoteDenormals_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuoteDenormals_;
} else {
return outputFormatJsonQuoteDenormalsBuilder_.getMessage();
}
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public Builder setOutputFormatJsonQuoteDenormals(com.google.protobuf.BoolValue value) {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
outputFormatJsonQuoteDenormals_ = value;
onChanged();
} else {
outputFormatJsonQuoteDenormalsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public Builder setOutputFormatJsonQuoteDenormals(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
outputFormatJsonQuoteDenormals_ = builderForValue.build();
onChanged();
} else {
outputFormatJsonQuoteDenormalsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public Builder mergeOutputFormatJsonQuoteDenormals(com.google.protobuf.BoolValue value) {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
if (outputFormatJsonQuoteDenormals_ != null) {
outputFormatJsonQuoteDenormals_ =
com.google.protobuf.BoolValue.newBuilder(outputFormatJsonQuoteDenormals_).mergeFrom(value).buildPartial();
} else {
outputFormatJsonQuoteDenormals_ = value;
}
onChanged();
} else {
outputFormatJsonQuoteDenormalsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public Builder clearOutputFormatJsonQuoteDenormals() {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
outputFormatJsonQuoteDenormals_ = null;
onChanged();
} else {
outputFormatJsonQuoteDenormals_ = null;
outputFormatJsonQuoteDenormalsBuilder_ = null;
}
return this;
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public com.google.protobuf.BoolValue.Builder getOutputFormatJsonQuoteDenormalsBuilder() {
onChanged();
return getOutputFormatJsonQuoteDenormalsFieldBuilder().getBuilder();
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
public com.google.protobuf.BoolValueOrBuilder getOutputFormatJsonQuoteDenormalsOrBuilder() {
if (outputFormatJsonQuoteDenormalsBuilder_ != null) {
return outputFormatJsonQuoteDenormalsBuilder_.getMessageOrBuilder();
} else {
return outputFormatJsonQuoteDenormals_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : outputFormatJsonQuoteDenormals_;
}
}
/**
*
* Enables special floating-point values (**+nan**, **-nan**, **+inf** and **-inf**) in JSON output format.
* Default value: **false** (special values do not present in output).
*
*
* .google.protobuf.BoolValue output_format_json_quote_denormals = 64;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getOutputFormatJsonQuoteDenormalsFieldBuilder() {
if (outputFormatJsonQuoteDenormalsBuilder_ == null) {
outputFormatJsonQuoteDenormalsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getOutputFormatJsonQuoteDenormals(),
getParentForChildren(),
isClean());
outputFormatJsonQuoteDenormals_ = null;
}
return outputFormatJsonQuoteDenormalsBuilder_;
}
private int dateTimeOutputFormat_ = 0;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The enum numeric value on the wire for dateTimeOutputFormat.
*/
@java.lang.Override public int getDateTimeOutputFormatValue() {
return dateTimeOutputFormat_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @param value The enum numeric value on the wire for dateTimeOutputFormat to set.
* @return This builder for chaining.
*/
public Builder setDateTimeOutputFormatValue(int value) {
dateTimeOutputFormat_ = value;
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return The dateTimeOutputFormat.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat getDateTimeOutputFormat() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.valueOf(dateTimeOutputFormat_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat.UNRECOGNIZED : result;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @param value The dateTimeOutputFormat to set.
* @return This builder for chaining.
*/
public Builder setDateTimeOutputFormat(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.DateTimeOutputFormat value) {
if (value == null) {
throw new NullPointerException();
}
dateTimeOutputFormat_ = value.getNumber();
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#date_time_output_format).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.DateTimeOutputFormat date_time_output_format = 109;
* @return This builder for chaining.
*/
public Builder clearDateTimeOutputFormat() {
dateTimeOutputFormat_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue lowCardinalityAllowInNativeFormat_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> lowCardinalityAllowInNativeFormatBuilder_;
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return Whether the lowCardinalityAllowInNativeFormat field is set.
*/
public boolean hasLowCardinalityAllowInNativeFormat() {
return lowCardinalityAllowInNativeFormatBuilder_ != null || lowCardinalityAllowInNativeFormat_ != null;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
* @return The lowCardinalityAllowInNativeFormat.
*/
public com.google.protobuf.BoolValue getLowCardinalityAllowInNativeFormat() {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
return lowCardinalityAllowInNativeFormat_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : lowCardinalityAllowInNativeFormat_;
} else {
return lowCardinalityAllowInNativeFormatBuilder_.getMessage();
}
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public Builder setLowCardinalityAllowInNativeFormat(com.google.protobuf.BoolValue value) {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowCardinalityAllowInNativeFormat_ = value;
onChanged();
} else {
lowCardinalityAllowInNativeFormatBuilder_.setMessage(value);
}
return this;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public Builder setLowCardinalityAllowInNativeFormat(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
lowCardinalityAllowInNativeFormat_ = builderForValue.build();
onChanged();
} else {
lowCardinalityAllowInNativeFormatBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public Builder mergeLowCardinalityAllowInNativeFormat(com.google.protobuf.BoolValue value) {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
if (lowCardinalityAllowInNativeFormat_ != null) {
lowCardinalityAllowInNativeFormat_ =
com.google.protobuf.BoolValue.newBuilder(lowCardinalityAllowInNativeFormat_).mergeFrom(value).buildPartial();
} else {
lowCardinalityAllowInNativeFormat_ = value;
}
onChanged();
} else {
lowCardinalityAllowInNativeFormatBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public Builder clearLowCardinalityAllowInNativeFormat() {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
lowCardinalityAllowInNativeFormat_ = null;
onChanged();
} else {
lowCardinalityAllowInNativeFormat_ = null;
lowCardinalityAllowInNativeFormatBuilder_ = null;
}
return this;
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public com.google.protobuf.BoolValue.Builder getLowCardinalityAllowInNativeFormatBuilder() {
onChanged();
return getLowCardinalityAllowInNativeFormatFieldBuilder().getBuilder();
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
public com.google.protobuf.BoolValueOrBuilder getLowCardinalityAllowInNativeFormatOrBuilder() {
if (lowCardinalityAllowInNativeFormatBuilder_ != null) {
return lowCardinalityAllowInNativeFormatBuilder_.getMessageOrBuilder();
} else {
return lowCardinalityAllowInNativeFormat_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : lowCardinalityAllowInNativeFormat_;
}
}
/**
*
* Determines whether to use LowCardinality type in Native format.
* * **true** (default)-yes, use.
* * **false**-convert LowCardinality columns to regular columns when doing **SELECT**, and convert regular columns to LowCardinality when doing **INSERT**.
* LowCardinality columns (aka sparse columns) store data in more effective way, compared to regular columns, by using hash tables.
* If data to insert suits this storage format, ClickHouse will place them into LowCardinality column.
* If you use a third-party ClickHouse client that can't work with LowCardinality columns, then this client will not be able to correctly interpret the result of the query that asks for data stored in LowCardinality column.
* Disable this setting to convert LowCardinality column to regular column when creating the result, so such clients will be able to process the result.
* Official ClickHouse client works with LowCardinality columns out-of-the-box.
* Default value: **true** (LowCardinality columns are used in Native format).
*
*
* .google.protobuf.BoolValue low_cardinality_allow_in_native_format = 78;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getLowCardinalityAllowInNativeFormatFieldBuilder() {
if (lowCardinalityAllowInNativeFormatBuilder_ == null) {
lowCardinalityAllowInNativeFormatBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getLowCardinalityAllowInNativeFormat(),
getParentForChildren(),
isClean());
lowCardinalityAllowInNativeFormat_ = null;
}
return lowCardinalityAllowInNativeFormatBuilder_;
}
private com.google.protobuf.BoolValue allowSuspiciousLowCardinalityTypes_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowSuspiciousLowCardinalityTypesBuilder_;
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return Whether the allowSuspiciousLowCardinalityTypes field is set.
*/
public boolean hasAllowSuspiciousLowCardinalityTypes() {
return allowSuspiciousLowCardinalityTypesBuilder_ != null || allowSuspiciousLowCardinalityTypes_ != null;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
* @return The allowSuspiciousLowCardinalityTypes.
*/
public com.google.protobuf.BoolValue getAllowSuspiciousLowCardinalityTypes() {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
return allowSuspiciousLowCardinalityTypes_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowSuspiciousLowCardinalityTypes_;
} else {
return allowSuspiciousLowCardinalityTypesBuilder_.getMessage();
}
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public Builder setAllowSuspiciousLowCardinalityTypes(com.google.protobuf.BoolValue value) {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
allowSuspiciousLowCardinalityTypes_ = value;
onChanged();
} else {
allowSuspiciousLowCardinalityTypesBuilder_.setMessage(value);
}
return this;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public Builder setAllowSuspiciousLowCardinalityTypes(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
allowSuspiciousLowCardinalityTypes_ = builderForValue.build();
onChanged();
} else {
allowSuspiciousLowCardinalityTypesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public Builder mergeAllowSuspiciousLowCardinalityTypes(com.google.protobuf.BoolValue value) {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
if (allowSuspiciousLowCardinalityTypes_ != null) {
allowSuspiciousLowCardinalityTypes_ =
com.google.protobuf.BoolValue.newBuilder(allowSuspiciousLowCardinalityTypes_).mergeFrom(value).buildPartial();
} else {
allowSuspiciousLowCardinalityTypes_ = value;
}
onChanged();
} else {
allowSuspiciousLowCardinalityTypesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public Builder clearAllowSuspiciousLowCardinalityTypes() {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
allowSuspiciousLowCardinalityTypes_ = null;
onChanged();
} else {
allowSuspiciousLowCardinalityTypes_ = null;
allowSuspiciousLowCardinalityTypesBuilder_ = null;
}
return this;
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public com.google.protobuf.BoolValue.Builder getAllowSuspiciousLowCardinalityTypesBuilder() {
onChanged();
return getAllowSuspiciousLowCardinalityTypesFieldBuilder().getBuilder();
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
public com.google.protobuf.BoolValueOrBuilder getAllowSuspiciousLowCardinalityTypesOrBuilder() {
if (allowSuspiciousLowCardinalityTypesBuilder_ != null) {
return allowSuspiciousLowCardinalityTypesBuilder_.getMessageOrBuilder();
} else {
return allowSuspiciousLowCardinalityTypes_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : allowSuspiciousLowCardinalityTypes_;
}
}
/**
*
* Allows specifying **LowCardinality** modifier for types of small fixed size (8 or less) in CREATE TABLE statements. Enabling this may increase merge times and memory consumption.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#allow_suspicious_low_cardinality_types).
*
*
* .google.protobuf.BoolValue allow_suspicious_low_cardinality_types = 110;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAllowSuspiciousLowCardinalityTypesFieldBuilder() {
if (allowSuspiciousLowCardinalityTypesBuilder_ == null) {
allowSuspiciousLowCardinalityTypesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAllowSuspiciousLowCardinalityTypes(),
getParentForChildren(),
isClean());
allowSuspiciousLowCardinalityTypes_ = null;
}
return allowSuspiciousLowCardinalityTypesBuilder_;
}
private com.google.protobuf.BoolValue emptyResultForAggregationByEmptySet_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> emptyResultForAggregationByEmptySetBuilder_;
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return Whether the emptyResultForAggregationByEmptySet field is set.
*/
public boolean hasEmptyResultForAggregationByEmptySet() {
return emptyResultForAggregationByEmptySetBuilder_ != null || emptyResultForAggregationByEmptySet_ != null;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
* @return The emptyResultForAggregationByEmptySet.
*/
public com.google.protobuf.BoolValue getEmptyResultForAggregationByEmptySet() {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
return emptyResultForAggregationByEmptySet_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : emptyResultForAggregationByEmptySet_;
} else {
return emptyResultForAggregationByEmptySetBuilder_.getMessage();
}
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public Builder setEmptyResultForAggregationByEmptySet(com.google.protobuf.BoolValue value) {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
emptyResultForAggregationByEmptySet_ = value;
onChanged();
} else {
emptyResultForAggregationByEmptySetBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public Builder setEmptyResultForAggregationByEmptySet(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
emptyResultForAggregationByEmptySet_ = builderForValue.build();
onChanged();
} else {
emptyResultForAggregationByEmptySetBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public Builder mergeEmptyResultForAggregationByEmptySet(com.google.protobuf.BoolValue value) {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
if (emptyResultForAggregationByEmptySet_ != null) {
emptyResultForAggregationByEmptySet_ =
com.google.protobuf.BoolValue.newBuilder(emptyResultForAggregationByEmptySet_).mergeFrom(value).buildPartial();
} else {
emptyResultForAggregationByEmptySet_ = value;
}
onChanged();
} else {
emptyResultForAggregationByEmptySetBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public Builder clearEmptyResultForAggregationByEmptySet() {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
emptyResultForAggregationByEmptySet_ = null;
onChanged();
} else {
emptyResultForAggregationByEmptySet_ = null;
emptyResultForAggregationByEmptySetBuilder_ = null;
}
return this;
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public com.google.protobuf.BoolValue.Builder getEmptyResultForAggregationByEmptySetBuilder() {
onChanged();
return getEmptyResultForAggregationByEmptySetFieldBuilder().getBuilder();
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
public com.google.protobuf.BoolValueOrBuilder getEmptyResultForAggregationByEmptySetOrBuilder() {
if (emptyResultForAggregationByEmptySetBuilder_ != null) {
return emptyResultForAggregationByEmptySetBuilder_.getMessageOrBuilder();
} else {
return emptyResultForAggregationByEmptySet_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : emptyResultForAggregationByEmptySet_;
}
}
/**
*
* Enables returning of empty result when aggregating without keys (with **GROUP BY** operation absent) on empty set (e.g., **SELECT count(*) FROM table WHERE 0**).
* * **true**-ClickHouse will return an empty result for such queries.
* * **false** (default)-ClickHouse will return a single-line result consisting of **NULL** values for aggregation functions, in accordance with SQL standard.
*
*
* .google.protobuf.BoolValue empty_result_for_aggregation_by_empty_set = 79;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEmptyResultForAggregationByEmptySetFieldBuilder() {
if (emptyResultForAggregationByEmptySetBuilder_ == null) {
emptyResultForAggregationByEmptySetBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEmptyResultForAggregationByEmptySet(),
getParentForChildren(),
isClean());
emptyResultForAggregationByEmptySet_ = null;
}
return emptyResultForAggregationByEmptySetBuilder_;
}
private com.google.protobuf.Int64Value httpConnectionTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> httpConnectionTimeoutBuilder_;
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return Whether the httpConnectionTimeout field is set.
*/
public boolean hasHttpConnectionTimeout() {
return httpConnectionTimeoutBuilder_ != null || httpConnectionTimeout_ != null;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
* @return The httpConnectionTimeout.
*/
public com.google.protobuf.Int64Value getHttpConnectionTimeout() {
if (httpConnectionTimeoutBuilder_ == null) {
return httpConnectionTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpConnectionTimeout_;
} else {
return httpConnectionTimeoutBuilder_.getMessage();
}
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public Builder setHttpConnectionTimeout(com.google.protobuf.Int64Value value) {
if (httpConnectionTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
httpConnectionTimeout_ = value;
onChanged();
} else {
httpConnectionTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public Builder setHttpConnectionTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (httpConnectionTimeoutBuilder_ == null) {
httpConnectionTimeout_ = builderForValue.build();
onChanged();
} else {
httpConnectionTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public Builder mergeHttpConnectionTimeout(com.google.protobuf.Int64Value value) {
if (httpConnectionTimeoutBuilder_ == null) {
if (httpConnectionTimeout_ != null) {
httpConnectionTimeout_ =
com.google.protobuf.Int64Value.newBuilder(httpConnectionTimeout_).mergeFrom(value).buildPartial();
} else {
httpConnectionTimeout_ = value;
}
onChanged();
} else {
httpConnectionTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public Builder clearHttpConnectionTimeout() {
if (httpConnectionTimeoutBuilder_ == null) {
httpConnectionTimeout_ = null;
onChanged();
} else {
httpConnectionTimeout_ = null;
httpConnectionTimeoutBuilder_ = null;
}
return this;
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public com.google.protobuf.Int64Value.Builder getHttpConnectionTimeoutBuilder() {
onChanged();
return getHttpConnectionTimeoutFieldBuilder().getBuilder();
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
public com.google.protobuf.Int64ValueOrBuilder getHttpConnectionTimeoutOrBuilder() {
if (httpConnectionTimeoutBuilder_ != null) {
return httpConnectionTimeoutBuilder_.getMessageOrBuilder();
} else {
return httpConnectionTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : httpConnectionTimeout_;
}
}
/**
*
* HTTP connection timeout, in milliseconds.
* Value must be greater than **0** (default: **1000**, 1 second).
*
*
* .google.protobuf.Int64Value http_connection_timeout = 65;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getHttpConnectionTimeoutFieldBuilder() {
if (httpConnectionTimeoutBuilder_ == null) {
httpConnectionTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getHttpConnectionTimeout(),
getParentForChildren(),
isClean());
httpConnectionTimeout_ = null;
}
return httpConnectionTimeoutBuilder_;
}
private com.google.protobuf.Int64Value httpReceiveTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> httpReceiveTimeoutBuilder_;
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return Whether the httpReceiveTimeout field is set.
*/
public boolean hasHttpReceiveTimeout() {
return httpReceiveTimeoutBuilder_ != null || httpReceiveTimeout_ != null;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
* @return The httpReceiveTimeout.
*/
public com.google.protobuf.Int64Value getHttpReceiveTimeout() {
if (httpReceiveTimeoutBuilder_ == null) {
return httpReceiveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpReceiveTimeout_;
} else {
return httpReceiveTimeoutBuilder_.getMessage();
}
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public Builder setHttpReceiveTimeout(com.google.protobuf.Int64Value value) {
if (httpReceiveTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
httpReceiveTimeout_ = value;
onChanged();
} else {
httpReceiveTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public Builder setHttpReceiveTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (httpReceiveTimeoutBuilder_ == null) {
httpReceiveTimeout_ = builderForValue.build();
onChanged();
} else {
httpReceiveTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public Builder mergeHttpReceiveTimeout(com.google.protobuf.Int64Value value) {
if (httpReceiveTimeoutBuilder_ == null) {
if (httpReceiveTimeout_ != null) {
httpReceiveTimeout_ =
com.google.protobuf.Int64Value.newBuilder(httpReceiveTimeout_).mergeFrom(value).buildPartial();
} else {
httpReceiveTimeout_ = value;
}
onChanged();
} else {
httpReceiveTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public Builder clearHttpReceiveTimeout() {
if (httpReceiveTimeoutBuilder_ == null) {
httpReceiveTimeout_ = null;
onChanged();
} else {
httpReceiveTimeout_ = null;
httpReceiveTimeoutBuilder_ = null;
}
return this;
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public com.google.protobuf.Int64Value.Builder getHttpReceiveTimeoutBuilder() {
onChanged();
return getHttpReceiveTimeoutFieldBuilder().getBuilder();
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
public com.google.protobuf.Int64ValueOrBuilder getHttpReceiveTimeoutOrBuilder() {
if (httpReceiveTimeoutBuilder_ != null) {
return httpReceiveTimeoutBuilder_.getMessageOrBuilder();
} else {
return httpReceiveTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : httpReceiveTimeout_;
}
}
/**
*
* HTTP receive timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_receive_timeout = 66;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getHttpReceiveTimeoutFieldBuilder() {
if (httpReceiveTimeoutBuilder_ == null) {
httpReceiveTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getHttpReceiveTimeout(),
getParentForChildren(),
isClean());
httpReceiveTimeout_ = null;
}
return httpReceiveTimeoutBuilder_;
}
private com.google.protobuf.Int64Value httpSendTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> httpSendTimeoutBuilder_;
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return Whether the httpSendTimeout field is set.
*/
public boolean hasHttpSendTimeout() {
return httpSendTimeoutBuilder_ != null || httpSendTimeout_ != null;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
* @return The httpSendTimeout.
*/
public com.google.protobuf.Int64Value getHttpSendTimeout() {
if (httpSendTimeoutBuilder_ == null) {
return httpSendTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpSendTimeout_;
} else {
return httpSendTimeoutBuilder_.getMessage();
}
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public Builder setHttpSendTimeout(com.google.protobuf.Int64Value value) {
if (httpSendTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
httpSendTimeout_ = value;
onChanged();
} else {
httpSendTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public Builder setHttpSendTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (httpSendTimeoutBuilder_ == null) {
httpSendTimeout_ = builderForValue.build();
onChanged();
} else {
httpSendTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public Builder mergeHttpSendTimeout(com.google.protobuf.Int64Value value) {
if (httpSendTimeoutBuilder_ == null) {
if (httpSendTimeout_ != null) {
httpSendTimeout_ =
com.google.protobuf.Int64Value.newBuilder(httpSendTimeout_).mergeFrom(value).buildPartial();
} else {
httpSendTimeout_ = value;
}
onChanged();
} else {
httpSendTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public Builder clearHttpSendTimeout() {
if (httpSendTimeoutBuilder_ == null) {
httpSendTimeout_ = null;
onChanged();
} else {
httpSendTimeout_ = null;
httpSendTimeoutBuilder_ = null;
}
return this;
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public com.google.protobuf.Int64Value.Builder getHttpSendTimeoutBuilder() {
onChanged();
return getHttpSendTimeoutFieldBuilder().getBuilder();
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
public com.google.protobuf.Int64ValueOrBuilder getHttpSendTimeoutOrBuilder() {
if (httpSendTimeoutBuilder_ != null) {
return httpSendTimeoutBuilder_.getMessageOrBuilder();
} else {
return httpSendTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : httpSendTimeout_;
}
}
/**
*
* HTTP send timeout, in milliseconds.
* Value must be greater than **0** (default: **1800000**, 1800 seconds, 30 minutes).
*
*
* .google.protobuf.Int64Value http_send_timeout = 67;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getHttpSendTimeoutFieldBuilder() {
if (httpSendTimeoutBuilder_ == null) {
httpSendTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getHttpSendTimeout(),
getParentForChildren(),
isClean());
httpSendTimeout_ = null;
}
return httpSendTimeoutBuilder_;
}
private com.google.protobuf.BoolValue enableHttpCompression_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> enableHttpCompressionBuilder_;
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return Whether the enableHttpCompression field is set.
*/
public boolean hasEnableHttpCompression() {
return enableHttpCompressionBuilder_ != null || enableHttpCompression_ != null;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
* @return The enableHttpCompression.
*/
public com.google.protobuf.BoolValue getEnableHttpCompression() {
if (enableHttpCompressionBuilder_ == null) {
return enableHttpCompression_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : enableHttpCompression_;
} else {
return enableHttpCompressionBuilder_.getMessage();
}
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public Builder setEnableHttpCompression(com.google.protobuf.BoolValue value) {
if (enableHttpCompressionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
enableHttpCompression_ = value;
onChanged();
} else {
enableHttpCompressionBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public Builder setEnableHttpCompression(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (enableHttpCompressionBuilder_ == null) {
enableHttpCompression_ = builderForValue.build();
onChanged();
} else {
enableHttpCompressionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public Builder mergeEnableHttpCompression(com.google.protobuf.BoolValue value) {
if (enableHttpCompressionBuilder_ == null) {
if (enableHttpCompression_ != null) {
enableHttpCompression_ =
com.google.protobuf.BoolValue.newBuilder(enableHttpCompression_).mergeFrom(value).buildPartial();
} else {
enableHttpCompression_ = value;
}
onChanged();
} else {
enableHttpCompressionBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public Builder clearEnableHttpCompression() {
if (enableHttpCompressionBuilder_ == null) {
enableHttpCompression_ = null;
onChanged();
} else {
enableHttpCompression_ = null;
enableHttpCompressionBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public com.google.protobuf.BoolValue.Builder getEnableHttpCompressionBuilder() {
onChanged();
return getEnableHttpCompressionFieldBuilder().getBuilder();
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
public com.google.protobuf.BoolValueOrBuilder getEnableHttpCompressionOrBuilder() {
if (enableHttpCompressionBuilder_ != null) {
return enableHttpCompressionBuilder_.getMessageOrBuilder();
} else {
return enableHttpCompression_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : enableHttpCompression_;
}
}
/**
*
* Enables or disables data compression in HTTP responses.
* By default, ClickHouse stores data compressed. When executing a query, its result is uncompressed.
* Use this setting to command ClickHouse to compress the result when sending it via HTTP.
* Enable this setting and add the **Accept-Encoding: <compression method>** HTTP header in a HTTP request to force compression of HTTP response from ClickHouse.
* ClickHouse support the following compression methods: **gzip**, **br** and **deflate**.
* Default value: **false** (compression is disabled).
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/interfaces/http/).
*
*
* .google.protobuf.BoolValue enable_http_compression = 68;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getEnableHttpCompressionFieldBuilder() {
if (enableHttpCompressionBuilder_ == null) {
enableHttpCompressionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getEnableHttpCompression(),
getParentForChildren(),
isClean());
enableHttpCompression_ = null;
}
return enableHttpCompressionBuilder_;
}
private com.google.protobuf.BoolValue sendProgressInHttpHeaders_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> sendProgressInHttpHeadersBuilder_;
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return Whether the sendProgressInHttpHeaders field is set.
*/
public boolean hasSendProgressInHttpHeaders() {
return sendProgressInHttpHeadersBuilder_ != null || sendProgressInHttpHeaders_ != null;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
* @return The sendProgressInHttpHeaders.
*/
public com.google.protobuf.BoolValue getSendProgressInHttpHeaders() {
if (sendProgressInHttpHeadersBuilder_ == null) {
return sendProgressInHttpHeaders_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : sendProgressInHttpHeaders_;
} else {
return sendProgressInHttpHeadersBuilder_.getMessage();
}
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public Builder setSendProgressInHttpHeaders(com.google.protobuf.BoolValue value) {
if (sendProgressInHttpHeadersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sendProgressInHttpHeaders_ = value;
onChanged();
} else {
sendProgressInHttpHeadersBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public Builder setSendProgressInHttpHeaders(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (sendProgressInHttpHeadersBuilder_ == null) {
sendProgressInHttpHeaders_ = builderForValue.build();
onChanged();
} else {
sendProgressInHttpHeadersBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public Builder mergeSendProgressInHttpHeaders(com.google.protobuf.BoolValue value) {
if (sendProgressInHttpHeadersBuilder_ == null) {
if (sendProgressInHttpHeaders_ != null) {
sendProgressInHttpHeaders_ =
com.google.protobuf.BoolValue.newBuilder(sendProgressInHttpHeaders_).mergeFrom(value).buildPartial();
} else {
sendProgressInHttpHeaders_ = value;
}
onChanged();
} else {
sendProgressInHttpHeadersBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public Builder clearSendProgressInHttpHeaders() {
if (sendProgressInHttpHeadersBuilder_ == null) {
sendProgressInHttpHeaders_ = null;
onChanged();
} else {
sendProgressInHttpHeaders_ = null;
sendProgressInHttpHeadersBuilder_ = null;
}
return this;
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public com.google.protobuf.BoolValue.Builder getSendProgressInHttpHeadersBuilder() {
onChanged();
return getSendProgressInHttpHeadersFieldBuilder().getBuilder();
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
public com.google.protobuf.BoolValueOrBuilder getSendProgressInHttpHeadersOrBuilder() {
if (sendProgressInHttpHeadersBuilder_ != null) {
return sendProgressInHttpHeadersBuilder_.getMessageOrBuilder();
} else {
return sendProgressInHttpHeaders_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : sendProgressInHttpHeaders_;
}
}
/**
*
* Enables progress notifications using **X-ClickHouse-Progress** HTTP header.
* Default value: **false** (notifications disabled).
*
*
* .google.protobuf.BoolValue send_progress_in_http_headers = 69;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getSendProgressInHttpHeadersFieldBuilder() {
if (sendProgressInHttpHeadersBuilder_ == null) {
sendProgressInHttpHeadersBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getSendProgressInHttpHeaders(),
getParentForChildren(),
isClean());
sendProgressInHttpHeaders_ = null;
}
return sendProgressInHttpHeadersBuilder_;
}
private com.google.protobuf.Int64Value httpHeadersProgressInterval_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> httpHeadersProgressIntervalBuilder_;
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return Whether the httpHeadersProgressInterval field is set.
*/
public boolean hasHttpHeadersProgressInterval() {
return httpHeadersProgressIntervalBuilder_ != null || httpHeadersProgressInterval_ != null;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
* @return The httpHeadersProgressInterval.
*/
public com.google.protobuf.Int64Value getHttpHeadersProgressInterval() {
if (httpHeadersProgressIntervalBuilder_ == null) {
return httpHeadersProgressInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : httpHeadersProgressInterval_;
} else {
return httpHeadersProgressIntervalBuilder_.getMessage();
}
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public Builder setHttpHeadersProgressInterval(com.google.protobuf.Int64Value value) {
if (httpHeadersProgressIntervalBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
httpHeadersProgressInterval_ = value;
onChanged();
} else {
httpHeadersProgressIntervalBuilder_.setMessage(value);
}
return this;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public Builder setHttpHeadersProgressInterval(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (httpHeadersProgressIntervalBuilder_ == null) {
httpHeadersProgressInterval_ = builderForValue.build();
onChanged();
} else {
httpHeadersProgressIntervalBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public Builder mergeHttpHeadersProgressInterval(com.google.protobuf.Int64Value value) {
if (httpHeadersProgressIntervalBuilder_ == null) {
if (httpHeadersProgressInterval_ != null) {
httpHeadersProgressInterval_ =
com.google.protobuf.Int64Value.newBuilder(httpHeadersProgressInterval_).mergeFrom(value).buildPartial();
} else {
httpHeadersProgressInterval_ = value;
}
onChanged();
} else {
httpHeadersProgressIntervalBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public Builder clearHttpHeadersProgressInterval() {
if (httpHeadersProgressIntervalBuilder_ == null) {
httpHeadersProgressInterval_ = null;
onChanged();
} else {
httpHeadersProgressInterval_ = null;
httpHeadersProgressIntervalBuilder_ = null;
}
return this;
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public com.google.protobuf.Int64Value.Builder getHttpHeadersProgressIntervalBuilder() {
onChanged();
return getHttpHeadersProgressIntervalFieldBuilder().getBuilder();
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
public com.google.protobuf.Int64ValueOrBuilder getHttpHeadersProgressIntervalOrBuilder() {
if (httpHeadersProgressIntervalBuilder_ != null) {
return httpHeadersProgressIntervalBuilder_.getMessageOrBuilder();
} else {
return httpHeadersProgressInterval_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : httpHeadersProgressInterval_;
}
}
/**
*
* Minimum interval between progress notifications with **X-ClickHouse-Progress** HTTP header, in milliseconds.
* Value must be greater than **0** (default: **100**).
*
*
* .google.protobuf.Int64Value http_headers_progress_interval = 70;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getHttpHeadersProgressIntervalFieldBuilder() {
if (httpHeadersProgressIntervalBuilder_ == null) {
httpHeadersProgressIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getHttpHeadersProgressInterval(),
getParentForChildren(),
isClean());
httpHeadersProgressInterval_ = null;
}
return httpHeadersProgressIntervalBuilder_;
}
private com.google.protobuf.BoolValue addHttpCorsHeader_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> addHttpCorsHeaderBuilder_;
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return Whether the addHttpCorsHeader field is set.
*/
public boolean hasAddHttpCorsHeader() {
return addHttpCorsHeaderBuilder_ != null || addHttpCorsHeader_ != null;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
* @return The addHttpCorsHeader.
*/
public com.google.protobuf.BoolValue getAddHttpCorsHeader() {
if (addHttpCorsHeaderBuilder_ == null) {
return addHttpCorsHeader_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : addHttpCorsHeader_;
} else {
return addHttpCorsHeaderBuilder_.getMessage();
}
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public Builder setAddHttpCorsHeader(com.google.protobuf.BoolValue value) {
if (addHttpCorsHeaderBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
addHttpCorsHeader_ = value;
onChanged();
} else {
addHttpCorsHeaderBuilder_.setMessage(value);
}
return this;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public Builder setAddHttpCorsHeader(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (addHttpCorsHeaderBuilder_ == null) {
addHttpCorsHeader_ = builderForValue.build();
onChanged();
} else {
addHttpCorsHeaderBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public Builder mergeAddHttpCorsHeader(com.google.protobuf.BoolValue value) {
if (addHttpCorsHeaderBuilder_ == null) {
if (addHttpCorsHeader_ != null) {
addHttpCorsHeader_ =
com.google.protobuf.BoolValue.newBuilder(addHttpCorsHeader_).mergeFrom(value).buildPartial();
} else {
addHttpCorsHeader_ = value;
}
onChanged();
} else {
addHttpCorsHeaderBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public Builder clearAddHttpCorsHeader() {
if (addHttpCorsHeaderBuilder_ == null) {
addHttpCorsHeader_ = null;
onChanged();
} else {
addHttpCorsHeader_ = null;
addHttpCorsHeaderBuilder_ = null;
}
return this;
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public com.google.protobuf.BoolValue.Builder getAddHttpCorsHeaderBuilder() {
onChanged();
return getAddHttpCorsHeaderFieldBuilder().getBuilder();
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
public com.google.protobuf.BoolValueOrBuilder getAddHttpCorsHeaderOrBuilder() {
if (addHttpCorsHeaderBuilder_ != null) {
return addHttpCorsHeaderBuilder_.getMessageOrBuilder();
} else {
return addHttpCorsHeader_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : addHttpCorsHeader_;
}
}
/**
*
* Adds CORS header in HTTP responses.
* Default value: **false** (header is not added).
*
*
* .google.protobuf.BoolValue add_http_cors_header = 71;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAddHttpCorsHeaderFieldBuilder() {
if (addHttpCorsHeaderBuilder_ == null) {
addHttpCorsHeaderBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAddHttpCorsHeader(),
getParentForChildren(),
isClean());
addHttpCorsHeader_ = null;
}
return addHttpCorsHeaderBuilder_;
}
private com.google.protobuf.BoolValue cancelHttpReadonlyQueriesOnClientClose_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> cancelHttpReadonlyQueriesOnClientCloseBuilder_;
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return Whether the cancelHttpReadonlyQueriesOnClientClose field is set.
*/
public boolean hasCancelHttpReadonlyQueriesOnClientClose() {
return cancelHttpReadonlyQueriesOnClientCloseBuilder_ != null || cancelHttpReadonlyQueriesOnClientClose_ != null;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
* @return The cancelHttpReadonlyQueriesOnClientClose.
*/
public com.google.protobuf.BoolValue getCancelHttpReadonlyQueriesOnClientClose() {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
return cancelHttpReadonlyQueriesOnClientClose_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : cancelHttpReadonlyQueriesOnClientClose_;
} else {
return cancelHttpReadonlyQueriesOnClientCloseBuilder_.getMessage();
}
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public Builder setCancelHttpReadonlyQueriesOnClientClose(com.google.protobuf.BoolValue value) {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
cancelHttpReadonlyQueriesOnClientClose_ = value;
onChanged();
} else {
cancelHttpReadonlyQueriesOnClientCloseBuilder_.setMessage(value);
}
return this;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public Builder setCancelHttpReadonlyQueriesOnClientClose(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
cancelHttpReadonlyQueriesOnClientClose_ = builderForValue.build();
onChanged();
} else {
cancelHttpReadonlyQueriesOnClientCloseBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public Builder mergeCancelHttpReadonlyQueriesOnClientClose(com.google.protobuf.BoolValue value) {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
if (cancelHttpReadonlyQueriesOnClientClose_ != null) {
cancelHttpReadonlyQueriesOnClientClose_ =
com.google.protobuf.BoolValue.newBuilder(cancelHttpReadonlyQueriesOnClientClose_).mergeFrom(value).buildPartial();
} else {
cancelHttpReadonlyQueriesOnClientClose_ = value;
}
onChanged();
} else {
cancelHttpReadonlyQueriesOnClientCloseBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public Builder clearCancelHttpReadonlyQueriesOnClientClose() {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
cancelHttpReadonlyQueriesOnClientClose_ = null;
onChanged();
} else {
cancelHttpReadonlyQueriesOnClientClose_ = null;
cancelHttpReadonlyQueriesOnClientCloseBuilder_ = null;
}
return this;
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public com.google.protobuf.BoolValue.Builder getCancelHttpReadonlyQueriesOnClientCloseBuilder() {
onChanged();
return getCancelHttpReadonlyQueriesOnClientCloseFieldBuilder().getBuilder();
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
public com.google.protobuf.BoolValueOrBuilder getCancelHttpReadonlyQueriesOnClientCloseOrBuilder() {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ != null) {
return cancelHttpReadonlyQueriesOnClientCloseBuilder_.getMessageOrBuilder();
} else {
return cancelHttpReadonlyQueriesOnClientClose_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : cancelHttpReadonlyQueriesOnClientClose_;
}
}
/**
*
* Cancels HTTP read-only queries (e.g. SELECT) when a client closes the connection without waiting for the response.
* Default value: **false**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#cancel-http-readonly-queries-on-client-close).
*
*
* .google.protobuf.BoolValue cancel_http_readonly_queries_on_client_close = 111;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getCancelHttpReadonlyQueriesOnClientCloseFieldBuilder() {
if (cancelHttpReadonlyQueriesOnClientCloseBuilder_ == null) {
cancelHttpReadonlyQueriesOnClientCloseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getCancelHttpReadonlyQueriesOnClientClose(),
getParentForChildren(),
isClean());
cancelHttpReadonlyQueriesOnClientClose_ = null;
}
return cancelHttpReadonlyQueriesOnClientCloseBuilder_;
}
private com.google.protobuf.Int64Value maxHttpGetRedirects_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxHttpGetRedirectsBuilder_;
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return Whether the maxHttpGetRedirects field is set.
*/
public boolean hasMaxHttpGetRedirects() {
return maxHttpGetRedirectsBuilder_ != null || maxHttpGetRedirects_ != null;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
* @return The maxHttpGetRedirects.
*/
public com.google.protobuf.Int64Value getMaxHttpGetRedirects() {
if (maxHttpGetRedirectsBuilder_ == null) {
return maxHttpGetRedirects_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxHttpGetRedirects_;
} else {
return maxHttpGetRedirectsBuilder_.getMessage();
}
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public Builder setMaxHttpGetRedirects(com.google.protobuf.Int64Value value) {
if (maxHttpGetRedirectsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxHttpGetRedirects_ = value;
onChanged();
} else {
maxHttpGetRedirectsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public Builder setMaxHttpGetRedirects(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxHttpGetRedirectsBuilder_ == null) {
maxHttpGetRedirects_ = builderForValue.build();
onChanged();
} else {
maxHttpGetRedirectsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public Builder mergeMaxHttpGetRedirects(com.google.protobuf.Int64Value value) {
if (maxHttpGetRedirectsBuilder_ == null) {
if (maxHttpGetRedirects_ != null) {
maxHttpGetRedirects_ =
com.google.protobuf.Int64Value.newBuilder(maxHttpGetRedirects_).mergeFrom(value).buildPartial();
} else {
maxHttpGetRedirects_ = value;
}
onChanged();
} else {
maxHttpGetRedirectsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public Builder clearMaxHttpGetRedirects() {
if (maxHttpGetRedirectsBuilder_ == null) {
maxHttpGetRedirects_ = null;
onChanged();
} else {
maxHttpGetRedirects_ = null;
maxHttpGetRedirectsBuilder_ = null;
}
return this;
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public com.google.protobuf.Int64Value.Builder getMaxHttpGetRedirectsBuilder() {
onChanged();
return getMaxHttpGetRedirectsFieldBuilder().getBuilder();
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxHttpGetRedirectsOrBuilder() {
if (maxHttpGetRedirectsBuilder_ != null) {
return maxHttpGetRedirectsBuilder_.getMessageOrBuilder();
} else {
return maxHttpGetRedirects_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxHttpGetRedirects_;
}
}
/**
*
* Limits the maximum number of HTTP GET redirect hops for [URL-engine](https://clickhouse.com/docs/en/engines/table-engines/special/url) tables.
* If the parameter is set to **0** (default), no hops is allowed.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#setting-max_http_get_redirects).
*
*
* .google.protobuf.Int64Value max_http_get_redirects = 112;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxHttpGetRedirectsFieldBuilder() {
if (maxHttpGetRedirectsBuilder_ == null) {
maxHttpGetRedirectsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxHttpGetRedirects(),
getParentForChildren(),
isClean());
maxHttpGetRedirects_ = null;
}
return maxHttpGetRedirectsBuilder_;
}
private com.google.protobuf.BoolValue joinedSubqueryRequiresAlias_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> joinedSubqueryRequiresAliasBuilder_;
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return Whether the joinedSubqueryRequiresAlias field is set.
*/
public boolean hasJoinedSubqueryRequiresAlias() {
return joinedSubqueryRequiresAliasBuilder_ != null || joinedSubqueryRequiresAlias_ != null;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
* @return The joinedSubqueryRequiresAlias.
*/
public com.google.protobuf.BoolValue getJoinedSubqueryRequiresAlias() {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
return joinedSubqueryRequiresAlias_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : joinedSubqueryRequiresAlias_;
} else {
return joinedSubqueryRequiresAliasBuilder_.getMessage();
}
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public Builder setJoinedSubqueryRequiresAlias(com.google.protobuf.BoolValue value) {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
joinedSubqueryRequiresAlias_ = value;
onChanged();
} else {
joinedSubqueryRequiresAliasBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public Builder setJoinedSubqueryRequiresAlias(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
joinedSubqueryRequiresAlias_ = builderForValue.build();
onChanged();
} else {
joinedSubqueryRequiresAliasBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public Builder mergeJoinedSubqueryRequiresAlias(com.google.protobuf.BoolValue value) {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
if (joinedSubqueryRequiresAlias_ != null) {
joinedSubqueryRequiresAlias_ =
com.google.protobuf.BoolValue.newBuilder(joinedSubqueryRequiresAlias_).mergeFrom(value).buildPartial();
} else {
joinedSubqueryRequiresAlias_ = value;
}
onChanged();
} else {
joinedSubqueryRequiresAliasBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public Builder clearJoinedSubqueryRequiresAlias() {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
joinedSubqueryRequiresAlias_ = null;
onChanged();
} else {
joinedSubqueryRequiresAlias_ = null;
joinedSubqueryRequiresAliasBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public com.google.protobuf.BoolValue.Builder getJoinedSubqueryRequiresAliasBuilder() {
onChanged();
return getJoinedSubqueryRequiresAliasFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
public com.google.protobuf.BoolValueOrBuilder getJoinedSubqueryRequiresAliasOrBuilder() {
if (joinedSubqueryRequiresAliasBuilder_ != null) {
return joinedSubqueryRequiresAliasBuilder_.getMessageOrBuilder();
} else {
return joinedSubqueryRequiresAlias_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : joinedSubqueryRequiresAlias_;
}
}
/**
* .google.protobuf.BoolValue joined_subquery_requires_alias = 93;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getJoinedSubqueryRequiresAliasFieldBuilder() {
if (joinedSubqueryRequiresAliasBuilder_ == null) {
joinedSubqueryRequiresAliasBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getJoinedSubqueryRequiresAlias(),
getParentForChildren(),
isClean());
joinedSubqueryRequiresAlias_ = null;
}
return joinedSubqueryRequiresAliasBuilder_;
}
private com.google.protobuf.BoolValue joinUseNulls_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> joinUseNullsBuilder_;
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return Whether the joinUseNulls field is set.
*/
public boolean hasJoinUseNulls() {
return joinUseNullsBuilder_ != null || joinUseNulls_ != null;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
* @return The joinUseNulls.
*/
public com.google.protobuf.BoolValue getJoinUseNulls() {
if (joinUseNullsBuilder_ == null) {
return joinUseNulls_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : joinUseNulls_;
} else {
return joinUseNullsBuilder_.getMessage();
}
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public Builder setJoinUseNulls(com.google.protobuf.BoolValue value) {
if (joinUseNullsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
joinUseNulls_ = value;
onChanged();
} else {
joinUseNullsBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public Builder setJoinUseNulls(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (joinUseNullsBuilder_ == null) {
joinUseNulls_ = builderForValue.build();
onChanged();
} else {
joinUseNullsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public Builder mergeJoinUseNulls(com.google.protobuf.BoolValue value) {
if (joinUseNullsBuilder_ == null) {
if (joinUseNulls_ != null) {
joinUseNulls_ =
com.google.protobuf.BoolValue.newBuilder(joinUseNulls_).mergeFrom(value).buildPartial();
} else {
joinUseNulls_ = value;
}
onChanged();
} else {
joinUseNullsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public Builder clearJoinUseNulls() {
if (joinUseNullsBuilder_ == null) {
joinUseNulls_ = null;
onChanged();
} else {
joinUseNulls_ = null;
joinUseNullsBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public com.google.protobuf.BoolValue.Builder getJoinUseNullsBuilder() {
onChanged();
return getJoinUseNullsFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
public com.google.protobuf.BoolValueOrBuilder getJoinUseNullsOrBuilder() {
if (joinUseNullsBuilder_ != null) {
return joinUseNullsBuilder_.getMessageOrBuilder();
} else {
return joinUseNulls_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : joinUseNulls_;
}
}
/**
* .google.protobuf.BoolValue join_use_nulls = 94;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getJoinUseNullsFieldBuilder() {
if (joinUseNullsBuilder_ == null) {
joinUseNullsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getJoinUseNulls(),
getParentForChildren(),
isClean());
joinUseNulls_ = null;
}
return joinUseNullsBuilder_;
}
private com.google.protobuf.BoolValue transformNullIn_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> transformNullInBuilder_;
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return Whether the transformNullIn field is set.
*/
public boolean hasTransformNullIn() {
return transformNullInBuilder_ != null || transformNullIn_ != null;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
* @return The transformNullIn.
*/
public com.google.protobuf.BoolValue getTransformNullIn() {
if (transformNullInBuilder_ == null) {
return transformNullIn_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : transformNullIn_;
} else {
return transformNullInBuilder_.getMessage();
}
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public Builder setTransformNullIn(com.google.protobuf.BoolValue value) {
if (transformNullInBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
transformNullIn_ = value;
onChanged();
} else {
transformNullInBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public Builder setTransformNullIn(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (transformNullInBuilder_ == null) {
transformNullIn_ = builderForValue.build();
onChanged();
} else {
transformNullInBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public Builder mergeTransformNullIn(com.google.protobuf.BoolValue value) {
if (transformNullInBuilder_ == null) {
if (transformNullIn_ != null) {
transformNullIn_ =
com.google.protobuf.BoolValue.newBuilder(transformNullIn_).mergeFrom(value).buildPartial();
} else {
transformNullIn_ = value;
}
onChanged();
} else {
transformNullInBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public Builder clearTransformNullIn() {
if (transformNullInBuilder_ == null) {
transformNullIn_ = null;
onChanged();
} else {
transformNullIn_ = null;
transformNullInBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public com.google.protobuf.BoolValue.Builder getTransformNullInBuilder() {
onChanged();
return getTransformNullInFieldBuilder().getBuilder();
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
public com.google.protobuf.BoolValueOrBuilder getTransformNullInOrBuilder() {
if (transformNullInBuilder_ != null) {
return transformNullInBuilder_.getMessageOrBuilder();
} else {
return transformNullIn_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : transformNullIn_;
}
}
/**
* .google.protobuf.BoolValue transform_null_in = 95;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getTransformNullInFieldBuilder() {
if (transformNullInBuilder_ == null) {
transformNullInBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getTransformNullIn(),
getParentForChildren(),
isClean());
transformNullIn_ = null;
}
return transformNullInBuilder_;
}
private int quotaMode_ = 0;
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The enum numeric value on the wire for quotaMode.
*/
@java.lang.Override public int getQuotaModeValue() {
return quotaMode_;
}
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @param value The enum numeric value on the wire for quotaMode to set.
* @return This builder for chaining.
*/
public Builder setQuotaModeValue(int value) {
quotaMode_ = value;
onChanged();
return this;
}
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return The quotaMode.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode getQuotaMode() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.valueOf(quotaMode_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode.UNRECOGNIZED : result;
}
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @param value The quotaMode to set.
* @return This builder for chaining.
*/
public Builder setQuotaMode(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.QuotaMode value) {
if (value == null) {
throw new NullPointerException();
}
quotaMode_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Quota accounting mode. Possible values: QUOTA_MODE_DEFAULT, QUOTA_MODE_KEYED and QUOTA_MODE_KEYED_BY_IP.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.QuotaMode quota_mode = 80;
* @return This builder for chaining.
*/
public Builder clearQuotaMode() {
quotaMode_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue flattenNested_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> flattenNestedBuilder_;
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return Whether the flattenNested field is set.
*/
public boolean hasFlattenNested() {
return flattenNestedBuilder_ != null || flattenNested_ != null;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
* @return The flattenNested.
*/
public com.google.protobuf.BoolValue getFlattenNested() {
if (flattenNestedBuilder_ == null) {
return flattenNested_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : flattenNested_;
} else {
return flattenNestedBuilder_.getMessage();
}
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public Builder setFlattenNested(com.google.protobuf.BoolValue value) {
if (flattenNestedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
flattenNested_ = value;
onChanged();
} else {
flattenNestedBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public Builder setFlattenNested(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (flattenNestedBuilder_ == null) {
flattenNested_ = builderForValue.build();
onChanged();
} else {
flattenNestedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public Builder mergeFlattenNested(com.google.protobuf.BoolValue value) {
if (flattenNestedBuilder_ == null) {
if (flattenNested_ != null) {
flattenNested_ =
com.google.protobuf.BoolValue.newBuilder(flattenNested_).mergeFrom(value).buildPartial();
} else {
flattenNested_ = value;
}
onChanged();
} else {
flattenNestedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public Builder clearFlattenNested() {
if (flattenNestedBuilder_ == null) {
flattenNested_ = null;
onChanged();
} else {
flattenNested_ = null;
flattenNestedBuilder_ = null;
}
return this;
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public com.google.protobuf.BoolValue.Builder getFlattenNestedBuilder() {
onChanged();
return getFlattenNestedFieldBuilder().getBuilder();
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
public com.google.protobuf.BoolValueOrBuilder getFlattenNestedOrBuilder() {
if (flattenNestedBuilder_ != null) {
return flattenNestedBuilder_.getMessageOrBuilder();
} else {
return flattenNested_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : flattenNested_;
}
}
/**
*
* Sets the data format of a [nested](https://clickhouse.com/docs/en/sql-reference/data-types/nested-data-structures/nested) columns.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#flatten-nested).
*
*
* .google.protobuf.BoolValue flatten_nested = 113;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getFlattenNestedFieldBuilder() {
if (flattenNestedBuilder_ == null) {
flattenNestedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getFlattenNested(),
getParentForChildren(),
isClean());
flattenNested_ = null;
}
return flattenNestedBuilder_;
}
private java.lang.Object formatRegexp_ = "";
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The formatRegexp.
*/
public java.lang.String getFormatRegexp() {
java.lang.Object ref = formatRegexp_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
formatRegexp_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return The bytes for formatRegexp.
*/
public com.google.protobuf.ByteString
getFormatRegexpBytes() {
java.lang.Object ref = formatRegexp_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
formatRegexp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @param value The formatRegexp to set.
* @return This builder for chaining.
*/
public Builder setFormatRegexp(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
formatRegexp_ = value;
onChanged();
return this;
}
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @return This builder for chaining.
*/
public Builder clearFormatRegexp() {
formatRegexp_ = getDefaultInstance().getFormatRegexp();
onChanged();
return this;
}
/**
*
* Regular expression (for Regexp format)
*
*
* string format_regexp = 114;
* @param value The bytes for formatRegexp to set.
* @return This builder for chaining.
*/
public Builder setFormatRegexpBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
formatRegexp_ = value;
onChanged();
return this;
}
private int formatRegexpEscapingRule_ = 0;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The enum numeric value on the wire for formatRegexpEscapingRule.
*/
@java.lang.Override public int getFormatRegexpEscapingRuleValue() {
return formatRegexpEscapingRule_;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @param value The enum numeric value on the wire for formatRegexpEscapingRule to set.
* @return This builder for chaining.
*/
public Builder setFormatRegexpEscapingRuleValue(int value) {
formatRegexpEscapingRule_ = value;
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return The formatRegexpEscapingRule.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule getFormatRegexpEscapingRule() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.valueOf(formatRegexpEscapingRule_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule.UNRECOGNIZED : result;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @param value The formatRegexpEscapingRule to set.
* @return This builder for chaining.
*/
public Builder setFormatRegexpEscapingRule(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.FormatRegexpEscapingRule value) {
if (value == null) {
throw new NullPointerException();
}
formatRegexpEscapingRule_ = value.getNumber();
onChanged();
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_escaping_rule).
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.FormatRegexpEscapingRule format_regexp_escaping_rule = 115;
* @return This builder for chaining.
*/
public Builder clearFormatRegexpEscapingRule() {
formatRegexpEscapingRule_ = 0;
onChanged();
return this;
}
private com.google.protobuf.BoolValue formatRegexpSkipUnmatched_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> formatRegexpSkipUnmatchedBuilder_;
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return Whether the formatRegexpSkipUnmatched field is set.
*/
public boolean hasFormatRegexpSkipUnmatched() {
return formatRegexpSkipUnmatchedBuilder_ != null || formatRegexpSkipUnmatched_ != null;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
* @return The formatRegexpSkipUnmatched.
*/
public com.google.protobuf.BoolValue getFormatRegexpSkipUnmatched() {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
return formatRegexpSkipUnmatched_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : formatRegexpSkipUnmatched_;
} else {
return formatRegexpSkipUnmatchedBuilder_.getMessage();
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public Builder setFormatRegexpSkipUnmatched(com.google.protobuf.BoolValue value) {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
formatRegexpSkipUnmatched_ = value;
onChanged();
} else {
formatRegexpSkipUnmatchedBuilder_.setMessage(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public Builder setFormatRegexpSkipUnmatched(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
formatRegexpSkipUnmatched_ = builderForValue.build();
onChanged();
} else {
formatRegexpSkipUnmatchedBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public Builder mergeFormatRegexpSkipUnmatched(com.google.protobuf.BoolValue value) {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
if (formatRegexpSkipUnmatched_ != null) {
formatRegexpSkipUnmatched_ =
com.google.protobuf.BoolValue.newBuilder(formatRegexpSkipUnmatched_).mergeFrom(value).buildPartial();
} else {
formatRegexpSkipUnmatched_ = value;
}
onChanged();
} else {
formatRegexpSkipUnmatchedBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public Builder clearFormatRegexpSkipUnmatched() {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
formatRegexpSkipUnmatched_ = null;
onChanged();
} else {
formatRegexpSkipUnmatched_ = null;
formatRegexpSkipUnmatchedBuilder_ = null;
}
return this;
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public com.google.protobuf.BoolValue.Builder getFormatRegexpSkipUnmatchedBuilder() {
onChanged();
return getFormatRegexpSkipUnmatchedFieldBuilder().getBuilder();
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
public com.google.protobuf.BoolValueOrBuilder getFormatRegexpSkipUnmatchedOrBuilder() {
if (formatRegexpSkipUnmatchedBuilder_ != null) {
return formatRegexpSkipUnmatchedBuilder_.getMessageOrBuilder();
} else {
return formatRegexpSkipUnmatched_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : formatRegexpSkipUnmatched_;
}
}
/**
*
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#format_regexp_skip_unmatched).
*
*
* .google.protobuf.BoolValue format_regexp_skip_unmatched = 116;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getFormatRegexpSkipUnmatchedFieldBuilder() {
if (formatRegexpSkipUnmatchedBuilder_ == null) {
formatRegexpSkipUnmatchedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getFormatRegexpSkipUnmatched(),
getParentForChildren(),
isClean());
formatRegexpSkipUnmatched_ = null;
}
return formatRegexpSkipUnmatchedBuilder_;
}
private com.google.protobuf.BoolValue asyncInsert_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> asyncInsertBuilder_;
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return Whether the asyncInsert field is set.
*/
public boolean hasAsyncInsert() {
return asyncInsertBuilder_ != null || asyncInsert_ != null;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
* @return The asyncInsert.
*/
public com.google.protobuf.BoolValue getAsyncInsert() {
if (asyncInsertBuilder_ == null) {
return asyncInsert_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : asyncInsert_;
} else {
return asyncInsertBuilder_.getMessage();
}
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public Builder setAsyncInsert(com.google.protobuf.BoolValue value) {
if (asyncInsertBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
asyncInsert_ = value;
onChanged();
} else {
asyncInsertBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public Builder setAsyncInsert(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (asyncInsertBuilder_ == null) {
asyncInsert_ = builderForValue.build();
onChanged();
} else {
asyncInsertBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public Builder mergeAsyncInsert(com.google.protobuf.BoolValue value) {
if (asyncInsertBuilder_ == null) {
if (asyncInsert_ != null) {
asyncInsert_ =
com.google.protobuf.BoolValue.newBuilder(asyncInsert_).mergeFrom(value).buildPartial();
} else {
asyncInsert_ = value;
}
onChanged();
} else {
asyncInsertBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public Builder clearAsyncInsert() {
if (asyncInsertBuilder_ == null) {
asyncInsert_ = null;
onChanged();
} else {
asyncInsert_ = null;
asyncInsertBuilder_ = null;
}
return this;
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public com.google.protobuf.BoolValue.Builder getAsyncInsertBuilder() {
onChanged();
return getAsyncInsertFieldBuilder().getBuilder();
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
public com.google.protobuf.BoolValueOrBuilder getAsyncInsertOrBuilder() {
if (asyncInsertBuilder_ != null) {
return asyncInsertBuilder_.getMessageOrBuilder();
} else {
return asyncInsert_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : asyncInsert_;
}
}
/**
*
* Enables asynchronous inserts.
* Disabled by default.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert).
*
*
* .google.protobuf.BoolValue async_insert = 117;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getAsyncInsertFieldBuilder() {
if (asyncInsertBuilder_ == null) {
asyncInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getAsyncInsert(),
getParentForChildren(),
isClean());
asyncInsert_ = null;
}
return asyncInsertBuilder_;
}
private com.google.protobuf.Int64Value asyncInsertThreads_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> asyncInsertThreadsBuilder_;
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return Whether the asyncInsertThreads field is set.
*/
public boolean hasAsyncInsertThreads() {
return asyncInsertThreadsBuilder_ != null || asyncInsertThreads_ != null;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
* @return The asyncInsertThreads.
*/
public com.google.protobuf.Int64Value getAsyncInsertThreads() {
if (asyncInsertThreadsBuilder_ == null) {
return asyncInsertThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertThreads_;
} else {
return asyncInsertThreadsBuilder_.getMessage();
}
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public Builder setAsyncInsertThreads(com.google.protobuf.Int64Value value) {
if (asyncInsertThreadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
asyncInsertThreads_ = value;
onChanged();
} else {
asyncInsertThreadsBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public Builder setAsyncInsertThreads(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (asyncInsertThreadsBuilder_ == null) {
asyncInsertThreads_ = builderForValue.build();
onChanged();
} else {
asyncInsertThreadsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public Builder mergeAsyncInsertThreads(com.google.protobuf.Int64Value value) {
if (asyncInsertThreadsBuilder_ == null) {
if (asyncInsertThreads_ != null) {
asyncInsertThreads_ =
com.google.protobuf.Int64Value.newBuilder(asyncInsertThreads_).mergeFrom(value).buildPartial();
} else {
asyncInsertThreads_ = value;
}
onChanged();
} else {
asyncInsertThreadsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public Builder clearAsyncInsertThreads() {
if (asyncInsertThreadsBuilder_ == null) {
asyncInsertThreads_ = null;
onChanged();
} else {
asyncInsertThreads_ = null;
asyncInsertThreadsBuilder_ = null;
}
return this;
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public com.google.protobuf.Int64Value.Builder getAsyncInsertThreadsBuilder() {
onChanged();
return getAsyncInsertThreadsFieldBuilder().getBuilder();
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertThreadsOrBuilder() {
if (asyncInsertThreadsBuilder_ != null) {
return asyncInsertThreadsBuilder_.getMessageOrBuilder();
} else {
return asyncInsertThreads_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertThreads_;
}
}
/**
*
* The maximum number of threads for background data parsing and insertion.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **16**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-threads).
*
*
* .google.protobuf.Int64Value async_insert_threads = 118;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getAsyncInsertThreadsFieldBuilder() {
if (asyncInsertThreadsBuilder_ == null) {
asyncInsertThreadsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getAsyncInsertThreads(),
getParentForChildren(),
isClean());
asyncInsertThreads_ = null;
}
return asyncInsertThreadsBuilder_;
}
private com.google.protobuf.BoolValue waitForAsyncInsert_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> waitForAsyncInsertBuilder_;
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return Whether the waitForAsyncInsert field is set.
*/
public boolean hasWaitForAsyncInsert() {
return waitForAsyncInsertBuilder_ != null || waitForAsyncInsert_ != null;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
* @return The waitForAsyncInsert.
*/
public com.google.protobuf.BoolValue getWaitForAsyncInsert() {
if (waitForAsyncInsertBuilder_ == null) {
return waitForAsyncInsert_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : waitForAsyncInsert_;
} else {
return waitForAsyncInsertBuilder_.getMessage();
}
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public Builder setWaitForAsyncInsert(com.google.protobuf.BoolValue value) {
if (waitForAsyncInsertBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
waitForAsyncInsert_ = value;
onChanged();
} else {
waitForAsyncInsertBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public Builder setWaitForAsyncInsert(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (waitForAsyncInsertBuilder_ == null) {
waitForAsyncInsert_ = builderForValue.build();
onChanged();
} else {
waitForAsyncInsertBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public Builder mergeWaitForAsyncInsert(com.google.protobuf.BoolValue value) {
if (waitForAsyncInsertBuilder_ == null) {
if (waitForAsyncInsert_ != null) {
waitForAsyncInsert_ =
com.google.protobuf.BoolValue.newBuilder(waitForAsyncInsert_).mergeFrom(value).buildPartial();
} else {
waitForAsyncInsert_ = value;
}
onChanged();
} else {
waitForAsyncInsertBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public Builder clearWaitForAsyncInsert() {
if (waitForAsyncInsertBuilder_ == null) {
waitForAsyncInsert_ = null;
onChanged();
} else {
waitForAsyncInsert_ = null;
waitForAsyncInsertBuilder_ = null;
}
return this;
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public com.google.protobuf.BoolValue.Builder getWaitForAsyncInsertBuilder() {
onChanged();
return getWaitForAsyncInsertFieldBuilder().getBuilder();
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
public com.google.protobuf.BoolValueOrBuilder getWaitForAsyncInsertOrBuilder() {
if (waitForAsyncInsertBuilder_ != null) {
return waitForAsyncInsertBuilder_.getMessageOrBuilder();
} else {
return waitForAsyncInsert_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : waitForAsyncInsert_;
}
}
/**
*
* Enables waiting for processing of asynchronous insertion. If enabled, server returns OK only after the data is inserted.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert).
*
*
* .google.protobuf.BoolValue wait_for_async_insert = 119;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getWaitForAsyncInsertFieldBuilder() {
if (waitForAsyncInsertBuilder_ == null) {
waitForAsyncInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getWaitForAsyncInsert(),
getParentForChildren(),
isClean());
waitForAsyncInsert_ = null;
}
return waitForAsyncInsertBuilder_;
}
private com.google.protobuf.Int64Value waitForAsyncInsertTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> waitForAsyncInsertTimeoutBuilder_;
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return Whether the waitForAsyncInsertTimeout field is set.
*/
public boolean hasWaitForAsyncInsertTimeout() {
return waitForAsyncInsertTimeoutBuilder_ != null || waitForAsyncInsertTimeout_ != null;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
* @return The waitForAsyncInsertTimeout.
*/
public com.google.protobuf.Int64Value getWaitForAsyncInsertTimeout() {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
return waitForAsyncInsertTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : waitForAsyncInsertTimeout_;
} else {
return waitForAsyncInsertTimeoutBuilder_.getMessage();
}
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public Builder setWaitForAsyncInsertTimeout(com.google.protobuf.Int64Value value) {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
waitForAsyncInsertTimeout_ = value;
onChanged();
} else {
waitForAsyncInsertTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public Builder setWaitForAsyncInsertTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
waitForAsyncInsertTimeout_ = builderForValue.build();
onChanged();
} else {
waitForAsyncInsertTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public Builder mergeWaitForAsyncInsertTimeout(com.google.protobuf.Int64Value value) {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
if (waitForAsyncInsertTimeout_ != null) {
waitForAsyncInsertTimeout_ =
com.google.protobuf.Int64Value.newBuilder(waitForAsyncInsertTimeout_).mergeFrom(value).buildPartial();
} else {
waitForAsyncInsertTimeout_ = value;
}
onChanged();
} else {
waitForAsyncInsertTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public Builder clearWaitForAsyncInsertTimeout() {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
waitForAsyncInsertTimeout_ = null;
onChanged();
} else {
waitForAsyncInsertTimeout_ = null;
waitForAsyncInsertTimeoutBuilder_ = null;
}
return this;
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public com.google.protobuf.Int64Value.Builder getWaitForAsyncInsertTimeoutBuilder() {
onChanged();
return getWaitForAsyncInsertTimeoutFieldBuilder().getBuilder();
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
public com.google.protobuf.Int64ValueOrBuilder getWaitForAsyncInsertTimeoutOrBuilder() {
if (waitForAsyncInsertTimeoutBuilder_ != null) {
return waitForAsyncInsertTimeoutBuilder_.getMessageOrBuilder();
} else {
return waitForAsyncInsertTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : waitForAsyncInsertTimeout_;
}
}
/**
*
* The timeout (in seconds) for waiting for processing of asynchronous insertion.
* Default value: **120**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#wait-for-async-insert-timeout).
*
*
* .google.protobuf.Int64Value wait_for_async_insert_timeout = 120;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getWaitForAsyncInsertTimeoutFieldBuilder() {
if (waitForAsyncInsertTimeoutBuilder_ == null) {
waitForAsyncInsertTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getWaitForAsyncInsertTimeout(),
getParentForChildren(),
isClean());
waitForAsyncInsertTimeout_ = null;
}
return waitForAsyncInsertTimeoutBuilder_;
}
private com.google.protobuf.Int64Value asyncInsertMaxDataSize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> asyncInsertMaxDataSizeBuilder_;
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return Whether the asyncInsertMaxDataSize field is set.
*/
public boolean hasAsyncInsertMaxDataSize() {
return asyncInsertMaxDataSizeBuilder_ != null || asyncInsertMaxDataSize_ != null;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
* @return The asyncInsertMaxDataSize.
*/
public com.google.protobuf.Int64Value getAsyncInsertMaxDataSize() {
if (asyncInsertMaxDataSizeBuilder_ == null) {
return asyncInsertMaxDataSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertMaxDataSize_;
} else {
return asyncInsertMaxDataSizeBuilder_.getMessage();
}
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public Builder setAsyncInsertMaxDataSize(com.google.protobuf.Int64Value value) {
if (asyncInsertMaxDataSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
asyncInsertMaxDataSize_ = value;
onChanged();
} else {
asyncInsertMaxDataSizeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public Builder setAsyncInsertMaxDataSize(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (asyncInsertMaxDataSizeBuilder_ == null) {
asyncInsertMaxDataSize_ = builderForValue.build();
onChanged();
} else {
asyncInsertMaxDataSizeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public Builder mergeAsyncInsertMaxDataSize(com.google.protobuf.Int64Value value) {
if (asyncInsertMaxDataSizeBuilder_ == null) {
if (asyncInsertMaxDataSize_ != null) {
asyncInsertMaxDataSize_ =
com.google.protobuf.Int64Value.newBuilder(asyncInsertMaxDataSize_).mergeFrom(value).buildPartial();
} else {
asyncInsertMaxDataSize_ = value;
}
onChanged();
} else {
asyncInsertMaxDataSizeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public Builder clearAsyncInsertMaxDataSize() {
if (asyncInsertMaxDataSizeBuilder_ == null) {
asyncInsertMaxDataSize_ = null;
onChanged();
} else {
asyncInsertMaxDataSize_ = null;
asyncInsertMaxDataSizeBuilder_ = null;
}
return this;
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public com.google.protobuf.Int64Value.Builder getAsyncInsertMaxDataSizeBuilder() {
onChanged();
return getAsyncInsertMaxDataSizeFieldBuilder().getBuilder();
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertMaxDataSizeOrBuilder() {
if (asyncInsertMaxDataSizeBuilder_ != null) {
return asyncInsertMaxDataSizeBuilder_.getMessageOrBuilder();
} else {
return asyncInsertMaxDataSize_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertMaxDataSize_;
}
}
/**
*
* The maximum size of the unparsed data in bytes collected per query before being inserted.
* If the parameter is set to **0**, asynchronous insertions are disabled. Default value: **100000**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-max-data-size).
*
*
* .google.protobuf.Int64Value async_insert_max_data_size = 121;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getAsyncInsertMaxDataSizeFieldBuilder() {
if (asyncInsertMaxDataSizeBuilder_ == null) {
asyncInsertMaxDataSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getAsyncInsertMaxDataSize(),
getParentForChildren(),
isClean());
asyncInsertMaxDataSize_ = null;
}
return asyncInsertMaxDataSizeBuilder_;
}
private com.google.protobuf.Int64Value asyncInsertBusyTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> asyncInsertBusyTimeoutBuilder_;
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return Whether the asyncInsertBusyTimeout field is set.
*/
public boolean hasAsyncInsertBusyTimeout() {
return asyncInsertBusyTimeoutBuilder_ != null || asyncInsertBusyTimeout_ != null;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
* @return The asyncInsertBusyTimeout.
*/
public com.google.protobuf.Int64Value getAsyncInsertBusyTimeout() {
if (asyncInsertBusyTimeoutBuilder_ == null) {
return asyncInsertBusyTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertBusyTimeout_;
} else {
return asyncInsertBusyTimeoutBuilder_.getMessage();
}
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public Builder setAsyncInsertBusyTimeout(com.google.protobuf.Int64Value value) {
if (asyncInsertBusyTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
asyncInsertBusyTimeout_ = value;
onChanged();
} else {
asyncInsertBusyTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public Builder setAsyncInsertBusyTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (asyncInsertBusyTimeoutBuilder_ == null) {
asyncInsertBusyTimeout_ = builderForValue.build();
onChanged();
} else {
asyncInsertBusyTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public Builder mergeAsyncInsertBusyTimeout(com.google.protobuf.Int64Value value) {
if (asyncInsertBusyTimeoutBuilder_ == null) {
if (asyncInsertBusyTimeout_ != null) {
asyncInsertBusyTimeout_ =
com.google.protobuf.Int64Value.newBuilder(asyncInsertBusyTimeout_).mergeFrom(value).buildPartial();
} else {
asyncInsertBusyTimeout_ = value;
}
onChanged();
} else {
asyncInsertBusyTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public Builder clearAsyncInsertBusyTimeout() {
if (asyncInsertBusyTimeoutBuilder_ == null) {
asyncInsertBusyTimeout_ = null;
onChanged();
} else {
asyncInsertBusyTimeout_ = null;
asyncInsertBusyTimeoutBuilder_ = null;
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public com.google.protobuf.Int64Value.Builder getAsyncInsertBusyTimeoutBuilder() {
onChanged();
return getAsyncInsertBusyTimeoutFieldBuilder().getBuilder();
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertBusyTimeoutOrBuilder() {
if (asyncInsertBusyTimeoutBuilder_ != null) {
return asyncInsertBusyTimeoutBuilder_.getMessageOrBuilder();
} else {
return asyncInsertBusyTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertBusyTimeout_;
}
}
/**
*
* The maximum timeout in milliseconds since the first INSERT query before inserting collected data.
* If the parameter is set to **0**, the timeout is disabled. Default value: **200**.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-busy-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_busy_timeout = 122;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getAsyncInsertBusyTimeoutFieldBuilder() {
if (asyncInsertBusyTimeoutBuilder_ == null) {
asyncInsertBusyTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getAsyncInsertBusyTimeout(),
getParentForChildren(),
isClean());
asyncInsertBusyTimeout_ = null;
}
return asyncInsertBusyTimeoutBuilder_;
}
private com.google.protobuf.Int64Value asyncInsertStaleTimeout_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> asyncInsertStaleTimeoutBuilder_;
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return Whether the asyncInsertStaleTimeout field is set.
*/
public boolean hasAsyncInsertStaleTimeout() {
return asyncInsertStaleTimeoutBuilder_ != null || asyncInsertStaleTimeout_ != null;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
* @return The asyncInsertStaleTimeout.
*/
public com.google.protobuf.Int64Value getAsyncInsertStaleTimeout() {
if (asyncInsertStaleTimeoutBuilder_ == null) {
return asyncInsertStaleTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertStaleTimeout_;
} else {
return asyncInsertStaleTimeoutBuilder_.getMessage();
}
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public Builder setAsyncInsertStaleTimeout(com.google.protobuf.Int64Value value) {
if (asyncInsertStaleTimeoutBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
asyncInsertStaleTimeout_ = value;
onChanged();
} else {
asyncInsertStaleTimeoutBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public Builder setAsyncInsertStaleTimeout(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (asyncInsertStaleTimeoutBuilder_ == null) {
asyncInsertStaleTimeout_ = builderForValue.build();
onChanged();
} else {
asyncInsertStaleTimeoutBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public Builder mergeAsyncInsertStaleTimeout(com.google.protobuf.Int64Value value) {
if (asyncInsertStaleTimeoutBuilder_ == null) {
if (asyncInsertStaleTimeout_ != null) {
asyncInsertStaleTimeout_ =
com.google.protobuf.Int64Value.newBuilder(asyncInsertStaleTimeout_).mergeFrom(value).buildPartial();
} else {
asyncInsertStaleTimeout_ = value;
}
onChanged();
} else {
asyncInsertStaleTimeoutBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public Builder clearAsyncInsertStaleTimeout() {
if (asyncInsertStaleTimeoutBuilder_ == null) {
asyncInsertStaleTimeout_ = null;
onChanged();
} else {
asyncInsertStaleTimeout_ = null;
asyncInsertStaleTimeoutBuilder_ = null;
}
return this;
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public com.google.protobuf.Int64Value.Builder getAsyncInsertStaleTimeoutBuilder() {
onChanged();
return getAsyncInsertStaleTimeoutFieldBuilder().getBuilder();
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
public com.google.protobuf.Int64ValueOrBuilder getAsyncInsertStaleTimeoutOrBuilder() {
if (asyncInsertStaleTimeoutBuilder_ != null) {
return asyncInsertStaleTimeoutBuilder_.getMessageOrBuilder();
} else {
return asyncInsertStaleTimeout_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : asyncInsertStaleTimeout_;
}
}
/**
*
* The maximum timeout in milliseconds since the last INSERT query before dumping collected data. If enabled, the settings prolongs the [async_insert_busy_timeout] with every INSERT query as long as [async_insert_max_data_size] is not exceeded.
* More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#async-insert-stale-timeout-ms).
*
*
* .google.protobuf.Int64Value async_insert_stale_timeout = 123;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getAsyncInsertStaleTimeoutFieldBuilder() {
if (asyncInsertStaleTimeoutBuilder_ == null) {
asyncInsertStaleTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getAsyncInsertStaleTimeout(),
getParentForChildren(),
isClean());
asyncInsertStaleTimeout_ = null;
}
return asyncInsertStaleTimeoutBuilder_;
}
private com.google.protobuf.Int64Value memoryProfilerStep_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> memoryProfilerStepBuilder_;
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return Whether the memoryProfilerStep field is set.
*/
public boolean hasMemoryProfilerStep() {
return memoryProfilerStepBuilder_ != null || memoryProfilerStep_ != null;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
* @return The memoryProfilerStep.
*/
public com.google.protobuf.Int64Value getMemoryProfilerStep() {
if (memoryProfilerStepBuilder_ == null) {
return memoryProfilerStep_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : memoryProfilerStep_;
} else {
return memoryProfilerStepBuilder_.getMessage();
}
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public Builder setMemoryProfilerStep(com.google.protobuf.Int64Value value) {
if (memoryProfilerStepBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
memoryProfilerStep_ = value;
onChanged();
} else {
memoryProfilerStepBuilder_.setMessage(value);
}
return this;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public Builder setMemoryProfilerStep(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (memoryProfilerStepBuilder_ == null) {
memoryProfilerStep_ = builderForValue.build();
onChanged();
} else {
memoryProfilerStepBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public Builder mergeMemoryProfilerStep(com.google.protobuf.Int64Value value) {
if (memoryProfilerStepBuilder_ == null) {
if (memoryProfilerStep_ != null) {
memoryProfilerStep_ =
com.google.protobuf.Int64Value.newBuilder(memoryProfilerStep_).mergeFrom(value).buildPartial();
} else {
memoryProfilerStep_ = value;
}
onChanged();
} else {
memoryProfilerStepBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public Builder clearMemoryProfilerStep() {
if (memoryProfilerStepBuilder_ == null) {
memoryProfilerStep_ = null;
onChanged();
} else {
memoryProfilerStep_ = null;
memoryProfilerStepBuilder_ = null;
}
return this;
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public com.google.protobuf.Int64Value.Builder getMemoryProfilerStepBuilder() {
onChanged();
return getMemoryProfilerStepFieldBuilder().getBuilder();
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
public com.google.protobuf.Int64ValueOrBuilder getMemoryProfilerStepOrBuilder() {
if (memoryProfilerStepBuilder_ != null) {
return memoryProfilerStepBuilder_.getMessageOrBuilder();
} else {
return memoryProfilerStep_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : memoryProfilerStep_;
}
}
/**
*
* Memory profiler step (in bytes).
* If the next query step requires more memory than this parameter specifies, the memory profiler collects the allocating stack trace. Values lower than a few megabytes slow down query processing.
* Default value: **4194304** (4 MB). Zero means disabled memory profiler.
*
*
* .google.protobuf.Int64Value memory_profiler_step = 124;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMemoryProfilerStepFieldBuilder() {
if (memoryProfilerStepBuilder_ == null) {
memoryProfilerStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMemoryProfilerStep(),
getParentForChildren(),
isClean());
memoryProfilerStep_ = null;
}
return memoryProfilerStepBuilder_;
}
private com.google.protobuf.DoubleValue memoryProfilerSampleProbability_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> memoryProfilerSampleProbabilityBuilder_;
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return Whether the memoryProfilerSampleProbability field is set.
*/
public boolean hasMemoryProfilerSampleProbability() {
return memoryProfilerSampleProbabilityBuilder_ != null || memoryProfilerSampleProbability_ != null;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
* @return The memoryProfilerSampleProbability.
*/
public com.google.protobuf.DoubleValue getMemoryProfilerSampleProbability() {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
return memoryProfilerSampleProbability_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : memoryProfilerSampleProbability_;
} else {
return memoryProfilerSampleProbabilityBuilder_.getMessage();
}
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public Builder setMemoryProfilerSampleProbability(com.google.protobuf.DoubleValue value) {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
memoryProfilerSampleProbability_ = value;
onChanged();
} else {
memoryProfilerSampleProbabilityBuilder_.setMessage(value);
}
return this;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public Builder setMemoryProfilerSampleProbability(
com.google.protobuf.DoubleValue.Builder builderForValue) {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
memoryProfilerSampleProbability_ = builderForValue.build();
onChanged();
} else {
memoryProfilerSampleProbabilityBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public Builder mergeMemoryProfilerSampleProbability(com.google.protobuf.DoubleValue value) {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
if (memoryProfilerSampleProbability_ != null) {
memoryProfilerSampleProbability_ =
com.google.protobuf.DoubleValue.newBuilder(memoryProfilerSampleProbability_).mergeFrom(value).buildPartial();
} else {
memoryProfilerSampleProbability_ = value;
}
onChanged();
} else {
memoryProfilerSampleProbabilityBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public Builder clearMemoryProfilerSampleProbability() {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
memoryProfilerSampleProbability_ = null;
onChanged();
} else {
memoryProfilerSampleProbability_ = null;
memoryProfilerSampleProbabilityBuilder_ = null;
}
return this;
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public com.google.protobuf.DoubleValue.Builder getMemoryProfilerSampleProbabilityBuilder() {
onChanged();
return getMemoryProfilerSampleProbabilityFieldBuilder().getBuilder();
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
public com.google.protobuf.DoubleValueOrBuilder getMemoryProfilerSampleProbabilityOrBuilder() {
if (memoryProfilerSampleProbabilityBuilder_ != null) {
return memoryProfilerSampleProbabilityBuilder_.getMessageOrBuilder();
} else {
return memoryProfilerSampleProbability_ == null ?
com.google.protobuf.DoubleValue.getDefaultInstance() : memoryProfilerSampleProbability_;
}
}
/**
*
* Collect random allocations and deallocations and write them into system.trace_log with 'MemorySample' trace_type. The probability is for every alloc/free regardless to the size of the allocation.
* Possible values: from **0** to **1**. Default: **0**.
*
*
* .google.protobuf.DoubleValue memory_profiler_sample_probability = 125;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>
getMemoryProfilerSampleProbabilityFieldBuilder() {
if (memoryProfilerSampleProbabilityBuilder_ == null) {
memoryProfilerSampleProbabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>(
getMemoryProfilerSampleProbability(),
getParentForChildren(),
isClean());
memoryProfilerSampleProbability_ = null;
}
return memoryProfilerSampleProbabilityBuilder_;
}
private com.google.protobuf.Int64Value maxFinalThreads_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxFinalThreadsBuilder_;
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return Whether the maxFinalThreads field is set.
*/
public boolean hasMaxFinalThreads() {
return maxFinalThreadsBuilder_ != null || maxFinalThreads_ != null;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
* @return The maxFinalThreads.
*/
public com.google.protobuf.Int64Value getMaxFinalThreads() {
if (maxFinalThreadsBuilder_ == null) {
return maxFinalThreads_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxFinalThreads_;
} else {
return maxFinalThreadsBuilder_.getMessage();
}
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxFinalThreads(com.google.protobuf.Int64Value value) {
if (maxFinalThreadsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxFinalThreads_ = value;
onChanged();
} else {
maxFinalThreadsBuilder_.setMessage(value);
}
return this;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setMaxFinalThreads(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxFinalThreadsBuilder_ == null) {
maxFinalThreads_ = builderForValue.build();
onChanged();
} else {
maxFinalThreadsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeMaxFinalThreads(com.google.protobuf.Int64Value value) {
if (maxFinalThreadsBuilder_ == null) {
if (maxFinalThreads_ != null) {
maxFinalThreads_ =
com.google.protobuf.Int64Value.newBuilder(maxFinalThreads_).mergeFrom(value).buildPartial();
} else {
maxFinalThreads_ = value;
}
onChanged();
} else {
maxFinalThreadsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearMaxFinalThreads() {
if (maxFinalThreadsBuilder_ == null) {
maxFinalThreads_ = null;
onChanged();
} else {
maxFinalThreads_ = null;
maxFinalThreadsBuilder_ = null;
}
return this;
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxFinalThreadsBuilder() {
onChanged();
return getMaxFinalThreadsFieldBuilder().getBuilder();
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxFinalThreadsOrBuilder() {
if (maxFinalThreadsBuilder_ != null) {
return maxFinalThreadsBuilder_.getMessageOrBuilder();
} else {
return maxFinalThreads_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxFinalThreads_;
}
}
/**
*
* Sets the maximum number of parallel threads for the SELECT query data read phase with the FINAL modifier.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#max-final-threads).
*
*
* .google.protobuf.Int64Value max_final_threads = 126 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxFinalThreadsFieldBuilder() {
if (maxFinalThreadsBuilder_ == null) {
maxFinalThreadsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxFinalThreads(),
getParentForChildren(),
isClean());
maxFinalThreads_ = null;
}
return maxFinalThreadsBuilder_;
}
private com.google.protobuf.BoolValue inputFormatParallelParsing_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatParallelParsingBuilder_;
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return Whether the inputFormatParallelParsing field is set.
*/
public boolean hasInputFormatParallelParsing() {
return inputFormatParallelParsingBuilder_ != null || inputFormatParallelParsing_ != null;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
* @return The inputFormatParallelParsing.
*/
public com.google.protobuf.BoolValue getInputFormatParallelParsing() {
if (inputFormatParallelParsingBuilder_ == null) {
return inputFormatParallelParsing_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatParallelParsing_;
} else {
return inputFormatParallelParsingBuilder_.getMessage();
}
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public Builder setInputFormatParallelParsing(com.google.protobuf.BoolValue value) {
if (inputFormatParallelParsingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatParallelParsing_ = value;
onChanged();
} else {
inputFormatParallelParsingBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public Builder setInputFormatParallelParsing(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatParallelParsingBuilder_ == null) {
inputFormatParallelParsing_ = builderForValue.build();
onChanged();
} else {
inputFormatParallelParsingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public Builder mergeInputFormatParallelParsing(com.google.protobuf.BoolValue value) {
if (inputFormatParallelParsingBuilder_ == null) {
if (inputFormatParallelParsing_ != null) {
inputFormatParallelParsing_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatParallelParsing_).mergeFrom(value).buildPartial();
} else {
inputFormatParallelParsing_ = value;
}
onChanged();
} else {
inputFormatParallelParsingBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public Builder clearInputFormatParallelParsing() {
if (inputFormatParallelParsingBuilder_ == null) {
inputFormatParallelParsing_ = null;
onChanged();
} else {
inputFormatParallelParsing_ = null;
inputFormatParallelParsingBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatParallelParsingBuilder() {
onChanged();
return getInputFormatParallelParsingFieldBuilder().getBuilder();
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatParallelParsingOrBuilder() {
if (inputFormatParallelParsingBuilder_ != null) {
return inputFormatParallelParsingBuilder_.getMessageOrBuilder();
} else {
return inputFormatParallelParsing_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatParallelParsing_;
}
}
/**
*
* Enables or disables order-preserving parallel parsing of data formats. Supported only for [TSV](https://clickhouse.com/docs/en/interfaces/formats#tabseparated), [TKSV](https://clickhouse.com/docs/en/interfaces/formats#tskv), [CSV](https://clickhouse.com/docs/en/interfaces/formats#csv) and [JSONEachRow](https://clickhouse.com/docs/en/interfaces/formats#jsoneachrow) formats.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_parallel_parsing = 127;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatParallelParsingFieldBuilder() {
if (inputFormatParallelParsingBuilder_ == null) {
inputFormatParallelParsingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatParallelParsing(),
getParentForChildren(),
isClean());
inputFormatParallelParsing_ = null;
}
return inputFormatParallelParsingBuilder_;
}
private com.google.protobuf.BoolValue inputFormatImportNestedJson_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> inputFormatImportNestedJsonBuilder_;
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return Whether the inputFormatImportNestedJson field is set.
*/
public boolean hasInputFormatImportNestedJson() {
return inputFormatImportNestedJsonBuilder_ != null || inputFormatImportNestedJson_ != null;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
* @return The inputFormatImportNestedJson.
*/
public com.google.protobuf.BoolValue getInputFormatImportNestedJson() {
if (inputFormatImportNestedJsonBuilder_ == null) {
return inputFormatImportNestedJson_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatImportNestedJson_;
} else {
return inputFormatImportNestedJsonBuilder_.getMessage();
}
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public Builder setInputFormatImportNestedJson(com.google.protobuf.BoolValue value) {
if (inputFormatImportNestedJsonBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputFormatImportNestedJson_ = value;
onChanged();
} else {
inputFormatImportNestedJsonBuilder_.setMessage(value);
}
return this;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public Builder setInputFormatImportNestedJson(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (inputFormatImportNestedJsonBuilder_ == null) {
inputFormatImportNestedJson_ = builderForValue.build();
onChanged();
} else {
inputFormatImportNestedJsonBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public Builder mergeInputFormatImportNestedJson(com.google.protobuf.BoolValue value) {
if (inputFormatImportNestedJsonBuilder_ == null) {
if (inputFormatImportNestedJson_ != null) {
inputFormatImportNestedJson_ =
com.google.protobuf.BoolValue.newBuilder(inputFormatImportNestedJson_).mergeFrom(value).buildPartial();
} else {
inputFormatImportNestedJson_ = value;
}
onChanged();
} else {
inputFormatImportNestedJsonBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public Builder clearInputFormatImportNestedJson() {
if (inputFormatImportNestedJsonBuilder_ == null) {
inputFormatImportNestedJson_ = null;
onChanged();
} else {
inputFormatImportNestedJson_ = null;
inputFormatImportNestedJsonBuilder_ = null;
}
return this;
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public com.google.protobuf.BoolValue.Builder getInputFormatImportNestedJsonBuilder() {
onChanged();
return getInputFormatImportNestedJsonFieldBuilder().getBuilder();
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
public com.google.protobuf.BoolValueOrBuilder getInputFormatImportNestedJsonOrBuilder() {
if (inputFormatImportNestedJsonBuilder_ != null) {
return inputFormatImportNestedJsonBuilder_.getMessageOrBuilder();
} else {
return inputFormatImportNestedJson_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : inputFormatImportNestedJson_;
}
}
/**
*
* Enables or disables the insertion of JSON data with nested objects.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings#input-format-parallel-parsing)
*
*
* .google.protobuf.BoolValue input_format_import_nested_json = 128;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getInputFormatImportNestedJsonFieldBuilder() {
if (inputFormatImportNestedJsonBuilder_ == null) {
inputFormatImportNestedJsonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getInputFormatImportNestedJson(),
getParentForChildren(),
isClean());
inputFormatImportNestedJson_ = null;
}
return inputFormatImportNestedJsonBuilder_;
}
private int localFilesystemReadMethod_ = 0;
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The enum numeric value on the wire for localFilesystemReadMethod.
*/
@java.lang.Override public int getLocalFilesystemReadMethodValue() {
return localFilesystemReadMethod_;
}
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @param value The enum numeric value on the wire for localFilesystemReadMethod to set.
* @return This builder for chaining.
*/
public Builder setLocalFilesystemReadMethodValue(int value) {
localFilesystemReadMethod_ = value;
onChanged();
return this;
}
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return The localFilesystemReadMethod.
*/
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod getLocalFilesystemReadMethod() {
@SuppressWarnings("deprecation")
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod result = yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.valueOf(localFilesystemReadMethod_);
return result == null ? yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod.UNRECOGNIZED : result;
}
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @param value The localFilesystemReadMethod to set.
* @return This builder for chaining.
*/
public Builder setLocalFilesystemReadMethod(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings.LocalFilesystemReadMethod value) {
if (value == null) {
throw new NullPointerException();
}
localFilesystemReadMethod_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Method of reading data from local filesystem, one of: read, pread, mmap, io_uring, pread_threadpool. The 'io_uring' method is experimental and does not work for Log, TinyLog, StripeLog, File, Set and Join, and other tables with append-able files in presence of concurrent reads and writes.
*
*
* .yandex.cloud.mdb.clickhouse.v1.UserSettings.LocalFilesystemReadMethod local_filesystem_read_method = 129;
* @return This builder for chaining.
*/
public Builder clearLocalFilesystemReadMethod() {
localFilesystemReadMethod_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Int64Value maxReadBufferSize_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxReadBufferSizeBuilder_;
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return Whether the maxReadBufferSize field is set.
*/
public boolean hasMaxReadBufferSize() {
return maxReadBufferSizeBuilder_ != null || maxReadBufferSize_ != null;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
* @return The maxReadBufferSize.
*/
public com.google.protobuf.Int64Value getMaxReadBufferSize() {
if (maxReadBufferSizeBuilder_ == null) {
return maxReadBufferSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReadBufferSize_;
} else {
return maxReadBufferSizeBuilder_.getMessage();
}
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxReadBufferSize(com.google.protobuf.Int64Value value) {
if (maxReadBufferSizeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxReadBufferSize_ = value;
onChanged();
} else {
maxReadBufferSizeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public Builder setMaxReadBufferSize(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxReadBufferSizeBuilder_ == null) {
maxReadBufferSize_ = builderForValue.build();
onChanged();
} else {
maxReadBufferSizeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public Builder mergeMaxReadBufferSize(com.google.protobuf.Int64Value value) {
if (maxReadBufferSizeBuilder_ == null) {
if (maxReadBufferSize_ != null) {
maxReadBufferSize_ =
com.google.protobuf.Int64Value.newBuilder(maxReadBufferSize_).mergeFrom(value).buildPartial();
} else {
maxReadBufferSize_ = value;
}
onChanged();
} else {
maxReadBufferSizeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public Builder clearMaxReadBufferSize() {
if (maxReadBufferSizeBuilder_ == null) {
maxReadBufferSize_ = null;
onChanged();
} else {
maxReadBufferSize_ = null;
maxReadBufferSizeBuilder_ = null;
}
return this;
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64Value.Builder getMaxReadBufferSizeBuilder() {
onChanged();
return getMaxReadBufferSizeFieldBuilder().getBuilder();
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxReadBufferSizeOrBuilder() {
if (maxReadBufferSizeBuilder_ != null) {
return maxReadBufferSizeBuilder_.getMessageOrBuilder();
} else {
return maxReadBufferSize_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxReadBufferSize_;
}
}
/**
*
* The maximum size of the buffer to read from the filesystem.
* See in-depth description in [ClickHouse documentation](https://clickhouse.com/codebrowser/ClickHouse/src/Core/Settings.h.html#DB::SettingsTraits::Data::max_read_buffer_size)
*
*
* .google.protobuf.Int64Value max_read_buffer_size = 130 [(.yandex.cloud.value) = ">0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxReadBufferSizeFieldBuilder() {
if (maxReadBufferSizeBuilder_ == null) {
maxReadBufferSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxReadBufferSize(),
getParentForChildren(),
isClean());
maxReadBufferSize_ = null;
}
return maxReadBufferSizeBuilder_;
}
private com.google.protobuf.BoolValue compile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> compileBuilder_;
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return Whether the compile field is set.
*/
@java.lang.Deprecated public boolean hasCompile() {
return compileBuilder_ != null || compile_ != null;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
* @deprecated
* @return The compile.
*/
@java.lang.Deprecated public com.google.protobuf.BoolValue getCompile() {
if (compileBuilder_ == null) {
return compile_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : compile_;
} else {
return compileBuilder_.getMessage();
}
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder setCompile(com.google.protobuf.BoolValue value) {
if (compileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
compile_ = value;
onChanged();
} else {
compileBuilder_.setMessage(value);
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder setCompile(
com.google.protobuf.BoolValue.Builder builderForValue) {
if (compileBuilder_ == null) {
compile_ = builderForValue.build();
onChanged();
} else {
compileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder mergeCompile(com.google.protobuf.BoolValue value) {
if (compileBuilder_ == null) {
if (compile_ != null) {
compile_ =
com.google.protobuf.BoolValue.newBuilder(compile_).mergeFrom(value).buildPartial();
} else {
compile_ = value;
}
onChanged();
} else {
compileBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearCompile() {
if (compileBuilder_ == null) {
compile_ = null;
onChanged();
} else {
compile_ = null;
compileBuilder_ = null;
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.BoolValue.Builder getCompileBuilder() {
onChanged();
return getCompileFieldBuilder().getBuilder();
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.BoolValueOrBuilder getCompileOrBuilder() {
if (compileBuilder_ != null) {
return compileBuilder_.getMessageOrBuilder();
} else {
return compile_ == null ?
com.google.protobuf.BoolValue.getDefaultInstance() : compile_;
}
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.BoolValue compile = 44 [deprecated = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>
getCompileFieldBuilder() {
if (compileBuilder_ == null) {
compileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>(
getCompile(),
getParentForChildren(),
isClean());
compile_ = null;
}
return compileBuilder_;
}
private com.google.protobuf.Int64Value minCountToCompile_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minCountToCompileBuilder_;
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return Whether the minCountToCompile field is set.
*/
@java.lang.Deprecated public boolean hasMinCountToCompile() {
return minCountToCompileBuilder_ != null || minCountToCompile_ != null;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
* @deprecated
* @return The minCountToCompile.
*/
@java.lang.Deprecated public com.google.protobuf.Int64Value getMinCountToCompile() {
if (minCountToCompileBuilder_ == null) {
return minCountToCompile_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompile_;
} else {
return minCountToCompileBuilder_.getMessage();
}
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public Builder setMinCountToCompile(com.google.protobuf.Int64Value value) {
if (minCountToCompileBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
minCountToCompile_ = value;
onChanged();
} else {
minCountToCompileBuilder_.setMessage(value);
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public Builder setMinCountToCompile(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (minCountToCompileBuilder_ == null) {
minCountToCompile_ = builderForValue.build();
onChanged();
} else {
minCountToCompileBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public Builder mergeMinCountToCompile(com.google.protobuf.Int64Value value) {
if (minCountToCompileBuilder_ == null) {
if (minCountToCompile_ != null) {
minCountToCompile_ =
com.google.protobuf.Int64Value.newBuilder(minCountToCompile_).mergeFrom(value).buildPartial();
} else {
minCountToCompile_ = value;
}
onChanged();
} else {
minCountToCompileBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public Builder clearMinCountToCompile() {
if (minCountToCompileBuilder_ == null) {
minCountToCompile_ = null;
onChanged();
} else {
minCountToCompile_ = null;
minCountToCompileBuilder_ = null;
}
return this;
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.Int64Value.Builder getMinCountToCompileBuilder() {
onChanged();
return getMinCountToCompileFieldBuilder().getBuilder();
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
@java.lang.Deprecated public com.google.protobuf.Int64ValueOrBuilder getMinCountToCompileOrBuilder() {
if (minCountToCompileBuilder_ != null) {
return minCountToCompileBuilder_.getMessageOrBuilder();
} else {
return minCountToCompile_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : minCountToCompile_;
}
}
/**
*
* The setting is deprecated and has no effect.
*
*
* .google.protobuf.Int64Value min_count_to_compile = 45 [deprecated = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMinCountToCompileFieldBuilder() {
if (minCountToCompileBuilder_ == null) {
minCountToCompileBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMinCountToCompile(),
getParentForChildren(),
isClean());
minCountToCompile_ = null;
}
return minCountToCompileBuilder_;
}
@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:yandex.cloud.mdb.clickhouse.v1.UserSettings)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.UserSettings)
private static final yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings();
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UserSettings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UserSettings(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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserSettings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UserQuotaOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.UserQuota)
com.google.protobuf.MessageOrBuilder {
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the intervalDuration field is set.
*/
boolean hasIntervalDuration();
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return The intervalDuration.
*/
com.google.protobuf.Int64Value getIntervalDuration();
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
com.google.protobuf.Int64ValueOrBuilder getIntervalDurationOrBuilder();
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return Whether the queries field is set.
*/
boolean hasQueries();
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return The queries.
*/
com.google.protobuf.Int64Value getQueries();
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getQueriesOrBuilder();
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the errors field is set.
*/
boolean hasErrors();
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return The errors.
*/
com.google.protobuf.Int64Value getErrors();
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getErrorsOrBuilder();
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return Whether the resultRows field is set.
*/
boolean hasResultRows();
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return The resultRows.
*/
com.google.protobuf.Int64Value getResultRows();
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getResultRowsOrBuilder();
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return Whether the readRows field is set.
*/
boolean hasReadRows();
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return The readRows.
*/
com.google.protobuf.Int64Value getReadRows();
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getReadRowsOrBuilder();
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return Whether the executionTime field is set.
*/
boolean hasExecutionTime();
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return The executionTime.
*/
com.google.protobuf.Int64Value getExecutionTime();
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
com.google.protobuf.Int64ValueOrBuilder getExecutionTimeOrBuilder();
}
/**
*
* ClickHouse quota representation. Each quota associated with an user and limits it resource usage for an interval.
* See in-depth description [ClickHouse documentation](https://clickhouse.com/docs/en/operations/quotas/).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.UserQuota}
*/
public static final class UserQuota extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.UserQuota)
UserQuotaOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserQuota.newBuilder() to construct.
private UserQuota(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserQuota() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserQuota();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserQuota(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (intervalDuration_ != null) {
subBuilder = intervalDuration_.toBuilder();
}
intervalDuration_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(intervalDuration_);
intervalDuration_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (queries_ != null) {
subBuilder = queries_.toBuilder();
}
queries_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(queries_);
queries_ = subBuilder.buildPartial();
}
break;
}
case 26: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (errors_ != null) {
subBuilder = errors_.toBuilder();
}
errors_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(errors_);
errors_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (resultRows_ != null) {
subBuilder = resultRows_.toBuilder();
}
resultRows_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(resultRows_);
resultRows_ = subBuilder.buildPartial();
}
break;
}
case 42: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (readRows_ != null) {
subBuilder = readRows_.toBuilder();
}
readRows_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(readRows_);
readRows_ = subBuilder.buildPartial();
}
break;
}
case 50: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (executionTime_ != null) {
subBuilder = executionTime_.toBuilder();
}
executionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(executionTime_);
executionTime_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder.class);
}
public static final int INTERVAL_DURATION_FIELD_NUMBER = 1;
private com.google.protobuf.Int64Value intervalDuration_;
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the intervalDuration field is set.
*/
@java.lang.Override
public boolean hasIntervalDuration() {
return intervalDuration_ != null;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return The intervalDuration.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getIntervalDuration() {
return intervalDuration_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : intervalDuration_;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getIntervalDurationOrBuilder() {
return getIntervalDuration();
}
public static final int QUERIES_FIELD_NUMBER = 2;
private com.google.protobuf.Int64Value queries_;
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return Whether the queries field is set.
*/
@java.lang.Override
public boolean hasQueries() {
return queries_ != null;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return The queries.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getQueries() {
return queries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queries_;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getQueriesOrBuilder() {
return getQueries();
}
public static final int ERRORS_FIELD_NUMBER = 3;
private com.google.protobuf.Int64Value errors_;
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the errors field is set.
*/
@java.lang.Override
public boolean hasErrors() {
return errors_ != null;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return The errors.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getErrors() {
return errors_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : errors_;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getErrorsOrBuilder() {
return getErrors();
}
public static final int RESULT_ROWS_FIELD_NUMBER = 4;
private com.google.protobuf.Int64Value resultRows_;
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return Whether the resultRows field is set.
*/
@java.lang.Override
public boolean hasResultRows() {
return resultRows_ != null;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return The resultRows.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getResultRows() {
return resultRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : resultRows_;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getResultRowsOrBuilder() {
return getResultRows();
}
public static final int READ_ROWS_FIELD_NUMBER = 5;
private com.google.protobuf.Int64Value readRows_;
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return Whether the readRows field is set.
*/
@java.lang.Override
public boolean hasReadRows() {
return readRows_ != null;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return The readRows.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getReadRows() {
return readRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : readRows_;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getReadRowsOrBuilder() {
return getReadRows();
}
public static final int EXECUTION_TIME_FIELD_NUMBER = 6;
private com.google.protobuf.Int64Value executionTime_;
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return Whether the executionTime field is set.
*/
@java.lang.Override
public boolean hasExecutionTime() {
return executionTime_ != null;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return The executionTime.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getExecutionTime() {
return executionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : executionTime_;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getExecutionTimeOrBuilder() {
return getExecutionTime();
}
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 (intervalDuration_ != null) {
output.writeMessage(1, getIntervalDuration());
}
if (queries_ != null) {
output.writeMessage(2, getQueries());
}
if (errors_ != null) {
output.writeMessage(3, getErrors());
}
if (resultRows_ != null) {
output.writeMessage(4, getResultRows());
}
if (readRows_ != null) {
output.writeMessage(5, getReadRows());
}
if (executionTime_ != null) {
output.writeMessage(6, getExecutionTime());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (intervalDuration_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getIntervalDuration());
}
if (queries_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getQueries());
}
if (errors_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getErrors());
}
if (resultRows_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getResultRows());
}
if (readRows_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getReadRows());
}
if (executionTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getExecutionTime());
}
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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota other = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota) obj;
if (hasIntervalDuration() != other.hasIntervalDuration()) return false;
if (hasIntervalDuration()) {
if (!getIntervalDuration()
.equals(other.getIntervalDuration())) return false;
}
if (hasQueries() != other.hasQueries()) return false;
if (hasQueries()) {
if (!getQueries()
.equals(other.getQueries())) return false;
}
if (hasErrors() != other.hasErrors()) return false;
if (hasErrors()) {
if (!getErrors()
.equals(other.getErrors())) return false;
}
if (hasResultRows() != other.hasResultRows()) return false;
if (hasResultRows()) {
if (!getResultRows()
.equals(other.getResultRows())) return false;
}
if (hasReadRows() != other.hasReadRows()) return false;
if (hasReadRows()) {
if (!getReadRows()
.equals(other.getReadRows())) return false;
}
if (hasExecutionTime() != other.hasExecutionTime()) return false;
if (hasExecutionTime()) {
if (!getExecutionTime()
.equals(other.getExecutionTime())) 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 (hasIntervalDuration()) {
hash = (37 * hash) + INTERVAL_DURATION_FIELD_NUMBER;
hash = (53 * hash) + getIntervalDuration().hashCode();
}
if (hasQueries()) {
hash = (37 * hash) + QUERIES_FIELD_NUMBER;
hash = (53 * hash) + getQueries().hashCode();
}
if (hasErrors()) {
hash = (37 * hash) + ERRORS_FIELD_NUMBER;
hash = (53 * hash) + getErrors().hashCode();
}
if (hasResultRows()) {
hash = (37 * hash) + RESULT_ROWS_FIELD_NUMBER;
hash = (53 * hash) + getResultRows().hashCode();
}
if (hasReadRows()) {
hash = (37 * hash) + READ_ROWS_FIELD_NUMBER;
hash = (53 * hash) + getReadRows().hashCode();
}
if (hasExecutionTime()) {
hash = (37 * hash) + EXECUTION_TIME_FIELD_NUMBER;
hash = (53 * hash) + getExecutionTime().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota 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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota 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(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota 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;
}
/**
*
* ClickHouse quota representation. Each quota associated with an user and limits it resource usage for an interval.
* See in-depth description [ClickHouse documentation](https://clickhouse.com/docs/en/operations/quotas/).
*
*
* Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.UserQuota}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.UserQuota)
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuotaOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.class, yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.Builder.class);
}
// Construct using yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (intervalDurationBuilder_ == null) {
intervalDuration_ = null;
} else {
intervalDuration_ = null;
intervalDurationBuilder_ = null;
}
if (queriesBuilder_ == null) {
queries_ = null;
} else {
queries_ = null;
queriesBuilder_ = null;
}
if (errorsBuilder_ == null) {
errors_ = null;
} else {
errors_ = null;
errorsBuilder_ = null;
}
if (resultRowsBuilder_ == null) {
resultRows_ = null;
} else {
resultRows_ = null;
resultRowsBuilder_ = null;
}
if (readRowsBuilder_ == null) {
readRows_ = null;
} else {
readRows_ = null;
readRowsBuilder_ = null;
}
if (executionTimeBuilder_ == null) {
executionTime_ = null;
} else {
executionTime_ = null;
executionTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getDefaultInstanceForType() {
return yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota build() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota buildPartial() {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota result = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota(this);
if (intervalDurationBuilder_ == null) {
result.intervalDuration_ = intervalDuration_;
} else {
result.intervalDuration_ = intervalDurationBuilder_.build();
}
if (queriesBuilder_ == null) {
result.queries_ = queries_;
} else {
result.queries_ = queriesBuilder_.build();
}
if (errorsBuilder_ == null) {
result.errors_ = errors_;
} else {
result.errors_ = errorsBuilder_.build();
}
if (resultRowsBuilder_ == null) {
result.resultRows_ = resultRows_;
} else {
result.resultRows_ = resultRowsBuilder_.build();
}
if (readRowsBuilder_ == null) {
result.readRows_ = readRows_;
} else {
result.readRows_ = readRowsBuilder_.build();
}
if (executionTimeBuilder_ == null) {
result.executionTime_ = executionTime_;
} else {
result.executionTime_ = executionTimeBuilder_.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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota) {
return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota other) {
if (other == yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota.getDefaultInstance()) return this;
if (other.hasIntervalDuration()) {
mergeIntervalDuration(other.getIntervalDuration());
}
if (other.hasQueries()) {
mergeQueries(other.getQueries());
}
if (other.hasErrors()) {
mergeErrors(other.getErrors());
}
if (other.hasResultRows()) {
mergeResultRows(other.getResultRows());
}
if (other.hasReadRows()) {
mergeReadRows(other.getReadRows());
}
if (other.hasExecutionTime()) {
mergeExecutionTime(other.getExecutionTime());
}
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 {
yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Int64Value intervalDuration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> intervalDurationBuilder_;
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return Whether the intervalDuration field is set.
*/
public boolean hasIntervalDuration() {
return intervalDurationBuilder_ != null || intervalDuration_ != null;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
* @return The intervalDuration.
*/
public com.google.protobuf.Int64Value getIntervalDuration() {
if (intervalDurationBuilder_ == null) {
return intervalDuration_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : intervalDuration_;
} else {
return intervalDurationBuilder_.getMessage();
}
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setIntervalDuration(com.google.protobuf.Int64Value value) {
if (intervalDurationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
intervalDuration_ = value;
onChanged();
} else {
intervalDurationBuilder_.setMessage(value);
}
return this;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder setIntervalDuration(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (intervalDurationBuilder_ == null) {
intervalDuration_ = builderForValue.build();
onChanged();
} else {
intervalDurationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder mergeIntervalDuration(com.google.protobuf.Int64Value value) {
if (intervalDurationBuilder_ == null) {
if (intervalDuration_ != null) {
intervalDuration_ =
com.google.protobuf.Int64Value.newBuilder(intervalDuration_).mergeFrom(value).buildPartial();
} else {
intervalDuration_ = value;
}
onChanged();
} else {
intervalDurationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public Builder clearIntervalDuration() {
if (intervalDurationBuilder_ == null) {
intervalDuration_ = null;
onChanged();
} else {
intervalDuration_ = null;
intervalDurationBuilder_ = null;
}
return this;
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64Value.Builder getIntervalDurationBuilder() {
onChanged();
return getIntervalDurationFieldBuilder().getBuilder();
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
public com.google.protobuf.Int64ValueOrBuilder getIntervalDurationOrBuilder() {
if (intervalDurationBuilder_ != null) {
return intervalDurationBuilder_.getMessageOrBuilder();
} else {
return intervalDuration_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : intervalDuration_;
}
}
/**
*
* Duration of interval for quota in milliseconds.
* Minimal value is 1 second.
*
*
* .google.protobuf.Int64Value interval_duration = 1 [(.yandex.cloud.value) = ">=1000"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getIntervalDurationFieldBuilder() {
if (intervalDurationBuilder_ == null) {
intervalDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getIntervalDuration(),
getParentForChildren(),
isClean());
intervalDuration_ = null;
}
return intervalDurationBuilder_;
}
private com.google.protobuf.Int64Value queries_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> queriesBuilder_;
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return Whether the queries field is set.
*/
public boolean hasQueries() {
return queriesBuilder_ != null || queries_ != null;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
* @return The queries.
*/
public com.google.protobuf.Int64Value getQueries() {
if (queriesBuilder_ == null) {
return queries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queries_;
} else {
return queriesBuilder_.getMessage();
}
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setQueries(com.google.protobuf.Int64Value value) {
if (queriesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
queries_ = value;
onChanged();
} else {
queriesBuilder_.setMessage(value);
}
return this;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setQueries(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (queriesBuilder_ == null) {
queries_ = builderForValue.build();
onChanged();
} else {
queriesBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeQueries(com.google.protobuf.Int64Value value) {
if (queriesBuilder_ == null) {
if (queries_ != null) {
queries_ =
com.google.protobuf.Int64Value.newBuilder(queries_).mergeFrom(value).buildPartial();
} else {
queries_ = value;
}
onChanged();
} else {
queriesBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearQueries() {
if (queriesBuilder_ == null) {
queries_ = null;
onChanged();
} else {
queries_ = null;
queriesBuilder_ = null;
}
return this;
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getQueriesBuilder() {
onChanged();
return getQueriesFieldBuilder().getBuilder();
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getQueriesOrBuilder() {
if (queriesBuilder_ != null) {
return queriesBuilder_.getMessageOrBuilder();
} else {
return queries_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : queries_;
}
}
/**
*
* The total number of queries.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value queries = 2 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getQueriesFieldBuilder() {
if (queriesBuilder_ == null) {
queriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getQueries(),
getParentForChildren(),
isClean());
queries_ = null;
}
return queriesBuilder_;
}
private com.google.protobuf.Int64Value errors_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> errorsBuilder_;
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return Whether the errors field is set.
*/
public boolean hasErrors() {
return errorsBuilder_ != null || errors_ != null;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
* @return The errors.
*/
public com.google.protobuf.Int64Value getErrors() {
if (errorsBuilder_ == null) {
return errors_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : errors_;
} else {
return errorsBuilder_.getMessage();
}
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setErrors(com.google.protobuf.Int64Value value) {
if (errorsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
errors_ = value;
onChanged();
} else {
errorsBuilder_.setMessage(value);
}
return this;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setErrors(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (errorsBuilder_ == null) {
errors_ = builderForValue.build();
onChanged();
} else {
errorsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeErrors(com.google.protobuf.Int64Value value) {
if (errorsBuilder_ == null) {
if (errors_ != null) {
errors_ =
com.google.protobuf.Int64Value.newBuilder(errors_).mergeFrom(value).buildPartial();
} else {
errors_ = value;
}
onChanged();
} else {
errorsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearErrors() {
if (errorsBuilder_ == null) {
errors_ = null;
onChanged();
} else {
errors_ = null;
errorsBuilder_ = null;
}
return this;
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getErrorsBuilder() {
onChanged();
return getErrorsFieldBuilder().getBuilder();
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getErrorsOrBuilder() {
if (errorsBuilder_ != null) {
return errorsBuilder_.getMessageOrBuilder();
} else {
return errors_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : errors_;
}
}
/**
*
* The number of queries that threw exception.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value errors = 3 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getErrorsFieldBuilder() {
if (errorsBuilder_ == null) {
errorsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getErrors(),
getParentForChildren(),
isClean());
errors_ = null;
}
return errorsBuilder_;
}
private com.google.protobuf.Int64Value resultRows_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> resultRowsBuilder_;
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return Whether the resultRows field is set.
*/
public boolean hasResultRows() {
return resultRowsBuilder_ != null || resultRows_ != null;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
* @return The resultRows.
*/
public com.google.protobuf.Int64Value getResultRows() {
if (resultRowsBuilder_ == null) {
return resultRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : resultRows_;
} else {
return resultRowsBuilder_.getMessage();
}
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setResultRows(com.google.protobuf.Int64Value value) {
if (resultRowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
resultRows_ = value;
onChanged();
} else {
resultRowsBuilder_.setMessage(value);
}
return this;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setResultRows(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (resultRowsBuilder_ == null) {
resultRows_ = builderForValue.build();
onChanged();
} else {
resultRowsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeResultRows(com.google.protobuf.Int64Value value) {
if (resultRowsBuilder_ == null) {
if (resultRows_ != null) {
resultRows_ =
com.google.protobuf.Int64Value.newBuilder(resultRows_).mergeFrom(value).buildPartial();
} else {
resultRows_ = value;
}
onChanged();
} else {
resultRowsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearResultRows() {
if (resultRowsBuilder_ == null) {
resultRows_ = null;
onChanged();
} else {
resultRows_ = null;
resultRowsBuilder_ = null;
}
return this;
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getResultRowsBuilder() {
onChanged();
return getResultRowsFieldBuilder().getBuilder();
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getResultRowsOrBuilder() {
if (resultRowsBuilder_ != null) {
return resultRowsBuilder_.getMessageOrBuilder();
} else {
return resultRows_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : resultRows_;
}
}
/**
*
* The total number of rows given as the result..
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value result_rows = 4 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getResultRowsFieldBuilder() {
if (resultRowsBuilder_ == null) {
resultRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getResultRows(),
getParentForChildren(),
isClean());
resultRows_ = null;
}
return resultRowsBuilder_;
}
private com.google.protobuf.Int64Value readRows_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> readRowsBuilder_;
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return Whether the readRows field is set.
*/
public boolean hasReadRows() {
return readRowsBuilder_ != null || readRows_ != null;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
* @return The readRows.
*/
public com.google.protobuf.Int64Value getReadRows() {
if (readRowsBuilder_ == null) {
return readRows_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : readRows_;
} else {
return readRowsBuilder_.getMessage();
}
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setReadRows(com.google.protobuf.Int64Value value) {
if (readRowsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
readRows_ = value;
onChanged();
} else {
readRowsBuilder_.setMessage(value);
}
return this;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setReadRows(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (readRowsBuilder_ == null) {
readRows_ = builderForValue.build();
onChanged();
} else {
readRowsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeReadRows(com.google.protobuf.Int64Value value) {
if (readRowsBuilder_ == null) {
if (readRows_ != null) {
readRows_ =
com.google.protobuf.Int64Value.newBuilder(readRows_).mergeFrom(value).buildPartial();
} else {
readRows_ = value;
}
onChanged();
} else {
readRowsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearReadRows() {
if (readRowsBuilder_ == null) {
readRows_ = null;
onChanged();
} else {
readRows_ = null;
readRowsBuilder_ = null;
}
return this;
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getReadRowsBuilder() {
onChanged();
return getReadRowsFieldBuilder().getBuilder();
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getReadRowsOrBuilder() {
if (readRowsBuilder_ != null) {
return readRowsBuilder_.getMessageOrBuilder();
} else {
return readRows_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : readRows_;
}
}
/**
*
* The total number of source rows read from tables for running the query, on all remote servers.
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value read_rows = 5 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getReadRowsFieldBuilder() {
if (readRowsBuilder_ == null) {
readRowsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getReadRows(),
getParentForChildren(),
isClean());
readRows_ = null;
}
return readRowsBuilder_;
}
private com.google.protobuf.Int64Value executionTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> executionTimeBuilder_;
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return Whether the executionTime field is set.
*/
public boolean hasExecutionTime() {
return executionTimeBuilder_ != null || executionTime_ != null;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
* @return The executionTime.
*/
public com.google.protobuf.Int64Value getExecutionTime() {
if (executionTimeBuilder_ == null) {
return executionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : executionTime_;
} else {
return executionTimeBuilder_.getMessage();
}
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setExecutionTime(com.google.protobuf.Int64Value value) {
if (executionTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
executionTime_ = value;
onChanged();
} else {
executionTimeBuilder_.setMessage(value);
}
return this;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public Builder setExecutionTime(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (executionTimeBuilder_ == null) {
executionTime_ = builderForValue.build();
onChanged();
} else {
executionTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public Builder mergeExecutionTime(com.google.protobuf.Int64Value value) {
if (executionTimeBuilder_ == null) {
if (executionTime_ != null) {
executionTime_ =
com.google.protobuf.Int64Value.newBuilder(executionTime_).mergeFrom(value).buildPartial();
} else {
executionTime_ = value;
}
onChanged();
} else {
executionTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public Builder clearExecutionTime() {
if (executionTimeBuilder_ == null) {
executionTime_ = null;
onChanged();
} else {
executionTime_ = null;
executionTimeBuilder_ = null;
}
return this;
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64Value.Builder getExecutionTimeBuilder() {
onChanged();
return getExecutionTimeFieldBuilder().getBuilder();
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
public com.google.protobuf.Int64ValueOrBuilder getExecutionTimeOrBuilder() {
if (executionTimeBuilder_ != null) {
return executionTimeBuilder_.getMessageOrBuilder();
} else {
return executionTime_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : executionTime_;
}
}
/**
*
* The total query execution time, in milliseconds (wall time).
* 0 - unlimited.
*
*
* .google.protobuf.Int64Value execution_time = 6 [(.yandex.cloud.value) = ">=0"];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getExecutionTimeFieldBuilder() {
if (executionTimeBuilder_ == null) {
executionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getExecutionTime(),
getParentForChildren(),
isClean());
executionTime_ = null;
}
return executionTimeBuilder_;
}
@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:yandex.cloud.mdb.clickhouse.v1.UserQuota)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.UserQuota)
private static final yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota();
}
public static yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UserQuota parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UserQuota(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 yandex.cloud.api.mdb.clickhouse.v1.UserOuterClass.UserQuota getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_clickhouse_v1_User_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n)yandex/cloud/mdb/clickhouse/v1/user.pr" +
"oto\022\036yandex.cloud.mdb.clickhouse.v1\032\036goo" +
"gle/protobuf/wrappers.proto\032\035yandex/clou" +
"d/validation.proto\"\344\001\n\004User\022\014\n\004name\030\001 \001(" +
"\t\022\022\n\ncluster_id\030\002 \001(\t\022?\n\013permissions\030\003 \003" +
"(\0132*.yandex.cloud.mdb.clickhouse.v1.Perm" +
"ission\022>\n\010settings\030\004 \001(\0132,.yandex.cloud." +
"mdb.clickhouse.v1.UserSettings\0229\n\006quotas" +
"\030\005 \003(\0132).yandex.cloud.mdb.clickhouse.v1." +
"UserQuota\")\n\nPermission\022\025\n\rdatabase_name" +
"\030\001 \001(\tJ\004\010\002\020\003\"\224\002\n\010UserSpec\022+\n\004name\030\001 \001(\tB" +
"\035\350\3071\001\212\3101\004<=63\362\3071\r[a-zA-Z0-9_]*\022\037\n\010passwo" +
"rd\030\002 \001(\tB\r\350\3071\001\212\3101\0058-128\022?\n\013permissions\030\003" +
" \003(\0132*.yandex.cloud.mdb.clickhouse.v1.Pe" +
"rmission\022>\n\010settings\030\004 \001(\0132,.yandex.clou" +
"d.mdb.clickhouse.v1.UserSettings\0229\n\006quot" +
"as\030\005 \003(\0132).yandex.cloud.mdb.clickhouse.v" +
"1.UserQuota\"\223W\n\014UserSettings\0226\n\010readonly" +
"\030\001 \001(\0132\033.google.protobuf.Int64ValueB\007\372\3071" +
"\0030-2\022-\n\tallow_ddl\030\002 \001(\0132\032.google.protobu" +
"f.BoolValue\022A\n\035allow_introspection_funct" +
"ions\030` \001(\0132\032.google.protobuf.BoolValue\022<" +
"\n\017connect_timeout\030\' \001(\0132\033.google.protobu" +
"f.Int64ValueB\006\372\3071\002>0\022J\n\035connect_timeout_" +
"with_failover\030a \001(\0132\033.google.protobuf.In" +
"t64ValueB\006\372\3071\002>0\022<\n\017receive_timeout\030( \001(" +
"\0132\033.google.protobuf.Int64ValueB\006\372\3071\002>0\0229" +
"\n\014send_timeout\030) \001(\0132\033.google.protobuf.I" +
"nt64ValueB\006\372\3071\002>0\022L\n\'timeout_before_chec" +
"king_execution_speed\030b \001(\0132\033.google.prot" +
"obuf.Int64Value\022;\n\rinsert_quorum\030\003 \001(\0132\033" +
".google.protobuf.Int64ValueB\007\372\3071\003>=0\022F\n\025" +
"insert_quorum_timeout\030\004 \001(\0132\033.google.pro" +
"tobuf.Int64ValueB\n\372\3071\006>=1000\022:\n\026insert_q" +
"uorum_parallel\030c \001(\0132\032.google.protobuf.B" +
"oolValue\022:\n\026insert_null_as_default\030d \001(\013" +
"2\032.google.protobuf.BoolValue\022A\n\035select_s" +
"equential_consistency\030\005 \001(\0132\032.google.pro" +
"tobuf.BoolValue\022V\n2deduplicate_blocks_in" +
"_dependent_materialized_views\030e \001(\0132\032.go" +
"ogle.protobuf.BoolValue\022O\n!replication_a" +
"lter_partitions_sync\030* \001(\0132\033.google.prot" +
"obuf.Int64ValueB\007\372\3071\0030-2\022Z\n)max_replica_" +
"delay_for_distributed_queries\030\006 \001(\0132\033.go" +
"ogle.protobuf.Int64ValueB\n\372\3071\006>=1000\022V\n2" +
"fallback_to_stale_replicas_for_distribut" +
"ed_queries\030\007 \001(\0132\032.google.protobuf.BoolV" +
"alue\022e\n\030distributed_product_mode\030+ \001(\0162C" +
".yandex.cloud.mdb.clickhouse.v1.UserSett" +
"ings.DistributedProductMode\022L\n(distribut" +
"ed_aggregation_memory_efficient\030H \001(\0132\032." +
"google.protobuf.BoolValue\022A\n\034distributed" +
"_ddl_task_timeout\030I \001(\0132\033.google.protobu" +
"f.Int64Value\022;\n\027skip_unavailable_shards\030" +
"Q \001(\0132\032.google.protobuf.BoolValue\0227\n\023com" +
"pile_expressions\030. \001(\0132\032.google.protobuf" +
".BoolValue\022M\n\037min_count_to_compile_expre" +
"ssion\030/ \001(\0132\033.google.protobuf.Int64Value" +
"B\007\372\3071\003>=0\022;\n\016max_block_size\030\t \001(\0132\033.goog" +
"le.protobuf.Int64ValueB\006\372\3071\002>0\022H\n\032min_in" +
"sert_block_size_rows\0300 \001(\0132\033.google.prot" +
"obuf.Int64ValueB\007\372\3071\003>=0\022I\n\033min_insert_b" +
"lock_size_bytes\0301 \001(\0132\033.google.protobuf." +
"Int64ValueB\007\372\3071\003>=0\022B\n\025max_insert_block_" +
"size\030\n \001(\0132\033.google.protobuf.Int64ValueB" +
"\006\372\3071\002>0\022H\n\032min_bytes_to_use_direct_io\0302 " +
"\001(\0132\033.google.protobuf.Int64ValueB\007\372\3071\003>=" +
"0\022:\n\026use_uncompressed_cache\0303 \001(\0132\032.goog" +
"le.protobuf.BoolValue\022M\n merge_tree_max_" +
"rows_to_use_cache\0304 \001(\0132\033.google.protobu" +
"f.Int64ValueB\006\372\3071\002>0\022N\n!merge_tree_max_b" +
"ytes_to_use_cache\0305 \001(\0132\033.google.protobu" +
"f.Int64ValueB\006\372\3071\002>0\022T\n\'merge_tree_min_r" +
"ows_for_concurrent_read\0306 \001(\0132\033.google.p" +
"rotobuf.Int64ValueB\006\372\3071\002>0\022U\n(merge_tree" +
"_min_bytes_for_concurrent_read\0307 \001(\0132\033.g" +
"oogle.protobuf.Int64ValueB\006\372\3071\002>0\022G\n\"max" +
"_bytes_before_external_group_by\030J \001(\0132\033." +
"google.protobuf.Int64Value\022C\n\036max_bytes_" +
"before_external_sort\030K \001(\0132\033.google.prot" +
"obuf.Int64Value\022A\n\034group_by_two_level_th" +
"reshold\030L \001(\0132\033.google.protobuf.Int64Val" +
"ue\022G\n\"group_by_two_level_threshold_bytes" +
"\030M \001(\0132\033.google.protobuf.Int64Value\0226\n\010p" +
"riority\0308 \001(\0132\033.google.protobuf.Int64Val" +
"ueB\007\372\3071\003>=0\0228\n\013max_threads\030\010 \001(\0132\033.googl" +
"e.protobuf.Int64ValueB\006\372\3071\002>0\022>\n\020max_mem" +
"ory_usage\030\013 \001(\0132\033.google.protobuf.Int64V" +
"alueB\007\372\3071\003>=0\022G\n\031max_memory_usage_for_us" +
"er\030\014 \001(\0132\033.google.protobuf.Int64ValueB\007\372" +
"\3071\003>=0\022:\n\025max_network_bandwidth\0309 \001(\0132\033." +
"google.protobuf.Int64Value\022C\n\036max_networ" +
"k_bandwidth_for_user\030: \001(\0132\033.google.prot" +
"obuf.Int64Value\022D\n\037max_partitions_per_in" +
"sert_block\030f \001(\0132\033.google.protobuf.Int64" +
"Value\022D\n\037max_concurrent_queries_for_user" +
"\030g \001(\0132\033.google.protobuf.Int64Value\0227\n\023f" +
"orce_index_by_date\030; \001(\0132\032.google.protob" +
"uf.BoolValue\0225\n\021force_primary_key\030< \001(\0132" +
"\032.google.protobuf.BoolValue\022>\n\020max_rows_" +
"to_read\030\r \001(\0132\033.google.protobuf.Int64Val" +
"ueB\007\372\3071\003>=0\022?\n\021max_bytes_to_read\030\016 \001(\0132\033" +
".google.protobuf.Int64ValueB\007\372\3071\003>=0\022U\n\022" +
"read_overflow_mode\030\017 \001(\01629.yandex.cloud." +
"mdb.clickhouse.v1.UserSettings.OverflowM" +
"ode\022B\n\024max_rows_to_group_by\030\020 \001(\0132\033.goog" +
"le.protobuf.Int64ValueB\007\372\3071\003>=0\022`\n\026group" +
"_by_overflow_mode\030\021 \001(\[email protected]" +
"db.clickhouse.v1.UserSettings.GroupByOve" +
"rflowMode\022>\n\020max_rows_to_sort\030\022 \001(\0132\033.go" +
"ogle.protobuf.Int64ValueB\007\372\3071\003>=0\022?\n\021max" +
"_bytes_to_sort\030\023 \001(\0132\033.google.protobuf.I" +
"nt64ValueB\007\372\3071\003>=0\022U\n\022sort_overflow_mode" +
"\030\024 \001(\01629.yandex.cloud.mdb.clickhouse.v1." +
"UserSettings.OverflowMode\022=\n\017max_result_" +
"rows\030\025 \001(\0132\033.google.protobuf.Int64ValueB" +
"\007\372\3071\003>=0\022>\n\020max_result_bytes\030\026 \001(\0132\033.goo" +
"gle.protobuf.Int64ValueB\007\372\3071\003>=0\022W\n\024resu" +
"lt_overflow_mode\030\027 \001(\01629.yandex.cloud.md" +
"b.clickhouse.v1.UserSettings.OverflowMod" +
"e\022B\n\024max_rows_in_distinct\030\030 \001(\0132\033.google" +
".protobuf.Int64ValueB\007\372\3071\003>=0\022C\n\025max_byt" +
"es_in_distinct\030\031 \001(\0132\033.google.protobuf.I" +
"nt64ValueB\007\372\3071\003>=0\022Y\n\026distinct_overflow_" +
"mode\030\032 \001(\01629.yandex.cloud.mdb.clickhouse" +
".v1.UserSettings.OverflowMode\022B\n\024max_row" +
"s_to_transfer\030\033 \001(\0132\033.google.protobuf.In" +
"t64ValueB\007\372\3071\003>=0\022C\n\025max_bytes_to_transf" +
"er\030\034 \001(\0132\033.google.protobuf.Int64ValueB\007\372" +
"\3071\003>=0\022Y\n\026transfer_overflow_mode\030\035 \001(\01629" +
".yandex.cloud.mdb.clickhouse.v1.UserSett" +
"ings.OverflowMode\022@\n\022max_execution_time\030" +
"\036 \001(\0132\033.google.protobuf.Int64ValueB\007\372\3071\003" +
">=0\022X\n\025timeout_overflow_mode\030\037 \001(\01629.yan" +
"dex.cloud.mdb.clickhouse.v1.UserSettings" +
".OverflowMode\022=\n\017max_rows_in_set\030W \001(\0132\033" +
".google.protobuf.Int64ValueB\007\372\3071\003>=0\022>\n\020" +
"max_bytes_in_set\030X \001(\0132\033.google.protobuf" +
".Int64ValueB\007\372\3071\003>=0\022T\n\021set_overflow_mod" +
"e\030Y \001(\01629.yandex.cloud.mdb.clickhouse.v1" +
".UserSettings.OverflowMode\022>\n\020max_rows_i" +
"n_join\030Z \001(\0132\033.google.protobuf.Int64Valu" +
"eB\007\372\3071\003>=0\022?\n\021max_bytes_in_join\030[ \001(\0132\033." +
"google.protobuf.Int64ValueB\007\372\3071\003>=0\022U\n\022j" +
"oin_overflow_mode\030\\ \001(\01629.yandex.cloud.m" +
"db.clickhouse.v1.UserSettings.OverflowMo" +
"de\022R\n\016join_algorithm\030h \003(\0162:.yandex.clou" +
"d.mdb.clickhouse.v1.UserSettings.JoinAlg" +
"orithm\022F\n\"any_join_distinct_right_table_" +
"keys\030i \001(\0132\032.google.protobuf.BoolValue\022A" +
"\n\023max_columns_to_read\030 \001(\0132\033.google.pro" +
"tobuf.Int64ValueB\007\372\3071\003>=0\022C\n\025max_tempora" +
"ry_columns\030! \001(\0132\033.google.protobuf.Int64" +
"ValueB\007\372\3071\003>=0\022M\n\037max_temporary_non_cons" +
"t_columns\030\" \001(\0132\033.google.protobuf.Int64V" +
"alueB\007\372\3071\003>=0\022;\n\016max_query_size\030# \001(\0132\033." +
"google.protobuf.Int64ValueB\006\372\3071\002>0\022:\n\rma" +
"x_ast_depth\030$ \001(\0132\033.google.protobuf.Int6" +
"4ValueB\006\372\3071\002>0\022=\n\020max_ast_elements\030% \001(\013" +
"2\033.google.protobuf.Int64ValueB\006\372\3071\002>0\022F\n" +
"\031max_expanded_ast_elements\030& \001(\0132\033.googl" +
"e.protobuf.Int64ValueB\006\372\3071\002>0\022A\n\023min_exe" +
"cution_speed\030T \001(\0132\033.google.protobuf.Int" +
"64ValueB\007\372\3071\003>=0\022G\n\031min_execution_speed_" +
"bytes\030U \001(\0132\033.google.protobuf.Int64Value" +
"B\007\372\3071\003>=0\022o\n\035count_distinct_implementati" +
"on\030V \001(\0162H.yandex.cloud.mdb.clickhouse.v" +
"1.UserSettings.CountDistinctImplementati" +
"on\022M\n)input_format_values_interpret_expr" +
"essions\030= \001(\0132\032.google.protobuf.BoolValu" +
"e\022L\n(input_format_defaults_for_omitted_f" +
"ields\030> \001(\0132\032.google.protobuf.BoolValue\022" +
"@\n\034input_format_null_as_default\030j \001(\0132\032." +
"google.protobuf.BoolValue\022`\n\026date_time_i" +
"nput_format\030k \001(\[email protected]" +
"ckhouse.v1.UserSettings.DateTimeInputFor" +
"mat\022F\n\"input_format_with_names_use_heade" +
"r\030l \001(\0132\032.google.protobuf.BoolValue\022p\n\'o" +
"utput_format_json_quote_64bit_integers\030?" +
" \001(\0132\032.google.protobuf.BoolValueR#output" +
"FormatJsonQuote_64bitIntegers\022F\n\"output_" +
"format_json_quote_denormals\030@ \001(\0132\032.goog" +
"le.protobuf.BoolValue\022b\n\027date_time_outpu" +
"t_format\030m \001(\0162A.yandex.cloud.mdb.clickh" +
"ouse.v1.UserSettings.DateTimeOutputForma" +
"t\022J\n&low_cardinality_allow_in_native_for" +
"mat\030N \001(\0132\032.google.protobuf.BoolValue\022J\n" +
"&allow_suspicious_low_cardinality_types\030" +
"n \001(\0132\032.google.protobuf.BoolValue\022M\n)emp" +
"ty_result_for_aggregation_by_empty_set\030O" +
" \001(\0132\032.google.protobuf.BoolValue\022<\n\027http" +
"_connection_timeout\030A \001(\0132\033.google.proto" +
"buf.Int64Value\0229\n\024http_receive_timeout\030B" +
" \001(\0132\033.google.protobuf.Int64Value\0226\n\021htt" +
"p_send_timeout\030C \001(\0132\033.google.protobuf.I" +
"nt64Value\022;\n\027enable_http_compression\030D \001" +
"(\0132\032.google.protobuf.BoolValue\022A\n\035send_p" +
"rogress_in_http_headers\030E \001(\0132\032.google.p" +
"rotobuf.BoolValue\022C\n\036http_headers_progre" +
"ss_interval\030F \001(\0132\033.google.protobuf.Int6" +
"4Value\0228\n\024add_http_cors_header\030G \001(\0132\032.g" +
"oogle.protobuf.BoolValue\022P\n,cancel_http_" +
"readonly_queries_on_client_close\030o \001(\0132\032" +
".google.protobuf.BoolValue\022;\n\026max_http_g" +
"et_redirects\030p \001(\0132\033.google.protobuf.Int" +
"64Value\022B\n\036joined_subquery_requires_alia" +
"s\030] \001(\0132\032.google.protobuf.BoolValue\0222\n\016j" +
"oin_use_nulls\030^ \001(\0132\032.google.protobuf.Bo" +
"olValue\0225\n\021transform_null_in\030_ \001(\0132\032.goo" +
"gle.protobuf.BoolValue\022J\n\nquota_mode\030P \001" +
"(\01626.yandex.cloud.mdb.clickhouse.v1.User" +
"Settings.QuotaMode\0222\n\016flatten_nested\030q \001" +
"(\0132\032.google.protobuf.BoolValue\022\025\n\rformat" +
"_regexp\030r \001(\t\022j\n\033format_regexp_escaping_" +
"rule\030s \001(\0162E.yandex.cloud.mdb.clickhouse" +
".v1.UserSettings.FormatRegexpEscapingRul" +
"e\022@\n\034format_regexp_skip_unmatched\030t \001(\0132" +
"\032.google.protobuf.BoolValue\0220\n\014async_ins" +
"ert\030u \001(\0132\032.google.protobuf.BoolValue\0229\n" +
"\024async_insert_threads\030v \001(\0132\033.google.pro" +
"tobuf.Int64Value\0229\n\025wait_for_async_inser" +
"t\030w \001(\0132\032.google.protobuf.BoolValue\022B\n\035w" +
"ait_for_async_insert_timeout\030x \001(\0132\033.goo" +
"gle.protobuf.Int64Value\022?\n\032async_insert_" +
"max_data_size\030y \001(\0132\033.google.protobuf.In" +
"t64Value\022>\n\031async_insert_busy_timeout\030z " +
"\001(\0132\033.google.protobuf.Int64Value\022?\n\032asyn" +
"c_insert_stale_timeout\030{ \001(\0132\033.google.pr" +
"otobuf.Int64Value\0229\n\024memory_profiler_ste" +
"p\030| \001(\0132\033.google.protobuf.Int64Value\022H\n\"" +
"memory_profiler_sample_probability\030} \001(\013" +
"2\034.google.protobuf.DoubleValue\022?\n\021max_fi" +
"nal_threads\030~ \001(\0132\033.google.protobuf.Int6" +
"4ValueB\007\372\3071\003>=0\022A\n\035input_format_parallel" +
"_parsing\030\177 \001(\0132\032.google.protobuf.BoolVal" +
"ue\022D\n\037input_format_import_nested_json\030\200\001" +
" \001(\0132\032.google.protobuf.BoolValue\022m\n\034loca" +
"l_filesystem_read_method\030\201\001 \001(\0162F.yandex" +
".cloud.mdb.clickhouse.v1.UserSettings.Lo" +
"calFilesystemReadMethod\022B\n\024max_read_buff" +
"er_size\030\202\001 \001(\0132\033.google.protobuf.Int64Va" +
"lueB\006\372\3071\002>0\022/\n\007compile\030, \001(\0132\032.google.pr" +
"otobuf.BoolValueB\002\030\001\022=\n\024min_count_to_com" +
"pile\030- \001(\0132\033.google.protobuf.Int64ValueB" +
"\002\030\001\"_\n\014OverflowMode\022\035\n\031OVERFLOW_MODE_UNS" +
"PECIFIED\020\000\022\027\n\023OVERFLOW_MODE_THROW\020\001\022\027\n\023O" +
"VERFLOW_MODE_BREAK\020\002\"\241\001\n\023GroupByOverflow" +
"Mode\022&\n\"GROUP_BY_OVERFLOW_MODE_UNSPECIFI" +
"ED\020\000\022 \n\034GROUP_BY_OVERFLOW_MODE_THROW\020\001\022 " +
"\n\034GROUP_BY_OVERFLOW_MODE_BREAK\020\002\022\036\n\032GROU" +
"P_BY_OVERFLOW_MODE_ANY\020\003\"\322\001\n\026Distributed" +
"ProductMode\022(\n$DISTRIBUTED_PRODUCT_MODE_" +
"UNSPECIFIED\020\000\022!\n\035DISTRIBUTED_PRODUCT_MOD" +
"E_DENY\020\001\022\"\n\036DISTRIBUTED_PRODUCT_MODE_LOC" +
"AL\020\002\022#\n\037DISTRIBUTED_PRODUCT_MODE_GLOBAL\020" +
"\003\022\"\n\036DISTRIBUTED_PRODUCT_MODE_ALLOW\020\004\"q\n" +
"\tQuotaMode\022\032\n\026QUOTA_MODE_UNSPECIFIED\020\000\022\026" +
"\n\022QUOTA_MODE_DEFAULT\020\001\022\024\n\020QUOTA_MODE_KEY" +
"ED\020\002\022\032\n\026QUOTA_MODE_KEYED_BY_IP\020\003\"\266\002\n\033Cou" +
"ntDistinctImplementation\022-\n)COUNT_DISTIN" +
"CT_IMPLEMENTATION_UNSPECIFIED\020\000\022&\n\"COUNT" +
"_DISTINCT_IMPLEMENTATION_UNIQ\020\001\022/\n+COUNT" +
"_DISTINCT_IMPLEMENTATION_UNIQ_COMBINED\020\002" +
"\0222\n.COUNT_DISTINCT_IMPLEMENTATION_UNIQ_C" +
"OMBINED_64\020\003\022-\n)COUNT_DISTINCT_IMPLEMENT" +
"ATION_UNIQ_HLL_12\020\004\022,\n(COUNT_DISTINCT_IM" +
"PLEMENTATION_UNIQ_EXACT\020\005\"\220\002\n\rJoinAlgori" +
"thm\022\036\n\032JOIN_ALGORITHM_UNSPECIFIED\020\000\022\027\n\023J" +
"OIN_ALGORITHM_HASH\020\001\022 \n\034JOIN_ALGORITHM_P" +
"ARALLEL_HASH\020\002\022 \n\034JOIN_ALGORITHM_PARTIAL" +
"_MERGE\020\003\022\031\n\025JOIN_ALGORITHM_DIRECT\020\004\022\027\n\023J" +
"OIN_ALGORITHM_AUTO\020\005\022%\n!JOIN_ALGORITHM_F" +
"ULL_SORTING_MERGE\020\006\022\'\n#JOIN_ALGORITHM_PR" +
"EFER_PARTIAL_MERGE\020\007\"\255\002\n\030FormatRegexpEsc" +
"apingRule\022+\n\'FORMAT_REGEXP_ESCAPING_RULE" +
"_UNSPECIFIED\020\000\022\'\n#FORMAT_REGEXP_ESCAPING" +
"_RULE_ESCAPED\020\001\022&\n\"FORMAT_REGEXP_ESCAPIN" +
"G_RULE_QUOTED\020\002\022#\n\037FORMAT_REGEXP_ESCAPIN" +
"G_RULE_CSV\020\003\022$\n FORMAT_REGEXP_ESCAPING_R" +
"ULE_JSON\020\004\022#\n\037FORMAT_REGEXP_ESCAPING_RUL" +
"E_XML\020\005\022#\n\037FORMAT_REGEXP_ESCAPING_RULE_R" +
"AW\020\006\"\262\001\n\023DateTimeInputFormat\022&\n\"DATE_TIM" +
"E_INPUT_FORMAT_UNSPECIFIED\020\000\022&\n\"DATE_TIM" +
"E_INPUT_FORMAT_BEST_EFFORT\020\001\022 \n\034DATE_TIM" +
"E_INPUT_FORMAT_BASIC\020\002\022)\n%DATE_TIME_INPU" +
"T_FORMAT_BEST_EFFORT_US\020\003\"\260\001\n\024DateTimeOu" +
"tputFormat\022\'\n#DATE_TIME_OUTPUT_FORMAT_UN" +
"SPECIFIED\020\000\022\"\n\036DATE_TIME_OUTPUT_FORMAT_S" +
"IMPLE\020\001\022\037\n\033DATE_TIME_OUTPUT_FORMAT_ISO\020\002" +
"\022*\n&DATE_TIME_OUTPUT_FORMAT_UNIX_TIMESTA" +
"MP\020\003\"\362\001\n\031LocalFilesystemReadMethod\022,\n(LO" +
"CAL_FILESYSTEM_READ_METHOD_UNSPECIFIED\020\000" +
"\022%\n!LOCAL_FILESYSTEM_READ_METHOD_READ\020\001\022" +
"1\n-LOCAL_FILESYSTEM_READ_METHOD_PREAD_TH" +
"READPOOL\020\002\022&\n\"LOCAL_FILESYSTEM_READ_METH" +
"OD_PREAD\020\003\022%\n!LOCAL_FILESYSTEM_READ_METH" +
"OD_NMAP\020\004\"\356\002\n\tUserQuota\022B\n\021interval_dura" +
"tion\030\001 \001(\0132\033.google.protobuf.Int64ValueB" +
"\n\372\3071\006>=1000\0225\n\007queries\030\002 \001(\0132\033.google.pr" +
"otobuf.Int64ValueB\007\372\3071\003>=0\0224\n\006errors\030\003 \001" +
"(\0132\033.google.protobuf.Int64ValueB\007\372\3071\003>=0" +
"\0229\n\013result_rows\030\004 \001(\0132\033.google.protobuf." +
"Int64ValueB\007\372\3071\003>=0\0227\n\tread_rows\030\005 \001(\0132\033" +
".google.protobuf.Int64ValueB\007\372\3071\003>=0\022<\n\016" +
"execution_time\030\006 \001(\0132\033.google.protobuf.I" +
"nt64ValueB\007\372\3071\003>=0Bs\n\"yandex.cloud.api.m" +
"db.clickhouse.v1ZMgithub.com/yandex-clou" +
"d/go-genproto/yandex/cloud/mdb/clickhous" +
"e/v1;clickhouseb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.WrappersProto.getDescriptor(),
yandex.cloud.api.Validation.getDescriptor(),
});
internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_mdb_clickhouse_v1_User_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_clickhouse_v1_User_descriptor,
new java.lang.String[] { "Name", "ClusterId", "Permissions", "Settings", "Quotas", });
internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_clickhouse_v1_Permission_descriptor,
new java.lang.String[] { "DatabaseName", });
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSpec_descriptor,
new java.lang.String[] { "Name", "Password", "Permissions", "Settings", "Quotas", });
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_clickhouse_v1_UserSettings_descriptor,
new java.lang.String[] { "Readonly", "AllowDdl", "AllowIntrospectionFunctions", "ConnectTimeout", "ConnectTimeoutWithFailover", "ReceiveTimeout", "SendTimeout", "TimeoutBeforeCheckingExecutionSpeed", "InsertQuorum", "InsertQuorumTimeout", "InsertQuorumParallel", "InsertNullAsDefault", "SelectSequentialConsistency", "DeduplicateBlocksInDependentMaterializedViews", "ReplicationAlterPartitionsSync", "MaxReplicaDelayForDistributedQueries", "FallbackToStaleReplicasForDistributedQueries", "DistributedProductMode", "DistributedAggregationMemoryEfficient", "DistributedDdlTaskTimeout", "SkipUnavailableShards", "CompileExpressions", "MinCountToCompileExpression", "MaxBlockSize", "MinInsertBlockSizeRows", "MinInsertBlockSizeBytes", "MaxInsertBlockSize", "MinBytesToUseDirectIo", "UseUncompressedCache", "MergeTreeMaxRowsToUseCache", "MergeTreeMaxBytesToUseCache", "MergeTreeMinRowsForConcurrentRead", "MergeTreeMinBytesForConcurrentRead", "MaxBytesBeforeExternalGroupBy", "MaxBytesBeforeExternalSort", "GroupByTwoLevelThreshold", "GroupByTwoLevelThresholdBytes", "Priority", "MaxThreads", "MaxMemoryUsage", "MaxMemoryUsageForUser", "MaxNetworkBandwidth", "MaxNetworkBandwidthForUser", "MaxPartitionsPerInsertBlock", "MaxConcurrentQueriesForUser", "ForceIndexByDate", "ForcePrimaryKey", "MaxRowsToRead", "MaxBytesToRead", "ReadOverflowMode", "MaxRowsToGroupBy", "GroupByOverflowMode", "MaxRowsToSort", "MaxBytesToSort", "SortOverflowMode", "MaxResultRows", "MaxResultBytes", "ResultOverflowMode", "MaxRowsInDistinct", "MaxBytesInDistinct", "DistinctOverflowMode", "MaxRowsToTransfer", "MaxBytesToTransfer", "TransferOverflowMode", "MaxExecutionTime", "TimeoutOverflowMode", "MaxRowsInSet", "MaxBytesInSet", "SetOverflowMode", "MaxRowsInJoin", "MaxBytesInJoin", "JoinOverflowMode", "JoinAlgorithm", "AnyJoinDistinctRightTableKeys", "MaxColumnsToRead", "MaxTemporaryColumns", "MaxTemporaryNonConstColumns", "MaxQuerySize", "MaxAstDepth", "MaxAstElements", "MaxExpandedAstElements", "MinExecutionSpeed", "MinExecutionSpeedBytes", "CountDistinctImplementation", "InputFormatValuesInterpretExpressions", "InputFormatDefaultsForOmittedFields", "InputFormatNullAsDefault", "DateTimeInputFormat", "InputFormatWithNamesUseHeader", "OutputFormatJsonQuote64BitIntegers", "OutputFormatJsonQuoteDenormals", "DateTimeOutputFormat", "LowCardinalityAllowInNativeFormat", "AllowSuspiciousLowCardinalityTypes", "EmptyResultForAggregationByEmptySet", "HttpConnectionTimeout", "HttpReceiveTimeout", "HttpSendTimeout", "EnableHttpCompression", "SendProgressInHttpHeaders", "HttpHeadersProgressInterval", "AddHttpCorsHeader", "CancelHttpReadonlyQueriesOnClientClose", "MaxHttpGetRedirects", "JoinedSubqueryRequiresAlias", "JoinUseNulls", "TransformNullIn", "QuotaMode", "FlattenNested", "FormatRegexp", "FormatRegexpEscapingRule", "FormatRegexpSkipUnmatched", "AsyncInsert", "AsyncInsertThreads", "WaitForAsyncInsert", "WaitForAsyncInsertTimeout", "AsyncInsertMaxDataSize", "AsyncInsertBusyTimeout", "AsyncInsertStaleTimeout", "MemoryProfilerStep", "MemoryProfilerSampleProbability", "MaxFinalThreads", "InputFormatParallelParsing", "InputFormatImportNestedJson", "LocalFilesystemReadMethod", "MaxReadBufferSize", "Compile", "MinCountToCompile", });
internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_clickhouse_v1_UserQuota_descriptor,
new java.lang.String[] { "IntervalDuration", "Queries", "Errors", "ResultRows", "ReadRows", "ExecutionTime", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(yandex.cloud.api.Validation.length);
registry.add(yandex.cloud.api.Validation.pattern);
registry.add(yandex.cloud.api.Validation.required);
registry.add(yandex.cloud.api.Validation.value);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.protobuf.WrappersProto.getDescriptor();
yandex.cloud.api.Validation.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy