All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto

package yandex.cloud.api.mdb.clickhouse.v1.config;

public final class Clickhouse {
  private Clickhouse() {}
  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 ClickhouseConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The enum numeric value on the wire for logLevel. */ int getLogLevelValue(); /** *
     * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The logLevel. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getLogLevel(); /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return Whether the mergeTree field is set. */ boolean hasMergeTree(); /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return The mergeTree. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree getMergeTree(); /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder getMergeTreeOrBuilder(); /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ java.util.List getCompressionList(); /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression getCompression(int index); /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ int getCompressionCount(); /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ java.util.List getCompressionOrBuilderList(); /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder getCompressionOrBuilder( int index); /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ java.util.List getDictionariesList(); /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDictionaries(int index); /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ int getDictionariesCount(); /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ java.util.List getDictionariesOrBuilderList(); /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder getDictionariesOrBuilder( int index); /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ java.util.List getGraphiteRollupList(); /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup getGraphiteRollup(int index); /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ int getGraphiteRollupCount(); /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ java.util.List getGraphiteRollupOrBuilderList(); /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder getGraphiteRollupOrBuilder( int index); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return Whether the kafka field is set. */ boolean hasKafka(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return The kafka. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getKafka(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getKafkaOrBuilder(); /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ java.util.List getKafkaTopicsList(); /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic getKafkaTopics(int index); /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ int getKafkaTopicsCount(); /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ java.util.List getKafkaTopicsOrBuilderList(); /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder getKafkaTopicsOrBuilder( int index); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return Whether the rabbitmq field is set. */ boolean hasRabbitmq(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return The rabbitmq. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq getRabbitmq(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder getRabbitmqOrBuilder(); /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConnections field is set. */ boolean hasMaxConnections(); /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return The maxConnections. */ com.google.protobuf.Int64Value getMaxConnections(); /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ com.google.protobuf.Int64ValueOrBuilder getMaxConnectionsOrBuilder(); /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConcurrentQueries field is set. */ boolean hasMaxConcurrentQueries(); /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return The maxConcurrentQueries. */ com.google.protobuf.Int64Value getMaxConcurrentQueries(); /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesOrBuilder(); /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return Whether the keepAliveTimeout field is set. */ boolean hasKeepAliveTimeout(); /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return The keepAliveTimeout. */ com.google.protobuf.Int64Value getKeepAliveTimeout(); /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ com.google.protobuf.Int64ValueOrBuilder getKeepAliveTimeoutOrBuilder(); /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return Whether the uncompressedCacheSize field is set. */ boolean hasUncompressedCacheSize(); /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return The uncompressedCacheSize. */ com.google.protobuf.Int64Value getUncompressedCacheSize(); /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ com.google.protobuf.Int64ValueOrBuilder getUncompressedCacheSizeOrBuilder(); /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return Whether the markCacheSize field is set. */ boolean hasMarkCacheSize(); /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return The markCacheSize. */ com.google.protobuf.Int64Value getMarkCacheSize(); /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getMarkCacheSizeOrBuilder(); /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return Whether the maxTableSizeToDrop field is set. */ boolean hasMaxTableSizeToDrop(); /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return The maxTableSizeToDrop. */ com.google.protobuf.Int64Value getMaxTableSizeToDrop(); /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ com.google.protobuf.Int64ValueOrBuilder getMaxTableSizeToDropOrBuilder(); /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return Whether the maxPartitionSizeToDrop field is set. */ boolean hasMaxPartitionSizeToDrop(); /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return The maxPartitionSizeToDrop. */ com.google.protobuf.Int64Value getMaxPartitionSizeToDrop(); /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ com.google.protobuf.Int64ValueOrBuilder getMaxPartitionSizeToDropOrBuilder(); /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return Whether the builtinDictionariesReloadInterval field is set. */ @java.lang.Deprecated boolean hasBuiltinDictionariesReloadInterval(); /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return The builtinDictionariesReloadInterval. */ @java.lang.Deprecated com.google.protobuf.Int64Value getBuiltinDictionariesReloadInterval(); /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated com.google.protobuf.Int64ValueOrBuilder getBuiltinDictionariesReloadIntervalOrBuilder(); /** *
     * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
     * 
* * string timezone = 14; * @return The timezone. */ java.lang.String getTimezone(); /** *
     * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
     * 
* * string timezone = 14; * @return The bytes for timezone. */ com.google.protobuf.ByteString getTimezoneBytes(); /** *
     * Address of the archive with the user geobase in Object Storage.
     * 
* * string geobase_uri = 15; * @return The geobaseUri. */ java.lang.String getGeobaseUri(); /** *
     * Address of the archive with the user geobase in Object Storage.
     * 
* * string geobase_uri = 15; * @return The bytes for geobaseUri. */ com.google.protobuf.ByteString getGeobaseUriBytes(); /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return Whether the queryLogRetentionSize field is set. */ boolean hasQueryLogRetentionSize(); /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return The queryLogRetentionSize. */ com.google.protobuf.Int64Value getQueryLogRetentionSize(); /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionSizeOrBuilder(); /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return Whether the queryLogRetentionTime field is set. */ boolean hasQueryLogRetentionTime(); /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return The queryLogRetentionTime. */ com.google.protobuf.Int64Value getQueryLogRetentionTime(); /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionTimeOrBuilder(); /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return Whether the queryThreadLogEnabled field is set. */ boolean hasQueryThreadLogEnabled(); /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return The queryThreadLogEnabled. */ com.google.protobuf.BoolValue getQueryThreadLogEnabled(); /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ com.google.protobuf.BoolValueOrBuilder getQueryThreadLogEnabledOrBuilder(); /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return Whether the queryThreadLogRetentionSize field is set. */ boolean hasQueryThreadLogRetentionSize(); /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return The queryThreadLogRetentionSize. */ com.google.protobuf.Int64Value getQueryThreadLogRetentionSize(); /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionSizeOrBuilder(); /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return Whether the queryThreadLogRetentionTime field is set. */ boolean hasQueryThreadLogRetentionTime(); /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return The queryThreadLogRetentionTime. */ com.google.protobuf.Int64Value getQueryThreadLogRetentionTime(); /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionTimeOrBuilder(); /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return Whether the partLogRetentionSize field is set. */ boolean hasPartLogRetentionSize(); /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return The partLogRetentionSize. */ com.google.protobuf.Int64Value getPartLogRetentionSize(); /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionSizeOrBuilder(); /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return Whether the partLogRetentionTime field is set. */ boolean hasPartLogRetentionTime(); /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return The partLogRetentionTime. */ com.google.protobuf.Int64Value getPartLogRetentionTime(); /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionTimeOrBuilder(); /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return Whether the metricLogEnabled field is set. */ boolean hasMetricLogEnabled(); /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return The metricLogEnabled. */ com.google.protobuf.BoolValue getMetricLogEnabled(); /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ com.google.protobuf.BoolValueOrBuilder getMetricLogEnabledOrBuilder(); /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return Whether the metricLogRetentionSize field is set. */ boolean hasMetricLogRetentionSize(); /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return The metricLogRetentionSize. */ com.google.protobuf.Int64Value getMetricLogRetentionSize(); /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionSizeOrBuilder(); /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return Whether the metricLogRetentionTime field is set. */ boolean hasMetricLogRetentionTime(); /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return The metricLogRetentionTime. */ com.google.protobuf.Int64Value getMetricLogRetentionTime(); /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionTimeOrBuilder(); /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return Whether the traceLogEnabled field is set. */ boolean hasTraceLogEnabled(); /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return The traceLogEnabled. */ com.google.protobuf.BoolValue getTraceLogEnabled(); /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ com.google.protobuf.BoolValueOrBuilder getTraceLogEnabledOrBuilder(); /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return Whether the traceLogRetentionSize field is set. */ boolean hasTraceLogRetentionSize(); /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return The traceLogRetentionSize. */ com.google.protobuf.Int64Value getTraceLogRetentionSize(); /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionSizeOrBuilder(); /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return Whether the traceLogRetentionTime field is set. */ boolean hasTraceLogRetentionTime(); /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return The traceLogRetentionTime. */ com.google.protobuf.Int64Value getTraceLogRetentionTime(); /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionTimeOrBuilder(); /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return Whether the textLogEnabled field is set. */ boolean hasTextLogEnabled(); /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return The textLogEnabled. */ com.google.protobuf.BoolValue getTextLogEnabled(); /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ com.google.protobuf.BoolValueOrBuilder getTextLogEnabledOrBuilder(); /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return Whether the textLogRetentionSize field is set. */ boolean hasTextLogRetentionSize(); /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return The textLogRetentionSize. */ com.google.protobuf.Int64Value getTextLogRetentionSize(); /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionSizeOrBuilder(); /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return Whether the textLogRetentionTime field is set. */ boolean hasTextLogRetentionTime(); /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return The textLogRetentionTime. */ com.google.protobuf.Int64Value getTextLogRetentionTime(); /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionTimeOrBuilder(); /** *
     * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The enum numeric value on the wire for textLogLevel. */ int getTextLogLevelValue(); /** *
     * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The textLogLevel. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getTextLogLevel(); /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return Whether the opentelemetrySpanLogEnabled field is set. */ boolean hasOpentelemetrySpanLogEnabled(); /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return The opentelemetrySpanLogEnabled. */ com.google.protobuf.BoolValue getOpentelemetrySpanLogEnabled(); /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ com.google.protobuf.BoolValueOrBuilder getOpentelemetrySpanLogEnabledOrBuilder(); /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundPoolSize field is set. */ boolean hasBackgroundPoolSize(); /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return The backgroundPoolSize. */ com.google.protobuf.Int64Value getBackgroundPoolSize(); /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundPoolSizeOrBuilder(); /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundSchedulePoolSize field is set. */ boolean hasBackgroundSchedulePoolSize(); /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return The backgroundSchedulePoolSize. */ com.google.protobuf.Int64Value getBackgroundSchedulePoolSize(); /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundSchedulePoolSizeOrBuilder(); /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundFetchesPoolSize field is set. */ boolean hasBackgroundFetchesPoolSize(); /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return The backgroundFetchesPoolSize. */ com.google.protobuf.Int64Value getBackgroundFetchesPoolSize(); /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundFetchesPoolSizeOrBuilder(); /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMovePoolSize field is set. */ boolean hasBackgroundMovePoolSize(); /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMovePoolSize. */ com.google.protobuf.Int64Value getBackgroundMovePoolSize(); /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundMovePoolSizeOrBuilder(); /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundDistributedSchedulePoolSize field is set. */ boolean hasBackgroundDistributedSchedulePoolSize(); /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return The backgroundDistributedSchedulePoolSize. */ com.google.protobuf.Int64Value getBackgroundDistributedSchedulePoolSize(); /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundDistributedSchedulePoolSizeOrBuilder(); /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundBufferFlushSchedulePoolSize field is set. */ boolean hasBackgroundBufferFlushSchedulePoolSize(); /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return The backgroundBufferFlushSchedulePoolSize. */ com.google.protobuf.Int64Value getBackgroundBufferFlushSchedulePoolSize(); /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundBufferFlushSchedulePoolSizeOrBuilder(); /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMessageBrokerSchedulePoolSize field is set. */ boolean hasBackgroundMessageBrokerSchedulePoolSize(); /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMessageBrokerSchedulePoolSize. */ com.google.protobuf.Int64Value getBackgroundMessageBrokerSchedulePoolSize(); /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getBackgroundMessageBrokerSchedulePoolSizeOrBuilder(); /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; * @return Whether the defaultDatabase field is set. */ boolean hasDefaultDatabase(); /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; * @return The defaultDatabase. */ com.google.protobuf.StringValue getDefaultDatabase(); /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; */ com.google.protobuf.StringValueOrBuilder getDefaultDatabaseOrBuilder(); /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return Whether the totalMemoryProfilerStep field is set. */ boolean hasTotalMemoryProfilerStep(); /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return The totalMemoryProfilerStep. */ com.google.protobuf.Int64Value getTotalMemoryProfilerStep(); /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ com.google.protobuf.Int64ValueOrBuilder getTotalMemoryProfilerStepOrBuilder(); /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return Whether the totalMemoryTrackerSampleProbability field is set. */ boolean hasTotalMemoryTrackerSampleProbability(); /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return The totalMemoryTrackerSampleProbability. */ com.google.protobuf.DoubleValue getTotalMemoryTrackerSampleProbability(); /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ com.google.protobuf.DoubleValueOrBuilder getTotalMemoryTrackerSampleProbabilityOrBuilder(); } /** *
   * ClickHouse configuration options. Detailed description for each set of options
   * is available in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/).
   * Any options not listed here are not supported.
   * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig} */ public static final class ClickhouseConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig) ClickhouseConfigOrBuilder { private static final long serialVersionUID = 0L; // Use ClickhouseConfig.newBuilder() to construct. private ClickhouseConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClickhouseConfig() { logLevel_ = 0; compression_ = java.util.Collections.emptyList(); dictionaries_ = java.util.Collections.emptyList(); graphiteRollup_ = java.util.Collections.emptyList(); kafkaTopics_ = java.util.Collections.emptyList(); timezone_ = ""; geobaseUri_ = ""; textLogLevel_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClickhouseConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClickhouseConfig( 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 8: { int rawValue = input.readEnum(); logLevel_ = rawValue; break; } case 18: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder subBuilder = null; if (mergeTree_ != null) { subBuilder = mergeTree_.toBuilder(); } mergeTree_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mergeTree_); mergeTree_ = subBuilder.buildPartial(); } break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { compression_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } compression_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.parser(), extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000002) != 0)) { dictionaries_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } dictionaries_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.parser(), extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000004) != 0)) { graphiteRollup_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } graphiteRollup_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.parser(), extensionRegistry)); break; } case 50: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxConnections_ != null) { subBuilder = maxConnections_.toBuilder(); } maxConnections_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxConnections_); maxConnections_ = subBuilder.buildPartial(); } break; } case 58: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxConcurrentQueries_ != null) { subBuilder = maxConcurrentQueries_.toBuilder(); } maxConcurrentQueries_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxConcurrentQueries_); maxConcurrentQueries_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (keepAliveTimeout_ != null) { subBuilder = keepAliveTimeout_.toBuilder(); } keepAliveTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(keepAliveTimeout_); keepAliveTimeout_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (uncompressedCacheSize_ != null) { subBuilder = uncompressedCacheSize_.toBuilder(); } uncompressedCacheSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(uncompressedCacheSize_); uncompressedCacheSize_ = subBuilder.buildPartial(); } break; } case 82: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (markCacheSize_ != null) { subBuilder = markCacheSize_.toBuilder(); } markCacheSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(markCacheSize_); markCacheSize_ = subBuilder.buildPartial(); } break; } case 90: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxTableSizeToDrop_ != null) { subBuilder = maxTableSizeToDrop_.toBuilder(); } maxTableSizeToDrop_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxTableSizeToDrop_); maxTableSizeToDrop_ = subBuilder.buildPartial(); } break; } case 98: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (builtinDictionariesReloadInterval_ != null) { subBuilder = builtinDictionariesReloadInterval_.toBuilder(); } builtinDictionariesReloadInterval_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(builtinDictionariesReloadInterval_); builtinDictionariesReloadInterval_ = subBuilder.buildPartial(); } break; } case 106: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxPartitionSizeToDrop_ != null) { subBuilder = maxPartitionSizeToDrop_.toBuilder(); } maxPartitionSizeToDrop_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxPartitionSizeToDrop_); maxPartitionSizeToDrop_ = subBuilder.buildPartial(); } break; } case 114: { java.lang.String s = input.readStringRequireUtf8(); timezone_ = s; break; } case 122: { java.lang.String s = input.readStringRequireUtf8(); geobaseUri_ = s; break; } case 130: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (queryLogRetentionSize_ != null) { subBuilder = queryLogRetentionSize_.toBuilder(); } queryLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryLogRetentionSize_); queryLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 138: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (queryLogRetentionTime_ != null) { subBuilder = queryLogRetentionTime_.toBuilder(); } queryLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryLogRetentionTime_); queryLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 146: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (queryThreadLogEnabled_ != null) { subBuilder = queryThreadLogEnabled_.toBuilder(); } queryThreadLogEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryThreadLogEnabled_); queryThreadLogEnabled_ = subBuilder.buildPartial(); } break; } case 154: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (queryThreadLogRetentionSize_ != null) { subBuilder = queryThreadLogRetentionSize_.toBuilder(); } queryThreadLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryThreadLogRetentionSize_); queryThreadLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 162: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (queryThreadLogRetentionTime_ != null) { subBuilder = queryThreadLogRetentionTime_.toBuilder(); } queryThreadLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(queryThreadLogRetentionTime_); queryThreadLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 170: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (partLogRetentionSize_ != null) { subBuilder = partLogRetentionSize_.toBuilder(); } partLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partLogRetentionSize_); partLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 178: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (partLogRetentionTime_ != null) { subBuilder = partLogRetentionTime_.toBuilder(); } partLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partLogRetentionTime_); partLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 186: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (metricLogEnabled_ != null) { subBuilder = metricLogEnabled_.toBuilder(); } metricLogEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metricLogEnabled_); metricLogEnabled_ = subBuilder.buildPartial(); } break; } case 194: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (metricLogRetentionSize_ != null) { subBuilder = metricLogRetentionSize_.toBuilder(); } metricLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metricLogRetentionSize_); metricLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 202: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (metricLogRetentionTime_ != null) { subBuilder = metricLogRetentionTime_.toBuilder(); } metricLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(metricLogRetentionTime_); metricLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 210: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (traceLogEnabled_ != null) { subBuilder = traceLogEnabled_.toBuilder(); } traceLogEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(traceLogEnabled_); traceLogEnabled_ = subBuilder.buildPartial(); } break; } case 218: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (traceLogRetentionSize_ != null) { subBuilder = traceLogRetentionSize_.toBuilder(); } traceLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(traceLogRetentionSize_); traceLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 226: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (traceLogRetentionTime_ != null) { subBuilder = traceLogRetentionTime_.toBuilder(); } traceLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(traceLogRetentionTime_); traceLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 234: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (textLogEnabled_ != null) { subBuilder = textLogEnabled_.toBuilder(); } textLogEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(textLogEnabled_); textLogEnabled_ = subBuilder.buildPartial(); } break; } case 242: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (textLogRetentionSize_ != null) { subBuilder = textLogRetentionSize_.toBuilder(); } textLogRetentionSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(textLogRetentionSize_); textLogRetentionSize_ = subBuilder.buildPartial(); } break; } case 250: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (textLogRetentionTime_ != null) { subBuilder = textLogRetentionTime_.toBuilder(); } textLogRetentionTime_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(textLogRetentionTime_); textLogRetentionTime_ = subBuilder.buildPartial(); } break; } case 256: { int rawValue = input.readEnum(); textLogLevel_ = rawValue; break; } case 266: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundPoolSize_ != null) { subBuilder = backgroundPoolSize_.toBuilder(); } backgroundPoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundPoolSize_); backgroundPoolSize_ = subBuilder.buildPartial(); } break; } case 274: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundSchedulePoolSize_ != null) { subBuilder = backgroundSchedulePoolSize_.toBuilder(); } backgroundSchedulePoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundSchedulePoolSize_); backgroundSchedulePoolSize_ = subBuilder.buildPartial(); } break; } case 282: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder subBuilder = null; if (kafka_ != null) { subBuilder = kafka_.toBuilder(); } kafka_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(kafka_); kafka_ = subBuilder.buildPartial(); } break; } case 290: { if (!((mutable_bitField0_ & 0x00000008) != 0)) { kafkaTopics_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } kafkaTopics_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.parser(), extensionRegistry)); break; } case 298: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder subBuilder = null; if (rabbitmq_ != null) { subBuilder = rabbitmq_.toBuilder(); } rabbitmq_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rabbitmq_); rabbitmq_ = subBuilder.buildPartial(); } break; } case 306: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundFetchesPoolSize_ != null) { subBuilder = backgroundFetchesPoolSize_.toBuilder(); } backgroundFetchesPoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundFetchesPoolSize_); backgroundFetchesPoolSize_ = subBuilder.buildPartial(); } break; } case 314: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundMovePoolSize_ != null) { subBuilder = backgroundMovePoolSize_.toBuilder(); } backgroundMovePoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundMovePoolSize_); backgroundMovePoolSize_ = subBuilder.buildPartial(); } break; } case 322: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundDistributedSchedulePoolSize_ != null) { subBuilder = backgroundDistributedSchedulePoolSize_.toBuilder(); } backgroundDistributedSchedulePoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundDistributedSchedulePoolSize_); backgroundDistributedSchedulePoolSize_ = subBuilder.buildPartial(); } break; } case 330: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundBufferFlushSchedulePoolSize_ != null) { subBuilder = backgroundBufferFlushSchedulePoolSize_.toBuilder(); } backgroundBufferFlushSchedulePoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundBufferFlushSchedulePoolSize_); backgroundBufferFlushSchedulePoolSize_ = subBuilder.buildPartial(); } break; } case 338: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (opentelemetrySpanLogEnabled_ != null) { subBuilder = opentelemetrySpanLogEnabled_.toBuilder(); } opentelemetrySpanLogEnabled_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(opentelemetrySpanLogEnabled_); opentelemetrySpanLogEnabled_ = subBuilder.buildPartial(); } break; } case 346: { com.google.protobuf.StringValue.Builder subBuilder = null; if (defaultDatabase_ != null) { subBuilder = defaultDatabase_.toBuilder(); } defaultDatabase_ = input.readMessage(com.google.protobuf.StringValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultDatabase_); defaultDatabase_ = subBuilder.buildPartial(); } break; } case 354: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (totalMemoryProfilerStep_ != null) { subBuilder = totalMemoryProfilerStep_.toBuilder(); } totalMemoryProfilerStep_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalMemoryProfilerStep_); totalMemoryProfilerStep_ = subBuilder.buildPartial(); } break; } case 362: { com.google.protobuf.DoubleValue.Builder subBuilder = null; if (totalMemoryTrackerSampleProbability_ != null) { subBuilder = totalMemoryTrackerSampleProbability_.toBuilder(); } totalMemoryTrackerSampleProbability_ = input.readMessage(com.google.protobuf.DoubleValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(totalMemoryTrackerSampleProbability_); totalMemoryTrackerSampleProbability_ = subBuilder.buildPartial(); } break; } case 370: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (backgroundMessageBrokerSchedulePoolSize_ != null) { subBuilder = backgroundMessageBrokerSchedulePoolSize_.toBuilder(); } backgroundMessageBrokerSchedulePoolSize_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(backgroundMessageBrokerSchedulePoolSize_); backgroundMessageBrokerSchedulePoolSize_ = 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)) { compression_ = java.util.Collections.unmodifiableList(compression_); } if (((mutable_bitField0_ & 0x00000002) != 0)) { dictionaries_ = java.util.Collections.unmodifiableList(dictionaries_); } if (((mutable_bitField0_ & 0x00000004) != 0)) { graphiteRollup_ = java.util.Collections.unmodifiableList(graphiteRollup_); } if (((mutable_bitField0_ & 0x00000008) != 0)) { kafkaTopics_ = java.util.Collections.unmodifiableList(kafkaTopics_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel} */ public enum LogLevel implements com.google.protobuf.ProtocolMessageEnum { /** * LOG_LEVEL_UNSPECIFIED = 0; */ LOG_LEVEL_UNSPECIFIED(0), /** * TRACE = 1; */ TRACE(1), /** * DEBUG = 2; */ DEBUG(2), /** * INFORMATION = 3; */ INFORMATION(3), /** * WARNING = 4; */ WARNING(4), /** * ERROR = 5; */ ERROR(5), UNRECOGNIZED(-1), ; /** * LOG_LEVEL_UNSPECIFIED = 0; */ public static final int LOG_LEVEL_UNSPECIFIED_VALUE = 0; /** * TRACE = 1; */ public static final int TRACE_VALUE = 1; /** * DEBUG = 2; */ public static final int DEBUG_VALUE = 2; /** * INFORMATION = 3; */ public static final int INFORMATION_VALUE = 3; /** * WARNING = 4; */ public static final int WARNING_VALUE = 4; /** * ERROR = 5; */ public static final int ERROR_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 LogLevel 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 LogLevel forNumber(int value) { switch (value) { case 0: return LOG_LEVEL_UNSPECIFIED; case 1: return TRACE; case 2: return DEBUG; case 3: return INFORMATION; case 4: return WARNING; case 5: return ERROR; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< LogLevel> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public LogLevel findValueByNumber(int number) { return LogLevel.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.config.Clickhouse.ClickhouseConfig.getDescriptor().getEnumTypes().get(0); } private static final LogLevel[] VALUES = values(); public static LogLevel 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 LogLevel(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel) } public interface MergeTreeOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree) com.google.protobuf.MessageOrBuilder { /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return Whether the replicatedDeduplicationWindow field is set. */ boolean hasReplicatedDeduplicationWindow(); /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return The replicatedDeduplicationWindow. */ com.google.protobuf.Int64Value getReplicatedDeduplicationWindow(); /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowOrBuilder(); /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return Whether the replicatedDeduplicationWindowSeconds field is set. */ boolean hasReplicatedDeduplicationWindowSeconds(); /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return The replicatedDeduplicationWindowSeconds. */ com.google.protobuf.Int64Value getReplicatedDeduplicationWindowSeconds(); /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowSecondsOrBuilder(); /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return Whether the partsToDelayInsert field is set. */ boolean hasPartsToDelayInsert(); /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return The partsToDelayInsert. */ com.google.protobuf.Int64Value getPartsToDelayInsert(); /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ com.google.protobuf.Int64ValueOrBuilder getPartsToDelayInsertOrBuilder(); /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return Whether the partsToThrowInsert field is set. */ boolean hasPartsToThrowInsert(); /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return The partsToThrowInsert. */ com.google.protobuf.Int64Value getPartsToThrowInsert(); /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ com.google.protobuf.Int64ValueOrBuilder getPartsToThrowInsertOrBuilder(); /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return Whether the inactivePartsToDelayInsert field is set. */ boolean hasInactivePartsToDelayInsert(); /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return The inactivePartsToDelayInsert. */ com.google.protobuf.Int64Value getInactivePartsToDelayInsert(); /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ com.google.protobuf.Int64ValueOrBuilder getInactivePartsToDelayInsertOrBuilder(); /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return Whether the inactivePartsToThrowInsert field is set. */ boolean hasInactivePartsToThrowInsert(); /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return The inactivePartsToThrowInsert. */ com.google.protobuf.Int64Value getInactivePartsToThrowInsert(); /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ com.google.protobuf.Int64ValueOrBuilder getInactivePartsToThrowInsertOrBuilder(); /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return Whether the maxReplicatedMergesInQueue field is set. */ boolean hasMaxReplicatedMergesInQueue(); /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return The maxReplicatedMergesInQueue. */ com.google.protobuf.Int64Value getMaxReplicatedMergesInQueue(); /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ com.google.protobuf.Int64ValueOrBuilder getMaxReplicatedMergesInQueueOrBuilder(); /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return Whether the numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge field is set. */ boolean hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(); /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return The numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge. */ com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(); /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeOrBuilder(); /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return Whether the maxBytesToMergeAtMinSpaceInPool field is set. */ boolean hasMaxBytesToMergeAtMinSpaceInPool(); /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return The maxBytesToMergeAtMinSpaceInPool. */ com.google.protobuf.Int64Value getMaxBytesToMergeAtMinSpaceInPool(); /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMinSpaceInPoolOrBuilder(); /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return Whether the maxBytesToMergeAtMaxSpaceInPool field is set. */ boolean hasMaxBytesToMergeAtMaxSpaceInPool(); /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return The maxBytesToMergeAtMaxSpaceInPool. */ com.google.protobuf.Int64Value getMaxBytesToMergeAtMaxSpaceInPool(); /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMaxSpaceInPoolOrBuilder(); /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return Whether the minBytesForWidePart field is set. */ boolean hasMinBytesForWidePart(); /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return The minBytesForWidePart. */ com.google.protobuf.Int64Value getMinBytesForWidePart(); /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ com.google.protobuf.Int64ValueOrBuilder getMinBytesForWidePartOrBuilder(); /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return Whether the minRowsForWidePart field is set. */ boolean hasMinRowsForWidePart(); /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return The minRowsForWidePart. */ com.google.protobuf.Int64Value getMinRowsForWidePart(); /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ com.google.protobuf.Int64ValueOrBuilder getMinRowsForWidePartOrBuilder(); /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return Whether the ttlOnlyDropParts field is set. */ boolean hasTtlOnlyDropParts(); /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return The ttlOnlyDropParts. */ com.google.protobuf.BoolValue getTtlOnlyDropParts(); /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ com.google.protobuf.BoolValueOrBuilder getTtlOnlyDropPartsOrBuilder(); /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return Whether the allowRemoteFsZeroCopyReplication field is set. */ boolean hasAllowRemoteFsZeroCopyReplication(); /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return The allowRemoteFsZeroCopyReplication. */ com.google.protobuf.BoolValue getAllowRemoteFsZeroCopyReplication(); /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ com.google.protobuf.BoolValueOrBuilder getAllowRemoteFsZeroCopyReplicationOrBuilder(); /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return Whether the mergeWithTtlTimeout field is set. */ boolean hasMergeWithTtlTimeout(); /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return The mergeWithTtlTimeout. */ com.google.protobuf.Int64Value getMergeWithTtlTimeout(); /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ com.google.protobuf.Int64ValueOrBuilder getMergeWithTtlTimeoutOrBuilder(); /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return Whether the mergeWithRecompressionTtlTimeout field is set. */ boolean hasMergeWithRecompressionTtlTimeout(); /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return The mergeWithRecompressionTtlTimeout. */ com.google.protobuf.Int64Value getMergeWithRecompressionTtlTimeout(); /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ com.google.protobuf.Int64ValueOrBuilder getMergeWithRecompressionTtlTimeoutOrBuilder(); /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return Whether the maxPartsInTotal field is set. */ boolean hasMaxPartsInTotal(); /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return The maxPartsInTotal. */ com.google.protobuf.Int64Value getMaxPartsInTotal(); /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ com.google.protobuf.Int64ValueOrBuilder getMaxPartsInTotalOrBuilder(); /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return Whether the maxNumberOfMergesWithTtlInPool field is set. */ boolean hasMaxNumberOfMergesWithTtlInPool(); /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return The maxNumberOfMergesWithTtlInPool. */ com.google.protobuf.Int64Value getMaxNumberOfMergesWithTtlInPool(); /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ com.google.protobuf.Int64ValueOrBuilder getMaxNumberOfMergesWithTtlInPoolOrBuilder(); /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return Whether the cleanupDelayPeriod field is set. */ boolean hasCleanupDelayPeriod(); /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return The cleanupDelayPeriod. */ com.google.protobuf.Int64Value getCleanupDelayPeriod(); /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ com.google.protobuf.Int64ValueOrBuilder getCleanupDelayPeriodOrBuilder(); /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return Whether the numberOfFreeEntriesInPoolToExecuteMutation field is set. */ boolean hasNumberOfFreeEntriesInPoolToExecuteMutation(); /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return The numberOfFreeEntriesInPoolToExecuteMutation. */ com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToExecuteMutation(); /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToExecuteMutationOrBuilder(); } /** *
     * Options specific to the MergeTree table engine.
     * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree} */ public static final class MergeTree extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree) MergeTreeOrBuilder { private static final long serialVersionUID = 0L; // Use MergeTree.newBuilder() to construct. private MergeTree(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MergeTree() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MergeTree(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MergeTree( 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 (replicatedDeduplicationWindow_ != null) { subBuilder = replicatedDeduplicationWindow_.toBuilder(); } replicatedDeduplicationWindow_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(replicatedDeduplicationWindow_); replicatedDeduplicationWindow_ = subBuilder.buildPartial(); } break; } case 18: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (replicatedDeduplicationWindowSeconds_ != null) { subBuilder = replicatedDeduplicationWindowSeconds_.toBuilder(); } replicatedDeduplicationWindowSeconds_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(replicatedDeduplicationWindowSeconds_); replicatedDeduplicationWindowSeconds_ = subBuilder.buildPartial(); } break; } case 26: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (partsToDelayInsert_ != null) { subBuilder = partsToDelayInsert_.toBuilder(); } partsToDelayInsert_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partsToDelayInsert_); partsToDelayInsert_ = subBuilder.buildPartial(); } break; } case 34: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (partsToThrowInsert_ != null) { subBuilder = partsToThrowInsert_.toBuilder(); } partsToThrowInsert_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(partsToThrowInsert_); partsToThrowInsert_ = subBuilder.buildPartial(); } break; } case 42: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxReplicatedMergesInQueue_ != null) { subBuilder = maxReplicatedMergesInQueue_.toBuilder(); } maxReplicatedMergesInQueue_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxReplicatedMergesInQueue_); maxReplicatedMergesInQueue_ = subBuilder.buildPartial(); } break; } case 50: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null) { subBuilder = numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_.toBuilder(); } numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_); numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = subBuilder.buildPartial(); } break; } case 58: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxBytesToMergeAtMinSpaceInPool_ != null) { subBuilder = maxBytesToMergeAtMinSpaceInPool_.toBuilder(); } maxBytesToMergeAtMinSpaceInPool_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxBytesToMergeAtMinSpaceInPool_); maxBytesToMergeAtMinSpaceInPool_ = subBuilder.buildPartial(); } break; } case 66: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxBytesToMergeAtMaxSpaceInPool_ != null) { subBuilder = maxBytesToMergeAtMaxSpaceInPool_.toBuilder(); } maxBytesToMergeAtMaxSpaceInPool_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxBytesToMergeAtMaxSpaceInPool_); maxBytesToMergeAtMaxSpaceInPool_ = subBuilder.buildPartial(); } break; } case 74: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (inactivePartsToDelayInsert_ != null) { subBuilder = inactivePartsToDelayInsert_.toBuilder(); } inactivePartsToDelayInsert_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(inactivePartsToDelayInsert_); inactivePartsToDelayInsert_ = subBuilder.buildPartial(); } break; } case 82: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (inactivePartsToThrowInsert_ != null) { subBuilder = inactivePartsToThrowInsert_.toBuilder(); } inactivePartsToThrowInsert_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(inactivePartsToThrowInsert_); inactivePartsToThrowInsert_ = subBuilder.buildPartial(); } break; } case 90: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (minBytesForWidePart_ != null) { subBuilder = minBytesForWidePart_.toBuilder(); } minBytesForWidePart_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(minBytesForWidePart_); minBytesForWidePart_ = subBuilder.buildPartial(); } break; } case 98: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (minRowsForWidePart_ != null) { subBuilder = minRowsForWidePart_.toBuilder(); } minRowsForWidePart_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(minRowsForWidePart_); minRowsForWidePart_ = subBuilder.buildPartial(); } break; } case 106: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (ttlOnlyDropParts_ != null) { subBuilder = ttlOnlyDropParts_.toBuilder(); } ttlOnlyDropParts_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(ttlOnlyDropParts_); ttlOnlyDropParts_ = subBuilder.buildPartial(); } break; } case 114: { com.google.protobuf.BoolValue.Builder subBuilder = null; if (allowRemoteFsZeroCopyReplication_ != null) { subBuilder = allowRemoteFsZeroCopyReplication_.toBuilder(); } allowRemoteFsZeroCopyReplication_ = input.readMessage(com.google.protobuf.BoolValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(allowRemoteFsZeroCopyReplication_); allowRemoteFsZeroCopyReplication_ = subBuilder.buildPartial(); } break; } case 122: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (mergeWithTtlTimeout_ != null) { subBuilder = mergeWithTtlTimeout_.toBuilder(); } mergeWithTtlTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mergeWithTtlTimeout_); mergeWithTtlTimeout_ = subBuilder.buildPartial(); } break; } case 130: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (mergeWithRecompressionTtlTimeout_ != null) { subBuilder = mergeWithRecompressionTtlTimeout_.toBuilder(); } mergeWithRecompressionTtlTimeout_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(mergeWithRecompressionTtlTimeout_); mergeWithRecompressionTtlTimeout_ = subBuilder.buildPartial(); } break; } case 138: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxPartsInTotal_ != null) { subBuilder = maxPartsInTotal_.toBuilder(); } maxPartsInTotal_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxPartsInTotal_); maxPartsInTotal_ = subBuilder.buildPartial(); } break; } case 146: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxNumberOfMergesWithTtlInPool_ != null) { subBuilder = maxNumberOfMergesWithTtlInPool_.toBuilder(); } maxNumberOfMergesWithTtlInPool_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxNumberOfMergesWithTtlInPool_); maxNumberOfMergesWithTtlInPool_ = subBuilder.buildPartial(); } break; } case 154: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (cleanupDelayPeriod_ != null) { subBuilder = cleanupDelayPeriod_.toBuilder(); } cleanupDelayPeriod_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cleanupDelayPeriod_); cleanupDelayPeriod_ = subBuilder.buildPartial(); } break; } case 162: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (numberOfFreeEntriesInPoolToExecuteMutation_ != null) { subBuilder = numberOfFreeEntriesInPoolToExecuteMutation_.toBuilder(); } numberOfFreeEntriesInPoolToExecuteMutation_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(numberOfFreeEntriesInPoolToExecuteMutation_); numberOfFreeEntriesInPoolToExecuteMutation_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder.class); } public static final int REPLICATED_DEDUPLICATION_WINDOW_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value replicatedDeduplicationWindow_; /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return Whether the replicatedDeduplicationWindow field is set. */ @java.lang.Override public boolean hasReplicatedDeduplicationWindow() { return replicatedDeduplicationWindow_ != null; } /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return The replicatedDeduplicationWindow. */ @java.lang.Override public com.google.protobuf.Int64Value getReplicatedDeduplicationWindow() { return replicatedDeduplicationWindow_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindow_; } /** *
       * Number of blocks of hashes to keep in ZooKeeper.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowOrBuilder() { return getReplicatedDeduplicationWindow(); } public static final int REPLICATED_DEDUPLICATION_WINDOW_SECONDS_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value replicatedDeduplicationWindowSeconds_; /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return Whether the replicatedDeduplicationWindowSeconds field is set. */ @java.lang.Override public boolean hasReplicatedDeduplicationWindowSeconds() { return replicatedDeduplicationWindowSeconds_ != null; } /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return The replicatedDeduplicationWindowSeconds. */ @java.lang.Override public com.google.protobuf.Int64Value getReplicatedDeduplicationWindowSeconds() { return replicatedDeduplicationWindowSeconds_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindowSeconds_; } /** *
       * Period of time to keep blocks of hashes for.
       * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowSecondsOrBuilder() { return getReplicatedDeduplicationWindowSeconds(); } public static final int PARTS_TO_DELAY_INSERT_FIELD_NUMBER = 3; private com.google.protobuf.Int64Value partsToDelayInsert_; /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return Whether the partsToDelayInsert field is set. */ @java.lang.Override public boolean hasPartsToDelayInsert() { return partsToDelayInsert_ != null; } /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return The partsToDelayInsert. */ @java.lang.Override public com.google.protobuf.Int64Value getPartsToDelayInsert() { return partsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToDelayInsert_; } /** *
       * If table contains at least that many active parts in single partition, artificially slow down insert into table.
       * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getPartsToDelayInsertOrBuilder() { return getPartsToDelayInsert(); } public static final int PARTS_TO_THROW_INSERT_FIELD_NUMBER = 4; private com.google.protobuf.Int64Value partsToThrowInsert_; /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return Whether the partsToThrowInsert field is set. */ @java.lang.Override public boolean hasPartsToThrowInsert() { return partsToThrowInsert_ != null; } /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return The partsToThrowInsert. */ @java.lang.Override public com.google.protobuf.Int64Value getPartsToThrowInsert() { return partsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToThrowInsert_; } /** *
       * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
       * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getPartsToThrowInsertOrBuilder() { return getPartsToThrowInsert(); } public static final int INACTIVE_PARTS_TO_DELAY_INSERT_FIELD_NUMBER = 9; private com.google.protobuf.Int64Value inactivePartsToDelayInsert_; /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return Whether the inactivePartsToDelayInsert field is set. */ @java.lang.Override public boolean hasInactivePartsToDelayInsert() { return inactivePartsToDelayInsert_ != null; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return The inactivePartsToDelayInsert. */ @java.lang.Override public com.google.protobuf.Int64Value getInactivePartsToDelayInsert() { return inactivePartsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToDelayInsert_; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getInactivePartsToDelayInsertOrBuilder() { return getInactivePartsToDelayInsert(); } public static final int INACTIVE_PARTS_TO_THROW_INSERT_FIELD_NUMBER = 10; private com.google.protobuf.Int64Value inactivePartsToThrowInsert_; /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return Whether the inactivePartsToThrowInsert field is set. */ @java.lang.Override public boolean hasInactivePartsToThrowInsert() { return inactivePartsToThrowInsert_ != null; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return The inactivePartsToThrowInsert. */ @java.lang.Override public com.google.protobuf.Int64Value getInactivePartsToThrowInsert() { return inactivePartsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToThrowInsert_; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getInactivePartsToThrowInsertOrBuilder() { return getInactivePartsToThrowInsert(); } public static final int MAX_REPLICATED_MERGES_IN_QUEUE_FIELD_NUMBER = 5; private com.google.protobuf.Int64Value maxReplicatedMergesInQueue_; /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return Whether the maxReplicatedMergesInQueue field is set. */ @java.lang.Override public boolean hasMaxReplicatedMergesInQueue() { return maxReplicatedMergesInQueue_ != null; } /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return The maxReplicatedMergesInQueue. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxReplicatedMergesInQueue() { return maxReplicatedMergesInQueue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicatedMergesInQueue_; } /** *
       * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
       * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxReplicatedMergesInQueueOrBuilder() { return getMaxReplicatedMergesInQueue(); } public static final int NUMBER_OF_FREE_ENTRIES_IN_POOL_TO_LOWER_MAX_SIZE_OF_MERGE_FIELD_NUMBER = 6; private com.google.protobuf.Int64Value numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return Whether the numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge field is set. */ @java.lang.Override public boolean hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null; } /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return The numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge. */ @java.lang.Override public com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; } /** *
       * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
       * maximum size of merge to process.
       * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeOrBuilder() { return getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(); } public static final int MAX_BYTES_TO_MERGE_AT_MIN_SPACE_IN_POOL_FIELD_NUMBER = 7; private com.google.protobuf.Int64Value maxBytesToMergeAtMinSpaceInPool_; /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return Whether the maxBytesToMergeAtMinSpaceInPool field is set. */ @java.lang.Override public boolean hasMaxBytesToMergeAtMinSpaceInPool() { return maxBytesToMergeAtMinSpaceInPool_ != null; } /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return The maxBytesToMergeAtMinSpaceInPool. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxBytesToMergeAtMinSpaceInPool() { return maxBytesToMergeAtMinSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMinSpaceInPool_; } /** *
       * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
       * in replication queue).
       * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMinSpaceInPoolOrBuilder() { return getMaxBytesToMergeAtMinSpaceInPool(); } public static final int MAX_BYTES_TO_MERGE_AT_MAX_SPACE_IN_POOL_FIELD_NUMBER = 8; private com.google.protobuf.Int64Value maxBytesToMergeAtMaxSpaceInPool_; /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return Whether the maxBytesToMergeAtMaxSpaceInPool field is set. */ @java.lang.Override public boolean hasMaxBytesToMergeAtMaxSpaceInPool() { return maxBytesToMergeAtMaxSpaceInPool_ != null; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return The maxBytesToMergeAtMaxSpaceInPool. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxBytesToMergeAtMaxSpaceInPool() { return maxBytesToMergeAtMaxSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMaxSpaceInPool_; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMaxSpaceInPoolOrBuilder() { return getMaxBytesToMergeAtMaxSpaceInPool(); } public static final int MIN_BYTES_FOR_WIDE_PART_FIELD_NUMBER = 11; private com.google.protobuf.Int64Value minBytesForWidePart_; /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return Whether the minBytesForWidePart field is set. */ @java.lang.Override public boolean hasMinBytesForWidePart() { return minBytesForWidePart_ != null; } /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return The minBytesForWidePart. */ @java.lang.Override public com.google.protobuf.Int64Value getMinBytesForWidePart() { return minBytesForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minBytesForWidePart_; } /** *
       * Minimum number of bytes in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMinBytesForWidePartOrBuilder() { return getMinBytesForWidePart(); } public static final int MIN_ROWS_FOR_WIDE_PART_FIELD_NUMBER = 12; private com.google.protobuf.Int64Value minRowsForWidePart_; /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return Whether the minRowsForWidePart field is set. */ @java.lang.Override public boolean hasMinRowsForWidePart() { return minRowsForWidePart_ != null; } /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return The minRowsForWidePart. */ @java.lang.Override public com.google.protobuf.Int64Value getMinRowsForWidePart() { return minRowsForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minRowsForWidePart_; } /** *
       * Minimum number of rows in a data part that can be stored in **Wide** format.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
       * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMinRowsForWidePartOrBuilder() { return getMinRowsForWidePart(); } public static final int TTL_ONLY_DROP_PARTS_FIELD_NUMBER = 13; private com.google.protobuf.BoolValue ttlOnlyDropParts_; /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return Whether the ttlOnlyDropParts field is set. */ @java.lang.Override public boolean hasTtlOnlyDropParts() { return ttlOnlyDropParts_ != null; } /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return The ttlOnlyDropParts. */ @java.lang.Override public com.google.protobuf.BoolValue getTtlOnlyDropParts() { return ttlOnlyDropParts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : ttlOnlyDropParts_; } /** *
       * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
       * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getTtlOnlyDropPartsOrBuilder() { return getTtlOnlyDropParts(); } public static final int ALLOW_REMOTE_FS_ZERO_COPY_REPLICATION_FIELD_NUMBER = 14; private com.google.protobuf.BoolValue allowRemoteFsZeroCopyReplication_; /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return Whether the allowRemoteFsZeroCopyReplication field is set. */ @java.lang.Override public boolean hasAllowRemoteFsZeroCopyReplication() { return allowRemoteFsZeroCopyReplication_ != null; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return The allowRemoteFsZeroCopyReplication. */ @java.lang.Override public com.google.protobuf.BoolValue getAllowRemoteFsZeroCopyReplication() { return allowRemoteFsZeroCopyReplication_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowRemoteFsZeroCopyReplication_; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getAllowRemoteFsZeroCopyReplicationOrBuilder() { return getAllowRemoteFsZeroCopyReplication(); } public static final int MERGE_WITH_TTL_TIMEOUT_FIELD_NUMBER = 15; private com.google.protobuf.Int64Value mergeWithTtlTimeout_; /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return Whether the mergeWithTtlTimeout field is set. */ @java.lang.Override public boolean hasMergeWithTtlTimeout() { return mergeWithTtlTimeout_ != null; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return The mergeWithTtlTimeout. */ @java.lang.Override public com.google.protobuf.Int64Value getMergeWithTtlTimeout() { return mergeWithTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithTtlTimeout_; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMergeWithTtlTimeoutOrBuilder() { return getMergeWithTtlTimeout(); } public static final int MERGE_WITH_RECOMPRESSION_TTL_TIMEOUT_FIELD_NUMBER = 16; private com.google.protobuf.Int64Value mergeWithRecompressionTtlTimeout_; /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return Whether the mergeWithRecompressionTtlTimeout field is set. */ @java.lang.Override public boolean hasMergeWithRecompressionTtlTimeout() { return mergeWithRecompressionTtlTimeout_ != null; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return The mergeWithRecompressionTtlTimeout. */ @java.lang.Override public com.google.protobuf.Int64Value getMergeWithRecompressionTtlTimeout() { return mergeWithRecompressionTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithRecompressionTtlTimeout_; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMergeWithRecompressionTtlTimeoutOrBuilder() { return getMergeWithRecompressionTtlTimeout(); } public static final int MAX_PARTS_IN_TOTAL_FIELD_NUMBER = 17; private com.google.protobuf.Int64Value maxPartsInTotal_; /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return Whether the maxPartsInTotal field is set. */ @java.lang.Override public boolean hasMaxPartsInTotal() { return maxPartsInTotal_ != null; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return The maxPartsInTotal. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxPartsInTotal() { return maxPartsInTotal_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartsInTotal_; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxPartsInTotalOrBuilder() { return getMaxPartsInTotal(); } public static final int MAX_NUMBER_OF_MERGES_WITH_TTL_IN_POOL_FIELD_NUMBER = 18; private com.google.protobuf.Int64Value maxNumberOfMergesWithTtlInPool_; /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return Whether the maxNumberOfMergesWithTtlInPool field is set. */ @java.lang.Override public boolean hasMaxNumberOfMergesWithTtlInPool() { return maxNumberOfMergesWithTtlInPool_ != null; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return The maxNumberOfMergesWithTtlInPool. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxNumberOfMergesWithTtlInPool() { return maxNumberOfMergesWithTtlInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNumberOfMergesWithTtlInPool_; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxNumberOfMergesWithTtlInPoolOrBuilder() { return getMaxNumberOfMergesWithTtlInPool(); } public static final int CLEANUP_DELAY_PERIOD_FIELD_NUMBER = 19; private com.google.protobuf.Int64Value cleanupDelayPeriod_; /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return Whether the cleanupDelayPeriod field is set. */ @java.lang.Override public boolean hasCleanupDelayPeriod() { return cleanupDelayPeriod_ != null; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return The cleanupDelayPeriod. */ @java.lang.Override public com.google.protobuf.Int64Value getCleanupDelayPeriod() { return cleanupDelayPeriod_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : cleanupDelayPeriod_; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getCleanupDelayPeriodOrBuilder() { return getCleanupDelayPeriod(); } public static final int NUMBER_OF_FREE_ENTRIES_IN_POOL_TO_EXECUTE_MUTATION_FIELD_NUMBER = 20; private com.google.protobuf.Int64Value numberOfFreeEntriesInPoolToExecuteMutation_; /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return Whether the numberOfFreeEntriesInPoolToExecuteMutation field is set. */ @java.lang.Override public boolean hasNumberOfFreeEntriesInPoolToExecuteMutation() { return numberOfFreeEntriesInPoolToExecuteMutation_ != null; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return The numberOfFreeEntriesInPoolToExecuteMutation. */ @java.lang.Override public com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToExecuteMutation() { return numberOfFreeEntriesInPoolToExecuteMutation_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToExecuteMutation_; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToExecuteMutationOrBuilder() { return getNumberOfFreeEntriesInPoolToExecuteMutation(); } 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 (replicatedDeduplicationWindow_ != null) { output.writeMessage(1, getReplicatedDeduplicationWindow()); } if (replicatedDeduplicationWindowSeconds_ != null) { output.writeMessage(2, getReplicatedDeduplicationWindowSeconds()); } if (partsToDelayInsert_ != null) { output.writeMessage(3, getPartsToDelayInsert()); } if (partsToThrowInsert_ != null) { output.writeMessage(4, getPartsToThrowInsert()); } if (maxReplicatedMergesInQueue_ != null) { output.writeMessage(5, getMaxReplicatedMergesInQueue()); } if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null) { output.writeMessage(6, getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()); } if (maxBytesToMergeAtMinSpaceInPool_ != null) { output.writeMessage(7, getMaxBytesToMergeAtMinSpaceInPool()); } if (maxBytesToMergeAtMaxSpaceInPool_ != null) { output.writeMessage(8, getMaxBytesToMergeAtMaxSpaceInPool()); } if (inactivePartsToDelayInsert_ != null) { output.writeMessage(9, getInactivePartsToDelayInsert()); } if (inactivePartsToThrowInsert_ != null) { output.writeMessage(10, getInactivePartsToThrowInsert()); } if (minBytesForWidePart_ != null) { output.writeMessage(11, getMinBytesForWidePart()); } if (minRowsForWidePart_ != null) { output.writeMessage(12, getMinRowsForWidePart()); } if (ttlOnlyDropParts_ != null) { output.writeMessage(13, getTtlOnlyDropParts()); } if (allowRemoteFsZeroCopyReplication_ != null) { output.writeMessage(14, getAllowRemoteFsZeroCopyReplication()); } if (mergeWithTtlTimeout_ != null) { output.writeMessage(15, getMergeWithTtlTimeout()); } if (mergeWithRecompressionTtlTimeout_ != null) { output.writeMessage(16, getMergeWithRecompressionTtlTimeout()); } if (maxPartsInTotal_ != null) { output.writeMessage(17, getMaxPartsInTotal()); } if (maxNumberOfMergesWithTtlInPool_ != null) { output.writeMessage(18, getMaxNumberOfMergesWithTtlInPool()); } if (cleanupDelayPeriod_ != null) { output.writeMessage(19, getCleanupDelayPeriod()); } if (numberOfFreeEntriesInPoolToExecuteMutation_ != null) { output.writeMessage(20, getNumberOfFreeEntriesInPoolToExecuteMutation()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (replicatedDeduplicationWindow_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getReplicatedDeduplicationWindow()); } if (replicatedDeduplicationWindowSeconds_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getReplicatedDeduplicationWindowSeconds()); } if (partsToDelayInsert_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getPartsToDelayInsert()); } if (partsToThrowInsert_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getPartsToThrowInsert()); } if (maxReplicatedMergesInQueue_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getMaxReplicatedMergesInQueue()); } if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()); } if (maxBytesToMergeAtMinSpaceInPool_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getMaxBytesToMergeAtMinSpaceInPool()); } if (maxBytesToMergeAtMaxSpaceInPool_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getMaxBytesToMergeAtMaxSpaceInPool()); } if (inactivePartsToDelayInsert_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getInactivePartsToDelayInsert()); } if (inactivePartsToThrowInsert_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getInactivePartsToThrowInsert()); } if (minBytesForWidePart_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getMinBytesForWidePart()); } if (minRowsForWidePart_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getMinRowsForWidePart()); } if (ttlOnlyDropParts_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getTtlOnlyDropParts()); } if (allowRemoteFsZeroCopyReplication_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(14, getAllowRemoteFsZeroCopyReplication()); } if (mergeWithTtlTimeout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(15, getMergeWithTtlTimeout()); } if (mergeWithRecompressionTtlTimeout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getMergeWithRecompressionTtlTimeout()); } if (maxPartsInTotal_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getMaxPartsInTotal()); } if (maxNumberOfMergesWithTtlInPool_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getMaxNumberOfMergesWithTtlInPool()); } if (cleanupDelayPeriod_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getCleanupDelayPeriod()); } if (numberOfFreeEntriesInPoolToExecuteMutation_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getNumberOfFreeEntriesInPoolToExecuteMutation()); } 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.config.Clickhouse.ClickhouseConfig.MergeTree)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree) obj; if (hasReplicatedDeduplicationWindow() != other.hasReplicatedDeduplicationWindow()) return false; if (hasReplicatedDeduplicationWindow()) { if (!getReplicatedDeduplicationWindow() .equals(other.getReplicatedDeduplicationWindow())) return false; } if (hasReplicatedDeduplicationWindowSeconds() != other.hasReplicatedDeduplicationWindowSeconds()) return false; if (hasReplicatedDeduplicationWindowSeconds()) { if (!getReplicatedDeduplicationWindowSeconds() .equals(other.getReplicatedDeduplicationWindowSeconds())) return false; } if (hasPartsToDelayInsert() != other.hasPartsToDelayInsert()) return false; if (hasPartsToDelayInsert()) { if (!getPartsToDelayInsert() .equals(other.getPartsToDelayInsert())) return false; } if (hasPartsToThrowInsert() != other.hasPartsToThrowInsert()) return false; if (hasPartsToThrowInsert()) { if (!getPartsToThrowInsert() .equals(other.getPartsToThrowInsert())) return false; } if (hasInactivePartsToDelayInsert() != other.hasInactivePartsToDelayInsert()) return false; if (hasInactivePartsToDelayInsert()) { if (!getInactivePartsToDelayInsert() .equals(other.getInactivePartsToDelayInsert())) return false; } if (hasInactivePartsToThrowInsert() != other.hasInactivePartsToThrowInsert()) return false; if (hasInactivePartsToThrowInsert()) { if (!getInactivePartsToThrowInsert() .equals(other.getInactivePartsToThrowInsert())) return false; } if (hasMaxReplicatedMergesInQueue() != other.hasMaxReplicatedMergesInQueue()) return false; if (hasMaxReplicatedMergesInQueue()) { if (!getMaxReplicatedMergesInQueue() .equals(other.getMaxReplicatedMergesInQueue())) return false; } if (hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() != other.hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()) return false; if (hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()) { if (!getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() .equals(other.getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge())) return false; } if (hasMaxBytesToMergeAtMinSpaceInPool() != other.hasMaxBytesToMergeAtMinSpaceInPool()) return false; if (hasMaxBytesToMergeAtMinSpaceInPool()) { if (!getMaxBytesToMergeAtMinSpaceInPool() .equals(other.getMaxBytesToMergeAtMinSpaceInPool())) return false; } if (hasMaxBytesToMergeAtMaxSpaceInPool() != other.hasMaxBytesToMergeAtMaxSpaceInPool()) return false; if (hasMaxBytesToMergeAtMaxSpaceInPool()) { if (!getMaxBytesToMergeAtMaxSpaceInPool() .equals(other.getMaxBytesToMergeAtMaxSpaceInPool())) return false; } if (hasMinBytesForWidePart() != other.hasMinBytesForWidePart()) return false; if (hasMinBytesForWidePart()) { if (!getMinBytesForWidePart() .equals(other.getMinBytesForWidePart())) return false; } if (hasMinRowsForWidePart() != other.hasMinRowsForWidePart()) return false; if (hasMinRowsForWidePart()) { if (!getMinRowsForWidePart() .equals(other.getMinRowsForWidePart())) return false; } if (hasTtlOnlyDropParts() != other.hasTtlOnlyDropParts()) return false; if (hasTtlOnlyDropParts()) { if (!getTtlOnlyDropParts() .equals(other.getTtlOnlyDropParts())) return false; } if (hasAllowRemoteFsZeroCopyReplication() != other.hasAllowRemoteFsZeroCopyReplication()) return false; if (hasAllowRemoteFsZeroCopyReplication()) { if (!getAllowRemoteFsZeroCopyReplication() .equals(other.getAllowRemoteFsZeroCopyReplication())) return false; } if (hasMergeWithTtlTimeout() != other.hasMergeWithTtlTimeout()) return false; if (hasMergeWithTtlTimeout()) { if (!getMergeWithTtlTimeout() .equals(other.getMergeWithTtlTimeout())) return false; } if (hasMergeWithRecompressionTtlTimeout() != other.hasMergeWithRecompressionTtlTimeout()) return false; if (hasMergeWithRecompressionTtlTimeout()) { if (!getMergeWithRecompressionTtlTimeout() .equals(other.getMergeWithRecompressionTtlTimeout())) return false; } if (hasMaxPartsInTotal() != other.hasMaxPartsInTotal()) return false; if (hasMaxPartsInTotal()) { if (!getMaxPartsInTotal() .equals(other.getMaxPartsInTotal())) return false; } if (hasMaxNumberOfMergesWithTtlInPool() != other.hasMaxNumberOfMergesWithTtlInPool()) return false; if (hasMaxNumberOfMergesWithTtlInPool()) { if (!getMaxNumberOfMergesWithTtlInPool() .equals(other.getMaxNumberOfMergesWithTtlInPool())) return false; } if (hasCleanupDelayPeriod() != other.hasCleanupDelayPeriod()) return false; if (hasCleanupDelayPeriod()) { if (!getCleanupDelayPeriod() .equals(other.getCleanupDelayPeriod())) return false; } if (hasNumberOfFreeEntriesInPoolToExecuteMutation() != other.hasNumberOfFreeEntriesInPoolToExecuteMutation()) return false; if (hasNumberOfFreeEntriesInPoolToExecuteMutation()) { if (!getNumberOfFreeEntriesInPoolToExecuteMutation() .equals(other.getNumberOfFreeEntriesInPoolToExecuteMutation())) 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 (hasReplicatedDeduplicationWindow()) { hash = (37 * hash) + REPLICATED_DEDUPLICATION_WINDOW_FIELD_NUMBER; hash = (53 * hash) + getReplicatedDeduplicationWindow().hashCode(); } if (hasReplicatedDeduplicationWindowSeconds()) { hash = (37 * hash) + REPLICATED_DEDUPLICATION_WINDOW_SECONDS_FIELD_NUMBER; hash = (53 * hash) + getReplicatedDeduplicationWindowSeconds().hashCode(); } if (hasPartsToDelayInsert()) { hash = (37 * hash) + PARTS_TO_DELAY_INSERT_FIELD_NUMBER; hash = (53 * hash) + getPartsToDelayInsert().hashCode(); } if (hasPartsToThrowInsert()) { hash = (37 * hash) + PARTS_TO_THROW_INSERT_FIELD_NUMBER; hash = (53 * hash) + getPartsToThrowInsert().hashCode(); } if (hasInactivePartsToDelayInsert()) { hash = (37 * hash) + INACTIVE_PARTS_TO_DELAY_INSERT_FIELD_NUMBER; hash = (53 * hash) + getInactivePartsToDelayInsert().hashCode(); } if (hasInactivePartsToThrowInsert()) { hash = (37 * hash) + INACTIVE_PARTS_TO_THROW_INSERT_FIELD_NUMBER; hash = (53 * hash) + getInactivePartsToThrowInsert().hashCode(); } if (hasMaxReplicatedMergesInQueue()) { hash = (37 * hash) + MAX_REPLICATED_MERGES_IN_QUEUE_FIELD_NUMBER; hash = (53 * hash) + getMaxReplicatedMergesInQueue().hashCode(); } if (hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()) { hash = (37 * hash) + NUMBER_OF_FREE_ENTRIES_IN_POOL_TO_LOWER_MAX_SIZE_OF_MERGE_FIELD_NUMBER; hash = (53 * hash) + getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge().hashCode(); } if (hasMaxBytesToMergeAtMinSpaceInPool()) { hash = (37 * hash) + MAX_BYTES_TO_MERGE_AT_MIN_SPACE_IN_POOL_FIELD_NUMBER; hash = (53 * hash) + getMaxBytesToMergeAtMinSpaceInPool().hashCode(); } if (hasMaxBytesToMergeAtMaxSpaceInPool()) { hash = (37 * hash) + MAX_BYTES_TO_MERGE_AT_MAX_SPACE_IN_POOL_FIELD_NUMBER; hash = (53 * hash) + getMaxBytesToMergeAtMaxSpaceInPool().hashCode(); } if (hasMinBytesForWidePart()) { hash = (37 * hash) + MIN_BYTES_FOR_WIDE_PART_FIELD_NUMBER; hash = (53 * hash) + getMinBytesForWidePart().hashCode(); } if (hasMinRowsForWidePart()) { hash = (37 * hash) + MIN_ROWS_FOR_WIDE_PART_FIELD_NUMBER; hash = (53 * hash) + getMinRowsForWidePart().hashCode(); } if (hasTtlOnlyDropParts()) { hash = (37 * hash) + TTL_ONLY_DROP_PARTS_FIELD_NUMBER; hash = (53 * hash) + getTtlOnlyDropParts().hashCode(); } if (hasAllowRemoteFsZeroCopyReplication()) { hash = (37 * hash) + ALLOW_REMOTE_FS_ZERO_COPY_REPLICATION_FIELD_NUMBER; hash = (53 * hash) + getAllowRemoteFsZeroCopyReplication().hashCode(); } if (hasMergeWithTtlTimeout()) { hash = (37 * hash) + MERGE_WITH_TTL_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getMergeWithTtlTimeout().hashCode(); } if (hasMergeWithRecompressionTtlTimeout()) { hash = (37 * hash) + MERGE_WITH_RECOMPRESSION_TTL_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getMergeWithRecompressionTtlTimeout().hashCode(); } if (hasMaxPartsInTotal()) { hash = (37 * hash) + MAX_PARTS_IN_TOTAL_FIELD_NUMBER; hash = (53 * hash) + getMaxPartsInTotal().hashCode(); } if (hasMaxNumberOfMergesWithTtlInPool()) { hash = (37 * hash) + MAX_NUMBER_OF_MERGES_WITH_TTL_IN_POOL_FIELD_NUMBER; hash = (53 * hash) + getMaxNumberOfMergesWithTtlInPool().hashCode(); } if (hasCleanupDelayPeriod()) { hash = (37 * hash) + CLEANUP_DELAY_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getCleanupDelayPeriod().hashCode(); } if (hasNumberOfFreeEntriesInPoolToExecuteMutation()) { hash = (37 * hash) + NUMBER_OF_FREE_ENTRIES_IN_POOL_TO_EXECUTE_MUTATION_FIELD_NUMBER; hash = (53 * hash) + getNumberOfFreeEntriesInPoolToExecuteMutation().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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.config.Clickhouse.ClickhouseConfig.MergeTree 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; } /** *
       * Options specific to the MergeTree table engine.
       * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.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 (replicatedDeduplicationWindowBuilder_ == null) { replicatedDeduplicationWindow_ = null; } else { replicatedDeduplicationWindow_ = null; replicatedDeduplicationWindowBuilder_ = null; } if (replicatedDeduplicationWindowSecondsBuilder_ == null) { replicatedDeduplicationWindowSeconds_ = null; } else { replicatedDeduplicationWindowSeconds_ = null; replicatedDeduplicationWindowSecondsBuilder_ = null; } if (partsToDelayInsertBuilder_ == null) { partsToDelayInsert_ = null; } else { partsToDelayInsert_ = null; partsToDelayInsertBuilder_ = null; } if (partsToThrowInsertBuilder_ == null) { partsToThrowInsert_ = null; } else { partsToThrowInsert_ = null; partsToThrowInsertBuilder_ = null; } if (inactivePartsToDelayInsertBuilder_ == null) { inactivePartsToDelayInsert_ = null; } else { inactivePartsToDelayInsert_ = null; inactivePartsToDelayInsertBuilder_ = null; } if (inactivePartsToThrowInsertBuilder_ == null) { inactivePartsToThrowInsert_ = null; } else { inactivePartsToThrowInsert_ = null; inactivePartsToThrowInsertBuilder_ = null; } if (maxReplicatedMergesInQueueBuilder_ == null) { maxReplicatedMergesInQueue_ = null; } else { maxReplicatedMergesInQueue_ = null; maxReplicatedMergesInQueueBuilder_ = null; } if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = null; } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = null; numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ = null; } if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMinSpaceInPool_ = null; } else { maxBytesToMergeAtMinSpaceInPool_ = null; maxBytesToMergeAtMinSpaceInPoolBuilder_ = null; } if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMaxSpaceInPool_ = null; } else { maxBytesToMergeAtMaxSpaceInPool_ = null; maxBytesToMergeAtMaxSpaceInPoolBuilder_ = null; } if (minBytesForWidePartBuilder_ == null) { minBytesForWidePart_ = null; } else { minBytesForWidePart_ = null; minBytesForWidePartBuilder_ = null; } if (minRowsForWidePartBuilder_ == null) { minRowsForWidePart_ = null; } else { minRowsForWidePart_ = null; minRowsForWidePartBuilder_ = null; } if (ttlOnlyDropPartsBuilder_ == null) { ttlOnlyDropParts_ = null; } else { ttlOnlyDropParts_ = null; ttlOnlyDropPartsBuilder_ = null; } if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { allowRemoteFsZeroCopyReplication_ = null; } else { allowRemoteFsZeroCopyReplication_ = null; allowRemoteFsZeroCopyReplicationBuilder_ = null; } if (mergeWithTtlTimeoutBuilder_ == null) { mergeWithTtlTimeout_ = null; } else { mergeWithTtlTimeout_ = null; mergeWithTtlTimeoutBuilder_ = null; } if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { mergeWithRecompressionTtlTimeout_ = null; } else { mergeWithRecompressionTtlTimeout_ = null; mergeWithRecompressionTtlTimeoutBuilder_ = null; } if (maxPartsInTotalBuilder_ == null) { maxPartsInTotal_ = null; } else { maxPartsInTotal_ = null; maxPartsInTotalBuilder_ = null; } if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { maxNumberOfMergesWithTtlInPool_ = null; } else { maxNumberOfMergesWithTtlInPool_ = null; maxNumberOfMergesWithTtlInPoolBuilder_ = null; } if (cleanupDelayPeriodBuilder_ == null) { cleanupDelayPeriod_ = null; } else { cleanupDelayPeriod_ = null; cleanupDelayPeriodBuilder_ = null; } if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { numberOfFreeEntriesInPoolToExecuteMutation_ = null; } else { numberOfFreeEntriesInPoolToExecuteMutation_ = null; numberOfFreeEntriesInPoolToExecuteMutationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree(this); if (replicatedDeduplicationWindowBuilder_ == null) { result.replicatedDeduplicationWindow_ = replicatedDeduplicationWindow_; } else { result.replicatedDeduplicationWindow_ = replicatedDeduplicationWindowBuilder_.build(); } if (replicatedDeduplicationWindowSecondsBuilder_ == null) { result.replicatedDeduplicationWindowSeconds_ = replicatedDeduplicationWindowSeconds_; } else { result.replicatedDeduplicationWindowSeconds_ = replicatedDeduplicationWindowSecondsBuilder_.build(); } if (partsToDelayInsertBuilder_ == null) { result.partsToDelayInsert_ = partsToDelayInsert_; } else { result.partsToDelayInsert_ = partsToDelayInsertBuilder_.build(); } if (partsToThrowInsertBuilder_ == null) { result.partsToThrowInsert_ = partsToThrowInsert_; } else { result.partsToThrowInsert_ = partsToThrowInsertBuilder_.build(); } if (inactivePartsToDelayInsertBuilder_ == null) { result.inactivePartsToDelayInsert_ = inactivePartsToDelayInsert_; } else { result.inactivePartsToDelayInsert_ = inactivePartsToDelayInsertBuilder_.build(); } if (inactivePartsToThrowInsertBuilder_ == null) { result.inactivePartsToThrowInsert_ = inactivePartsToThrowInsert_; } else { result.inactivePartsToThrowInsert_ = inactivePartsToThrowInsertBuilder_.build(); } if (maxReplicatedMergesInQueueBuilder_ == null) { result.maxReplicatedMergesInQueue_ = maxReplicatedMergesInQueue_; } else { result.maxReplicatedMergesInQueue_ = maxReplicatedMergesInQueueBuilder_.build(); } if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { result.numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; } else { result.numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.build(); } if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { result.maxBytesToMergeAtMinSpaceInPool_ = maxBytesToMergeAtMinSpaceInPool_; } else { result.maxBytesToMergeAtMinSpaceInPool_ = maxBytesToMergeAtMinSpaceInPoolBuilder_.build(); } if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { result.maxBytesToMergeAtMaxSpaceInPool_ = maxBytesToMergeAtMaxSpaceInPool_; } else { result.maxBytesToMergeAtMaxSpaceInPool_ = maxBytesToMergeAtMaxSpaceInPoolBuilder_.build(); } if (minBytesForWidePartBuilder_ == null) { result.minBytesForWidePart_ = minBytesForWidePart_; } else { result.minBytesForWidePart_ = minBytesForWidePartBuilder_.build(); } if (minRowsForWidePartBuilder_ == null) { result.minRowsForWidePart_ = minRowsForWidePart_; } else { result.minRowsForWidePart_ = minRowsForWidePartBuilder_.build(); } if (ttlOnlyDropPartsBuilder_ == null) { result.ttlOnlyDropParts_ = ttlOnlyDropParts_; } else { result.ttlOnlyDropParts_ = ttlOnlyDropPartsBuilder_.build(); } if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { result.allowRemoteFsZeroCopyReplication_ = allowRemoteFsZeroCopyReplication_; } else { result.allowRemoteFsZeroCopyReplication_ = allowRemoteFsZeroCopyReplicationBuilder_.build(); } if (mergeWithTtlTimeoutBuilder_ == null) { result.mergeWithTtlTimeout_ = mergeWithTtlTimeout_; } else { result.mergeWithTtlTimeout_ = mergeWithTtlTimeoutBuilder_.build(); } if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { result.mergeWithRecompressionTtlTimeout_ = mergeWithRecompressionTtlTimeout_; } else { result.mergeWithRecompressionTtlTimeout_ = mergeWithRecompressionTtlTimeoutBuilder_.build(); } if (maxPartsInTotalBuilder_ == null) { result.maxPartsInTotal_ = maxPartsInTotal_; } else { result.maxPartsInTotal_ = maxPartsInTotalBuilder_.build(); } if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { result.maxNumberOfMergesWithTtlInPool_ = maxNumberOfMergesWithTtlInPool_; } else { result.maxNumberOfMergesWithTtlInPool_ = maxNumberOfMergesWithTtlInPoolBuilder_.build(); } if (cleanupDelayPeriodBuilder_ == null) { result.cleanupDelayPeriod_ = cleanupDelayPeriod_; } else { result.cleanupDelayPeriod_ = cleanupDelayPeriodBuilder_.build(); } if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { result.numberOfFreeEntriesInPoolToExecuteMutation_ = numberOfFreeEntriesInPoolToExecuteMutation_; } else { result.numberOfFreeEntriesInPoolToExecuteMutation_ = numberOfFreeEntriesInPoolToExecuteMutationBuilder_.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.config.Clickhouse.ClickhouseConfig.MergeTree) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.getDefaultInstance()) return this; if (other.hasReplicatedDeduplicationWindow()) { mergeReplicatedDeduplicationWindow(other.getReplicatedDeduplicationWindow()); } if (other.hasReplicatedDeduplicationWindowSeconds()) { mergeReplicatedDeduplicationWindowSeconds(other.getReplicatedDeduplicationWindowSeconds()); } if (other.hasPartsToDelayInsert()) { mergePartsToDelayInsert(other.getPartsToDelayInsert()); } if (other.hasPartsToThrowInsert()) { mergePartsToThrowInsert(other.getPartsToThrowInsert()); } if (other.hasInactivePartsToDelayInsert()) { mergeInactivePartsToDelayInsert(other.getInactivePartsToDelayInsert()); } if (other.hasInactivePartsToThrowInsert()) { mergeInactivePartsToThrowInsert(other.getInactivePartsToThrowInsert()); } if (other.hasMaxReplicatedMergesInQueue()) { mergeMaxReplicatedMergesInQueue(other.getMaxReplicatedMergesInQueue()); } if (other.hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()) { mergeNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(other.getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge()); } if (other.hasMaxBytesToMergeAtMinSpaceInPool()) { mergeMaxBytesToMergeAtMinSpaceInPool(other.getMaxBytesToMergeAtMinSpaceInPool()); } if (other.hasMaxBytesToMergeAtMaxSpaceInPool()) { mergeMaxBytesToMergeAtMaxSpaceInPool(other.getMaxBytesToMergeAtMaxSpaceInPool()); } if (other.hasMinBytesForWidePart()) { mergeMinBytesForWidePart(other.getMinBytesForWidePart()); } if (other.hasMinRowsForWidePart()) { mergeMinRowsForWidePart(other.getMinRowsForWidePart()); } if (other.hasTtlOnlyDropParts()) { mergeTtlOnlyDropParts(other.getTtlOnlyDropParts()); } if (other.hasAllowRemoteFsZeroCopyReplication()) { mergeAllowRemoteFsZeroCopyReplication(other.getAllowRemoteFsZeroCopyReplication()); } if (other.hasMergeWithTtlTimeout()) { mergeMergeWithTtlTimeout(other.getMergeWithTtlTimeout()); } if (other.hasMergeWithRecompressionTtlTimeout()) { mergeMergeWithRecompressionTtlTimeout(other.getMergeWithRecompressionTtlTimeout()); } if (other.hasMaxPartsInTotal()) { mergeMaxPartsInTotal(other.getMaxPartsInTotal()); } if (other.hasMaxNumberOfMergesWithTtlInPool()) { mergeMaxNumberOfMergesWithTtlInPool(other.getMaxNumberOfMergesWithTtlInPool()); } if (other.hasCleanupDelayPeriod()) { mergeCleanupDelayPeriod(other.getCleanupDelayPeriod()); } if (other.hasNumberOfFreeEntriesInPoolToExecuteMutation()) { mergeNumberOfFreeEntriesInPoolToExecuteMutation(other.getNumberOfFreeEntriesInPoolToExecuteMutation()); } 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.config.Clickhouse.ClickhouseConfig.MergeTree parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Int64Value replicatedDeduplicationWindow_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> replicatedDeduplicationWindowBuilder_; /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return Whether the replicatedDeduplicationWindow field is set. */ public boolean hasReplicatedDeduplicationWindow() { return replicatedDeduplicationWindowBuilder_ != null || replicatedDeduplicationWindow_ != null; } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; * @return The replicatedDeduplicationWindow. */ public com.google.protobuf.Int64Value getReplicatedDeduplicationWindow() { if (replicatedDeduplicationWindowBuilder_ == null) { return replicatedDeduplicationWindow_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindow_; } else { return replicatedDeduplicationWindowBuilder_.getMessage(); } } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public Builder setReplicatedDeduplicationWindow(com.google.protobuf.Int64Value value) { if (replicatedDeduplicationWindowBuilder_ == null) { if (value == null) { throw new NullPointerException(); } replicatedDeduplicationWindow_ = value; onChanged(); } else { replicatedDeduplicationWindowBuilder_.setMessage(value); } return this; } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public Builder setReplicatedDeduplicationWindow( com.google.protobuf.Int64Value.Builder builderForValue) { if (replicatedDeduplicationWindowBuilder_ == null) { replicatedDeduplicationWindow_ = builderForValue.build(); onChanged(); } else { replicatedDeduplicationWindowBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public Builder mergeReplicatedDeduplicationWindow(com.google.protobuf.Int64Value value) { if (replicatedDeduplicationWindowBuilder_ == null) { if (replicatedDeduplicationWindow_ != null) { replicatedDeduplicationWindow_ = com.google.protobuf.Int64Value.newBuilder(replicatedDeduplicationWindow_).mergeFrom(value).buildPartial(); } else { replicatedDeduplicationWindow_ = value; } onChanged(); } else { replicatedDeduplicationWindowBuilder_.mergeFrom(value); } return this; } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public Builder clearReplicatedDeduplicationWindow() { if (replicatedDeduplicationWindowBuilder_ == null) { replicatedDeduplicationWindow_ = null; onChanged(); } else { replicatedDeduplicationWindow_ = null; replicatedDeduplicationWindowBuilder_ = null; } return this; } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public com.google.protobuf.Int64Value.Builder getReplicatedDeduplicationWindowBuilder() { onChanged(); return getReplicatedDeduplicationWindowFieldBuilder().getBuilder(); } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ public com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowOrBuilder() { if (replicatedDeduplicationWindowBuilder_ != null) { return replicatedDeduplicationWindowBuilder_.getMessageOrBuilder(); } else { return replicatedDeduplicationWindow_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindow_; } } /** *
         * Number of blocks of hashes to keep in ZooKeeper.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getReplicatedDeduplicationWindowFieldBuilder() { if (replicatedDeduplicationWindowBuilder_ == null) { replicatedDeduplicationWindowBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getReplicatedDeduplicationWindow(), getParentForChildren(), isClean()); replicatedDeduplicationWindow_ = null; } return replicatedDeduplicationWindowBuilder_; } private com.google.protobuf.Int64Value replicatedDeduplicationWindowSeconds_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> replicatedDeduplicationWindowSecondsBuilder_; /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return Whether the replicatedDeduplicationWindowSeconds field is set. */ public boolean hasReplicatedDeduplicationWindowSeconds() { return replicatedDeduplicationWindowSecondsBuilder_ != null || replicatedDeduplicationWindowSeconds_ != null; } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; * @return The replicatedDeduplicationWindowSeconds. */ public com.google.protobuf.Int64Value getReplicatedDeduplicationWindowSeconds() { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { return replicatedDeduplicationWindowSeconds_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindowSeconds_; } else { return replicatedDeduplicationWindowSecondsBuilder_.getMessage(); } } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public Builder setReplicatedDeduplicationWindowSeconds(com.google.protobuf.Int64Value value) { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } replicatedDeduplicationWindowSeconds_ = value; onChanged(); } else { replicatedDeduplicationWindowSecondsBuilder_.setMessage(value); } return this; } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public Builder setReplicatedDeduplicationWindowSeconds( com.google.protobuf.Int64Value.Builder builderForValue) { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { replicatedDeduplicationWindowSeconds_ = builderForValue.build(); onChanged(); } else { replicatedDeduplicationWindowSecondsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public Builder mergeReplicatedDeduplicationWindowSeconds(com.google.protobuf.Int64Value value) { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { if (replicatedDeduplicationWindowSeconds_ != null) { replicatedDeduplicationWindowSeconds_ = com.google.protobuf.Int64Value.newBuilder(replicatedDeduplicationWindowSeconds_).mergeFrom(value).buildPartial(); } else { replicatedDeduplicationWindowSeconds_ = value; } onChanged(); } else { replicatedDeduplicationWindowSecondsBuilder_.mergeFrom(value); } return this; } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public Builder clearReplicatedDeduplicationWindowSeconds() { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { replicatedDeduplicationWindowSeconds_ = null; onChanged(); } else { replicatedDeduplicationWindowSeconds_ = null; replicatedDeduplicationWindowSecondsBuilder_ = null; } return this; } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public com.google.protobuf.Int64Value.Builder getReplicatedDeduplicationWindowSecondsBuilder() { onChanged(); return getReplicatedDeduplicationWindowSecondsFieldBuilder().getBuilder(); } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ public com.google.protobuf.Int64ValueOrBuilder getReplicatedDeduplicationWindowSecondsOrBuilder() { if (replicatedDeduplicationWindowSecondsBuilder_ != null) { return replicatedDeduplicationWindowSecondsBuilder_.getMessageOrBuilder(); } else { return replicatedDeduplicationWindowSeconds_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : replicatedDeduplicationWindowSeconds_; } } /** *
         * Period of time to keep blocks of hashes for.
         * 
* * .google.protobuf.Int64Value replicated_deduplication_window_seconds = 2; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getReplicatedDeduplicationWindowSecondsFieldBuilder() { if (replicatedDeduplicationWindowSecondsBuilder_ == null) { replicatedDeduplicationWindowSecondsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getReplicatedDeduplicationWindowSeconds(), getParentForChildren(), isClean()); replicatedDeduplicationWindowSeconds_ = null; } return replicatedDeduplicationWindowSecondsBuilder_; } private com.google.protobuf.Int64Value partsToDelayInsert_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> partsToDelayInsertBuilder_; /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return Whether the partsToDelayInsert field is set. */ public boolean hasPartsToDelayInsert() { return partsToDelayInsertBuilder_ != null || partsToDelayInsert_ != null; } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; * @return The partsToDelayInsert. */ public com.google.protobuf.Int64Value getPartsToDelayInsert() { if (partsToDelayInsertBuilder_ == null) { return partsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToDelayInsert_; } else { return partsToDelayInsertBuilder_.getMessage(); } } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public Builder setPartsToDelayInsert(com.google.protobuf.Int64Value value) { if (partsToDelayInsertBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partsToDelayInsert_ = value; onChanged(); } else { partsToDelayInsertBuilder_.setMessage(value); } return this; } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public Builder setPartsToDelayInsert( com.google.protobuf.Int64Value.Builder builderForValue) { if (partsToDelayInsertBuilder_ == null) { partsToDelayInsert_ = builderForValue.build(); onChanged(); } else { partsToDelayInsertBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public Builder mergePartsToDelayInsert(com.google.protobuf.Int64Value value) { if (partsToDelayInsertBuilder_ == null) { if (partsToDelayInsert_ != null) { partsToDelayInsert_ = com.google.protobuf.Int64Value.newBuilder(partsToDelayInsert_).mergeFrom(value).buildPartial(); } else { partsToDelayInsert_ = value; } onChanged(); } else { partsToDelayInsertBuilder_.mergeFrom(value); } return this; } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public Builder clearPartsToDelayInsert() { if (partsToDelayInsertBuilder_ == null) { partsToDelayInsert_ = null; onChanged(); } else { partsToDelayInsert_ = null; partsToDelayInsertBuilder_ = null; } return this; } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public com.google.protobuf.Int64Value.Builder getPartsToDelayInsertBuilder() { onChanged(); return getPartsToDelayInsertFieldBuilder().getBuilder(); } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ public com.google.protobuf.Int64ValueOrBuilder getPartsToDelayInsertOrBuilder() { if (partsToDelayInsertBuilder_ != null) { return partsToDelayInsertBuilder_.getMessageOrBuilder(); } else { return partsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToDelayInsert_; } } /** *
         * If table contains at least that many active parts in single partition, artificially slow down insert into table.
         * 
* * .google.protobuf.Int64Value parts_to_delay_insert = 3; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getPartsToDelayInsertFieldBuilder() { if (partsToDelayInsertBuilder_ == null) { partsToDelayInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getPartsToDelayInsert(), getParentForChildren(), isClean()); partsToDelayInsert_ = null; } return partsToDelayInsertBuilder_; } private com.google.protobuf.Int64Value partsToThrowInsert_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> partsToThrowInsertBuilder_; /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return Whether the partsToThrowInsert field is set. */ public boolean hasPartsToThrowInsert() { return partsToThrowInsertBuilder_ != null || partsToThrowInsert_ != null; } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; * @return The partsToThrowInsert. */ public com.google.protobuf.Int64Value getPartsToThrowInsert() { if (partsToThrowInsertBuilder_ == null) { return partsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToThrowInsert_; } else { return partsToThrowInsertBuilder_.getMessage(); } } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public Builder setPartsToThrowInsert(com.google.protobuf.Int64Value value) { if (partsToThrowInsertBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partsToThrowInsert_ = value; onChanged(); } else { partsToThrowInsertBuilder_.setMessage(value); } return this; } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public Builder setPartsToThrowInsert( com.google.protobuf.Int64Value.Builder builderForValue) { if (partsToThrowInsertBuilder_ == null) { partsToThrowInsert_ = builderForValue.build(); onChanged(); } else { partsToThrowInsertBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public Builder mergePartsToThrowInsert(com.google.protobuf.Int64Value value) { if (partsToThrowInsertBuilder_ == null) { if (partsToThrowInsert_ != null) { partsToThrowInsert_ = com.google.protobuf.Int64Value.newBuilder(partsToThrowInsert_).mergeFrom(value).buildPartial(); } else { partsToThrowInsert_ = value; } onChanged(); } else { partsToThrowInsertBuilder_.mergeFrom(value); } return this; } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public Builder clearPartsToThrowInsert() { if (partsToThrowInsertBuilder_ == null) { partsToThrowInsert_ = null; onChanged(); } else { partsToThrowInsert_ = null; partsToThrowInsertBuilder_ = null; } return this; } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public com.google.protobuf.Int64Value.Builder getPartsToThrowInsertBuilder() { onChanged(); return getPartsToThrowInsertFieldBuilder().getBuilder(); } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ public com.google.protobuf.Int64ValueOrBuilder getPartsToThrowInsertOrBuilder() { if (partsToThrowInsertBuilder_ != null) { return partsToThrowInsertBuilder_.getMessageOrBuilder(); } else { return partsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partsToThrowInsert_; } } /** *
         * If more than this number active parts in single partition, throw 'Too many parts ...' exception.
         * 
* * .google.protobuf.Int64Value parts_to_throw_insert = 4; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getPartsToThrowInsertFieldBuilder() { if (partsToThrowInsertBuilder_ == null) { partsToThrowInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getPartsToThrowInsert(), getParentForChildren(), isClean()); partsToThrowInsert_ = null; } return partsToThrowInsertBuilder_; } private com.google.protobuf.Int64Value inactivePartsToDelayInsert_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> inactivePartsToDelayInsertBuilder_; /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return Whether the inactivePartsToDelayInsert field is set. */ public boolean hasInactivePartsToDelayInsert() { return inactivePartsToDelayInsertBuilder_ != null || inactivePartsToDelayInsert_ != null; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; * @return The inactivePartsToDelayInsert. */ public com.google.protobuf.Int64Value getInactivePartsToDelayInsert() { if (inactivePartsToDelayInsertBuilder_ == null) { return inactivePartsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToDelayInsert_; } else { return inactivePartsToDelayInsertBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public Builder setInactivePartsToDelayInsert(com.google.protobuf.Int64Value value) { if (inactivePartsToDelayInsertBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inactivePartsToDelayInsert_ = value; onChanged(); } else { inactivePartsToDelayInsertBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public Builder setInactivePartsToDelayInsert( com.google.protobuf.Int64Value.Builder builderForValue) { if (inactivePartsToDelayInsertBuilder_ == null) { inactivePartsToDelayInsert_ = builderForValue.build(); onChanged(); } else { inactivePartsToDelayInsertBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public Builder mergeInactivePartsToDelayInsert(com.google.protobuf.Int64Value value) { if (inactivePartsToDelayInsertBuilder_ == null) { if (inactivePartsToDelayInsert_ != null) { inactivePartsToDelayInsert_ = com.google.protobuf.Int64Value.newBuilder(inactivePartsToDelayInsert_).mergeFrom(value).buildPartial(); } else { inactivePartsToDelayInsert_ = value; } onChanged(); } else { inactivePartsToDelayInsertBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public Builder clearInactivePartsToDelayInsert() { if (inactivePartsToDelayInsertBuilder_ == null) { inactivePartsToDelayInsert_ = null; onChanged(); } else { inactivePartsToDelayInsert_ = null; inactivePartsToDelayInsertBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public com.google.protobuf.Int64Value.Builder getInactivePartsToDelayInsertBuilder() { onChanged(); return getInactivePartsToDelayInsertFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ public com.google.protobuf.Int64ValueOrBuilder getInactivePartsToDelayInsertOrBuilder() { if (inactivePartsToDelayInsertBuilder_ != null) { return inactivePartsToDelayInsertBuilder_.getMessageOrBuilder(); } else { return inactivePartsToDelayInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToDelayInsert_; } } /** * .google.protobuf.Int64Value inactive_parts_to_delay_insert = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getInactivePartsToDelayInsertFieldBuilder() { if (inactivePartsToDelayInsertBuilder_ == null) { inactivePartsToDelayInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getInactivePartsToDelayInsert(), getParentForChildren(), isClean()); inactivePartsToDelayInsert_ = null; } return inactivePartsToDelayInsertBuilder_; } private com.google.protobuf.Int64Value inactivePartsToThrowInsert_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> inactivePartsToThrowInsertBuilder_; /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return Whether the inactivePartsToThrowInsert field is set. */ public boolean hasInactivePartsToThrowInsert() { return inactivePartsToThrowInsertBuilder_ != null || inactivePartsToThrowInsert_ != null; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; * @return The inactivePartsToThrowInsert. */ public com.google.protobuf.Int64Value getInactivePartsToThrowInsert() { if (inactivePartsToThrowInsertBuilder_ == null) { return inactivePartsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToThrowInsert_; } else { return inactivePartsToThrowInsertBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public Builder setInactivePartsToThrowInsert(com.google.protobuf.Int64Value value) { if (inactivePartsToThrowInsertBuilder_ == null) { if (value == null) { throw new NullPointerException(); } inactivePartsToThrowInsert_ = value; onChanged(); } else { inactivePartsToThrowInsertBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public Builder setInactivePartsToThrowInsert( com.google.protobuf.Int64Value.Builder builderForValue) { if (inactivePartsToThrowInsertBuilder_ == null) { inactivePartsToThrowInsert_ = builderForValue.build(); onChanged(); } else { inactivePartsToThrowInsertBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public Builder mergeInactivePartsToThrowInsert(com.google.protobuf.Int64Value value) { if (inactivePartsToThrowInsertBuilder_ == null) { if (inactivePartsToThrowInsert_ != null) { inactivePartsToThrowInsert_ = com.google.protobuf.Int64Value.newBuilder(inactivePartsToThrowInsert_).mergeFrom(value).buildPartial(); } else { inactivePartsToThrowInsert_ = value; } onChanged(); } else { inactivePartsToThrowInsertBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public Builder clearInactivePartsToThrowInsert() { if (inactivePartsToThrowInsertBuilder_ == null) { inactivePartsToThrowInsert_ = null; onChanged(); } else { inactivePartsToThrowInsert_ = null; inactivePartsToThrowInsertBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public com.google.protobuf.Int64Value.Builder getInactivePartsToThrowInsertBuilder() { onChanged(); return getInactivePartsToThrowInsertFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ public com.google.protobuf.Int64ValueOrBuilder getInactivePartsToThrowInsertOrBuilder() { if (inactivePartsToThrowInsertBuilder_ != null) { return inactivePartsToThrowInsertBuilder_.getMessageOrBuilder(); } else { return inactivePartsToThrowInsert_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : inactivePartsToThrowInsert_; } } /** * .google.protobuf.Int64Value inactive_parts_to_throw_insert = 10; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getInactivePartsToThrowInsertFieldBuilder() { if (inactivePartsToThrowInsertBuilder_ == null) { inactivePartsToThrowInsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getInactivePartsToThrowInsert(), getParentForChildren(), isClean()); inactivePartsToThrowInsert_ = null; } return inactivePartsToThrowInsertBuilder_; } private com.google.protobuf.Int64Value maxReplicatedMergesInQueue_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxReplicatedMergesInQueueBuilder_; /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return Whether the maxReplicatedMergesInQueue field is set. */ public boolean hasMaxReplicatedMergesInQueue() { return maxReplicatedMergesInQueueBuilder_ != null || maxReplicatedMergesInQueue_ != null; } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; * @return The maxReplicatedMergesInQueue. */ public com.google.protobuf.Int64Value getMaxReplicatedMergesInQueue() { if (maxReplicatedMergesInQueueBuilder_ == null) { return maxReplicatedMergesInQueue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicatedMergesInQueue_; } else { return maxReplicatedMergesInQueueBuilder_.getMessage(); } } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public Builder setMaxReplicatedMergesInQueue(com.google.protobuf.Int64Value value) { if (maxReplicatedMergesInQueueBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxReplicatedMergesInQueue_ = value; onChanged(); } else { maxReplicatedMergesInQueueBuilder_.setMessage(value); } return this; } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public Builder setMaxReplicatedMergesInQueue( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxReplicatedMergesInQueueBuilder_ == null) { maxReplicatedMergesInQueue_ = builderForValue.build(); onChanged(); } else { maxReplicatedMergesInQueueBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public Builder mergeMaxReplicatedMergesInQueue(com.google.protobuf.Int64Value value) { if (maxReplicatedMergesInQueueBuilder_ == null) { if (maxReplicatedMergesInQueue_ != null) { maxReplicatedMergesInQueue_ = com.google.protobuf.Int64Value.newBuilder(maxReplicatedMergesInQueue_).mergeFrom(value).buildPartial(); } else { maxReplicatedMergesInQueue_ = value; } onChanged(); } else { maxReplicatedMergesInQueueBuilder_.mergeFrom(value); } return this; } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public Builder clearMaxReplicatedMergesInQueue() { if (maxReplicatedMergesInQueueBuilder_ == null) { maxReplicatedMergesInQueue_ = null; onChanged(); } else { maxReplicatedMergesInQueue_ = null; maxReplicatedMergesInQueueBuilder_ = null; } return this; } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public com.google.protobuf.Int64Value.Builder getMaxReplicatedMergesInQueueBuilder() { onChanged(); return getMaxReplicatedMergesInQueueFieldBuilder().getBuilder(); } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ public com.google.protobuf.Int64ValueOrBuilder getMaxReplicatedMergesInQueueOrBuilder() { if (maxReplicatedMergesInQueueBuilder_ != null) { return maxReplicatedMergesInQueueBuilder_.getMessageOrBuilder(); } else { return maxReplicatedMergesInQueue_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxReplicatedMergesInQueue_; } } /** *
         * How many tasks of merging and mutating parts are allowed simultaneously in ReplicatedMergeTree queue.
         * 
* * .google.protobuf.Int64Value max_replicated_merges_in_queue = 5; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxReplicatedMergesInQueueFieldBuilder() { if (maxReplicatedMergesInQueueBuilder_ == null) { maxReplicatedMergesInQueueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxReplicatedMergesInQueue(), getParentForChildren(), isClean()); maxReplicatedMergesInQueue_ = null; } return maxReplicatedMergesInQueueBuilder_; } private com.google.protobuf.Int64Value numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_; /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return Whether the numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge field is set. */ public boolean hasNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ != null || numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null; } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; * @return The numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge. */ public com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; } else { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.getMessage(); } } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public Builder setNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(com.google.protobuf.Int64Value value) { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = value; onChanged(); } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.setMessage(value); } return this; } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public Builder setNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge( com.google.protobuf.Int64Value.Builder builderForValue) { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = builderForValue.build(); onChanged(); } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public Builder mergeNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(com.google.protobuf.Int64Value value) { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ != null) { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = com.google.protobuf.Int64Value.newBuilder(numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_).mergeFrom(value).buildPartial(); } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = value; } onChanged(); } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.mergeFrom(value); } return this; } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public Builder clearNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge() { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = null; onChanged(); } else { numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = null; numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ = null; } return this; } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public com.google.protobuf.Int64Value.Builder getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder() { onChanged(); return getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeFieldBuilder().getBuilder(); } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ public com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeOrBuilder() { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ != null) { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_.getMessageOrBuilder(); } else { return numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_; } } /** *
         * If there is less than specified number of free entries in background pool (or replicated queue), start to lower
         * maximum size of merge to process.
         * 
* * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_lower_max_size_of_merge = 6; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMergeFieldBuilder() { if (numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ == null) { numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getNumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge(), getParentForChildren(), isClean()); numberOfFreeEntriesInPoolToLowerMaxSizeOfMerge_ = null; } return numberOfFreeEntriesInPoolToLowerMaxSizeOfMergeBuilder_; } private com.google.protobuf.Int64Value maxBytesToMergeAtMinSpaceInPool_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesToMergeAtMinSpaceInPoolBuilder_; /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return Whether the maxBytesToMergeAtMinSpaceInPool field is set. */ public boolean hasMaxBytesToMergeAtMinSpaceInPool() { return maxBytesToMergeAtMinSpaceInPoolBuilder_ != null || maxBytesToMergeAtMinSpaceInPool_ != null; } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; * @return The maxBytesToMergeAtMinSpaceInPool. */ public com.google.protobuf.Int64Value getMaxBytesToMergeAtMinSpaceInPool() { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { return maxBytesToMergeAtMinSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMinSpaceInPool_; } else { return maxBytesToMergeAtMinSpaceInPoolBuilder_.getMessage(); } } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public Builder setMaxBytesToMergeAtMinSpaceInPool(com.google.protobuf.Int64Value value) { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxBytesToMergeAtMinSpaceInPool_ = value; onChanged(); } else { maxBytesToMergeAtMinSpaceInPoolBuilder_.setMessage(value); } return this; } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public Builder setMaxBytesToMergeAtMinSpaceInPool( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMinSpaceInPool_ = builderForValue.build(); onChanged(); } else { maxBytesToMergeAtMinSpaceInPoolBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public Builder mergeMaxBytesToMergeAtMinSpaceInPool(com.google.protobuf.Int64Value value) { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { if (maxBytesToMergeAtMinSpaceInPool_ != null) { maxBytesToMergeAtMinSpaceInPool_ = com.google.protobuf.Int64Value.newBuilder(maxBytesToMergeAtMinSpaceInPool_).mergeFrom(value).buildPartial(); } else { maxBytesToMergeAtMinSpaceInPool_ = value; } onChanged(); } else { maxBytesToMergeAtMinSpaceInPoolBuilder_.mergeFrom(value); } return this; } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public Builder clearMaxBytesToMergeAtMinSpaceInPool() { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMinSpaceInPool_ = null; onChanged(); } else { maxBytesToMergeAtMinSpaceInPool_ = null; maxBytesToMergeAtMinSpaceInPoolBuilder_ = null; } return this; } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public com.google.protobuf.Int64Value.Builder getMaxBytesToMergeAtMinSpaceInPoolBuilder() { onChanged(); return getMaxBytesToMergeAtMinSpaceInPoolFieldBuilder().getBuilder(); } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMinSpaceInPoolOrBuilder() { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ != null) { return maxBytesToMergeAtMinSpaceInPoolBuilder_.getMessageOrBuilder(); } else { return maxBytesToMergeAtMinSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMinSpaceInPool_; } } /** *
         * Maximum in total size of parts to merge, when there are minimum free threads in background pool (or entries
         * in replication queue).
         * 
* * .google.protobuf.Int64Value max_bytes_to_merge_at_min_space_in_pool = 7; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxBytesToMergeAtMinSpaceInPoolFieldBuilder() { if (maxBytesToMergeAtMinSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMinSpaceInPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxBytesToMergeAtMinSpaceInPool(), getParentForChildren(), isClean()); maxBytesToMergeAtMinSpaceInPool_ = null; } return maxBytesToMergeAtMinSpaceInPoolBuilder_; } private com.google.protobuf.Int64Value maxBytesToMergeAtMaxSpaceInPool_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxBytesToMergeAtMaxSpaceInPoolBuilder_; /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return Whether the maxBytesToMergeAtMaxSpaceInPool field is set. */ public boolean hasMaxBytesToMergeAtMaxSpaceInPool() { return maxBytesToMergeAtMaxSpaceInPoolBuilder_ != null || maxBytesToMergeAtMaxSpaceInPool_ != null; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; * @return The maxBytesToMergeAtMaxSpaceInPool. */ public com.google.protobuf.Int64Value getMaxBytesToMergeAtMaxSpaceInPool() { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { return maxBytesToMergeAtMaxSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMaxSpaceInPool_; } else { return maxBytesToMergeAtMaxSpaceInPoolBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public Builder setMaxBytesToMergeAtMaxSpaceInPool(com.google.protobuf.Int64Value value) { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxBytesToMergeAtMaxSpaceInPool_ = value; onChanged(); } else { maxBytesToMergeAtMaxSpaceInPoolBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public Builder setMaxBytesToMergeAtMaxSpaceInPool( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMaxSpaceInPool_ = builderForValue.build(); onChanged(); } else { maxBytesToMergeAtMaxSpaceInPoolBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public Builder mergeMaxBytesToMergeAtMaxSpaceInPool(com.google.protobuf.Int64Value value) { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { if (maxBytesToMergeAtMaxSpaceInPool_ != null) { maxBytesToMergeAtMaxSpaceInPool_ = com.google.protobuf.Int64Value.newBuilder(maxBytesToMergeAtMaxSpaceInPool_).mergeFrom(value).buildPartial(); } else { maxBytesToMergeAtMaxSpaceInPool_ = value; } onChanged(); } else { maxBytesToMergeAtMaxSpaceInPoolBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public Builder clearMaxBytesToMergeAtMaxSpaceInPool() { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMaxSpaceInPool_ = null; onChanged(); } else { maxBytesToMergeAtMaxSpaceInPool_ = null; maxBytesToMergeAtMaxSpaceInPoolBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public com.google.protobuf.Int64Value.Builder getMaxBytesToMergeAtMaxSpaceInPoolBuilder() { onChanged(); return getMaxBytesToMergeAtMaxSpaceInPoolFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ public com.google.protobuf.Int64ValueOrBuilder getMaxBytesToMergeAtMaxSpaceInPoolOrBuilder() { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ != null) { return maxBytesToMergeAtMaxSpaceInPoolBuilder_.getMessageOrBuilder(); } else { return maxBytesToMergeAtMaxSpaceInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxBytesToMergeAtMaxSpaceInPool_; } } /** * .google.protobuf.Int64Value max_bytes_to_merge_at_max_space_in_pool = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxBytesToMergeAtMaxSpaceInPoolFieldBuilder() { if (maxBytesToMergeAtMaxSpaceInPoolBuilder_ == null) { maxBytesToMergeAtMaxSpaceInPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxBytesToMergeAtMaxSpaceInPool(), getParentForChildren(), isClean()); maxBytesToMergeAtMaxSpaceInPool_ = null; } return maxBytesToMergeAtMaxSpaceInPoolBuilder_; } private com.google.protobuf.Int64Value minBytesForWidePart_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minBytesForWidePartBuilder_; /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return Whether the minBytesForWidePart field is set. */ public boolean hasMinBytesForWidePart() { return minBytesForWidePartBuilder_ != null || minBytesForWidePart_ != null; } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; * @return The minBytesForWidePart. */ public com.google.protobuf.Int64Value getMinBytesForWidePart() { if (minBytesForWidePartBuilder_ == null) { return minBytesForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minBytesForWidePart_; } else { return minBytesForWidePartBuilder_.getMessage(); } } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public Builder setMinBytesForWidePart(com.google.protobuf.Int64Value value) { if (minBytesForWidePartBuilder_ == null) { if (value == null) { throw new NullPointerException(); } minBytesForWidePart_ = value; onChanged(); } else { minBytesForWidePartBuilder_.setMessage(value); } return this; } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public Builder setMinBytesForWidePart( com.google.protobuf.Int64Value.Builder builderForValue) { if (minBytesForWidePartBuilder_ == null) { minBytesForWidePart_ = builderForValue.build(); onChanged(); } else { minBytesForWidePartBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public Builder mergeMinBytesForWidePart(com.google.protobuf.Int64Value value) { if (minBytesForWidePartBuilder_ == null) { if (minBytesForWidePart_ != null) { minBytesForWidePart_ = com.google.protobuf.Int64Value.newBuilder(minBytesForWidePart_).mergeFrom(value).buildPartial(); } else { minBytesForWidePart_ = value; } onChanged(); } else { minBytesForWidePartBuilder_.mergeFrom(value); } return this; } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public Builder clearMinBytesForWidePart() { if (minBytesForWidePartBuilder_ == null) { minBytesForWidePart_ = null; onChanged(); } else { minBytesForWidePart_ = null; minBytesForWidePartBuilder_ = null; } return this; } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public com.google.protobuf.Int64Value.Builder getMinBytesForWidePartBuilder() { onChanged(); return getMinBytesForWidePartFieldBuilder().getBuilder(); } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ public com.google.protobuf.Int64ValueOrBuilder getMinBytesForWidePartOrBuilder() { if (minBytesForWidePartBuilder_ != null) { return minBytesForWidePartBuilder_.getMessageOrBuilder(); } else { return minBytesForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minBytesForWidePart_; } } /** *
         * Minimum number of bytes in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_bytes_for_wide_part = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMinBytesForWidePartFieldBuilder() { if (minBytesForWidePartBuilder_ == null) { minBytesForWidePartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMinBytesForWidePart(), getParentForChildren(), isClean()); minBytesForWidePart_ = null; } return minBytesForWidePartBuilder_; } private com.google.protobuf.Int64Value minRowsForWidePart_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> minRowsForWidePartBuilder_; /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return Whether the minRowsForWidePart field is set. */ public boolean hasMinRowsForWidePart() { return minRowsForWidePartBuilder_ != null || minRowsForWidePart_ != null; } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; * @return The minRowsForWidePart. */ public com.google.protobuf.Int64Value getMinRowsForWidePart() { if (minRowsForWidePartBuilder_ == null) { return minRowsForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minRowsForWidePart_; } else { return minRowsForWidePartBuilder_.getMessage(); } } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public Builder setMinRowsForWidePart(com.google.protobuf.Int64Value value) { if (minRowsForWidePartBuilder_ == null) { if (value == null) { throw new NullPointerException(); } minRowsForWidePart_ = value; onChanged(); } else { minRowsForWidePartBuilder_.setMessage(value); } return this; } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public Builder setMinRowsForWidePart( com.google.protobuf.Int64Value.Builder builderForValue) { if (minRowsForWidePartBuilder_ == null) { minRowsForWidePart_ = builderForValue.build(); onChanged(); } else { minRowsForWidePartBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public Builder mergeMinRowsForWidePart(com.google.protobuf.Int64Value value) { if (minRowsForWidePartBuilder_ == null) { if (minRowsForWidePart_ != null) { minRowsForWidePart_ = com.google.protobuf.Int64Value.newBuilder(minRowsForWidePart_).mergeFrom(value).buildPartial(); } else { minRowsForWidePart_ = value; } onChanged(); } else { minRowsForWidePartBuilder_.mergeFrom(value); } return this; } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public Builder clearMinRowsForWidePart() { if (minRowsForWidePartBuilder_ == null) { minRowsForWidePart_ = null; onChanged(); } else { minRowsForWidePart_ = null; minRowsForWidePartBuilder_ = null; } return this; } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public com.google.protobuf.Int64Value.Builder getMinRowsForWidePartBuilder() { onChanged(); return getMinRowsForWidePartFieldBuilder().getBuilder(); } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ public com.google.protobuf.Int64ValueOrBuilder getMinRowsForWidePartOrBuilder() { if (minRowsForWidePartBuilder_ != null) { return minRowsForWidePartBuilder_.getMessageOrBuilder(); } else { return minRowsForWidePart_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : minRowsForWidePart_; } } /** *
         * Minimum number of rows in a data part that can be stored in **Wide** format.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#min_bytes_for_wide_part).
         * 
* * .google.protobuf.Int64Value min_rows_for_wide_part = 12; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMinRowsForWidePartFieldBuilder() { if (minRowsForWidePartBuilder_ == null) { minRowsForWidePartBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMinRowsForWidePart(), getParentForChildren(), isClean()); minRowsForWidePart_ = null; } return minRowsForWidePartBuilder_; } private com.google.protobuf.BoolValue ttlOnlyDropParts_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> ttlOnlyDropPartsBuilder_; /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return Whether the ttlOnlyDropParts field is set. */ public boolean hasTtlOnlyDropParts() { return ttlOnlyDropPartsBuilder_ != null || ttlOnlyDropParts_ != null; } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; * @return The ttlOnlyDropParts. */ public com.google.protobuf.BoolValue getTtlOnlyDropParts() { if (ttlOnlyDropPartsBuilder_ == null) { return ttlOnlyDropParts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : ttlOnlyDropParts_; } else { return ttlOnlyDropPartsBuilder_.getMessage(); } } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public Builder setTtlOnlyDropParts(com.google.protobuf.BoolValue value) { if (ttlOnlyDropPartsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ttlOnlyDropParts_ = value; onChanged(); } else { ttlOnlyDropPartsBuilder_.setMessage(value); } return this; } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public Builder setTtlOnlyDropParts( com.google.protobuf.BoolValue.Builder builderForValue) { if (ttlOnlyDropPartsBuilder_ == null) { ttlOnlyDropParts_ = builderForValue.build(); onChanged(); } else { ttlOnlyDropPartsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public Builder mergeTtlOnlyDropParts(com.google.protobuf.BoolValue value) { if (ttlOnlyDropPartsBuilder_ == null) { if (ttlOnlyDropParts_ != null) { ttlOnlyDropParts_ = com.google.protobuf.BoolValue.newBuilder(ttlOnlyDropParts_).mergeFrom(value).buildPartial(); } else { ttlOnlyDropParts_ = value; } onChanged(); } else { ttlOnlyDropPartsBuilder_.mergeFrom(value); } return this; } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public Builder clearTtlOnlyDropParts() { if (ttlOnlyDropPartsBuilder_ == null) { ttlOnlyDropParts_ = null; onChanged(); } else { ttlOnlyDropParts_ = null; ttlOnlyDropPartsBuilder_ = null; } return this; } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public com.google.protobuf.BoolValue.Builder getTtlOnlyDropPartsBuilder() { onChanged(); return getTtlOnlyDropPartsFieldBuilder().getBuilder(); } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ public com.google.protobuf.BoolValueOrBuilder getTtlOnlyDropPartsOrBuilder() { if (ttlOnlyDropPartsBuilder_ != null) { return ttlOnlyDropPartsBuilder_.getMessageOrBuilder(); } else { return ttlOnlyDropParts_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : ttlOnlyDropParts_; } } /** *
         * Enables or disables complete dropping of data parts where all rows are expired in MergeTree tables.
         * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/settings/settings/#ttl_only_drop_parts).
         * 
* * .google.protobuf.BoolValue ttl_only_drop_parts = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getTtlOnlyDropPartsFieldBuilder() { if (ttlOnlyDropPartsBuilder_ == null) { ttlOnlyDropPartsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getTtlOnlyDropParts(), getParentForChildren(), isClean()); ttlOnlyDropParts_ = null; } return ttlOnlyDropPartsBuilder_; } private com.google.protobuf.BoolValue allowRemoteFsZeroCopyReplication_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> allowRemoteFsZeroCopyReplicationBuilder_; /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return Whether the allowRemoteFsZeroCopyReplication field is set. */ public boolean hasAllowRemoteFsZeroCopyReplication() { return allowRemoteFsZeroCopyReplicationBuilder_ != null || allowRemoteFsZeroCopyReplication_ != null; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; * @return The allowRemoteFsZeroCopyReplication. */ public com.google.protobuf.BoolValue getAllowRemoteFsZeroCopyReplication() { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { return allowRemoteFsZeroCopyReplication_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowRemoteFsZeroCopyReplication_; } else { return allowRemoteFsZeroCopyReplicationBuilder_.getMessage(); } } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public Builder setAllowRemoteFsZeroCopyReplication(com.google.protobuf.BoolValue value) { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } allowRemoteFsZeroCopyReplication_ = value; onChanged(); } else { allowRemoteFsZeroCopyReplicationBuilder_.setMessage(value); } return this; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public Builder setAllowRemoteFsZeroCopyReplication( com.google.protobuf.BoolValue.Builder builderForValue) { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { allowRemoteFsZeroCopyReplication_ = builderForValue.build(); onChanged(); } else { allowRemoteFsZeroCopyReplicationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public Builder mergeAllowRemoteFsZeroCopyReplication(com.google.protobuf.BoolValue value) { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { if (allowRemoteFsZeroCopyReplication_ != null) { allowRemoteFsZeroCopyReplication_ = com.google.protobuf.BoolValue.newBuilder(allowRemoteFsZeroCopyReplication_).mergeFrom(value).buildPartial(); } else { allowRemoteFsZeroCopyReplication_ = value; } onChanged(); } else { allowRemoteFsZeroCopyReplicationBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public Builder clearAllowRemoteFsZeroCopyReplication() { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { allowRemoteFsZeroCopyReplication_ = null; onChanged(); } else { allowRemoteFsZeroCopyReplication_ = null; allowRemoteFsZeroCopyReplicationBuilder_ = null; } return this; } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public com.google.protobuf.BoolValue.Builder getAllowRemoteFsZeroCopyReplicationBuilder() { onChanged(); return getAllowRemoteFsZeroCopyReplicationFieldBuilder().getBuilder(); } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ public com.google.protobuf.BoolValueOrBuilder getAllowRemoteFsZeroCopyReplicationOrBuilder() { if (allowRemoteFsZeroCopyReplicationBuilder_ != null) { return allowRemoteFsZeroCopyReplicationBuilder_.getMessageOrBuilder(); } else { return allowRemoteFsZeroCopyReplication_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : allowRemoteFsZeroCopyReplication_; } } /** * .google.protobuf.BoolValue allow_remote_fs_zero_copy_replication = 14; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getAllowRemoteFsZeroCopyReplicationFieldBuilder() { if (allowRemoteFsZeroCopyReplicationBuilder_ == null) { allowRemoteFsZeroCopyReplicationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getAllowRemoteFsZeroCopyReplication(), getParentForChildren(), isClean()); allowRemoteFsZeroCopyReplication_ = null; } return allowRemoteFsZeroCopyReplicationBuilder_; } private com.google.protobuf.Int64Value mergeWithTtlTimeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeWithTtlTimeoutBuilder_; /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return Whether the mergeWithTtlTimeout field is set. */ public boolean hasMergeWithTtlTimeout() { return mergeWithTtlTimeoutBuilder_ != null || mergeWithTtlTimeout_ != null; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; * @return The mergeWithTtlTimeout. */ public com.google.protobuf.Int64Value getMergeWithTtlTimeout() { if (mergeWithTtlTimeoutBuilder_ == null) { return mergeWithTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithTtlTimeout_; } else { return mergeWithTtlTimeoutBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public Builder setMergeWithTtlTimeout(com.google.protobuf.Int64Value value) { if (mergeWithTtlTimeoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mergeWithTtlTimeout_ = value; onChanged(); } else { mergeWithTtlTimeoutBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public Builder setMergeWithTtlTimeout( com.google.protobuf.Int64Value.Builder builderForValue) { if (mergeWithTtlTimeoutBuilder_ == null) { mergeWithTtlTimeout_ = builderForValue.build(); onChanged(); } else { mergeWithTtlTimeoutBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public Builder mergeMergeWithTtlTimeout(com.google.protobuf.Int64Value value) { if (mergeWithTtlTimeoutBuilder_ == null) { if (mergeWithTtlTimeout_ != null) { mergeWithTtlTimeout_ = com.google.protobuf.Int64Value.newBuilder(mergeWithTtlTimeout_).mergeFrom(value).buildPartial(); } else { mergeWithTtlTimeout_ = value; } onChanged(); } else { mergeWithTtlTimeoutBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public Builder clearMergeWithTtlTimeout() { if (mergeWithTtlTimeoutBuilder_ == null) { mergeWithTtlTimeout_ = null; onChanged(); } else { mergeWithTtlTimeout_ = null; mergeWithTtlTimeoutBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public com.google.protobuf.Int64Value.Builder getMergeWithTtlTimeoutBuilder() { onChanged(); return getMergeWithTtlTimeoutFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ public com.google.protobuf.Int64ValueOrBuilder getMergeWithTtlTimeoutOrBuilder() { if (mergeWithTtlTimeoutBuilder_ != null) { return mergeWithTtlTimeoutBuilder_.getMessageOrBuilder(); } else { return mergeWithTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithTtlTimeout_; } } /** * .google.protobuf.Int64Value merge_with_ttl_timeout = 15; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMergeWithTtlTimeoutFieldBuilder() { if (mergeWithTtlTimeoutBuilder_ == null) { mergeWithTtlTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMergeWithTtlTimeout(), getParentForChildren(), isClean()); mergeWithTtlTimeout_ = null; } return mergeWithTtlTimeoutBuilder_; } private com.google.protobuf.Int64Value mergeWithRecompressionTtlTimeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> mergeWithRecompressionTtlTimeoutBuilder_; /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return Whether the mergeWithRecompressionTtlTimeout field is set. */ public boolean hasMergeWithRecompressionTtlTimeout() { return mergeWithRecompressionTtlTimeoutBuilder_ != null || mergeWithRecompressionTtlTimeout_ != null; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; * @return The mergeWithRecompressionTtlTimeout. */ public com.google.protobuf.Int64Value getMergeWithRecompressionTtlTimeout() { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { return mergeWithRecompressionTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithRecompressionTtlTimeout_; } else { return mergeWithRecompressionTtlTimeoutBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public Builder setMergeWithRecompressionTtlTimeout(com.google.protobuf.Int64Value value) { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mergeWithRecompressionTtlTimeout_ = value; onChanged(); } else { mergeWithRecompressionTtlTimeoutBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public Builder setMergeWithRecompressionTtlTimeout( com.google.protobuf.Int64Value.Builder builderForValue) { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { mergeWithRecompressionTtlTimeout_ = builderForValue.build(); onChanged(); } else { mergeWithRecompressionTtlTimeoutBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public Builder mergeMergeWithRecompressionTtlTimeout(com.google.protobuf.Int64Value value) { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { if (mergeWithRecompressionTtlTimeout_ != null) { mergeWithRecompressionTtlTimeout_ = com.google.protobuf.Int64Value.newBuilder(mergeWithRecompressionTtlTimeout_).mergeFrom(value).buildPartial(); } else { mergeWithRecompressionTtlTimeout_ = value; } onChanged(); } else { mergeWithRecompressionTtlTimeoutBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public Builder clearMergeWithRecompressionTtlTimeout() { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { mergeWithRecompressionTtlTimeout_ = null; onChanged(); } else { mergeWithRecompressionTtlTimeout_ = null; mergeWithRecompressionTtlTimeoutBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public com.google.protobuf.Int64Value.Builder getMergeWithRecompressionTtlTimeoutBuilder() { onChanged(); return getMergeWithRecompressionTtlTimeoutFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ public com.google.protobuf.Int64ValueOrBuilder getMergeWithRecompressionTtlTimeoutOrBuilder() { if (mergeWithRecompressionTtlTimeoutBuilder_ != null) { return mergeWithRecompressionTtlTimeoutBuilder_.getMessageOrBuilder(); } else { return mergeWithRecompressionTtlTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : mergeWithRecompressionTtlTimeout_; } } /** * .google.protobuf.Int64Value merge_with_recompression_ttl_timeout = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMergeWithRecompressionTtlTimeoutFieldBuilder() { if (mergeWithRecompressionTtlTimeoutBuilder_ == null) { mergeWithRecompressionTtlTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMergeWithRecompressionTtlTimeout(), getParentForChildren(), isClean()); mergeWithRecompressionTtlTimeout_ = null; } return mergeWithRecompressionTtlTimeoutBuilder_; } private com.google.protobuf.Int64Value maxPartsInTotal_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxPartsInTotalBuilder_; /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return Whether the maxPartsInTotal field is set. */ public boolean hasMaxPartsInTotal() { return maxPartsInTotalBuilder_ != null || maxPartsInTotal_ != null; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; * @return The maxPartsInTotal. */ public com.google.protobuf.Int64Value getMaxPartsInTotal() { if (maxPartsInTotalBuilder_ == null) { return maxPartsInTotal_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartsInTotal_; } else { return maxPartsInTotalBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public Builder setMaxPartsInTotal(com.google.protobuf.Int64Value value) { if (maxPartsInTotalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxPartsInTotal_ = value; onChanged(); } else { maxPartsInTotalBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public Builder setMaxPartsInTotal( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxPartsInTotalBuilder_ == null) { maxPartsInTotal_ = builderForValue.build(); onChanged(); } else { maxPartsInTotalBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public Builder mergeMaxPartsInTotal(com.google.protobuf.Int64Value value) { if (maxPartsInTotalBuilder_ == null) { if (maxPartsInTotal_ != null) { maxPartsInTotal_ = com.google.protobuf.Int64Value.newBuilder(maxPartsInTotal_).mergeFrom(value).buildPartial(); } else { maxPartsInTotal_ = value; } onChanged(); } else { maxPartsInTotalBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public Builder clearMaxPartsInTotal() { if (maxPartsInTotalBuilder_ == null) { maxPartsInTotal_ = null; onChanged(); } else { maxPartsInTotal_ = null; maxPartsInTotalBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public com.google.protobuf.Int64Value.Builder getMaxPartsInTotalBuilder() { onChanged(); return getMaxPartsInTotalFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ public com.google.protobuf.Int64ValueOrBuilder getMaxPartsInTotalOrBuilder() { if (maxPartsInTotalBuilder_ != null) { return maxPartsInTotalBuilder_.getMessageOrBuilder(); } else { return maxPartsInTotal_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartsInTotal_; } } /** * .google.protobuf.Int64Value max_parts_in_total = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxPartsInTotalFieldBuilder() { if (maxPartsInTotalBuilder_ == null) { maxPartsInTotalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxPartsInTotal(), getParentForChildren(), isClean()); maxPartsInTotal_ = null; } return maxPartsInTotalBuilder_; } private com.google.protobuf.Int64Value maxNumberOfMergesWithTtlInPool_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxNumberOfMergesWithTtlInPoolBuilder_; /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return Whether the maxNumberOfMergesWithTtlInPool field is set. */ public boolean hasMaxNumberOfMergesWithTtlInPool() { return maxNumberOfMergesWithTtlInPoolBuilder_ != null || maxNumberOfMergesWithTtlInPool_ != null; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; * @return The maxNumberOfMergesWithTtlInPool. */ public com.google.protobuf.Int64Value getMaxNumberOfMergesWithTtlInPool() { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { return maxNumberOfMergesWithTtlInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNumberOfMergesWithTtlInPool_; } else { return maxNumberOfMergesWithTtlInPoolBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public Builder setMaxNumberOfMergesWithTtlInPool(com.google.protobuf.Int64Value value) { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxNumberOfMergesWithTtlInPool_ = value; onChanged(); } else { maxNumberOfMergesWithTtlInPoolBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public Builder setMaxNumberOfMergesWithTtlInPool( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { maxNumberOfMergesWithTtlInPool_ = builderForValue.build(); onChanged(); } else { maxNumberOfMergesWithTtlInPoolBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public Builder mergeMaxNumberOfMergesWithTtlInPool(com.google.protobuf.Int64Value value) { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { if (maxNumberOfMergesWithTtlInPool_ != null) { maxNumberOfMergesWithTtlInPool_ = com.google.protobuf.Int64Value.newBuilder(maxNumberOfMergesWithTtlInPool_).mergeFrom(value).buildPartial(); } else { maxNumberOfMergesWithTtlInPool_ = value; } onChanged(); } else { maxNumberOfMergesWithTtlInPoolBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public Builder clearMaxNumberOfMergesWithTtlInPool() { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { maxNumberOfMergesWithTtlInPool_ = null; onChanged(); } else { maxNumberOfMergesWithTtlInPool_ = null; maxNumberOfMergesWithTtlInPoolBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public com.google.protobuf.Int64Value.Builder getMaxNumberOfMergesWithTtlInPoolBuilder() { onChanged(); return getMaxNumberOfMergesWithTtlInPoolFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ public com.google.protobuf.Int64ValueOrBuilder getMaxNumberOfMergesWithTtlInPoolOrBuilder() { if (maxNumberOfMergesWithTtlInPoolBuilder_ != null) { return maxNumberOfMergesWithTtlInPoolBuilder_.getMessageOrBuilder(); } else { return maxNumberOfMergesWithTtlInPool_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxNumberOfMergesWithTtlInPool_; } } /** * .google.protobuf.Int64Value max_number_of_merges_with_ttl_in_pool = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxNumberOfMergesWithTtlInPoolFieldBuilder() { if (maxNumberOfMergesWithTtlInPoolBuilder_ == null) { maxNumberOfMergesWithTtlInPoolBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxNumberOfMergesWithTtlInPool(), getParentForChildren(), isClean()); maxNumberOfMergesWithTtlInPool_ = null; } return maxNumberOfMergesWithTtlInPoolBuilder_; } private com.google.protobuf.Int64Value cleanupDelayPeriod_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> cleanupDelayPeriodBuilder_; /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return Whether the cleanupDelayPeriod field is set. */ public boolean hasCleanupDelayPeriod() { return cleanupDelayPeriodBuilder_ != null || cleanupDelayPeriod_ != null; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; * @return The cleanupDelayPeriod. */ public com.google.protobuf.Int64Value getCleanupDelayPeriod() { if (cleanupDelayPeriodBuilder_ == null) { return cleanupDelayPeriod_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : cleanupDelayPeriod_; } else { return cleanupDelayPeriodBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public Builder setCleanupDelayPeriod(com.google.protobuf.Int64Value value) { if (cleanupDelayPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cleanupDelayPeriod_ = value; onChanged(); } else { cleanupDelayPeriodBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public Builder setCleanupDelayPeriod( com.google.protobuf.Int64Value.Builder builderForValue) { if (cleanupDelayPeriodBuilder_ == null) { cleanupDelayPeriod_ = builderForValue.build(); onChanged(); } else { cleanupDelayPeriodBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public Builder mergeCleanupDelayPeriod(com.google.protobuf.Int64Value value) { if (cleanupDelayPeriodBuilder_ == null) { if (cleanupDelayPeriod_ != null) { cleanupDelayPeriod_ = com.google.protobuf.Int64Value.newBuilder(cleanupDelayPeriod_).mergeFrom(value).buildPartial(); } else { cleanupDelayPeriod_ = value; } onChanged(); } else { cleanupDelayPeriodBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public Builder clearCleanupDelayPeriod() { if (cleanupDelayPeriodBuilder_ == null) { cleanupDelayPeriod_ = null; onChanged(); } else { cleanupDelayPeriod_ = null; cleanupDelayPeriodBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public com.google.protobuf.Int64Value.Builder getCleanupDelayPeriodBuilder() { onChanged(); return getCleanupDelayPeriodFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ public com.google.protobuf.Int64ValueOrBuilder getCleanupDelayPeriodOrBuilder() { if (cleanupDelayPeriodBuilder_ != null) { return cleanupDelayPeriodBuilder_.getMessageOrBuilder(); } else { return cleanupDelayPeriod_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : cleanupDelayPeriod_; } } /** * .google.protobuf.Int64Value cleanup_delay_period = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getCleanupDelayPeriodFieldBuilder() { if (cleanupDelayPeriodBuilder_ == null) { cleanupDelayPeriodBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getCleanupDelayPeriod(), getParentForChildren(), isClean()); cleanupDelayPeriod_ = null; } return cleanupDelayPeriodBuilder_; } private com.google.protobuf.Int64Value numberOfFreeEntriesInPoolToExecuteMutation_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> numberOfFreeEntriesInPoolToExecuteMutationBuilder_; /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return Whether the numberOfFreeEntriesInPoolToExecuteMutation field is set. */ public boolean hasNumberOfFreeEntriesInPoolToExecuteMutation() { return numberOfFreeEntriesInPoolToExecuteMutationBuilder_ != null || numberOfFreeEntriesInPoolToExecuteMutation_ != null; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; * @return The numberOfFreeEntriesInPoolToExecuteMutation. */ public com.google.protobuf.Int64Value getNumberOfFreeEntriesInPoolToExecuteMutation() { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { return numberOfFreeEntriesInPoolToExecuteMutation_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToExecuteMutation_; } else { return numberOfFreeEntriesInPoolToExecuteMutationBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public Builder setNumberOfFreeEntriesInPoolToExecuteMutation(com.google.protobuf.Int64Value value) { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } numberOfFreeEntriesInPoolToExecuteMutation_ = value; onChanged(); } else { numberOfFreeEntriesInPoolToExecuteMutationBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public Builder setNumberOfFreeEntriesInPoolToExecuteMutation( com.google.protobuf.Int64Value.Builder builderForValue) { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { numberOfFreeEntriesInPoolToExecuteMutation_ = builderForValue.build(); onChanged(); } else { numberOfFreeEntriesInPoolToExecuteMutationBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public Builder mergeNumberOfFreeEntriesInPoolToExecuteMutation(com.google.protobuf.Int64Value value) { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { if (numberOfFreeEntriesInPoolToExecuteMutation_ != null) { numberOfFreeEntriesInPoolToExecuteMutation_ = com.google.protobuf.Int64Value.newBuilder(numberOfFreeEntriesInPoolToExecuteMutation_).mergeFrom(value).buildPartial(); } else { numberOfFreeEntriesInPoolToExecuteMutation_ = value; } onChanged(); } else { numberOfFreeEntriesInPoolToExecuteMutationBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public Builder clearNumberOfFreeEntriesInPoolToExecuteMutation() { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { numberOfFreeEntriesInPoolToExecuteMutation_ = null; onChanged(); } else { numberOfFreeEntriesInPoolToExecuteMutation_ = null; numberOfFreeEntriesInPoolToExecuteMutationBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public com.google.protobuf.Int64Value.Builder getNumberOfFreeEntriesInPoolToExecuteMutationBuilder() { onChanged(); return getNumberOfFreeEntriesInPoolToExecuteMutationFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ public com.google.protobuf.Int64ValueOrBuilder getNumberOfFreeEntriesInPoolToExecuteMutationOrBuilder() { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ != null) { return numberOfFreeEntriesInPoolToExecuteMutationBuilder_.getMessageOrBuilder(); } else { return numberOfFreeEntriesInPoolToExecuteMutation_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : numberOfFreeEntriesInPoolToExecuteMutation_; } } /** * .google.protobuf.Int64Value number_of_free_entries_in_pool_to_execute_mutation = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getNumberOfFreeEntriesInPoolToExecuteMutationFieldBuilder() { if (numberOfFreeEntriesInPoolToExecuteMutationBuilder_ == null) { numberOfFreeEntriesInPoolToExecuteMutationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getNumberOfFreeEntriesInPoolToExecuteMutation(), getParentForChildren(), isClean()); numberOfFreeEntriesInPoolToExecuteMutation_ = null; } return numberOfFreeEntriesInPoolToExecuteMutationBuilder_; } @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.config.ClickhouseConfig.MergeTree) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MergeTree parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MergeTree(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.config.Clickhouse.ClickhouseConfig.MergeTree getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KafkaOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka) com.google.protobuf.MessageOrBuilder { /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The enum numeric value on the wire for securityProtocol. */ int getSecurityProtocolValue(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The securityProtocol. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol getSecurityProtocol(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The enum numeric value on the wire for saslMechanism. */ int getSaslMechanismValue(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The saslMechanism. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism getSaslMechanism(); /** * string sasl_username = 3; * @return The saslUsername. */ java.lang.String getSaslUsername(); /** * string sasl_username = 3; * @return The bytes for saslUsername. */ com.google.protobuf.ByteString getSaslUsernameBytes(); /** * string sasl_password = 4; * @return The saslPassword. */ java.lang.String getSaslPassword(); /** * string sasl_password = 4; * @return The bytes for saslPassword. */ com.google.protobuf.ByteString getSaslPasswordBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka} */ public static final class Kafka extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka) KafkaOrBuilder { private static final long serialVersionUID = 0L; // Use Kafka.newBuilder() to construct. private Kafka(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Kafka() { securityProtocol_ = 0; saslMechanism_ = 0; saslUsername_ = ""; saslPassword_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Kafka(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Kafka( 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 8: { int rawValue = input.readEnum(); securityProtocol_ = rawValue; break; } case 16: { int rawValue = input.readEnum(); saslMechanism_ = rawValue; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); saslUsername_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); saslPassword_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol} */ public enum SecurityProtocol implements com.google.protobuf.ProtocolMessageEnum { /** * SECURITY_PROTOCOL_UNSPECIFIED = 0; */ SECURITY_PROTOCOL_UNSPECIFIED(0), /** * SECURITY_PROTOCOL_PLAINTEXT = 1; */ SECURITY_PROTOCOL_PLAINTEXT(1), /** * SECURITY_PROTOCOL_SSL = 2; */ SECURITY_PROTOCOL_SSL(2), /** * SECURITY_PROTOCOL_SASL_PLAINTEXT = 3; */ SECURITY_PROTOCOL_SASL_PLAINTEXT(3), /** * SECURITY_PROTOCOL_SASL_SSL = 4; */ SECURITY_PROTOCOL_SASL_SSL(4), UNRECOGNIZED(-1), ; /** * SECURITY_PROTOCOL_UNSPECIFIED = 0; */ public static final int SECURITY_PROTOCOL_UNSPECIFIED_VALUE = 0; /** * SECURITY_PROTOCOL_PLAINTEXT = 1; */ public static final int SECURITY_PROTOCOL_PLAINTEXT_VALUE = 1; /** * SECURITY_PROTOCOL_SSL = 2; */ public static final int SECURITY_PROTOCOL_SSL_VALUE = 2; /** * SECURITY_PROTOCOL_SASL_PLAINTEXT = 3; */ public static final int SECURITY_PROTOCOL_SASL_PLAINTEXT_VALUE = 3; /** * SECURITY_PROTOCOL_SASL_SSL = 4; */ public static final int SECURITY_PROTOCOL_SASL_SSL_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 SecurityProtocol 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 SecurityProtocol forNumber(int value) { switch (value) { case 0: return SECURITY_PROTOCOL_UNSPECIFIED; case 1: return SECURITY_PROTOCOL_PLAINTEXT; case 2: return SECURITY_PROTOCOL_SSL; case 3: return SECURITY_PROTOCOL_SASL_PLAINTEXT; case 4: return SECURITY_PROTOCOL_SASL_SSL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SecurityProtocol> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SecurityProtocol findValueByNumber(int number) { return SecurityProtocol.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.config.Clickhouse.ClickhouseConfig.Kafka.getDescriptor().getEnumTypes().get(0); } private static final SecurityProtocol[] VALUES = values(); public static SecurityProtocol 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 SecurityProtocol(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol) } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism} */ public enum SaslMechanism implements com.google.protobuf.ProtocolMessageEnum { /** * SASL_MECHANISM_UNSPECIFIED = 0; */ SASL_MECHANISM_UNSPECIFIED(0), /** * SASL_MECHANISM_GSSAPI = 1; */ SASL_MECHANISM_GSSAPI(1), /** * SASL_MECHANISM_PLAIN = 2; */ SASL_MECHANISM_PLAIN(2), /** * SASL_MECHANISM_SCRAM_SHA_256 = 3; */ SASL_MECHANISM_SCRAM_SHA_256(3), /** * SASL_MECHANISM_SCRAM_SHA_512 = 4; */ SASL_MECHANISM_SCRAM_SHA_512(4), UNRECOGNIZED(-1), ; /** * SASL_MECHANISM_UNSPECIFIED = 0; */ public static final int SASL_MECHANISM_UNSPECIFIED_VALUE = 0; /** * SASL_MECHANISM_GSSAPI = 1; */ public static final int SASL_MECHANISM_GSSAPI_VALUE = 1; /** * SASL_MECHANISM_PLAIN = 2; */ public static final int SASL_MECHANISM_PLAIN_VALUE = 2; /** * SASL_MECHANISM_SCRAM_SHA_256 = 3; */ public static final int SASL_MECHANISM_SCRAM_SHA_256_VALUE = 3; /** * SASL_MECHANISM_SCRAM_SHA_512 = 4; */ public static final int SASL_MECHANISM_SCRAM_SHA_512_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 SaslMechanism 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 SaslMechanism forNumber(int value) { switch (value) { case 0: return SASL_MECHANISM_UNSPECIFIED; case 1: return SASL_MECHANISM_GSSAPI; case 2: return SASL_MECHANISM_PLAIN; case 3: return SASL_MECHANISM_SCRAM_SHA_256; case 4: return SASL_MECHANISM_SCRAM_SHA_512; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SaslMechanism> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SaslMechanism findValueByNumber(int number) { return SaslMechanism.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.config.Clickhouse.ClickhouseConfig.Kafka.getDescriptor().getEnumTypes().get(1); } private static final SaslMechanism[] VALUES = values(); public static SaslMechanism 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 SaslMechanism(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism) } public static final int SECURITY_PROTOCOL_FIELD_NUMBER = 1; private int securityProtocol_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The enum numeric value on the wire for securityProtocol. */ @java.lang.Override public int getSecurityProtocolValue() { return securityProtocol_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The securityProtocol. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol getSecurityProtocol() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.valueOf(securityProtocol_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.UNRECOGNIZED : result; } public static final int SASL_MECHANISM_FIELD_NUMBER = 2; private int saslMechanism_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The enum numeric value on the wire for saslMechanism. */ @java.lang.Override public int getSaslMechanismValue() { return saslMechanism_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The saslMechanism. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism getSaslMechanism() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.valueOf(saslMechanism_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.UNRECOGNIZED : result; } public static final int SASL_USERNAME_FIELD_NUMBER = 3; private volatile java.lang.Object saslUsername_; /** * string sasl_username = 3; * @return The saslUsername. */ @java.lang.Override public java.lang.String getSaslUsername() { java.lang.Object ref = saslUsername_; 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(); saslUsername_ = s; return s; } } /** * string sasl_username = 3; * @return The bytes for saslUsername. */ @java.lang.Override public com.google.protobuf.ByteString getSaslUsernameBytes() { java.lang.Object ref = saslUsername_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); saslUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SASL_PASSWORD_FIELD_NUMBER = 4; private volatile java.lang.Object saslPassword_; /** * string sasl_password = 4; * @return The saslPassword. */ @java.lang.Override public java.lang.String getSaslPassword() { java.lang.Object ref = saslPassword_; 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(); saslPassword_ = s; return s; } } /** * string sasl_password = 4; * @return The bytes for saslPassword. */ @java.lang.Override public com.google.protobuf.ByteString getSaslPasswordBytes() { java.lang.Object ref = saslPassword_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); saslPassword_ = 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 (securityProtocol_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.SECURITY_PROTOCOL_UNSPECIFIED.getNumber()) { output.writeEnum(1, securityProtocol_); } if (saslMechanism_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.SASL_MECHANISM_UNSPECIFIED.getNumber()) { output.writeEnum(2, saslMechanism_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslUsername_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, saslUsername_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslPassword_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, saslPassword_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (securityProtocol_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.SECURITY_PROTOCOL_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, securityProtocol_); } if (saslMechanism_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.SASL_MECHANISM_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, saslMechanism_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslUsername_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, saslUsername_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(saslPassword_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, saslPassword_); } 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.config.Clickhouse.ClickhouseConfig.Kafka)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka) obj; if (securityProtocol_ != other.securityProtocol_) return false; if (saslMechanism_ != other.saslMechanism_) return false; if (!getSaslUsername() .equals(other.getSaslUsername())) return false; if (!getSaslPassword() .equals(other.getSaslPassword())) 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) + SECURITY_PROTOCOL_FIELD_NUMBER; hash = (53 * hash) + securityProtocol_; hash = (37 * hash) + SASL_MECHANISM_FIELD_NUMBER; hash = (53 * hash) + saslMechanism_; hash = (37 * hash) + SASL_USERNAME_FIELD_NUMBER; hash = (53 * hash) + getSaslUsername().hashCode(); hash = (37 * hash) + SASL_PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getSaslPassword().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.Clickhouse.ClickhouseConfig.Kafka 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.config.ClickhouseConfig.Kafka} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.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(); securityProtocol_ = 0; saslMechanism_ = 0; saslUsername_ = ""; saslPassword_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka(this); result.securityProtocol_ = securityProtocol_; result.saslMechanism_ = saslMechanism_; result.saslUsername_ = saslUsername_; result.saslPassword_ = saslPassword_; 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.config.Clickhouse.ClickhouseConfig.Kafka) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance()) return this; if (other.securityProtocol_ != 0) { setSecurityProtocolValue(other.getSecurityProtocolValue()); } if (other.saslMechanism_ != 0) { setSaslMechanismValue(other.getSaslMechanismValue()); } if (!other.getSaslUsername().isEmpty()) { saslUsername_ = other.saslUsername_; onChanged(); } if (!other.getSaslPassword().isEmpty()) { saslPassword_ = other.saslPassword_; 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.config.Clickhouse.ClickhouseConfig.Kafka parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int securityProtocol_ = 0; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The enum numeric value on the wire for securityProtocol. */ @java.lang.Override public int getSecurityProtocolValue() { return securityProtocol_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @param value The enum numeric value on the wire for securityProtocol to set. * @return This builder for chaining. */ public Builder setSecurityProtocolValue(int value) { securityProtocol_ = value; onChanged(); return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return The securityProtocol. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol getSecurityProtocol() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.valueOf(securityProtocol_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol.UNRECOGNIZED : result; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @param value The securityProtocol to set. * @return This builder for chaining. */ public Builder setSecurityProtocol(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SecurityProtocol value) { if (value == null) { throw new NullPointerException(); } securityProtocol_ = value.getNumber(); onChanged(); return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SecurityProtocol security_protocol = 1; * @return This builder for chaining. */ public Builder clearSecurityProtocol() { securityProtocol_ = 0; onChanged(); return this; } private int saslMechanism_ = 0; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The enum numeric value on the wire for saslMechanism. */ @java.lang.Override public int getSaslMechanismValue() { return saslMechanism_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @param value The enum numeric value on the wire for saslMechanism to set. * @return This builder for chaining. */ public Builder setSaslMechanismValue(int value) { saslMechanism_ = value; onChanged(); return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return The saslMechanism. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism getSaslMechanism() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.valueOf(saslMechanism_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism.UNRECOGNIZED : result; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @param value The saslMechanism to set. * @return This builder for chaining. */ public Builder setSaslMechanism(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.SaslMechanism value) { if (value == null) { throw new NullPointerException(); } saslMechanism_ = value.getNumber(); onChanged(); return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka.SaslMechanism sasl_mechanism = 2; * @return This builder for chaining. */ public Builder clearSaslMechanism() { saslMechanism_ = 0; onChanged(); return this; } private java.lang.Object saslUsername_ = ""; /** * string sasl_username = 3; * @return The saslUsername. */ public java.lang.String getSaslUsername() { java.lang.Object ref = saslUsername_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); saslUsername_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sasl_username = 3; * @return The bytes for saslUsername. */ public com.google.protobuf.ByteString getSaslUsernameBytes() { java.lang.Object ref = saslUsername_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); saslUsername_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sasl_username = 3; * @param value The saslUsername to set. * @return This builder for chaining. */ public Builder setSaslUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } saslUsername_ = value; onChanged(); return this; } /** * string sasl_username = 3; * @return This builder for chaining. */ public Builder clearSaslUsername() { saslUsername_ = getDefaultInstance().getSaslUsername(); onChanged(); return this; } /** * string sasl_username = 3; * @param value The bytes for saslUsername to set. * @return This builder for chaining. */ public Builder setSaslUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); saslUsername_ = value; onChanged(); return this; } private java.lang.Object saslPassword_ = ""; /** * string sasl_password = 4; * @return The saslPassword. */ public java.lang.String getSaslPassword() { java.lang.Object ref = saslPassword_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); saslPassword_ = s; return s; } else { return (java.lang.String) ref; } } /** * string sasl_password = 4; * @return The bytes for saslPassword. */ public com.google.protobuf.ByteString getSaslPasswordBytes() { java.lang.Object ref = saslPassword_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); saslPassword_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string sasl_password = 4; * @param value The saslPassword to set. * @return This builder for chaining. */ public Builder setSaslPassword( java.lang.String value) { if (value == null) { throw new NullPointerException(); } saslPassword_ = value; onChanged(); return this; } /** * string sasl_password = 4; * @return This builder for chaining. */ public Builder clearSaslPassword() { saslPassword_ = getDefaultInstance().getSaslPassword(); onChanged(); return this; } /** * string sasl_password = 4; * @param value The bytes for saslPassword to set. * @return This builder for chaining. */ public Builder setSaslPasswordBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); saslPassword_ = 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.config.ClickhouseConfig.Kafka) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Kafka parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Kafka(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.config.Clickhouse.ClickhouseConfig.Kafka getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KafkaTopicOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic) com.google.protobuf.MessageOrBuilder { /** * string name = 1 [(.yandex.cloud.required) = true]; * @return The name. */ java.lang.String getName(); /** * string name = 1 [(.yandex.cloud.required) = true]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return Whether the settings field is set. */ boolean hasSettings(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return The settings. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getSettings(); /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getSettingsOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic} */ public static final class KafkaTopic extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic) KafkaTopicOrBuilder { private static final long serialVersionUID = 0L; // Use KafkaTopic.newBuilder() to construct. private KafkaTopic(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KafkaTopic() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new KafkaTopic(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KafkaTopic( 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(); name_ = s; break; } case 18: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder subBuilder = null; if (settings_ != null) { subBuilder = settings_.toBuilder(); } settings_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(settings_); settings_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * string name = 1 [(.yandex.cloud.required) = true]; * @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; } } /** * string name = 1 [(.yandex.cloud.required) = true]; * @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 SETTINGS_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka settings_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return settings_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return The settings. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getSettings() { return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : settings_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getSettingsOrBuilder() { return getSettings(); } 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 (settings_ != null) { output.writeMessage(2, getSettings()); } 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 (settings_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSettings()); } 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.config.Clickhouse.ClickhouseConfig.KafkaTopic)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic) obj; if (!getName() .equals(other.getName())) return false; if (hasSettings() != other.hasSettings()) return false; if (hasSettings()) { if (!getSettings() .equals(other.getSettings())) 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(); if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.Clickhouse.ClickhouseConfig.KafkaTopic 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.config.ClickhouseConfig.KafkaTopic} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.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(); name_ = ""; if (settingsBuilder_ == null) { settings_ = null; } else { settings_ = null; settingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic(this); result.name_ = name_; if (settingsBuilder_ == null) { result.settings_ = settings_; } else { result.settings_ = settingsBuilder_.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.config.Clickhouse.ClickhouseConfig.KafkaTopic) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } 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.config.Clickhouse.ClickhouseConfig.KafkaTopic parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** * string name = 1 [(.yandex.cloud.required) = true]; * @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; } } /** * string name = 1 [(.yandex.cloud.required) = true]; * @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; } } /** * string name = 1 [(.yandex.cloud.required) = true]; * @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; } /** * string name = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * string name = 1 [(.yandex.cloud.required) = true]; * @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 yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka settings_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder> settingsBuilder_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return Whether the settings field is set. */ public boolean hasSettings() { return settingsBuilder_ != null || settings_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; * @return The settings. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public Builder setSettings(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; onChanged(); } else { settingsBuilder_.setMessage(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public Builder setSettings( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); onChanged(); } else { settingsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public Builder mergeSettings(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka value) { if (settingsBuilder_ == null) { if (settings_ != null) { settings_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.newBuilder(settings_).mergeFrom(value).buildPartial(); } else { settings_ = value; } onChanged(); } else { settingsBuilder_.mergeFrom(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public Builder clearSettings() { if (settingsBuilder_ == null) { settings_ = null; onChanged(); } else { settings_ = null; settingsBuilder_ = null; } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder getSettingsBuilder() { onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : settings_; } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka settings = 2 [(.yandex.cloud.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder>( getSettings(), getParentForChildren(), isClean()); settings_ = null; } return settingsBuilder_; } @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.config.ClickhouseConfig.KafkaTopic) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public KafkaTopic parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new KafkaTopic(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.config.Clickhouse.ClickhouseConfig.KafkaTopic getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RabbitmqOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq) com.google.protobuf.MessageOrBuilder { /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
       * 
* * string username = 1; * @return The username. */ java.lang.String getUsername(); /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
       * 
* * string username = 1; * @return The bytes for username. */ com.google.protobuf.ByteString getUsernameBytes(); /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
       * 
* * string password = 2; * @return The password. */ java.lang.String getPassword(); /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
       * 
* * string password = 2; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
       * 
* * string vhost = 3; * @return The vhost. */ java.lang.String getVhost(); /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
       * 
* * string vhost = 3; * @return The bytes for vhost. */ com.google.protobuf.ByteString getVhostBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq} */ public static final class Rabbitmq extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq) RabbitmqOrBuilder { private static final long serialVersionUID = 0L; // Use Rabbitmq.newBuilder() to construct. private Rabbitmq(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Rabbitmq() { username_ = ""; password_ = ""; vhost_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Rabbitmq(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Rabbitmq( 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(); username_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); password_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); vhost_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder.class); } public static final int USERNAME_FIELD_NUMBER = 1; private volatile java.lang.Object username_; /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
       * 
* * string username = 1; * @return The username. */ @java.lang.Override public java.lang.String getUsername() { java.lang.Object ref = username_; 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(); username_ = s; return s; } } /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
       * 
* * string username = 1; * @return The bytes for username. */ @java.lang.Override public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 2; private volatile java.lang.Object password_; /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
       * 
* * string password = 2; * @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; } } /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
       * 
* * string password = 2; * @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 VHOST_FIELD_NUMBER = 3; private volatile java.lang.Object vhost_; /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
       * 
* * string vhost = 3; * @return The vhost. */ @java.lang.Override public java.lang.String getVhost() { java.lang.Object ref = vhost_; 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(); vhost_ = s; return s; } } /** *
       * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
       * 
* * string vhost = 3; * @return The bytes for vhost. */ @java.lang.Override public com.google.protobuf.ByteString getVhostBytes() { java.lang.Object ref = vhost_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vhost_ = 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(username_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, username_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, vhost_); } 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(username_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, username_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(vhost_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, vhost_); } 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.config.Clickhouse.ClickhouseConfig.Rabbitmq)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq) obj; if (!getUsername() .equals(other.getUsername())) return false; if (!getPassword() .equals(other.getPassword())) return false; if (!getVhost() .equals(other.getVhost())) 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) + USERNAME_FIELD_NUMBER; hash = (53 * hash) + getUsername().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (37 * hash) + VHOST_FIELD_NUMBER; hash = (53 * hash) + getVhost().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.Clickhouse.ClickhouseConfig.Rabbitmq 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.config.ClickhouseConfig.Rabbitmq} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.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(); username_ = ""; password_ = ""; vhost_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq(this); result.username_ = username_; result.password_ = password_; result.vhost_ = vhost_; 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.config.Clickhouse.ClickhouseConfig.Rabbitmq) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.getDefaultInstance()) return this; if (!other.getUsername().isEmpty()) { username_ = other.username_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; onChanged(); } if (!other.getVhost().isEmpty()) { vhost_ = other.vhost_; 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.config.Clickhouse.ClickhouseConfig.Rabbitmq parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object username_ = ""; /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
         * 
* * string username = 1; * @return The username. */ public java.lang.String getUsername() { java.lang.Object ref = username_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); username_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
         * 
* * string username = 1; * @return The bytes for username. */ public com.google.protobuf.ByteString getUsernameBytes() { java.lang.Object ref = username_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); username_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
         * 
* * string username = 1; * @param value The username to set. * @return This builder for chaining. */ public Builder setUsername( java.lang.String value) { if (value == null) { throw new NullPointerException(); } username_ = value; onChanged(); return this; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
         * 
* * string username = 1; * @return This builder for chaining. */ public Builder clearUsername() { username_ = getDefaultInstance().getUsername(); onChanged(); return this; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) username
         * 
* * string username = 1; * @param value The bytes for username to set. * @return This builder for chaining. */ public Builder setUsernameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); username_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
         * 
* * string password = 2; * @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; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
         * 
* * string password = 2; * @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; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
         * 
* * string password = 2; * @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; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
         * 
* * string password = 2; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) password
         * 
* * string password = 2; * @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.lang.Object vhost_ = ""; /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
         * 
* * string vhost = 3; * @return The vhost. */ public java.lang.String getVhost() { java.lang.Object ref = vhost_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); vhost_ = s; return s; } else { return (java.lang.String) ref; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
         * 
* * string vhost = 3; * @return The bytes for vhost. */ public com.google.protobuf.ByteString getVhostBytes() { java.lang.Object ref = vhost_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); vhost_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
         * 
* * string vhost = 3; * @param value The vhost to set. * @return This builder for chaining. */ public Builder setVhost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } vhost_ = value; onChanged(); return this; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
         * 
* * string vhost = 3; * @return This builder for chaining. */ public Builder clearVhost() { vhost_ = getDefaultInstance().getVhost(); onChanged(); return this; } /** *
         * [RabbitMQ](https://clickhouse.com/docs/en/engines/table-engines/integrations/rabbitmq/) virtual host
         * 
* * string vhost = 3; * @param value The bytes for vhost to set. * @return This builder for chaining. */ public Builder setVhostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); vhost_ = 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.config.ClickhouseConfig.Rabbitmq) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Rabbitmq parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Rabbitmq(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.config.Clickhouse.ClickhouseConfig.Rabbitmq getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CompressionOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression) com.google.protobuf.MessageOrBuilder { /** *
       * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The enum numeric value on the wire for method. */ int getMethodValue(); /** *
       * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The method. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method getMethod(); /** *
       * Minimum size of a part of a table.
       * 
* * int64 min_part_size = 2 [(.yandex.cloud.value) = ">=1"]; * @return The minPartSize. */ long getMinPartSize(); /** *
       * Minimum ratio of a part relative to the size of all the data in the table.
       * 
* * double min_part_size_ratio = 3; * @return The minPartSizeRatio. */ double getMinPartSizeRatio(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression} */ public static final class Compression extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression) CompressionOrBuilder { private static final long serialVersionUID = 0L; // Use Compression.newBuilder() to construct. private Compression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Compression() { method_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Compression(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Compression( 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 8: { int rawValue = input.readEnum(); method_ = rawValue; break; } case 16: { minPartSize_ = input.readInt64(); break; } case 25: { minPartSizeRatio_ = input.readDouble(); 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method} */ public enum Method implements com.google.protobuf.ProtocolMessageEnum { /** * METHOD_UNSPECIFIED = 0; */ METHOD_UNSPECIFIED(0), /** *
         * [LZ4 compression algorithm](https://lz4.github.io/lz4/).
         * 
* * LZ4 = 1; */ LZ4(1), /** *
         * [Zstandard compression algorithm](https://facebook.github.io/zstd/).
         * 
* * ZSTD = 2; */ ZSTD(2), UNRECOGNIZED(-1), ; /** * METHOD_UNSPECIFIED = 0; */ public static final int METHOD_UNSPECIFIED_VALUE = 0; /** *
         * [LZ4 compression algorithm](https://lz4.github.io/lz4/).
         * 
* * LZ4 = 1; */ public static final int LZ4_VALUE = 1; /** *
         * [Zstandard compression algorithm](https://facebook.github.io/zstd/).
         * 
* * ZSTD = 2; */ public static final int ZSTD_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 Method 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 Method forNumber(int value) { switch (value) { case 0: return METHOD_UNSPECIFIED; case 1: return LZ4; case 2: return ZSTD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Method> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Method findValueByNumber(int number) { return Method.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.config.Clickhouse.ClickhouseConfig.Compression.getDescriptor().getEnumTypes().get(0); } private static final Method[] VALUES = values(); public static Method 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 Method(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method) } public static final int METHOD_FIELD_NUMBER = 1; private int method_; /** *
       * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The enum numeric value on the wire for method. */ @java.lang.Override public int getMethodValue() { return method_; } /** *
       * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The method. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method getMethod() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.valueOf(method_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.UNRECOGNIZED : result; } public static final int MIN_PART_SIZE_FIELD_NUMBER = 2; private long minPartSize_; /** *
       * Minimum size of a part of a table.
       * 
* * int64 min_part_size = 2 [(.yandex.cloud.value) = ">=1"]; * @return The minPartSize. */ @java.lang.Override public long getMinPartSize() { return minPartSize_; } public static final int MIN_PART_SIZE_RATIO_FIELD_NUMBER = 3; private double minPartSizeRatio_; /** *
       * Minimum ratio of a part relative to the size of all the data in the table.
       * 
* * double min_part_size_ratio = 3; * @return The minPartSizeRatio. */ @java.lang.Override public double getMinPartSizeRatio() { return minPartSizeRatio_; } 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 (method_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.METHOD_UNSPECIFIED.getNumber()) { output.writeEnum(1, method_); } if (minPartSize_ != 0L) { output.writeInt64(2, minPartSize_); } if (java.lang.Double.doubleToRawLongBits(minPartSizeRatio_) != 0) { output.writeDouble(3, minPartSizeRatio_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (method_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.METHOD_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, method_); } if (minPartSize_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, minPartSize_); } if (java.lang.Double.doubleToRawLongBits(minPartSizeRatio_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(3, minPartSizeRatio_); } 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.config.Clickhouse.ClickhouseConfig.Compression)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression) obj; if (method_ != other.method_) return false; if (getMinPartSize() != other.getMinPartSize()) return false; if (java.lang.Double.doubleToLongBits(getMinPartSizeRatio()) != java.lang.Double.doubleToLongBits( other.getMinPartSizeRatio())) 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) + METHOD_FIELD_NUMBER; hash = (53 * hash) + method_; hash = (37 * hash) + MIN_PART_SIZE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMinPartSize()); hash = (37 * hash) + MIN_PART_SIZE_RATIO_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinPartSizeRatio())); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.Clickhouse.ClickhouseConfig.Compression 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.config.ClickhouseConfig.Compression} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.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(); method_ = 0; minPartSize_ = 0L; minPartSizeRatio_ = 0D; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression(this); result.method_ = method_; result.minPartSize_ = minPartSize_; result.minPartSizeRatio_ = minPartSizeRatio_; 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.config.Clickhouse.ClickhouseConfig.Compression) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.getDefaultInstance()) return this; if (other.method_ != 0) { setMethodValue(other.getMethodValue()); } if (other.getMinPartSize() != 0L) { setMinPartSize(other.getMinPartSize()); } if (other.getMinPartSizeRatio() != 0D) { setMinPartSizeRatio(other.getMinPartSizeRatio()); } 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.config.Clickhouse.ClickhouseConfig.Compression parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int method_ = 0; /** *
         * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The enum numeric value on the wire for method. */ @java.lang.Override public int getMethodValue() { return method_; } /** *
         * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @param value The enum numeric value on the wire for method to set. * @return This builder for chaining. */ public Builder setMethodValue(int value) { method_ = value; onChanged(); return this; } /** *
         * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return The method. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method getMethod() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.valueOf(method_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method.UNRECOGNIZED : result; } /** *
         * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @param value The method to set. * @return This builder for chaining. */ public Builder setMethod(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Method value) { if (value == null) { throw new NullPointerException(); } method_ = value.getNumber(); onChanged(); return this; } /** *
         * Compression method to use for the specified combination of [min_part_size] and [min_part_size_ratio].
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression.Method method = 1; * @return This builder for chaining. */ public Builder clearMethod() { method_ = 0; onChanged(); return this; } private long minPartSize_ ; /** *
         * Minimum size of a part of a table.
         * 
* * int64 min_part_size = 2 [(.yandex.cloud.value) = ">=1"]; * @return The minPartSize. */ @java.lang.Override public long getMinPartSize() { return minPartSize_; } /** *
         * Minimum size of a part of a table.
         * 
* * int64 min_part_size = 2 [(.yandex.cloud.value) = ">=1"]; * @param value The minPartSize to set. * @return This builder for chaining. */ public Builder setMinPartSize(long value) { minPartSize_ = value; onChanged(); return this; } /** *
         * Minimum size of a part of a table.
         * 
* * int64 min_part_size = 2 [(.yandex.cloud.value) = ">=1"]; * @return This builder for chaining. */ public Builder clearMinPartSize() { minPartSize_ = 0L; onChanged(); return this; } private double minPartSizeRatio_ ; /** *
         * Minimum ratio of a part relative to the size of all the data in the table.
         * 
* * double min_part_size_ratio = 3; * @return The minPartSizeRatio. */ @java.lang.Override public double getMinPartSizeRatio() { return minPartSizeRatio_; } /** *
         * Minimum ratio of a part relative to the size of all the data in the table.
         * 
* * double min_part_size_ratio = 3; * @param value The minPartSizeRatio to set. * @return This builder for chaining. */ public Builder setMinPartSizeRatio(double value) { minPartSizeRatio_ = value; onChanged(); return this; } /** *
         * Minimum ratio of a part relative to the size of all the data in the table.
         * 
* * double min_part_size_ratio = 3; * @return This builder for chaining. */ public Builder clearMinPartSizeRatio() { minPartSizeRatio_ = 0D; 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.config.ClickhouseConfig.Compression) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Compression parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Compression(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.config.Clickhouse.ClickhouseConfig.Compression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ExternalDictionaryOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary) com.google.protobuf.MessageOrBuilder { /** *
       * Name of the external dictionary.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The name. */ java.lang.String getName(); /** *
       * Name of the external dictionary.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return Whether the structure field is set. */ boolean hasStructure(); /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return The structure. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getStructure(); /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder getStructureOrBuilder(); /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return Whether the layout field is set. */ boolean hasLayout(); /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return The layout. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getLayout(); /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder getLayoutOrBuilder(); /** *
       * Fixed interval between dictionary updates.
       * 
* * int64 fixed_lifetime = 4; * @return Whether the fixedLifetime field is set. */ boolean hasFixedLifetime(); /** *
       * Fixed interval between dictionary updates.
       * 
* * int64 fixed_lifetime = 4; * @return The fixedLifetime. */ long getFixedLifetime(); /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return Whether the lifetimeRange field is set. */ boolean hasLifetimeRange(); /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return The lifetimeRange. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getLifetimeRange(); /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder getLifetimeRangeOrBuilder(); /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return Whether the httpSource field is set. */ boolean hasHttpSource(); /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return The httpSource. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getHttpSource(); /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder getHttpSourceOrBuilder(); /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return Whether the mysqlSource field is set. */ boolean hasMysqlSource(); /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return The mysqlSource. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getMysqlSource(); /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder getMysqlSourceOrBuilder(); /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return Whether the clickhouseSource field is set. */ boolean hasClickhouseSource(); /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return The clickhouseSource. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getClickhouseSource(); /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder getClickhouseSourceOrBuilder(); /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return Whether the mongodbSource field is set. */ boolean hasMongodbSource(); /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return The mongodbSource. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getMongodbSource(); /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder getMongodbSourceOrBuilder(); /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return Whether the postgresqlSource field is set. */ boolean hasPostgresqlSource(); /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return The postgresqlSource. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getPostgresqlSource(); /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder getPostgresqlSourceOrBuilder(); public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LifetimeCase getLifetimeCase(); public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.SourceCase getSourceCase(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary} */ public static final class ExternalDictionary extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary) ExternalDictionaryOrBuilder { private static final long serialVersionUID = 0L; // Use ExternalDictionary.newBuilder() to construct. private ExternalDictionary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ExternalDictionary() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExternalDictionary(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ExternalDictionary( 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(); name_ = s; break; } case 18: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder subBuilder = null; if (structure_ != null) { subBuilder = structure_.toBuilder(); } structure_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(structure_); structure_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder subBuilder = null; if (layout_ != null) { subBuilder = layout_.toBuilder(); } layout_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(layout_); layout_ = subBuilder.buildPartial(); } break; } case 32: { lifetime_ = input.readInt64(); lifetimeCase_ = 4; break; } case 42: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder subBuilder = null; if (lifetimeCase_ == 5) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_).toBuilder(); } lifetime_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_); lifetime_ = subBuilder.buildPartial(); } lifetimeCase_ = 5; break; } case 50: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder subBuilder = null; if (sourceCase_ == 6) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_).toBuilder(); } source_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_); source_ = subBuilder.buildPartial(); } sourceCase_ = 6; break; } case 58: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder subBuilder = null; if (sourceCase_ == 7) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_).toBuilder(); } source_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_); source_ = subBuilder.buildPartial(); } sourceCase_ = 7; break; } case 66: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder subBuilder = null; if (sourceCase_ == 8) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_).toBuilder(); } source_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_); source_ = subBuilder.buildPartial(); } sourceCase_ = 8; break; } case 74: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder subBuilder = null; if (sourceCase_ == 9) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_).toBuilder(); } source_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_); source_ = subBuilder.buildPartial(); } sourceCase_ = 9; break; } case 82: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder subBuilder = null; if (sourceCase_ == 10) { subBuilder = ((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_).toBuilder(); } source_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_); source_ = subBuilder.buildPartial(); } sourceCase_ = 10; 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder.class); } public interface HttpSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource) com.google.protobuf.MessageOrBuilder { /** *
         * URL of the source dictionary available over HTTP.
         * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The url. */ java.lang.String getUrl(); /** *
         * URL of the source dictionary available over HTTP.
         * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The bytes for url. */ com.google.protobuf.ByteString getUrlBytes(); /** *
         * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
         * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The format. */ java.lang.String getFormat(); /** *
         * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
         * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The bytes for format. */ com.google.protobuf.ByteString getFormatBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource} */ public static final class HttpSource extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource) HttpSourceOrBuilder { private static final long serialVersionUID = 0L; // Use HttpSource.newBuilder() to construct. private HttpSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private HttpSource() { url_ = ""; format_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new HttpSource(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private HttpSource( 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(); url_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); format_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder.class); } public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** *
         * URL of the source dictionary available over HTTP.
         * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The url. */ @java.lang.Override public java.lang.String getUrl() { java.lang.Object ref = url_; 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(); url_ = s; return s; } } /** *
         * URL of the source dictionary available over HTTP.
         * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The bytes for url. */ @java.lang.Override public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FORMAT_FIELD_NUMBER = 2; private volatile java.lang.Object format_; /** *
         * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
         * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The format. */ @java.lang.Override public java.lang.String getFormat() { java.lang.Object ref = format_; 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(); format_ = s; return s; } } /** *
         * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
         * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The bytes for format. */ @java.lang.Override public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = 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(url_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, url_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, format_); } 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(url_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, url_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(format_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, format_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) obj; if (!getUrl() .equals(other.getUrl())) return false; if (!getFormat() .equals(other.getFormat())) 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) + URL_FIELD_NUMBER; hash = (53 * hash) + getUrl().hashCode(); hash = (37 * hash) + FORMAT_FIELD_NUMBER; hash = (53 * hash) + getFormat().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource 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.config.ClickhouseConfig.ExternalDictionary.HttpSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.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(); url_ = ""; format_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource(this); result.url_ = url_; result.format_ = format_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance()) return this; if (!other.getUrl().isEmpty()) { url_ = other.url_; onChanged(); } if (!other.getFormat().isEmpty()) { format_ = other.format_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object url_ = ""; /** *
           * URL of the source dictionary available over HTTP.
           * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The url. */ public java.lang.String getUrl() { java.lang.Object ref = url_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); url_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * URL of the source dictionary available over HTTP.
           * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return The bytes for url. */ public com.google.protobuf.ByteString getUrlBytes() { java.lang.Object ref = url_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); url_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * URL of the source dictionary available over HTTP.
           * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @param value The url to set. * @return This builder for chaining. */ public Builder setUrl( java.lang.String value) { if (value == null) { throw new NullPointerException(); } url_ = value; onChanged(); return this; } /** *
           * URL of the source dictionary available over HTTP.
           * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearUrl() { url_ = getDefaultInstance().getUrl(); onChanged(); return this; } /** *
           * URL of the source dictionary available over HTTP.
           * 
* * string url = 1 [(.yandex.cloud.required) = true]; * @param value The bytes for url to set. * @return This builder for chaining. */ public Builder setUrlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); url_ = value; onChanged(); return this; } private java.lang.Object format_ = ""; /** *
           * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
           * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The format. */ public java.lang.String getFormat() { java.lang.Object ref = format_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); format_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
           * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return The bytes for format. */ public com.google.protobuf.ByteString getFormatBytes() { java.lang.Object ref = format_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); format_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
           * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @param value The format to set. * @return This builder for chaining. */ public Builder setFormat( java.lang.String value) { if (value == null) { throw new NullPointerException(); } format_ = value; onChanged(); return this; } /** *
           * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
           * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearFormat() { format_ = getDefaultInstance().getFormat(); onChanged(); return this; } /** *
           * The data format. Valid values are all formats supported by ClickHouse SQL dialect.
           * 
* * string format = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for format to set. * @return This builder for chaining. */ public Builder setFormatBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); format_ = 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.config.ClickhouseConfig.ExternalDictionary.HttpSource) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public HttpSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new HttpSource(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MysqlSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource) com.google.protobuf.MessageOrBuilder { /** *
         * Name of the MySQL database to connect to.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ java.lang.String getDb(); /** *
         * Name of the MySQL database to connect to.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ com.google.protobuf.ByteString getDbBytes(); /** *
         * Name of the database table to use as a ClickHouse dictionary.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ java.lang.String getTable(); /** *
         * Name of the database table to use as a ClickHouse dictionary.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); /** *
         * Default port to use when connecting to a replica of the dictionary source.
         * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ long getPort(); /** *
         * Name of the default user for replicas of the dictionary source.
         * 
* * string user = 4; * @return The user. */ java.lang.String getUser(); /** *
         * Name of the default user for replicas of the dictionary source.
         * 
* * string user = 4; * @return The bytes for user. */ com.google.protobuf.ByteString getUserBytes(); /** *
         * Password of the default user for replicas of the dictionary source.
         * 
* * string password = 5; * @return The password. */ java.lang.String getPassword(); /** *
         * Password of the default user for replicas of the dictionary source.
         * 
* * string password = 5; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ java.util.List getReplicasList(); /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getReplicas(int index); /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ int getReplicasCount(); /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ java.util.List getReplicasOrBuilderList(); /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder getReplicasOrBuilder( int index); /** *
         * Selection criteria for the data in the specified MySQL table.
         * 
* * string where = 7; * @return The where. */ java.lang.String getWhere(); /** *
         * Selection criteria for the data in the specified MySQL table.
         * 
* * string where = 7; * @return The bytes for where. */ com.google.protobuf.ByteString getWhereBytes(); /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 8; * @return The invalidateQuery. */ java.lang.String getInvalidateQuery(); /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 8; * @return The bytes for invalidateQuery. */ com.google.protobuf.ByteString getInvalidateQueryBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource} */ public static final class MysqlSource extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource) MysqlSourceOrBuilder { private static final long serialVersionUID = 0L; // Use MysqlSource.newBuilder() to construct. private MysqlSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MysqlSource() { db_ = ""; table_ = ""; user_ = ""; password_ = ""; replicas_ = java.util.Collections.emptyList(); where_ = ""; invalidateQuery_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MysqlSource(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MysqlSource( 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(); db_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); table_ = s; break; } case 24: { port_ = input.readInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); password_ = s; break; } case 50: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { replicas_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } replicas_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.parser(), extensionRegistry)); break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); where_ = s; break; } case 66: { java.lang.String s = input.readStringRequireUtf8(); invalidateQuery_ = 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { replicas_ = java.util.Collections.unmodifiableList(replicas_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder.class); } public interface ReplicaOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) com.google.protobuf.MessageOrBuilder { /** *
           * MySQL host of the replica.
           * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ java.lang.String getHost(); /** *
           * MySQL host of the replica.
           * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
           * The priority of the replica that ClickHouse takes into account when connecting.
           * Replica with the highest priority should have this field set to the lowest number.
           * 
* * int64 priority = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.value) = ">0"]; * @return The priority. */ long getPriority(); /** *
           * Port to use when connecting to the replica.
           * If a port is not specified for a replica, ClickHouse uses the port specified for the source.
           * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ long getPort(); /** *
           * Name of the MySQL database user.
           * 
* * string user = 4; * @return The user. */ java.lang.String getUser(); /** *
           * Name of the MySQL database user.
           * 
* * string user = 4; * @return The bytes for user. */ com.google.protobuf.ByteString getUserBytes(); /** *
           * Password of the MySQL database user.
           * 
* * string password = 5; * @return The password. */ java.lang.String getPassword(); /** *
           * Password of the MySQL database user.
           * 
* * string password = 5; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica} */ public static final class Replica extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) ReplicaOrBuilder { private static final long serialVersionUID = 0L; // Use Replica.newBuilder() to construct. private Replica(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Replica() { host_ = ""; user_ = ""; password_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Replica(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Replica( 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(); host_ = s; break; } case 16: { priority_ = input.readInt64(); break; } case 24: { port_ = input.readInt64(); break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); password_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder.class); } public static final int HOST_FIELD_NUMBER = 1; private volatile java.lang.Object host_; /** *
           * MySQL host of the replica.
           * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** *
           * MySQL host of the replica.
           * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PRIORITY_FIELD_NUMBER = 2; private long priority_; /** *
           * The priority of the replica that ClickHouse takes into account when connecting.
           * Replica with the highest priority should have this field set to the lowest number.
           * 
* * int64 priority = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.value) = ">0"]; * @return The priority. */ @java.lang.Override public long getPriority() { return priority_; } public static final int PORT_FIELD_NUMBER = 3; private long port_; /** *
           * Port to use when connecting to the replica.
           * If a port is not specified for a replica, ClickHouse uses the port specified for the source.
           * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } public static final int USER_FIELD_NUMBER = 4; private volatile java.lang.Object user_; /** *
           * Name of the MySQL database user.
           * 
* * string user = 4; * @return The user. */ @java.lang.Override public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } } /** *
           * Name of the MySQL database user.
           * 
* * string user = 4; * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 5; private volatile java.lang.Object password_; /** *
           * Password of the MySQL database user.
           * 
* * string password = 5; * @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 MySQL database user.
           * 
* * string password = 5; * @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; } } 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(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, host_); } if (priority_ != 0L) { output.writeInt64(2, priority_); } if (port_ != 0L) { output.writeInt64(3, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, password_); } 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(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, host_); } if (priority_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, priority_); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, password_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) obj; if (!getHost() .equals(other.getHost())) return false; if (getPriority() != other.getPriority()) return false; if (getPort() != other.getPort()) return false; if (!getUser() .equals(other.getUser())) return false; if (!getPassword() .equals(other.getPassword())) 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) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PRIORITY_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPriority()); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPort()); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica 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.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.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(); host_ = ""; priority_ = 0L; port_ = 0L; user_ = ""; password_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica(this); result.host_ = host_; result.priority_ = priority_; result.port_ = port_; result.user_ = user_; result.password_ = password_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPriority() != 0L) { setPriority(other.getPriority()); } if (other.getPort() != 0L) { setPort(other.getPort()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object host_ = ""; /** *
             * MySQL host of the replica.
             * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** *
             * MySQL host of the replica.
             * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
             * MySQL host of the replica.
             * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** *
             * MySQL host of the replica.
             * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** *
             * MySQL host of the replica.
             * 
* * string host = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private long priority_ ; /** *
             * The priority of the replica that ClickHouse takes into account when connecting.
             * Replica with the highest priority should have this field set to the lowest number.
             * 
* * int64 priority = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.value) = ">0"]; * @return The priority. */ @java.lang.Override public long getPriority() { return priority_; } /** *
             * The priority of the replica that ClickHouse takes into account when connecting.
             * Replica with the highest priority should have this field set to the lowest number.
             * 
* * int64 priority = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.value) = ">0"]; * @param value The priority to set. * @return This builder for chaining. */ public Builder setPriority(long value) { priority_ = value; onChanged(); return this; } /** *
             * The priority of the replica that ClickHouse takes into account when connecting.
             * Replica with the highest priority should have this field set to the lowest number.
             * 
* * int64 priority = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.value) = ">0"]; * @return This builder for chaining. */ public Builder clearPriority() { priority_ = 0L; onChanged(); return this; } private long port_ ; /** *
             * Port to use when connecting to the replica.
             * If a port is not specified for a replica, ClickHouse uses the port specified for the source.
             * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } /** *
             * Port to use when connecting to the replica.
             * If a port is not specified for a replica, ClickHouse uses the port specified for the source.
             * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(long value) { port_ = value; onChanged(); return this; } /** *
             * Port to use when connecting to the replica.
             * If a port is not specified for a replica, ClickHouse uses the port specified for the source.
             * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0L; onChanged(); return this; } private java.lang.Object user_ = ""; /** *
             * Name of the MySQL database user.
             * 
* * string user = 4; * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** *
             * Name of the MySQL database user.
             * 
* * string user = 4; * @return The bytes for user. */ public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
             * Name of the MySQL database user.
             * 
* * string user = 4; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** *
             * Name of the MySQL database user.
             * 
* * string user = 4; * @return This builder for chaining. */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** *
             * Name of the MySQL database user.
             * 
* * string user = 4; * @param value The bytes for user to set. * @return This builder for chaining. */ public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
             * Password of the MySQL database user.
             * 
* * string password = 5; * @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 MySQL database user.
             * 
* * string password = 5; * @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 MySQL database user.
             * 
* * string password = 5; * @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 MySQL database user.
             * 
* * string password = 5; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
             * Password of the MySQL database user.
             * 
* * string password = 5; * @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; } @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.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Replica parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Replica(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int DB_FIELD_NUMBER = 1; private volatile java.lang.Object db_; /** *
         * Name of the MySQL database to connect to.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ @java.lang.Override public java.lang.String getDb() { java.lang.Object ref = db_; 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(); db_ = s; return s; } } /** *
         * Name of the MySQL database to connect to.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ @java.lang.Override public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** *
         * Name of the database table to use as a ClickHouse dictionary.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; 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(); table_ = s; return s; } } /** *
         * Name of the database table to use as a ClickHouse dictionary.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PORT_FIELD_NUMBER = 3; private long port_; /** *
         * Default port to use when connecting to a replica of the dictionary source.
         * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } public static final int USER_FIELD_NUMBER = 4; private volatile java.lang.Object user_; /** *
         * Name of the default user for replicas of the dictionary source.
         * 
* * string user = 4; * @return The user. */ @java.lang.Override public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } } /** *
         * Name of the default user for replicas of the dictionary source.
         * 
* * string user = 4; * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 5; private volatile java.lang.Object password_; /** *
         * Password of the default user for replicas of the dictionary source.
         * 
* * string password = 5; * @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 default user for replicas of the dictionary source.
         * 
* * string password = 5; * @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 REPLICAS_FIELD_NUMBER = 6; private java.util.List replicas_; /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getReplicasList() { return replicas_; } /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getReplicasOrBuilderList() { return replicas_; } /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public int getReplicasCount() { return replicas_.size(); } /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getReplicas(int index) { return replicas_.get(index); } /** *
         * List of MySQL replicas of the database used as dictionary source.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder getReplicasOrBuilder( int index) { return replicas_.get(index); } public static final int WHERE_FIELD_NUMBER = 7; private volatile java.lang.Object where_; /** *
         * Selection criteria for the data in the specified MySQL table.
         * 
* * string where = 7; * @return The where. */ @java.lang.Override public java.lang.String getWhere() { java.lang.Object ref = where_; 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(); where_ = s; return s; } } /** *
         * Selection criteria for the data in the specified MySQL table.
         * 
* * string where = 7; * @return The bytes for where. */ @java.lang.Override public com.google.protobuf.ByteString getWhereBytes() { java.lang.Object ref = where_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); where_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INVALIDATE_QUERY_FIELD_NUMBER = 8; private volatile java.lang.Object invalidateQuery_; /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 8; * @return The invalidateQuery. */ @java.lang.Override public java.lang.String getInvalidateQuery() { java.lang.Object ref = invalidateQuery_; 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(); invalidateQuery_ = s; return s; } } /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 8; * @return The bytes for invalidateQuery. */ @java.lang.Override public com.google.protobuf.ByteString getInvalidateQueryBytes() { java.lang.Object ref = invalidateQuery_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invalidateQuery_ = 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(db_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); } if (port_ != 0L) { output.writeInt64(3, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, password_); } for (int i = 0; i < replicas_.size(); i++) { output.writeMessage(6, replicas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(where_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, where_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invalidateQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, invalidateQuery_); } 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(db_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(3, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, password_); } for (int i = 0; i < replicas_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, replicas_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(where_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, where_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invalidateQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, invalidateQuery_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) obj; if (!getDb() .equals(other.getDb())) return false; if (!getTable() .equals(other.getTable())) return false; if (getPort() != other.getPort()) return false; if (!getUser() .equals(other.getUser())) return false; if (!getPassword() .equals(other.getPassword())) return false; if (!getReplicasList() .equals(other.getReplicasList())) return false; if (!getWhere() .equals(other.getWhere())) return false; if (!getInvalidateQuery() .equals(other.getInvalidateQuery())) 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) + DB_FIELD_NUMBER; hash = (53 * hash) + getDb().hashCode(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPort()); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); if (getReplicasCount() > 0) { hash = (37 * hash) + REPLICAS_FIELD_NUMBER; hash = (53 * hash) + getReplicasList().hashCode(); } hash = (37 * hash) + WHERE_FIELD_NUMBER; hash = (53 * hash) + getWhere().hashCode(); hash = (37 * hash) + INVALIDATE_QUERY_FIELD_NUMBER; hash = (53 * hash) + getInvalidateQuery().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource 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.config.ClickhouseConfig.ExternalDictionary.MysqlSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getReplicasFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); db_ = ""; table_ = ""; port_ = 0L; user_ = ""; password_ = ""; if (replicasBuilder_ == null) { replicas_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { replicasBuilder_.clear(); } where_ = ""; invalidateQuery_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource(this); int from_bitField0_ = bitField0_; result.db_ = db_; result.table_ = table_; result.port_ = port_; result.user_ = user_; result.password_ = password_; if (replicasBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { replicas_ = java.util.Collections.unmodifiableList(replicas_); bitField0_ = (bitField0_ & ~0x00000001); } result.replicas_ = replicas_; } else { result.replicas_ = replicasBuilder_.build(); } result.where_ = where_; result.invalidateQuery_ = invalidateQuery_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance()) return this; if (!other.getDb().isEmpty()) { db_ = other.db_; onChanged(); } if (!other.getTable().isEmpty()) { table_ = other.table_; onChanged(); } if (other.getPort() != 0L) { setPort(other.getPort()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; onChanged(); } if (replicasBuilder_ == null) { if (!other.replicas_.isEmpty()) { if (replicas_.isEmpty()) { replicas_ = other.replicas_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureReplicasIsMutable(); replicas_.addAll(other.replicas_); } onChanged(); } } else { if (!other.replicas_.isEmpty()) { if (replicasBuilder_.isEmpty()) { replicasBuilder_.dispose(); replicasBuilder_ = null; replicas_ = other.replicas_; bitField0_ = (bitField0_ & ~0x00000001); replicasBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getReplicasFieldBuilder() : null; } else { replicasBuilder_.addAllMessages(other.replicas_); } } } if (!other.getWhere().isEmpty()) { where_ = other.where_; onChanged(); } if (!other.getInvalidateQuery().isEmpty()) { invalidateQuery_ = other.invalidateQuery_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object db_ = ""; /** *
           * Name of the MySQL database to connect to.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ public java.lang.String getDb() { java.lang.Object ref = db_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); db_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the MySQL database to connect to.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the MySQL database to connect to.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The db to set. * @return This builder for chaining. */ public Builder setDb( java.lang.String value) { if (value == null) { throw new NullPointerException(); } db_ = value; onChanged(); return this; } /** *
           * Name of the MySQL database to connect to.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearDb() { db_ = getDefaultInstance().getDb(); onChanged(); return this; } /** *
           * Name of the MySQL database to connect to.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The bytes for db to set. * @return This builder for chaining. */ public Builder setDbBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); db_ = value; onChanged(); return this; } private java.lang.Object table_ = ""; /** *
           * Name of the database table to use as a ClickHouse dictionary.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the database table to use as a ClickHouse dictionary.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the database table to use as a ClickHouse dictionary.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); return this; } /** *
           * Name of the database table to use as a ClickHouse dictionary.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** *
           * Name of the database table to use as a ClickHouse dictionary.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; onChanged(); return this; } private long port_ ; /** *
           * Default port to use when connecting to a replica of the dictionary source.
           * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } /** *
           * Default port to use when connecting to a replica of the dictionary source.
           * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(long value) { port_ = value; onChanged(); return this; } /** *
           * Default port to use when connecting to a replica of the dictionary source.
           * 
* * int64 port = 3 [(.yandex.cloud.value) = "0-65535"]; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0L; onChanged(); return this; } private java.lang.Object user_ = ""; /** *
           * Name of the default user for replicas of the dictionary source.
           * 
* * string user = 4; * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the default user for replicas of the dictionary source.
           * 
* * string user = 4; * @return The bytes for user. */ public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the default user for replicas of the dictionary source.
           * 
* * string user = 4; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** *
           * Name of the default user for replicas of the dictionary source.
           * 
* * string user = 4; * @return This builder for chaining. */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** *
           * Name of the default user for replicas of the dictionary source.
           * 
* * string user = 4; * @param value The bytes for user to set. * @return This builder for chaining. */ public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
           * Password of the default user for replicas of the dictionary source.
           * 
* * string password = 5; * @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 default user for replicas of the dictionary source.
           * 
* * string password = 5; * @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 default user for replicas of the dictionary source.
           * 
* * string password = 5; * @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 default user for replicas of the dictionary source.
           * 
* * string password = 5; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
           * Password of the default user for replicas of the dictionary source.
           * 
* * string password = 5; * @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 replicas_ = java.util.Collections.emptyList(); private void ensureReplicasIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { replicas_ = new java.util.ArrayList(replicas_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder> replicasBuilder_; /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getReplicasList() { if (replicasBuilder_ == null) { return java.util.Collections.unmodifiableList(replicas_); } else { return replicasBuilder_.getMessageList(); } } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public int getReplicasCount() { if (replicasBuilder_ == null) { return replicas_.size(); } else { return replicasBuilder_.getCount(); } } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica getReplicas(int index) { if (replicasBuilder_ == null) { return replicas_.get(index); } else { return replicasBuilder_.getMessage(index); } } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder setReplicas( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica value) { if (replicasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicasIsMutable(); replicas_.set(index, value); onChanged(); } else { replicasBuilder_.setMessage(index, value); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder setReplicas( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder builderForValue) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); replicas_.set(index, builderForValue.build()); onChanged(); } else { replicasBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder addReplicas(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica value) { if (replicasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicasIsMutable(); replicas_.add(value); onChanged(); } else { replicasBuilder_.addMessage(value); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder addReplicas( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica value) { if (replicasBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureReplicasIsMutable(); replicas_.add(index, value); onChanged(); } else { replicasBuilder_.addMessage(index, value); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder addReplicas( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder builderForValue) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); replicas_.add(builderForValue.build()); onChanged(); } else { replicasBuilder_.addMessage(builderForValue.build()); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder addReplicas( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder builderForValue) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); replicas_.add(index, builderForValue.build()); onChanged(); } else { replicasBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder addAllReplicas( java.lang.Iterable values) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, replicas_); onChanged(); } else { replicasBuilder_.addAllMessages(values); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder clearReplicas() { if (replicasBuilder_ == null) { replicas_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { replicasBuilder_.clear(); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public Builder removeReplicas(int index) { if (replicasBuilder_ == null) { ensureReplicasIsMutable(); replicas_.remove(index); onChanged(); } else { replicasBuilder_.remove(index); } return this; } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder getReplicasBuilder( int index) { return getReplicasFieldBuilder().getBuilder(index); } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder getReplicasOrBuilder( int index) { if (replicasBuilder_ == null) { return replicas_.get(index); } else { return replicasBuilder_.getMessageOrBuilder(index); } } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getReplicasOrBuilderList() { if (replicasBuilder_ != null) { return replicasBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(replicas_); } } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder addReplicasBuilder() { return getReplicasFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.getDefaultInstance()); } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder addReplicasBuilder( int index) { return getReplicasFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.getDefaultInstance()); } /** *
           * List of MySQL replicas of the database used as dictionary source.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica replicas = 6 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getReplicasBuilderList() { return getReplicasFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder> getReplicasFieldBuilder() { if (replicasBuilder_ == null) { replicasBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Replica.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.ReplicaOrBuilder>( replicas_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); replicas_ = null; } return replicasBuilder_; } private java.lang.Object where_ = ""; /** *
           * Selection criteria for the data in the specified MySQL table.
           * 
* * string where = 7; * @return The where. */ public java.lang.String getWhere() { java.lang.Object ref = where_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); where_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Selection criteria for the data in the specified MySQL table.
           * 
* * string where = 7; * @return The bytes for where. */ public com.google.protobuf.ByteString getWhereBytes() { java.lang.Object ref = where_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); where_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Selection criteria for the data in the specified MySQL table.
           * 
* * string where = 7; * @param value The where to set. * @return This builder for chaining. */ public Builder setWhere( java.lang.String value) { if (value == null) { throw new NullPointerException(); } where_ = value; onChanged(); return this; } /** *
           * Selection criteria for the data in the specified MySQL table.
           * 
* * string where = 7; * @return This builder for chaining. */ public Builder clearWhere() { where_ = getDefaultInstance().getWhere(); onChanged(); return this; } /** *
           * Selection criteria for the data in the specified MySQL table.
           * 
* * string where = 7; * @param value The bytes for where to set. * @return This builder for chaining. */ public Builder setWhereBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); where_ = value; onChanged(); return this; } private java.lang.Object invalidateQuery_ = ""; /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 8; * @return The invalidateQuery. */ public java.lang.String getInvalidateQuery() { java.lang.Object ref = invalidateQuery_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); invalidateQuery_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 8; * @return The bytes for invalidateQuery. */ public com.google.protobuf.ByteString getInvalidateQueryBytes() { java.lang.Object ref = invalidateQuery_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invalidateQuery_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 8; * @param value The invalidateQuery to set. * @return This builder for chaining. */ public Builder setInvalidateQuery( java.lang.String value) { if (value == null) { throw new NullPointerException(); } invalidateQuery_ = value; onChanged(); return this; } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 8; * @return This builder for chaining. */ public Builder clearInvalidateQuery() { invalidateQuery_ = getDefaultInstance().getInvalidateQuery(); onChanged(); return this; } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 8; * @param value The bytes for invalidateQuery to set. * @return This builder for chaining. */ public Builder setInvalidateQueryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); invalidateQuery_ = 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.config.ClickhouseConfig.ExternalDictionary.MysqlSource) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MysqlSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MysqlSource(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClickhouseSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource) com.google.protobuf.MessageOrBuilder { /** *
         * Name of the ClickHouse database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ java.lang.String getDb(); /** *
         * Name of the ClickHouse database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ com.google.protobuf.ByteString getDbBytes(); /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ java.lang.String getTable(); /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); /** *
         * ClickHouse host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ java.lang.String getHost(); /** *
         * ClickHouse host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ long getPort(); /** *
         * Name of the ClickHouse database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ java.lang.String getUser(); /** *
         * Name of the ClickHouse database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ com.google.protobuf.ByteString getUserBytes(); /** *
         * Password of the ClickHouse database user.
         * 
* * string password = 6; * @return The password. */ java.lang.String getPassword(); /** *
         * Password of the ClickHouse database user.
         * 
* * string password = 6; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); /** *
         * Selection criteria for the data in the specified ClickHouse table.
         * 
* * string where = 7; * @return The where. */ java.lang.String getWhere(); /** *
         * Selection criteria for the data in the specified ClickHouse table.
         * 
* * string where = 7; * @return The bytes for where. */ com.google.protobuf.ByteString getWhereBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource} */ public static final class ClickhouseSource extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource) ClickhouseSourceOrBuilder { private static final long serialVersionUID = 0L; // Use ClickhouseSource.newBuilder() to construct. private ClickhouseSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClickhouseSource() { db_ = ""; table_ = ""; host_ = ""; user_ = ""; password_ = ""; where_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClickhouseSource(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClickhouseSource( 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(); db_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); table_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); host_ = s; break; } case 32: { port_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); password_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); where_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder.class); } public static final int DB_FIELD_NUMBER = 1; private volatile java.lang.Object db_; /** *
         * Name of the ClickHouse database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ @java.lang.Override public java.lang.String getDb() { java.lang.Object ref = db_; 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(); db_ = s; return s; } } /** *
         * Name of the ClickHouse database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ @java.lang.Override public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; 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(); table_ = s; return s; } } /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOST_FIELD_NUMBER = 3; private volatile java.lang.Object host_; /** *
         * ClickHouse host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** *
         * ClickHouse host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PORT_FIELD_NUMBER = 4; private long port_; /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } public static final int USER_FIELD_NUMBER = 5; private volatile java.lang.Object user_; /** *
         * Name of the ClickHouse database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ @java.lang.Override public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } } /** *
         * Name of the ClickHouse database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 6; private volatile java.lang.Object password_; /** *
         * Password of the ClickHouse database user.
         * 
* * string password = 6; * @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 database user.
         * 
* * string password = 6; * @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 WHERE_FIELD_NUMBER = 7; private volatile java.lang.Object where_; /** *
         * Selection criteria for the data in the specified ClickHouse table.
         * 
* * string where = 7; * @return The where. */ @java.lang.Override public java.lang.String getWhere() { java.lang.Object ref = where_; 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(); where_ = s; return s; } } /** *
         * Selection criteria for the data in the specified ClickHouse table.
         * 
* * string where = 7; * @return The bytes for where. */ @java.lang.Override public com.google.protobuf.ByteString getWhereBytes() { java.lang.Object ref = where_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); where_ = 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(db_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, host_); } if (port_ != 0L) { output.writeInt64(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(where_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, where_); } 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(db_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, host_); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(where_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, where_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) obj; if (!getDb() .equals(other.getDb())) return false; if (!getTable() .equals(other.getTable())) return false; if (!getHost() .equals(other.getHost())) return false; if (getPort() != other.getPort()) return false; if (!getUser() .equals(other.getUser())) return false; if (!getPassword() .equals(other.getPassword())) return false; if (!getWhere() .equals(other.getWhere())) 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) + DB_FIELD_NUMBER; hash = (53 * hash) + getDb().hashCode(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPort()); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (37 * hash) + WHERE_FIELD_NUMBER; hash = (53 * hash) + getWhere().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource 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.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.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(); db_ = ""; table_ = ""; host_ = ""; port_ = 0L; user_ = ""; password_ = ""; where_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource(this); result.db_ = db_; result.table_ = table_; result.host_ = host_; result.port_ = port_; result.user_ = user_; result.password_ = password_; result.where_ = where_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance()) return this; if (!other.getDb().isEmpty()) { db_ = other.db_; onChanged(); } if (!other.getTable().isEmpty()) { table_ = other.table_; onChanged(); } if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0L) { setPort(other.getPort()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; onChanged(); } if (!other.getWhere().isEmpty()) { where_ = other.where_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object db_ = ""; /** *
           * Name of the ClickHouse database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ public java.lang.String getDb() { java.lang.Object ref = db_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); db_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the ClickHouse database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the ClickHouse database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The db to set. * @return This builder for chaining. */ public Builder setDb( java.lang.String value) { if (value == null) { throw new NullPointerException(); } db_ = value; onChanged(); return this; } /** *
           * Name of the ClickHouse database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearDb() { db_ = getDefaultInstance().getDb(); onChanged(); return this; } /** *
           * Name of the ClickHouse database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The bytes for db to set. * @return This builder for chaining. */ public Builder setDbBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); db_ = value; onChanged(); return this; } private java.lang.Object table_ = ""; /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); return this; } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; onChanged(); return this; } private java.lang.Object host_ = ""; /** *
           * ClickHouse host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * ClickHouse host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * ClickHouse host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** *
           * ClickHouse host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** *
           * ClickHouse host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private long port_ ; /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(long value) { port_ = value; onChanged(); return this; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0L; onChanged(); return this; } private java.lang.Object user_ = ""; /** *
           * Name of the ClickHouse database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the ClickHouse database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the ClickHouse database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** *
           * Name of the ClickHouse database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** *
           * Name of the ClickHouse database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The bytes for user to set. * @return This builder for chaining. */ public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
           * Password of the ClickHouse database user.
           * 
* * string password = 6; * @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 database user.
           * 
* * string password = 6; * @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 database user.
           * 
* * string password = 6; * @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 database user.
           * 
* * string password = 6; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
           * Password of the ClickHouse database user.
           * 
* * string password = 6; * @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.lang.Object where_ = ""; /** *
           * Selection criteria for the data in the specified ClickHouse table.
           * 
* * string where = 7; * @return The where. */ public java.lang.String getWhere() { java.lang.Object ref = where_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); where_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Selection criteria for the data in the specified ClickHouse table.
           * 
* * string where = 7; * @return The bytes for where. */ public com.google.protobuf.ByteString getWhereBytes() { java.lang.Object ref = where_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); where_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Selection criteria for the data in the specified ClickHouse table.
           * 
* * string where = 7; * @param value The where to set. * @return This builder for chaining. */ public Builder setWhere( java.lang.String value) { if (value == null) { throw new NullPointerException(); } where_ = value; onChanged(); return this; } /** *
           * Selection criteria for the data in the specified ClickHouse table.
           * 
* * string where = 7; * @return This builder for chaining. */ public Builder clearWhere() { where_ = getDefaultInstance().getWhere(); onChanged(); return this; } /** *
           * Selection criteria for the data in the specified ClickHouse table.
           * 
* * string where = 7; * @param value The bytes for where to set. * @return This builder for chaining. */ public Builder setWhereBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); where_ = 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.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClickhouseSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClickhouseSource(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongodbSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource) com.google.protobuf.MessageOrBuilder { /** *
         * Name of the MongoDB database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ java.lang.String getDb(); /** *
         * Name of the MongoDB database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ com.google.protobuf.ByteString getDbBytes(); /** *
         * Name of the collection in the specified database to be used as the dictionary source.
         * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The collection. */ java.lang.String getCollection(); /** *
         * Name of the collection in the specified database to be used as the dictionary source.
         * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The bytes for collection. */ com.google.protobuf.ByteString getCollectionBytes(); /** *
         * MongoDB host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ java.lang.String getHost(); /** *
         * MongoDB host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ long getPort(); /** *
         * Name of the MongoDB database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ java.lang.String getUser(); /** *
         * Name of the MongoDB database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ com.google.protobuf.ByteString getUserBytes(); /** *
         * Password of the MongoDB database user.
         * 
* * string password = 6; * @return The password. */ java.lang.String getPassword(); /** *
         * Password of the MongoDB database user.
         * 
* * string password = 6; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource} */ public static final class MongodbSource extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource) MongodbSourceOrBuilder { private static final long serialVersionUID = 0L; // Use MongodbSource.newBuilder() to construct. private MongodbSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongodbSource() { db_ = ""; collection_ = ""; host_ = ""; user_ = ""; password_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongodbSource(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongodbSource( 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(); db_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); collection_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); host_ = s; break; } case 32: { port_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); password_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder.class); } public static final int DB_FIELD_NUMBER = 1; private volatile java.lang.Object db_; /** *
         * Name of the MongoDB database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ @java.lang.Override public java.lang.String getDb() { java.lang.Object ref = db_; 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(); db_ = s; return s; } } /** *
         * Name of the MongoDB database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ @java.lang.Override public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int COLLECTION_FIELD_NUMBER = 2; private volatile java.lang.Object collection_; /** *
         * Name of the collection in the specified database to be used as the dictionary source.
         * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The collection. */ @java.lang.Override public java.lang.String getCollection() { java.lang.Object ref = collection_; 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(); collection_ = s; return s; } } /** *
         * Name of the collection in the specified database to be used as the dictionary source.
         * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The bytes for collection. */ @java.lang.Override public com.google.protobuf.ByteString getCollectionBytes() { java.lang.Object ref = collection_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collection_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOST_FIELD_NUMBER = 3; private volatile java.lang.Object host_; /** *
         * MongoDB host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ @java.lang.Override public java.lang.String getHost() { java.lang.Object ref = host_; 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(); host_ = s; return s; } } /** *
         * MongoDB host of the specified database.
         * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PORT_FIELD_NUMBER = 4; private long port_; /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } public static final int USER_FIELD_NUMBER = 5; private volatile java.lang.Object user_; /** *
         * Name of the MongoDB database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ @java.lang.Override public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } } /** *
         * Name of the MongoDB database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 6; private volatile java.lang.Object password_; /** *
         * Password of the MongoDB database user.
         * 
* * string password = 6; * @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 MongoDB database user.
         * 
* * string password = 6; * @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; } } 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(db_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, collection_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, host_); } if (port_ != 0L) { output.writeInt64(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_); } 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(db_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(collection_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, collection_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, host_); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) obj; if (!getDb() .equals(other.getDb())) return false; if (!getCollection() .equals(other.getCollection())) return false; if (!getHost() .equals(other.getHost())) return false; if (getPort() != other.getPort()) return false; if (!getUser() .equals(other.getUser())) return false; if (!getPassword() .equals(other.getPassword())) 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) + DB_FIELD_NUMBER; hash = (53 * hash) + getDb().hashCode(); hash = (37 * hash) + COLLECTION_FIELD_NUMBER; hash = (53 * hash) + getCollection().hashCode(); hash = (37 * hash) + HOST_FIELD_NUMBER; hash = (53 * hash) + getHost().hashCode(); hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPort()); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource 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.config.ClickhouseConfig.ExternalDictionary.MongodbSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.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(); db_ = ""; collection_ = ""; host_ = ""; port_ = 0L; user_ = ""; password_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource(this); result.db_ = db_; result.collection_ = collection_; result.host_ = host_; result.port_ = port_; result.user_ = user_; result.password_ = password_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance()) return this; if (!other.getDb().isEmpty()) { db_ = other.db_; onChanged(); } if (!other.getCollection().isEmpty()) { collection_ = other.collection_; onChanged(); } if (!other.getHost().isEmpty()) { host_ = other.host_; onChanged(); } if (other.getPort() != 0L) { setPort(other.getPort()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object db_ = ""; /** *
           * Name of the MongoDB database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ public java.lang.String getDb() { java.lang.Object ref = db_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); db_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the MongoDB database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the MongoDB database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The db to set. * @return This builder for chaining. */ public Builder setDb( java.lang.String value) { if (value == null) { throw new NullPointerException(); } db_ = value; onChanged(); return this; } /** *
           * Name of the MongoDB database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearDb() { db_ = getDefaultInstance().getDb(); onChanged(); return this; } /** *
           * Name of the MongoDB database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The bytes for db to set. * @return This builder for chaining. */ public Builder setDbBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); db_ = value; onChanged(); return this; } private java.lang.Object collection_ = ""; /** *
           * Name of the collection in the specified database to be used as the dictionary source.
           * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The collection. */ public java.lang.String getCollection() { java.lang.Object ref = collection_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); collection_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the collection in the specified database to be used as the dictionary source.
           * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return The bytes for collection. */ public com.google.protobuf.ByteString getCollectionBytes() { java.lang.Object ref = collection_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); collection_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the collection in the specified database to be used as the dictionary source.
           * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @param value The collection to set. * @return This builder for chaining. */ public Builder setCollection( java.lang.String value) { if (value == null) { throw new NullPointerException(); } collection_ = value; onChanged(); return this; } /** *
           * Name of the collection in the specified database to be used as the dictionary source.
           * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearCollection() { collection_ = getDefaultInstance().getCollection(); onChanged(); return this; } /** *
           * Name of the collection in the specified database to be used as the dictionary source.
           * 
* * string collection = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for collection to set. * @return This builder for chaining. */ public Builder setCollectionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); collection_ = value; onChanged(); return this; } private java.lang.Object host_ = ""; /** *
           * MongoDB host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The host. */ public java.lang.String getHost() { java.lang.Object ref = host_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); host_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * MongoDB host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return The bytes for host. */ public com.google.protobuf.ByteString getHostBytes() { java.lang.Object ref = host_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); host_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * MongoDB host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } host_ = value; onChanged(); return this; } /** *
           * MongoDB host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); onChanged(); return this; } /** *
           * MongoDB host of the specified database.
           * 
* * string host = 3 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=253"]; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); host_ = value; onChanged(); return this; } private long port_ ; /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(long value) { port_ = value; onChanged(); return this; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0L; onChanged(); return this; } private java.lang.Object user_ = ""; /** *
           * Name of the MongoDB database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the MongoDB database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the MongoDB database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** *
           * Name of the MongoDB database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** *
           * Name of the MongoDB database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The bytes for user to set. * @return This builder for chaining. */ public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
           * Password of the MongoDB database user.
           * 
* * string password = 6; * @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 MongoDB database user.
           * 
* * string password = 6; * @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 MongoDB database user.
           * 
* * string password = 6; * @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 MongoDB database user.
           * 
* * string password = 6; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
           * Password of the MongoDB database user.
           * 
* * string password = 6; * @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; } @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.config.ClickhouseConfig.ExternalDictionary.MongodbSource) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongodbSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongodbSource(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PostgresqlSourceOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource) com.google.protobuf.MessageOrBuilder { /** *
         * Name of the PostrgreSQL database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ java.lang.String getDb(); /** *
         * Name of the PostrgreSQL database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ com.google.protobuf.ByteString getDbBytes(); /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ java.lang.String getTable(); /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ com.google.protobuf.ByteString getTableBytes(); /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return A list containing the hosts. */ java.util.List getHostsList(); /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return The count of hosts. */ int getHostsCount(); /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the element to return. * @return The hosts at the given index. */ java.lang.String getHosts(int index); /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the value to return. * @return The bytes of the hosts at the given index. */ com.google.protobuf.ByteString getHostsBytes(int index); /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ long getPort(); /** *
         * Name of the PostrgreSQL database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ java.lang.String getUser(); /** *
         * Name of the PostrgreSQL database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ com.google.protobuf.ByteString getUserBytes(); /** *
         * Password of the PostrgreSQL database user.
         * 
* * string password = 6; * @return The password. */ java.lang.String getPassword(); /** *
         * Password of the PostrgreSQL database user.
         * 
* * string password = 6; * @return The bytes for password. */ com.google.protobuf.ByteString getPasswordBytes(); /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 7; * @return The invalidateQuery. */ java.lang.String getInvalidateQuery(); /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 7; * @return The bytes for invalidateQuery. */ com.google.protobuf.ByteString getInvalidateQueryBytes(); /** *
         * Mode of SSL TCP/IP connection to the PostgreSQL host.
         * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The enum numeric value on the wire for sslMode. */ int getSslModeValue(); /** *
         * Mode of SSL TCP/IP connection to the PostgreSQL host.
         * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The sslMode. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode getSslMode(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource} */ public static final class PostgresqlSource extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource) PostgresqlSourceOrBuilder { private static final long serialVersionUID = 0L; // Use PostgresqlSource.newBuilder() to construct. private PostgresqlSource(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PostgresqlSource() { db_ = ""; table_ = ""; hosts_ = com.google.protobuf.LazyStringArrayList.EMPTY; user_ = ""; password_ = ""; invalidateQuery_ = ""; sslMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new PostgresqlSource(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PostgresqlSource( 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(); db_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); table_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { hosts_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } hosts_.add(s); break; } case 32: { port_ = input.readInt64(); break; } case 42: { java.lang.String s = input.readStringRequireUtf8(); user_ = s; break; } case 50: { java.lang.String s = input.readStringRequireUtf8(); password_ = s; break; } case 58: { java.lang.String s = input.readStringRequireUtf8(); invalidateQuery_ = s; break; } case 64: { int rawValue = input.readEnum(); sslMode_ = rawValue; 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)) { hosts_ = hosts_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode} */ public enum SslMode implements com.google.protobuf.ProtocolMessageEnum { /** * SSL_MODE_UNSPECIFIED = 0; */ SSL_MODE_UNSPECIFIED(0), /** *
           * Only try a non-SSL connection.
           * 
* * DISABLE = 1; */ DISABLE(1), /** *
           * First try a non-SSL connection; if that fails, try an SSL connection.
           * 
* * ALLOW = 2; */ ALLOW(2), /** *
           * First try an SSL connection; if that fails, try a non-SSL connection.
           * 
* * PREFER = 3; */ PREFER(3), /** *
           * Only try an SSL connection, and verify that the server certificate is issued by a trusted certificate authority (CA).
           * 
* * VERIFY_CA = 4; */ VERIFY_CA(4), /** *
           * Only try an SSL connection, verify that the server certificate is issued by a trusted CA and that the requested server host name matches that in the certificate.
           * 
* * VERIFY_FULL = 5; */ VERIFY_FULL(5), UNRECOGNIZED(-1), ; /** * SSL_MODE_UNSPECIFIED = 0; */ public static final int SSL_MODE_UNSPECIFIED_VALUE = 0; /** *
           * Only try a non-SSL connection.
           * 
* * DISABLE = 1; */ public static final int DISABLE_VALUE = 1; /** *
           * First try a non-SSL connection; if that fails, try an SSL connection.
           * 
* * ALLOW = 2; */ public static final int ALLOW_VALUE = 2; /** *
           * First try an SSL connection; if that fails, try a non-SSL connection.
           * 
* * PREFER = 3; */ public static final int PREFER_VALUE = 3; /** *
           * Only try an SSL connection, and verify that the server certificate is issued by a trusted certificate authority (CA).
           * 
* * VERIFY_CA = 4; */ public static final int VERIFY_CA_VALUE = 4; /** *
           * Only try an SSL connection, verify that the server certificate is issued by a trusted CA and that the requested server host name matches that in the certificate.
           * 
* * VERIFY_FULL = 5; */ public static final int VERIFY_FULL_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 SslMode 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 SslMode forNumber(int value) { switch (value) { case 0: return SSL_MODE_UNSPECIFIED; case 1: return DISABLE; case 2: return ALLOW; case 3: return PREFER; case 4: return VERIFY_CA; case 5: return VERIFY_FULL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< SslMode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public SslMode findValueByNumber(int number) { return SslMode.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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDescriptor().getEnumTypes().get(0); } private static final SslMode[] VALUES = values(); public static SslMode 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 SslMode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode) } public static final int DB_FIELD_NUMBER = 1; private volatile java.lang.Object db_; /** *
         * Name of the PostrgreSQL database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ @java.lang.Override public java.lang.String getDb() { java.lang.Object ref = db_; 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(); db_ = s; return s; } } /** *
         * Name of the PostrgreSQL database.
         * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ @java.lang.Override public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TABLE_FIELD_NUMBER = 2; private volatile java.lang.Object table_; /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ @java.lang.Override public java.lang.String getTable() { java.lang.Object ref = table_; 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(); table_ = s; return s; } } /** *
         * Name of the table in the specified database to be used as the dictionary source.
         * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ @java.lang.Override public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HOSTS_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList hosts_; /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return A list containing the hosts. */ public com.google.protobuf.ProtocolStringList getHostsList() { return hosts_; } /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return The count of hosts. */ public int getHostsCount() { return hosts_.size(); } /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the element to return. * @return The hosts at the given index. */ public java.lang.String getHosts(int index) { return hosts_.get(index); } /** *
         * Name of the PostrgreSQL host
         * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the value to return. * @return The bytes of the hosts at the given index. */ public com.google.protobuf.ByteString getHostsBytes(int index) { return hosts_.getByteString(index); } public static final int PORT_FIELD_NUMBER = 4; private long port_; /** *
         * Port to use when connecting to the host.
         * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } public static final int USER_FIELD_NUMBER = 5; private volatile java.lang.Object user_; /** *
         * Name of the PostrgreSQL database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ @java.lang.Override public java.lang.String getUser() { java.lang.Object ref = user_; 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(); user_ = s; return s; } } /** *
         * Name of the PostrgreSQL database user.
         * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ @java.lang.Override public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int PASSWORD_FIELD_NUMBER = 6; private volatile java.lang.Object password_; /** *
         * Password of the PostrgreSQL database user.
         * 
* * string password = 6; * @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 PostrgreSQL database user.
         * 
* * string password = 6; * @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 INVALIDATE_QUERY_FIELD_NUMBER = 7; private volatile java.lang.Object invalidateQuery_; /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 7; * @return The invalidateQuery. */ @java.lang.Override public java.lang.String getInvalidateQuery() { java.lang.Object ref = invalidateQuery_; 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(); invalidateQuery_ = s; return s; } } /** *
         * Query for checking the dictionary status, to pull only updated data.
         * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
         * 
* * string invalidate_query = 7; * @return The bytes for invalidateQuery. */ @java.lang.Override public com.google.protobuf.ByteString getInvalidateQueryBytes() { java.lang.Object ref = invalidateQuery_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invalidateQuery_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SSL_MODE_FIELD_NUMBER = 8; private int sslMode_; /** *
         * Mode of SSL TCP/IP connection to the PostgreSQL host.
         * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The enum numeric value on the wire for sslMode. */ @java.lang.Override public int getSslModeValue() { return sslMode_; } /** *
         * Mode of SSL TCP/IP connection to the PostgreSQL host.
         * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The sslMode. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode getSslMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.valueOf(sslMode_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.UNRECOGNIZED : result; } 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(db_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, table_); } for (int i = 0; i < hosts_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, hosts_.getRaw(i)); } if (port_ != 0L) { output.writeInt64(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invalidateQuery_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, invalidateQuery_); } if (sslMode_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(8, sslMode_); } 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(db_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, db_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(table_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, table_); } { int dataSize = 0; for (int i = 0; i < hosts_.size(); i++) { dataSize += computeStringSizeNoTag(hosts_.getRaw(i)); } size += dataSize; size += 1 * getHostsList().size(); } if (port_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(4, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(user_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, user_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, password_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(invalidateQuery_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, invalidateQuery_); } if (sslMode_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.SSL_MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(8, sslMode_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) obj; if (!getDb() .equals(other.getDb())) return false; if (!getTable() .equals(other.getTable())) return false; if (!getHostsList() .equals(other.getHostsList())) return false; if (getPort() != other.getPort()) return false; if (!getUser() .equals(other.getUser())) return false; if (!getPassword() .equals(other.getPassword())) return false; if (!getInvalidateQuery() .equals(other.getInvalidateQuery())) return false; if (sslMode_ != other.sslMode_) 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) + DB_FIELD_NUMBER; hash = (53 * hash) + getDb().hashCode(); hash = (37 * hash) + TABLE_FIELD_NUMBER; hash = (53 * hash) + getTable().hashCode(); if (getHostsCount() > 0) { hash = (37 * hash) + HOSTS_FIELD_NUMBER; hash = (53 * hash) + getHostsList().hashCode(); } hash = (37 * hash) + PORT_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPort()); hash = (37 * hash) + USER_FIELD_NUMBER; hash = (53 * hash) + getUser().hashCode(); hash = (37 * hash) + PASSWORD_FIELD_NUMBER; hash = (53 * hash) + getPassword().hashCode(); hash = (37 * hash) + INVALIDATE_QUERY_FIELD_NUMBER; hash = (53 * hash) + getInvalidateQuery().hashCode(); hash = (37 * hash) + SSL_MODE_FIELD_NUMBER; hash = (53 * hash) + sslMode_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource 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.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.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(); db_ = ""; table_ = ""; hosts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); port_ = 0L; user_ = ""; password_ = ""; invalidateQuery_ = ""; sslMode_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource(this); int from_bitField0_ = bitField0_; result.db_ = db_; result.table_ = table_; if (((bitField0_ & 0x00000001) != 0)) { hosts_ = hosts_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.hosts_ = hosts_; result.port_ = port_; result.user_ = user_; result.password_ = password_; result.invalidateQuery_ = invalidateQuery_; result.sslMode_ = sslMode_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance()) return this; if (!other.getDb().isEmpty()) { db_ = other.db_; onChanged(); } if (!other.getTable().isEmpty()) { table_ = other.table_; onChanged(); } if (!other.hosts_.isEmpty()) { if (hosts_.isEmpty()) { hosts_ = other.hosts_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureHostsIsMutable(); hosts_.addAll(other.hosts_); } onChanged(); } if (other.getPort() != 0L) { setPort(other.getPort()); } if (!other.getUser().isEmpty()) { user_ = other.user_; onChanged(); } if (!other.getPassword().isEmpty()) { password_ = other.password_; onChanged(); } if (!other.getInvalidateQuery().isEmpty()) { invalidateQuery_ = other.invalidateQuery_; onChanged(); } if (other.sslMode_ != 0) { setSslModeValue(other.getSslModeValue()); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object db_ = ""; /** *
           * Name of the PostrgreSQL database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The db. */ public java.lang.String getDb() { java.lang.Object ref = db_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); db_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the PostrgreSQL database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return The bytes for db. */ public com.google.protobuf.ByteString getDbBytes() { java.lang.Object ref = db_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); db_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the PostrgreSQL database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The db to set. * @return This builder for chaining. */ public Builder setDb( java.lang.String value) { if (value == null) { throw new NullPointerException(); } db_ = value; onChanged(); return this; } /** *
           * Name of the PostrgreSQL database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearDb() { db_ = getDefaultInstance().getDb(); onChanged(); return this; } /** *
           * Name of the PostrgreSQL database.
           * 
* * string db = 1 [(.yandex.cloud.required) = true]; * @param value The bytes for db to set. * @return This builder for chaining. */ public Builder setDbBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); db_ = value; onChanged(); return this; } private java.lang.Object table_ = ""; /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The table. */ public java.lang.String getTable() { java.lang.Object ref = table_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); table_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return The bytes for table. */ public com.google.protobuf.ByteString getTableBytes() { java.lang.Object ref = table_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); table_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The table to set. * @return This builder for chaining. */ public Builder setTable( java.lang.String value) { if (value == null) { throw new NullPointerException(); } table_ = value; onChanged(); return this; } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearTable() { table_ = getDefaultInstance().getTable(); onChanged(); return this; } /** *
           * Name of the table in the specified database to be used as the dictionary source.
           * 
* * string table = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for table to set. * @return This builder for chaining. */ public Builder setTableBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); table_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList hosts_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureHostsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { hosts_ = new com.google.protobuf.LazyStringArrayList(hosts_); bitField0_ |= 0x00000001; } } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return A list containing the hosts. */ public com.google.protobuf.ProtocolStringList getHostsList() { return hosts_.getUnmodifiableView(); } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return The count of hosts. */ public int getHostsCount() { return hosts_.size(); } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the element to return. * @return The hosts at the given index. */ public java.lang.String getHosts(int index) { return hosts_.get(index); } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index of the value to return. * @return The bytes of the hosts at the given index. */ public com.google.protobuf.ByteString getHostsBytes(int index) { return hosts_.getByteString(index); } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param index The index to set the value at. * @param value The hosts to set. * @return This builder for chaining. */ public Builder setHosts( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureHostsIsMutable(); hosts_.set(index, value); onChanged(); return this; } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param value The hosts to add. * @return This builder for chaining. */ public Builder addHosts( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureHostsIsMutable(); hosts_.add(value); onChanged(); return this; } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param values The hosts to add. * @return This builder for chaining. */ public Builder addAllHosts( java.lang.Iterable values) { ensureHostsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, hosts_); onChanged(); return this; } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @return This builder for chaining. */ public Builder clearHosts() { hosts_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
           * Name of the PostrgreSQL host
           * 
* * repeated string hosts = 3 [(.yandex.cloud.size) = ">0"]; * @param value The bytes of the hosts to add. * @return This builder for chaining. */ public Builder addHostsBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureHostsIsMutable(); hosts_.add(value); onChanged(); return this; } private long port_ ; /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return The port. */ @java.lang.Override public long getPort() { return port_; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(long value) { port_ = value; onChanged(); return this; } /** *
           * Port to use when connecting to the host.
           * 
* * int64 port = 4 [(.yandex.cloud.value) = "0-65535"]; * @return This builder for chaining. */ public Builder clearPort() { port_ = 0L; onChanged(); return this; } private java.lang.Object user_ = ""; /** *
           * Name of the PostrgreSQL database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The user. */ public java.lang.String getUser() { java.lang.Object ref = user_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); user_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the PostrgreSQL database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return The bytes for user. */ public com.google.protobuf.ByteString getUserBytes() { java.lang.Object ref = user_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); user_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the PostrgreSQL database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The user to set. * @return This builder for chaining. */ public Builder setUser( java.lang.String value) { if (value == null) { throw new NullPointerException(); } user_ = value; onChanged(); return this; } /** *
           * Name of the PostrgreSQL database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearUser() { user_ = getDefaultInstance().getUser(); onChanged(); return this; } /** *
           * Name of the PostrgreSQL database user.
           * 
* * string user = 5 [(.yandex.cloud.required) = true]; * @param value The bytes for user to set. * @return This builder for chaining. */ public Builder setUserBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); user_ = value; onChanged(); return this; } private java.lang.Object password_ = ""; /** *
           * Password of the PostrgreSQL database user.
           * 
* * string password = 6; * @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 PostrgreSQL database user.
           * 
* * string password = 6; * @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 PostrgreSQL database user.
           * 
* * string password = 6; * @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 PostrgreSQL database user.
           * 
* * string password = 6; * @return This builder for chaining. */ public Builder clearPassword() { password_ = getDefaultInstance().getPassword(); onChanged(); return this; } /** *
           * Password of the PostrgreSQL database user.
           * 
* * string password = 6; * @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.lang.Object invalidateQuery_ = ""; /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 7; * @return The invalidateQuery. */ public java.lang.String getInvalidateQuery() { java.lang.Object ref = invalidateQuery_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); invalidateQuery_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 7; * @return The bytes for invalidateQuery. */ public com.google.protobuf.ByteString getInvalidateQueryBytes() { java.lang.Object ref = invalidateQuery_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); invalidateQuery_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 7; * @param value The invalidateQuery to set. * @return This builder for chaining. */ public Builder setInvalidateQuery( java.lang.String value) { if (value == null) { throw new NullPointerException(); } invalidateQuery_ = value; onChanged(); return this; } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 7; * @return This builder for chaining. */ public Builder clearInvalidateQuery() { invalidateQuery_ = getDefaultInstance().getInvalidateQuery(); onChanged(); return this; } /** *
           * Query for checking the dictionary status, to pull only updated data.
           * For more details, see [ClickHouse documentation on dictionaries](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_lifetime/).
           * 
* * string invalidate_query = 7; * @param value The bytes for invalidateQuery to set. * @return This builder for chaining. */ public Builder setInvalidateQueryBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); invalidateQuery_ = value; onChanged(); return this; } private int sslMode_ = 0; /** *
           * Mode of SSL TCP/IP connection to the PostgreSQL host.
           * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The enum numeric value on the wire for sslMode. */ @java.lang.Override public int getSslModeValue() { return sslMode_; } /** *
           * Mode of SSL TCP/IP connection to the PostgreSQL host.
           * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @param value The enum numeric value on the wire for sslMode to set. * @return This builder for chaining. */ public Builder setSslModeValue(int value) { sslMode_ = value; onChanged(); return this; } /** *
           * Mode of SSL TCP/IP connection to the PostgreSQL host.
           * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return The sslMode. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode getSslMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.valueOf(sslMode_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode.UNRECOGNIZED : result; } /** *
           * Mode of SSL TCP/IP connection to the PostgreSQL host.
           * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @param value The sslMode to set. * @return This builder for chaining. */ public Builder setSslMode(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode value) { if (value == null) { throw new NullPointerException(); } sslMode_ = value.getNumber(); onChanged(); return this; } /** *
           * Mode of SSL TCP/IP connection to the PostgreSQL host.
           * For more details, see [PostgreSQL documentation](https://www.postgresql.org/docs/current/libpq-ssl.html).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource.SslMode ssl_mode = 8; * @return This builder for chaining. */ public Builder clearSslMode() { sslMode_ = 0; 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.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public PostgresqlSource parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new PostgresqlSource(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StructureOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure) com.google.protobuf.MessageOrBuilder { /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return Whether the id field is set. */ boolean hasId(); /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return The id. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getId(); /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder getIdOrBuilder(); /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return Whether the key field is set. */ boolean hasKey(); /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return The key. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getKey(); /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder getKeyOrBuilder(); /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return Whether the rangeMin field is set. */ boolean hasRangeMin(); /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return The rangeMin. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMin(); /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMinOrBuilder(); /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return Whether the rangeMax field is set. */ boolean hasRangeMax(); /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return The rangeMax. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMax(); /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMaxOrBuilder(); /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ java.util.List getAttributesList(); /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index); /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ int getAttributesCount(); /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ java.util.List getAttributesOrBuilderList(); /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure} */ public static final class Structure extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure) StructureOrBuilder { private static final long serialVersionUID = 0L; // Use Structure.newBuilder() to construct. private Structure(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Structure() { attributes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Structure(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Structure( 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: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder subBuilder = null; if (id_ != null) { subBuilder = id_.toBuilder(); } id_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(id_); id_ = subBuilder.buildPartial(); } break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { attributes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } attributes_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.parser(), extensionRegistry)); break; } case 26: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder subBuilder = null; if (key_ != null) { subBuilder = key_.toBuilder(); } key_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(key_); key_ = subBuilder.buildPartial(); } break; } case 34: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder subBuilder = null; if (rangeMin_ != null) { subBuilder = rangeMin_.toBuilder(); } rangeMin_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rangeMin_); rangeMin_ = subBuilder.buildPartial(); } break; } case 42: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder subBuilder = null; if (rangeMax_ != null) { subBuilder = rangeMax_.toBuilder(); } rangeMax_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(rangeMax_); rangeMax_ = 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)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder.class); } public interface AttributeOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute) com.google.protobuf.MessageOrBuilder { /** *
           * Name of the column.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The name. */ java.lang.String getName(); /** *
           * Name of the column.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
           * Type of the column.
           * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The type. */ java.lang.String getType(); /** *
           * Type of the column.
           * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); /** *
           * Default value for an element without data (for example, an empty string).
           * 
* * string null_value = 3; * @return The nullValue. */ java.lang.String getNullValue(); /** *
           * Default value for an element without data (for example, an empty string).
           * 
* * string null_value = 3; * @return The bytes for nullValue. */ com.google.protobuf.ByteString getNullValueBytes(); /** *
           * Expression, describing the attribute, if applicable.
           * 
* * string expression = 4; * @return The expression. */ java.lang.String getExpression(); /** *
           * Expression, describing the attribute, if applicable.
           * 
* * string expression = 4; * @return The bytes for expression. */ com.google.protobuf.ByteString getExpressionBytes(); /** *
           * Indication of hierarchy support.
           * Default value: `false`.
           * 
* * bool hierarchical = 5; * @return The hierarchical. */ boolean getHierarchical(); /** *
           * Indication of injective mapping "id -> attribute".
           * Default value: `false`.
           * 
* * bool injective = 6; * @return The injective. */ boolean getInjective(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute} */ public static final class Attribute extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute) AttributeOrBuilder { private static final long serialVersionUID = 0L; // Use Attribute.newBuilder() to construct. private Attribute(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Attribute() { name_ = ""; type_ = ""; nullValue_ = ""; expression_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Attribute(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Attribute( 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(); name_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); nullValue_ = s; break; } case 34: { java.lang.String s = input.readStringRequireUtf8(); expression_ = s; break; } case 40: { hierarchical_ = input.readBool(); break; } case 48: { injective_ = input.readBool(); 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
           * Name of the column.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 column.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** *
           * Type of the column.
           * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The type. */ @java.lang.Override public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** *
           * Type of the column.
           * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The bytes for type. */ @java.lang.Override public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NULL_VALUE_FIELD_NUMBER = 3; private volatile java.lang.Object nullValue_; /** *
           * Default value for an element without data (for example, an empty string).
           * 
* * string null_value = 3; * @return The nullValue. */ @java.lang.Override public java.lang.String getNullValue() { java.lang.Object ref = nullValue_; 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(); nullValue_ = s; return s; } } /** *
           * Default value for an element without data (for example, an empty string).
           * 
* * string null_value = 3; * @return The bytes for nullValue. */ @java.lang.Override public com.google.protobuf.ByteString getNullValueBytes() { java.lang.Object ref = nullValue_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nullValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int EXPRESSION_FIELD_NUMBER = 4; private volatile java.lang.Object expression_; /** *
           * Expression, describing the attribute, if applicable.
           * 
* * string expression = 4; * @return The expression. */ @java.lang.Override public java.lang.String getExpression() { java.lang.Object ref = expression_; 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(); expression_ = s; return s; } } /** *
           * Expression, describing the attribute, if applicable.
           * 
* * string expression = 4; * @return The bytes for expression. */ @java.lang.Override public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int HIERARCHICAL_FIELD_NUMBER = 5; private boolean hierarchical_; /** *
           * Indication of hierarchy support.
           * Default value: `false`.
           * 
* * bool hierarchical = 5; * @return The hierarchical. */ @java.lang.Override public boolean getHierarchical() { return hierarchical_; } public static final int INJECTIVE_FIELD_NUMBER = 6; private boolean injective_; /** *
           * Indication of injective mapping "id -> attribute".
           * Default value: `false`.
           * 
* * bool injective = 6; * @return The injective. */ @java.lang.Override public boolean getInjective() { return injective_; } 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(type_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nullValue_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, nullValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, expression_); } if (hierarchical_ != false) { output.writeBool(5, hierarchical_); } if (injective_ != false) { output.writeBool(6, injective_); } 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(type_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, type_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nullValue_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, nullValue_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(expression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, expression_); } if (hierarchical_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(5, hierarchical_); } if (injective_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(6, injective_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute) obj; if (!getName() .equals(other.getName())) return false; if (!getType() .equals(other.getType())) return false; if (!getNullValue() .equals(other.getNullValue())) return false; if (!getExpression() .equals(other.getExpression())) return false; if (getHierarchical() != other.getHierarchical()) return false; if (getInjective() != other.getInjective()) 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (37 * hash) + NULL_VALUE_FIELD_NUMBER; hash = (53 * hash) + getNullValue().hashCode(); hash = (37 * hash) + EXPRESSION_FIELD_NUMBER; hash = (53 * hash) + getExpression().hashCode(); hash = (37 * hash) + HIERARCHICAL_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getHierarchical()); hash = (37 * hash) + INJECTIVE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getInjective()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute 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.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.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(); name_ = ""; type_ = ""; nullValue_ = ""; expression_ = ""; hierarchical_ = false; injective_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute(this); result.name_ = name_; result.type_ = type_; result.nullValue_ = nullValue_; result.expression_ = expression_; result.hierarchical_ = hierarchical_; result.injective_ = injective_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (!other.getType().isEmpty()) { type_ = other.type_; onChanged(); } if (!other.getNullValue().isEmpty()) { nullValue_ = other.nullValue_; onChanged(); } if (!other.getExpression().isEmpty()) { expression_ = other.expression_; onChanged(); } if (other.getHierarchical() != false) { setHierarchical(other.getHierarchical()); } if (other.getInjective() != false) { setInjective(other.getInjective()); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
             * Name of the column.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 column.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 column.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 column.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
             * Name of the column.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 type_ = ""; /** *
             * Type of the column.
             * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** *
             * Type of the column.
             * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
             * Type of the column.
             * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** *
             * Type of the column.
             * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** *
             * Type of the column.
             * 
* * string type = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } private java.lang.Object nullValue_ = ""; /** *
             * Default value for an element without data (for example, an empty string).
             * 
* * string null_value = 3; * @return The nullValue. */ public java.lang.String getNullValue() { java.lang.Object ref = nullValue_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nullValue_ = s; return s; } else { return (java.lang.String) ref; } } /** *
             * Default value for an element without data (for example, an empty string).
             * 
* * string null_value = 3; * @return The bytes for nullValue. */ public com.google.protobuf.ByteString getNullValueBytes() { java.lang.Object ref = nullValue_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); nullValue_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
             * Default value for an element without data (for example, an empty string).
             * 
* * string null_value = 3; * @param value The nullValue to set. * @return This builder for chaining. */ public Builder setNullValue( java.lang.String value) { if (value == null) { throw new NullPointerException(); } nullValue_ = value; onChanged(); return this; } /** *
             * Default value for an element without data (for example, an empty string).
             * 
* * string null_value = 3; * @return This builder for chaining. */ public Builder clearNullValue() { nullValue_ = getDefaultInstance().getNullValue(); onChanged(); return this; } /** *
             * Default value for an element without data (for example, an empty string).
             * 
* * string null_value = 3; * @param value The bytes for nullValue to set. * @return This builder for chaining. */ public Builder setNullValueBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nullValue_ = value; onChanged(); return this; } private java.lang.Object expression_ = ""; /** *
             * Expression, describing the attribute, if applicable.
             * 
* * string expression = 4; * @return The expression. */ public java.lang.String getExpression() { java.lang.Object ref = expression_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); expression_ = s; return s; } else { return (java.lang.String) ref; } } /** *
             * Expression, describing the attribute, if applicable.
             * 
* * string expression = 4; * @return The bytes for expression. */ public com.google.protobuf.ByteString getExpressionBytes() { java.lang.Object ref = expression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); expression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
             * Expression, describing the attribute, if applicable.
             * 
* * string expression = 4; * @param value The expression to set. * @return This builder for chaining. */ public Builder setExpression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } expression_ = value; onChanged(); return this; } /** *
             * Expression, describing the attribute, if applicable.
             * 
* * string expression = 4; * @return This builder for chaining. */ public Builder clearExpression() { expression_ = getDefaultInstance().getExpression(); onChanged(); return this; } /** *
             * Expression, describing the attribute, if applicable.
             * 
* * string expression = 4; * @param value The bytes for expression to set. * @return This builder for chaining. */ public Builder setExpressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); expression_ = value; onChanged(); return this; } private boolean hierarchical_ ; /** *
             * Indication of hierarchy support.
             * Default value: `false`.
             * 
* * bool hierarchical = 5; * @return The hierarchical. */ @java.lang.Override public boolean getHierarchical() { return hierarchical_; } /** *
             * Indication of hierarchy support.
             * Default value: `false`.
             * 
* * bool hierarchical = 5; * @param value The hierarchical to set. * @return This builder for chaining. */ public Builder setHierarchical(boolean value) { hierarchical_ = value; onChanged(); return this; } /** *
             * Indication of hierarchy support.
             * Default value: `false`.
             * 
* * bool hierarchical = 5; * @return This builder for chaining. */ public Builder clearHierarchical() { hierarchical_ = false; onChanged(); return this; } private boolean injective_ ; /** *
             * Indication of injective mapping "id -> attribute".
             * Default value: `false`.
             * 
* * bool injective = 6; * @return The injective. */ @java.lang.Override public boolean getInjective() { return injective_; } /** *
             * Indication of injective mapping "id -> attribute".
             * Default value: `false`.
             * 
* * bool injective = 6; * @param value The injective to set. * @return This builder for chaining. */ public Builder setInjective(boolean value) { injective_ = value; onChanged(); return this; } /** *
             * Indication of injective mapping "id -> attribute".
             * Default value: `false`.
             * 
* * bool injective = 6; * @return This builder for chaining. */ public Builder clearInjective() { injective_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Attribute parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Attribute(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface IdOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id) com.google.protobuf.MessageOrBuilder { /** *
           * Name of the numeric key.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The name. */ java.lang.String getName(); /** *
           * Name of the numeric key.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); } /** *
         * Numeric key.
         * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id} */ public static final class Id extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id) IdOrBuilder { private static final long serialVersionUID = 0L; // Use Id.newBuilder() to construct. private Id(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Id() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Id(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Id( 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(); name_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
           * Name of the numeric key.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 numeric key.
           * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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; } } 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_); } 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_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id) obj; if (!getName() .equals(other.getName())) 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 = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id 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; } /** *
           * Numeric key.
           * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.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(); name_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id(this); result.name_ = name_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object name_ = ""; /** *
             * Name of the numeric key.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 numeric key.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 numeric key.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 numeric key.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
             * Name of the numeric key.
             * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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; } @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.config.ClickhouseConfig.ExternalDictionary.Structure.Id) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Id parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Id(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeyOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key) com.google.protobuf.MessageOrBuilder { /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ java.util.List getAttributesList(); /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index); /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ int getAttributesCount(); /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ java.util.List getAttributesOrBuilderList(); /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index); } /** *
         * Complex key.
         * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key} */ public static final class Key extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key) KeyOrBuilder { private static final long serialVersionUID = 0L; // Use Key.newBuilder() to construct. private Key(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Key() { attributes_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Key(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Key( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { attributes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } attributes_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.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)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder.class); } public static final int ATTRIBUTES_FIELD_NUMBER = 1; private java.util.List attributes_; /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getAttributesList() { return attributes_; } /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getAttributesOrBuilderList() { return attributes_; } /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index) { return attributes_.get(index); } /** *
           * Attributes of a complex key.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index) { return attributes_.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 { for (int i = 0; i < attributes_.size(); i++) { output.writeMessage(1, attributes_.get(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < attributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, attributes_.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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key) obj; if (!getAttributesList() .equals(other.getAttributesList())) 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 (getAttributesCount() > 0) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getAttributesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key 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; } /** *
           * Complex key.
           * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAttributesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { attributesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key(this); int from_bitField0_ = bitField0_; if (attributesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); bitField0_ = (bitField0_ & ~0x00000001); } result.attributes_ = attributes_; } else { result.attributes_ = attributesBuilder_.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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.getDefaultInstance()) return this; if (attributesBuilder_ == null) { if (!other.attributes_.isEmpty()) { if (attributes_.isEmpty()) { attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAttributesIsMutable(); attributes_.addAll(other.attributes_); } onChanged(); } } else { if (!other.attributes_.isEmpty()) { if (attributesBuilder_.isEmpty()) { attributesBuilder_.dispose(); attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000001); attributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttributesFieldBuilder() : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } } } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { attributes_ = new java.util.ArrayList(attributes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> attributesBuilder_; /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { return attributesBuilder_.getMessageList(); } } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { return attributes_.size(); } else { return attributesBuilder_.getCount(); } } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessage(index); } } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder setAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); onChanged(); } else { attributesBuilder_.setMessage(index, value); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder setAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); onChanged(); } else { attributesBuilder_.addMessage(value); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(index, value); onChanged(); } else { attributesBuilder_.addMessage(index, value); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder addAllAttributes( java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { attributesBuilder_.clear(); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.remove(index); onChanged(); } else { attributesBuilder_.remove(index); } return this; } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attributes_); } } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance()); } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder addAttributesBuilder( int index) { return getAttributesFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance()); } /** *
             * Attributes of a complex key.
             * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 1 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder>( attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } @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.config.ClickhouseConfig.ExternalDictionary.Structure.Key) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Key parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Key(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int ID_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id id_; /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return Whether the id field is set. */ @java.lang.Override public boolean hasId() { return id_ != null; } /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return The id. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getId() { return id_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.getDefaultInstance() : id_; } /** *
         * Single numeric key column for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder getIdOrBuilder() { return getId(); } public static final int KEY_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key key_; /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return Whether the key field is set. */ @java.lang.Override public boolean hasKey() { return key_ != null; } /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return The key. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getKey() { return key_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.getDefaultInstance() : key_; } /** *
         * Composite key for the dictionary, containing of one or more key columns.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder getKeyOrBuilder() { return getKey(); } public static final int RANGE_MIN_FIELD_NUMBER = 4; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute rangeMin_; /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return Whether the rangeMin field is set. */ @java.lang.Override public boolean hasRangeMin() { return rangeMin_ != null; } /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return The rangeMin. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMin() { return rangeMin_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMin_; } /** *
         * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMinOrBuilder() { return getRangeMin(); } public static final int RANGE_MAX_FIELD_NUMBER = 5; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute rangeMax_; /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return Whether the rangeMax field is set. */ @java.lang.Override public boolean hasRangeMax() { return rangeMax_ != null; } /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return The rangeMax. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMax() { return rangeMax_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMax_; } /** *
         * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMaxOrBuilder() { return getRangeMax(); } public static final int ATTRIBUTES_FIELD_NUMBER = 2; private java.util.List attributes_; /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getAttributesList() { return attributes_; } /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getAttributesOrBuilderList() { return attributes_; } /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public int getAttributesCount() { return attributes_.size(); } /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index) { return attributes_.get(index); } /** *
         * Description of the fields available for database queries.
         * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index) { return attributes_.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 (id_ != null) { output.writeMessage(1, getId()); } for (int i = 0; i < attributes_.size(); i++) { output.writeMessage(2, attributes_.get(i)); } if (key_ != null) { output.writeMessage(3, getKey()); } if (rangeMin_ != null) { output.writeMessage(4, getRangeMin()); } if (rangeMax_ != null) { output.writeMessage(5, getRangeMax()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (id_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getId()); } for (int i = 0; i < attributes_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, attributes_.get(i)); } if (key_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getKey()); } if (rangeMin_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getRangeMin()); } if (rangeMax_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, getRangeMax()); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure) obj; if (hasId() != other.hasId()) return false; if (hasId()) { if (!getId() .equals(other.getId())) return false; } if (hasKey() != other.hasKey()) return false; if (hasKey()) { if (!getKey() .equals(other.getKey())) return false; } if (hasRangeMin() != other.hasRangeMin()) return false; if (hasRangeMin()) { if (!getRangeMin() .equals(other.getRangeMin())) return false; } if (hasRangeMax() != other.hasRangeMax()) return false; if (hasRangeMax()) { if (!getRangeMax() .equals(other.getRangeMax())) return false; } if (!getAttributesList() .equals(other.getAttributesList())) 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 (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId().hashCode(); } if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } if (hasRangeMin()) { hash = (37 * hash) + RANGE_MIN_FIELD_NUMBER; hash = (53 * hash) + getRangeMin().hashCode(); } if (hasRangeMax()) { hash = (37 * hash) + RANGE_MAX_FIELD_NUMBER; hash = (53 * hash) + getRangeMax().hashCode(); } if (getAttributesCount() > 0) { hash = (37 * hash) + ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getAttributesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure 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.config.ClickhouseConfig.ExternalDictionary.Structure} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getAttributesFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); if (idBuilder_ == null) { id_ = null; } else { id_ = null; idBuilder_ = null; } if (keyBuilder_ == null) { key_ = null; } else { key_ = null; keyBuilder_ = null; } if (rangeMinBuilder_ == null) { rangeMin_ = null; } else { rangeMin_ = null; rangeMinBuilder_ = null; } if (rangeMaxBuilder_ == null) { rangeMax_ = null; } else { rangeMax_ = null; rangeMaxBuilder_ = null; } if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { attributesBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure(this); int from_bitField0_ = bitField0_; if (idBuilder_ == null) { result.id_ = id_; } else { result.id_ = idBuilder_.build(); } if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } if (rangeMinBuilder_ == null) { result.rangeMin_ = rangeMin_; } else { result.rangeMin_ = rangeMinBuilder_.build(); } if (rangeMaxBuilder_ == null) { result.rangeMax_ = rangeMax_; } else { result.rangeMax_ = rangeMaxBuilder_.build(); } if (attributesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { attributes_ = java.util.Collections.unmodifiableList(attributes_); bitField0_ = (bitField0_ & ~0x00000001); } result.attributes_ = attributes_; } else { result.attributes_ = attributesBuilder_.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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.getDefaultInstance()) return this; if (other.hasId()) { mergeId(other.getId()); } if (other.hasKey()) { mergeKey(other.getKey()); } if (other.hasRangeMin()) { mergeRangeMin(other.getRangeMin()); } if (other.hasRangeMax()) { mergeRangeMax(other.getRangeMax()); } if (attributesBuilder_ == null) { if (!other.attributes_.isEmpty()) { if (attributes_.isEmpty()) { attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureAttributesIsMutable(); attributes_.addAll(other.attributes_); } onChanged(); } } else { if (!other.attributes_.isEmpty()) { if (attributesBuilder_.isEmpty()) { attributesBuilder_.dispose(); attributesBuilder_ = null; attributes_ = other.attributes_; bitField0_ = (bitField0_ & ~0x00000001); attributesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getAttributesFieldBuilder() : null; } else { attributesBuilder_.addAllMessages(other.attributes_); } } } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id id_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder> idBuilder_; /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return Whether the id field is set. */ public boolean hasId() { return idBuilder_ != null || id_ != null; } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; * @return The id. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id getId() { if (idBuilder_ == null) { return id_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.getDefaultInstance() : id_; } else { return idBuilder_.getMessage(); } } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public Builder setId(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id value) { if (idBuilder_ == null) { if (value == null) { throw new NullPointerException(); } id_ = value; onChanged(); } else { idBuilder_.setMessage(value); } return this; } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public Builder setId( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder builderForValue) { if (idBuilder_ == null) { id_ = builderForValue.build(); onChanged(); } else { idBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public Builder mergeId(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id value) { if (idBuilder_ == null) { if (id_ != null) { id_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.newBuilder(id_).mergeFrom(value).buildPartial(); } else { id_ = value; } onChanged(); } else { idBuilder_.mergeFrom(value); } return this; } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public Builder clearId() { if (idBuilder_ == null) { id_ = null; onChanged(); } else { id_ = null; idBuilder_ = null; } return this; } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder getIdBuilder() { onChanged(); return getIdFieldBuilder().getBuilder(); } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder getIdOrBuilder() { if (idBuilder_ != null) { return idBuilder_.getMessageOrBuilder(); } else { return id_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.getDefaultInstance() : id_; } } /** *
           * Single numeric key column for the dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Id id = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder> getIdFieldBuilder() { if (idBuilder_ == null) { idBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Id.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.IdOrBuilder>( getId(), getParentForChildren(), isClean()); id_ = null; } return idBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key key_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder> keyBuilder_; /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return Whether the key field is set. */ public boolean hasKey() { return keyBuilder_ != null || key_ != null; } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; * @return The key. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key getKey() { if (keyBuilder_ == null) { return key_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public Builder setKey(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { keyBuilder_.setMessage(value); } return this; } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public Builder setKey( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { keyBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public Builder mergeKey(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key value) { if (keyBuilder_ == null) { if (key_ != null) { key_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.newBuilder(key_).mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { keyBuilder_.mergeFrom(value); } return this; } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public Builder clearKey() { if (keyBuilder_ == null) { key_ = null; onChanged(); } else { key_ = null; keyBuilder_ = null; } return this; } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder getKeyBuilder() { onChanged(); return getKeyFieldBuilder().getBuilder(); } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.getDefaultInstance() : key_; } } /** *
           * Composite key for the dictionary, containing of one or more key columns.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#composite-key).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Key key = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Key.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.KeyOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute rangeMin_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> rangeMinBuilder_; /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return Whether the rangeMin field is set. */ public boolean hasRangeMin() { return rangeMinBuilder_ != null || rangeMin_ != null; } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; * @return The rangeMin. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMin() { if (rangeMinBuilder_ == null) { return rangeMin_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMin_; } else { return rangeMinBuilder_.getMessage(); } } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public Builder setRangeMin(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (rangeMinBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rangeMin_ = value; onChanged(); } else { rangeMinBuilder_.setMessage(value); } return this; } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public Builder setRangeMin( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (rangeMinBuilder_ == null) { rangeMin_ = builderForValue.build(); onChanged(); } else { rangeMinBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public Builder mergeRangeMin(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (rangeMinBuilder_ == null) { if (rangeMin_ != null) { rangeMin_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.newBuilder(rangeMin_).mergeFrom(value).buildPartial(); } else { rangeMin_ = value; } onChanged(); } else { rangeMinBuilder_.mergeFrom(value); } return this; } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public Builder clearRangeMin() { if (rangeMinBuilder_ == null) { rangeMin_ = null; onChanged(); } else { rangeMin_ = null; rangeMinBuilder_ = null; } return this; } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder getRangeMinBuilder() { onChanged(); return getRangeMinFieldBuilder().getBuilder(); } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMinOrBuilder() { if (rangeMinBuilder_ != null) { return rangeMinBuilder_.getMessageOrBuilder(); } else { return rangeMin_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMin_; } } /** *
           * Field holding the beginning of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_min = 4; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> getRangeMinFieldBuilder() { if (rangeMinBuilder_ == null) { rangeMinBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder>( getRangeMin(), getParentForChildren(), isClean()); rangeMin_ = null; } return rangeMinBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute rangeMax_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> rangeMaxBuilder_; /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return Whether the rangeMax field is set. */ public boolean hasRangeMax() { return rangeMaxBuilder_ != null || rangeMax_ != null; } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; * @return The rangeMax. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getRangeMax() { if (rangeMaxBuilder_ == null) { return rangeMax_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMax_; } else { return rangeMaxBuilder_.getMessage(); } } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public Builder setRangeMax(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (rangeMaxBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rangeMax_ = value; onChanged(); } else { rangeMaxBuilder_.setMessage(value); } return this; } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public Builder setRangeMax( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (rangeMaxBuilder_ == null) { rangeMax_ = builderForValue.build(); onChanged(); } else { rangeMaxBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public Builder mergeRangeMax(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (rangeMaxBuilder_ == null) { if (rangeMax_ != null) { rangeMax_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.newBuilder(rangeMax_).mergeFrom(value).buildPartial(); } else { rangeMax_ = value; } onChanged(); } else { rangeMaxBuilder_.mergeFrom(value); } return this; } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public Builder clearRangeMax() { if (rangeMaxBuilder_ == null) { rangeMax_ = null; onChanged(); } else { rangeMax_ = null; rangeMaxBuilder_ = null; } return this; } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder getRangeMaxBuilder() { onChanged(); return getRangeMaxFieldBuilder().getBuilder(); } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getRangeMaxOrBuilder() { if (rangeMaxBuilder_ != null) { return rangeMaxBuilder_.getMessageOrBuilder(); } else { return rangeMax_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance() : rangeMax_; } } /** *
           * Field holding the end of the range for dictionaries with `RANGE_HASHED` layout.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/#range-hashed).
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute range_max = 5; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> getRangeMaxFieldBuilder() { if (rangeMaxBuilder_ == null) { rangeMaxBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder>( getRangeMax(), getParentForChildren(), isClean()); rangeMax_ = null; } return rangeMaxBuilder_; } private java.util.List attributes_ = java.util.Collections.emptyList(); private void ensureAttributesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { attributes_ = new java.util.ArrayList(attributes_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> attributesBuilder_; /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesList() { if (attributesBuilder_ == null) { return java.util.Collections.unmodifiableList(attributes_); } else { return attributesBuilder_.getMessageList(); } } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public int getAttributesCount() { if (attributesBuilder_ == null) { return attributes_.size(); } else { return attributesBuilder_.getCount(); } } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute getAttributes(int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessage(index); } } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder setAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.set(index, value); onChanged(); } else { attributesBuilder_.setMessage(index, value); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder setAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.set(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(value); onChanged(); } else { attributesBuilder_.addMessage(value); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute value) { if (attributesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureAttributesIsMutable(); attributes_.add(index, value); onChanged(); } else { attributesBuilder_.addMessage(index, value); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAttributes( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder builderForValue) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.add(index, builderForValue.build()); onChanged(); } else { attributesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAllAttributes( java.lang.Iterable values) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, attributes_); onChanged(); } else { attributesBuilder_.addAllMessages(values); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder clearAttributes() { if (attributesBuilder_ == null) { attributes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { attributesBuilder_.clear(); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder removeAttributes(int index) { if (attributesBuilder_ == null) { ensureAttributesIsMutable(); attributes_.remove(index); onChanged(); } else { attributesBuilder_.remove(index); } return this; } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder getAttributesBuilder( int index) { return getAttributesFieldBuilder().getBuilder(index); } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder getAttributesOrBuilder( int index) { if (attributesBuilder_ == null) { return attributes_.get(index); } else { return attributesBuilder_.getMessageOrBuilder(index); } } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesOrBuilderList() { if (attributesBuilder_ != null) { return attributesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(attributes_); } } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder addAttributesBuilder() { return getAttributesFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance()); } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder addAttributesBuilder( int index) { return getAttributesFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.getDefaultInstance()); } /** *
           * Description of the fields available for database queries.
           * For details, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/#attributes).
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure.Attribute attributes = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getAttributesBuilderList() { return getAttributesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder> getAttributesFieldBuilder() { if (attributesBuilder_ == null) { attributesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Attribute.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.AttributeOrBuilder>( attributes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); attributes_ = null; } return attributesBuilder_; } @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.config.ClickhouseConfig.ExternalDictionary.Structure) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Structure parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Structure(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface LayoutOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout) com.google.protobuf.MessageOrBuilder { /** *
         * Layout type for an external dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** *
         * Layout type for an external dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The type. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type getType(); /** *
         * Number of cells in the cache. Rounded up to a power of two.
         * Applicable only for CACHE and COMPLEX_KEY_CACHE layout types.
         * 
* * int64 size_in_cells = 2; * @return The sizeInCells. */ long getSizeInCells(); } /** *
       * Layout determining how to store the dictionary in memory.
       * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout} */ public static final class Layout extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout) LayoutOrBuilder { private static final long serialVersionUID = 0L; // Use Layout.newBuilder() to construct. private Layout(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Layout() { type_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Layout(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Layout( 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 8: { int rawValue = input.readEnum(); type_ = rawValue; break; } case 16: { sizeInCells_ = input.readInt64(); 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type} */ public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** * TYPE_UNSPECIFIED = 0; */ TYPE_UNSPECIFIED(0), /** *
           * The entire dictionary is stored in memory in the form of flat arrays.
           * Available for all dictionary sources.
           * 
* * FLAT = 1; */ FLAT(1), /** *
           * The entire dictionary is stored in memory in the form of a hash table.
           * Available for all dictionary sources.
           * 
* * HASHED = 2; */ HASHED(2), /** *
           * Similar to HASHED, to be used with composite keys.
           * Available for all dictionary sources.
           * 
* * COMPLEX_KEY_HASHED = 3; */ COMPLEX_KEY_HASHED(3), /** *
           * The entire dictionary is stored in memory in the form of a hash table,
           * with an ordered array of ranges and their corresponding values.
           * Available for all dictionary sources.
           * 
* * RANGE_HASHED = 4; */ RANGE_HASHED(4), /** *
           * The dictionary is stored in a cache with a set number of cells.
           * Available for MySQL, ClickHouse and HTTP dictionary sources.
           * 
* * CACHE = 5; */ CACHE(5), /** *
           * Similar to CACHE, to be used with composite keys.
           * Available for MySQL, ClickHouse and HTTP dictionary sources.
           * 
* * COMPLEX_KEY_CACHE = 6; */ COMPLEX_KEY_CACHE(6), UNRECOGNIZED(-1), ; /** * TYPE_UNSPECIFIED = 0; */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** *
           * The entire dictionary is stored in memory in the form of flat arrays.
           * Available for all dictionary sources.
           * 
* * FLAT = 1; */ public static final int FLAT_VALUE = 1; /** *
           * The entire dictionary is stored in memory in the form of a hash table.
           * Available for all dictionary sources.
           * 
* * HASHED = 2; */ public static final int HASHED_VALUE = 2; /** *
           * Similar to HASHED, to be used with composite keys.
           * Available for all dictionary sources.
           * 
* * COMPLEX_KEY_HASHED = 3; */ public static final int COMPLEX_KEY_HASHED_VALUE = 3; /** *
           * The entire dictionary is stored in memory in the form of a hash table,
           * with an ordered array of ranges and their corresponding values.
           * Available for all dictionary sources.
           * 
* * RANGE_HASHED = 4; */ public static final int RANGE_HASHED_VALUE = 4; /** *
           * The dictionary is stored in a cache with a set number of cells.
           * Available for MySQL, ClickHouse and HTTP dictionary sources.
           * 
* * CACHE = 5; */ public static final int CACHE_VALUE = 5; /** *
           * Similar to CACHE, to be used with composite keys.
           * Available for MySQL, ClickHouse and HTTP dictionary sources.
           * 
* * COMPLEX_KEY_CACHE = 6; */ public static final int COMPLEX_KEY_CACHE_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 Type 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 Type forNumber(int value) { switch (value) { case 0: return TYPE_UNSPECIFIED; case 1: return FLAT; case 2: return HASHED; case 3: return COMPLEX_KEY_HASHED; case 4: return RANGE_HASHED; case 5: return CACHE; case 6: return COMPLEX_KEY_CACHE; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Type> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Type findValueByNumber(int number) { return Type.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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDescriptor().getEnumTypes().get(0); } private static final Type[] VALUES = values(); public static Type 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 Type(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type) } public static final int TYPE_FIELD_NUMBER = 1; private int type_; /** *
         * Layout type for an external dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
         * Layout type for an external dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The type. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type getType() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.valueOf(type_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.UNRECOGNIZED : result; } public static final int SIZE_IN_CELLS_FIELD_NUMBER = 2; private long sizeInCells_; /** *
         * Number of cells in the cache. Rounded up to a power of two.
         * Applicable only for CACHE and COMPLEX_KEY_CACHE layout types.
         * 
* * int64 size_in_cells = 2; * @return The sizeInCells. */ @java.lang.Override public long getSizeInCells() { return sizeInCells_; } 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 (type_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(1, type_); } if (sizeInCells_ != 0L) { output.writeInt64(2, sizeInCells_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (type_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.TYPE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, type_); } if (sizeInCells_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, sizeInCells_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout) obj; if (type_ != other.type_) return false; if (getSizeInCells() != other.getSizeInCells()) 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) + TYPE_FIELD_NUMBER; hash = (53 * hash) + type_; hash = (37 * hash) + SIZE_IN_CELLS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getSizeInCells()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout 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; } /** *
         * Layout determining how to store the dictionary in memory.
         * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.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(); type_ = 0; sizeInCells_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout(this); result.type_ = type_; result.sizeInCells_ = sizeInCells_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDefaultInstance()) return this; if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getSizeInCells() != 0L) { setSizeInCells(other.getSizeInCells()); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int type_ = 0; /** *
           * Layout type for an external dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The enum numeric value on the wire for type. */ @java.lang.Override public int getTypeValue() { return type_; } /** *
           * Layout type for an external dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /** *
           * Layout type for an external dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return The type. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type getType() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.valueOf(type_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type.UNRECOGNIZED : result; } /** *
           * Layout type for an external dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @param value The type to set. * @return This builder for chaining. */ public Builder setType(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Type value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /** *
           * Layout type for an external dictionary.
           * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout.Type type = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearType() { type_ = 0; onChanged(); return this; } private long sizeInCells_ ; /** *
           * Number of cells in the cache. Rounded up to a power of two.
           * Applicable only for CACHE and COMPLEX_KEY_CACHE layout types.
           * 
* * int64 size_in_cells = 2; * @return The sizeInCells. */ @java.lang.Override public long getSizeInCells() { return sizeInCells_; } /** *
           * Number of cells in the cache. Rounded up to a power of two.
           * Applicable only for CACHE and COMPLEX_KEY_CACHE layout types.
           * 
* * int64 size_in_cells = 2; * @param value The sizeInCells to set. * @return This builder for chaining. */ public Builder setSizeInCells(long value) { sizeInCells_ = value; onChanged(); return this; } /** *
           * Number of cells in the cache. Rounded up to a power of two.
           * Applicable only for CACHE and COMPLEX_KEY_CACHE layout types.
           * 
* * int64 size_in_cells = 2; * @return This builder for chaining. */ public Builder clearSizeInCells() { sizeInCells_ = 0L; 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.config.ClickhouseConfig.ExternalDictionary.Layout) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Layout parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Layout(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RangeOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range) com.google.protobuf.MessageOrBuilder { /** *
         * Minimum dictionary lifetime.
         * 
* * int64 min = 1; * @return The min. */ long getMin(); /** *
         * Maximum dictionary lifetime.
         * 
* * int64 max = 2; * @return The max. */ long getMax(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range} */ public static final class Range extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range) RangeOrBuilder { private static final long serialVersionUID = 0L; // Use Range.newBuilder() to construct. private Range(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Range() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Range(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Range( 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 8: { min_ = input.readInt64(); break; } case 16: { max_ = input.readInt64(); 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder.class); } public static final int MIN_FIELD_NUMBER = 1; private long min_; /** *
         * Minimum dictionary lifetime.
         * 
* * int64 min = 1; * @return The min. */ @java.lang.Override public long getMin() { return min_; } public static final int MAX_FIELD_NUMBER = 2; private long max_; /** *
         * Maximum dictionary lifetime.
         * 
* * int64 max = 2; * @return The max. */ @java.lang.Override public long getMax() { return max_; } 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 (min_ != 0L) { output.writeInt64(1, min_); } if (max_ != 0L) { output.writeInt64(2, max_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (min_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, min_); } if (max_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, max_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) obj; if (getMin() != other.getMin()) return false; if (getMax() != other.getMax()) 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) + MIN_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMin()); hash = (37 * hash) + MAX_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getMax()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range 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.config.ClickhouseConfig.ExternalDictionary.Range} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.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(); min_ = 0L; max_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range(this); result.min_ = min_; result.max_ = max_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance()) return this; if (other.getMin() != 0L) { setMin(other.getMin()); } if (other.getMax() != 0L) { setMax(other.getMax()); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long min_ ; /** *
           * Minimum dictionary lifetime.
           * 
* * int64 min = 1; * @return The min. */ @java.lang.Override public long getMin() { return min_; } /** *
           * Minimum dictionary lifetime.
           * 
* * int64 min = 1; * @param value The min to set. * @return This builder for chaining. */ public Builder setMin(long value) { min_ = value; onChanged(); return this; } /** *
           * Minimum dictionary lifetime.
           * 
* * int64 min = 1; * @return This builder for chaining. */ public Builder clearMin() { min_ = 0L; onChanged(); return this; } private long max_ ; /** *
           * Maximum dictionary lifetime.
           * 
* * int64 max = 2; * @return The max. */ @java.lang.Override public long getMax() { return max_; } /** *
           * Maximum dictionary lifetime.
           * 
* * int64 max = 2; * @param value The max to set. * @return This builder for chaining. */ public Builder setMax(long value) { max_ = value; onChanged(); return this; } /** *
           * Maximum dictionary lifetime.
           * 
* * int64 max = 2; * @return This builder for chaining. */ public Builder clearMax() { max_ = 0L; 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.config.ClickhouseConfig.ExternalDictionary.Range) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Range parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Range(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int lifetimeCase_ = 0; private java.lang.Object lifetime_; public enum LifetimeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { FIXED_LIFETIME(4), LIFETIME_RANGE(5), LIFETIME_NOT_SET(0); private final int value; private LifetimeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static LifetimeCase valueOf(int value) { return forNumber(value); } public static LifetimeCase forNumber(int value) { switch (value) { case 4: return FIXED_LIFETIME; case 5: return LIFETIME_RANGE; case 0: return LIFETIME_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public LifetimeCase getLifetimeCase() { return LifetimeCase.forNumber( lifetimeCase_); } private int sourceCase_ = 0; private java.lang.Object source_; public enum SourceCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { HTTP_SOURCE(6), MYSQL_SOURCE(7), CLICKHOUSE_SOURCE(8), MONGODB_SOURCE(9), POSTGRESQL_SOURCE(10), SOURCE_NOT_SET(0); private final int value; private SourceCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static SourceCase valueOf(int value) { return forNumber(value); } public static SourceCase forNumber(int value) { switch (value) { case 6: return HTTP_SOURCE; case 7: return MYSQL_SOURCE; case 8: return CLICKHOUSE_SOURCE; case 9: return MONGODB_SOURCE; case 10: return POSTGRESQL_SOURCE; case 0: return SOURCE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public SourceCase getSourceCase() { return SourceCase.forNumber( sourceCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
       * Name of the external dictionary.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 external dictionary.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 STRUCTURE_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure structure_; /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return Whether the structure field is set. */ @java.lang.Override public boolean hasStructure() { return structure_ != null; } /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return The structure. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getStructure() { return structure_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.getDefaultInstance() : structure_; } /** *
       * Set of attributes for the external dictionary.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder getStructureOrBuilder() { return getStructure(); } public static final int LAYOUT_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout layout_; /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return Whether the layout field is set. */ @java.lang.Override public boolean hasLayout() { return layout_ != null; } /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return The layout. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getLayout() { return layout_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDefaultInstance() : layout_; } /** *
       * Layout for storing the dictionary in memory.
       * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder getLayoutOrBuilder() { return getLayout(); } public static final int FIXED_LIFETIME_FIELD_NUMBER = 4; /** *
       * Fixed interval between dictionary updates.
       * 
* * int64 fixed_lifetime = 4; * @return Whether the fixedLifetime field is set. */ @java.lang.Override public boolean hasFixedLifetime() { return lifetimeCase_ == 4; } /** *
       * Fixed interval between dictionary updates.
       * 
* * int64 fixed_lifetime = 4; * @return The fixedLifetime. */ @java.lang.Override public long getFixedLifetime() { if (lifetimeCase_ == 4) { return (java.lang.Long) lifetime_; } return 0L; } public static final int LIFETIME_RANGE_FIELD_NUMBER = 5; /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return Whether the lifetimeRange field is set. */ @java.lang.Override public boolean hasLifetimeRange() { return lifetimeCase_ == 5; } /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return The lifetimeRange. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getLifetimeRange() { if (lifetimeCase_ == 5) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } /** *
       * Range of intervals between dictionary updates for ClickHouse to choose from.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder getLifetimeRangeOrBuilder() { if (lifetimeCase_ == 5) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } public static final int HTTP_SOURCE_FIELD_NUMBER = 6; /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return Whether the httpSource field is set. */ @java.lang.Override public boolean hasHttpSource() { return sourceCase_ == 6; } /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return The httpSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getHttpSource() { if (sourceCase_ == 6) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } /** *
       * HTTP source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder getHttpSourceOrBuilder() { if (sourceCase_ == 6) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } public static final int MYSQL_SOURCE_FIELD_NUMBER = 7; /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return Whether the mysqlSource field is set. */ @java.lang.Override public boolean hasMysqlSource() { return sourceCase_ == 7; } /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return The mysqlSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getMysqlSource() { if (sourceCase_ == 7) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } /** *
       * MySQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder getMysqlSourceOrBuilder() { if (sourceCase_ == 7) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } public static final int CLICKHOUSE_SOURCE_FIELD_NUMBER = 8; /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return Whether the clickhouseSource field is set. */ @java.lang.Override public boolean hasClickhouseSource() { return sourceCase_ == 8; } /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return The clickhouseSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getClickhouseSource() { if (sourceCase_ == 8) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } /** *
       * ClickHouse source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder getClickhouseSourceOrBuilder() { if (sourceCase_ == 8) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } public static final int MONGODB_SOURCE_FIELD_NUMBER = 9; /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return Whether the mongodbSource field is set. */ @java.lang.Override public boolean hasMongodbSource() { return sourceCase_ == 9; } /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return The mongodbSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getMongodbSource() { if (sourceCase_ == 9) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } /** *
       * MongoDB source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder getMongodbSourceOrBuilder() { if (sourceCase_ == 9) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } public static final int POSTGRESQL_SOURCE_FIELD_NUMBER = 10; /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return Whether the postgresqlSource field is set. */ @java.lang.Override public boolean hasPostgresqlSource() { return sourceCase_ == 10; } /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return The postgresqlSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getPostgresqlSource() { if (sourceCase_ == 10) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } /** *
       * PostgreSQL source for the dictionary.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder getPostgresqlSourceOrBuilder() { if (sourceCase_ == 10) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } 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 (structure_ != null) { output.writeMessage(2, getStructure()); } if (layout_ != null) { output.writeMessage(3, getLayout()); } if (lifetimeCase_ == 4) { output.writeInt64( 4, (long)((java.lang.Long) lifetime_)); } if (lifetimeCase_ == 5) { output.writeMessage(5, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_); } if (sourceCase_ == 6) { output.writeMessage(6, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_); } if (sourceCase_ == 7) { output.writeMessage(7, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_); } if (sourceCase_ == 8) { output.writeMessage(8, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_); } if (sourceCase_ == 9) { output.writeMessage(9, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_); } if (sourceCase_ == 10) { output.writeMessage(10, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_); } 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 (structure_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getStructure()); } if (layout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getLayout()); } if (lifetimeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeInt64Size( 4, (long)((java.lang.Long) lifetime_)); } if (lifetimeCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_); } if (sourceCase_ == 6) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_); } if (sourceCase_ == 7) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_); } if (sourceCase_ == 8) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_); } if (sourceCase_ == 9) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_); } if (sourceCase_ == 10) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_); } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary) obj; if (!getName() .equals(other.getName())) return false; if (hasStructure() != other.hasStructure()) return false; if (hasStructure()) { if (!getStructure() .equals(other.getStructure())) return false; } if (hasLayout() != other.hasLayout()) return false; if (hasLayout()) { if (!getLayout() .equals(other.getLayout())) return false; } if (!getLifetimeCase().equals(other.getLifetimeCase())) return false; switch (lifetimeCase_) { case 4: if (getFixedLifetime() != other.getFixedLifetime()) return false; break; case 5: if (!getLifetimeRange() .equals(other.getLifetimeRange())) return false; break; case 0: default: } if (!getSourceCase().equals(other.getSourceCase())) return false; switch (sourceCase_) { case 6: if (!getHttpSource() .equals(other.getHttpSource())) return false; break; case 7: if (!getMysqlSource() .equals(other.getMysqlSource())) return false; break; case 8: if (!getClickhouseSource() .equals(other.getClickhouseSource())) return false; break; case 9: if (!getMongodbSource() .equals(other.getMongodbSource())) return false; break; case 10: if (!getPostgresqlSource() .equals(other.getPostgresqlSource())) return false; break; case 0: default: } 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(); if (hasStructure()) { hash = (37 * hash) + STRUCTURE_FIELD_NUMBER; hash = (53 * hash) + getStructure().hashCode(); } if (hasLayout()) { hash = (37 * hash) + LAYOUT_FIELD_NUMBER; hash = (53 * hash) + getLayout().hashCode(); } switch (lifetimeCase_) { case 4: hash = (37 * hash) + FIXED_LIFETIME_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getFixedLifetime()); break; case 5: hash = (37 * hash) + LIFETIME_RANGE_FIELD_NUMBER; hash = (53 * hash) + getLifetimeRange().hashCode(); break; case 0: default: } switch (sourceCase_) { case 6: hash = (37 * hash) + HTTP_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getHttpSource().hashCode(); break; case 7: hash = (37 * hash) + MYSQL_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getMysqlSource().hashCode(); break; case 8: hash = (37 * hash) + CLICKHOUSE_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getClickhouseSource().hashCode(); break; case 9: hash = (37 * hash) + MONGODB_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getMongodbSource().hashCode(); break; case 10: hash = (37 * hash) + POSTGRESQL_SOURCE_FIELD_NUMBER; hash = (53 * hash) + getPostgresqlSource().hashCode(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary 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.config.ClickhouseConfig.ExternalDictionary} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.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(); name_ = ""; if (structureBuilder_ == null) { structure_ = null; } else { structure_ = null; structureBuilder_ = null; } if (layoutBuilder_ == null) { layout_ = null; } else { layout_ = null; layoutBuilder_ = null; } lifetimeCase_ = 0; lifetime_ = null; sourceCase_ = 0; source_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary(this); result.name_ = name_; if (structureBuilder_ == null) { result.structure_ = structure_; } else { result.structure_ = structureBuilder_.build(); } if (layoutBuilder_ == null) { result.layout_ = layout_; } else { result.layout_ = layoutBuilder_.build(); } if (lifetimeCase_ == 4) { result.lifetime_ = lifetime_; } if (lifetimeCase_ == 5) { if (lifetimeRangeBuilder_ == null) { result.lifetime_ = lifetime_; } else { result.lifetime_ = lifetimeRangeBuilder_.build(); } } if (sourceCase_ == 6) { if (httpSourceBuilder_ == null) { result.source_ = source_; } else { result.source_ = httpSourceBuilder_.build(); } } if (sourceCase_ == 7) { if (mysqlSourceBuilder_ == null) { result.source_ = source_; } else { result.source_ = mysqlSourceBuilder_.build(); } } if (sourceCase_ == 8) { if (clickhouseSourceBuilder_ == null) { result.source_ = source_; } else { result.source_ = clickhouseSourceBuilder_.build(); } } if (sourceCase_ == 9) { if (mongodbSourceBuilder_ == null) { result.source_ = source_; } else { result.source_ = mongodbSourceBuilder_.build(); } } if (sourceCase_ == 10) { if (postgresqlSourceBuilder_ == null) { result.source_ = source_; } else { result.source_ = postgresqlSourceBuilder_.build(); } } result.lifetimeCase_ = lifetimeCase_; result.sourceCase_ = sourceCase_; 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.hasStructure()) { mergeStructure(other.getStructure()); } if (other.hasLayout()) { mergeLayout(other.getLayout()); } switch (other.getLifetimeCase()) { case FIXED_LIFETIME: { setFixedLifetime(other.getFixedLifetime()); break; } case LIFETIME_RANGE: { mergeLifetimeRange(other.getLifetimeRange()); break; } case LIFETIME_NOT_SET: { break; } } switch (other.getSourceCase()) { case HTTP_SOURCE: { mergeHttpSource(other.getHttpSource()); break; } case MYSQL_SOURCE: { mergeMysqlSource(other.getMysqlSource()); break; } case CLICKHOUSE_SOURCE: { mergeClickhouseSource(other.getClickhouseSource()); break; } case MONGODB_SOURCE: { mergeMongodbSource(other.getMongodbSource()); break; } case POSTGRESQL_SOURCE: { mergePostgresqlSource(other.getPostgresqlSource()); break; } case SOURCE_NOT_SET: { break; } } 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.config.Clickhouse.ClickhouseConfig.ExternalDictionary parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int lifetimeCase_ = 0; private java.lang.Object lifetime_; public LifetimeCase getLifetimeCase() { return LifetimeCase.forNumber( lifetimeCase_); } public Builder clearLifetime() { lifetimeCase_ = 0; lifetime_ = null; onChanged(); return this; } private int sourceCase_ = 0; private java.lang.Object source_; public SourceCase getSourceCase() { return SourceCase.forNumber( sourceCase_); } public Builder clearSource() { sourceCase_ = 0; source_ = null; onChanged(); return this; } private java.lang.Object name_ = ""; /** *
         * Name of the external dictionary.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 external dictionary.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 external dictionary.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 external dictionary.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
         * Name of the external dictionary.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure structure_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder> structureBuilder_; /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return Whether the structure field is set. */ public boolean hasStructure() { return structureBuilder_ != null || structure_ != null; } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; * @return The structure. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure getStructure() { if (structureBuilder_ == null) { return structure_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.getDefaultInstance() : structure_; } else { return structureBuilder_.getMessage(); } } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public Builder setStructure(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure value) { if (structureBuilder_ == null) { if (value == null) { throw new NullPointerException(); } structure_ = value; onChanged(); } else { structureBuilder_.setMessage(value); } return this; } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public Builder setStructure( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder builderForValue) { if (structureBuilder_ == null) { structure_ = builderForValue.build(); onChanged(); } else { structureBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public Builder mergeStructure(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure value) { if (structureBuilder_ == null) { if (structure_ != null) { structure_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.newBuilder(structure_).mergeFrom(value).buildPartial(); } else { structure_ = value; } onChanged(); } else { structureBuilder_.mergeFrom(value); } return this; } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public Builder clearStructure() { if (structureBuilder_ == null) { structure_ = null; onChanged(); } else { structure_ = null; structureBuilder_ = null; } return this; } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder getStructureBuilder() { onChanged(); return getStructureFieldBuilder().getBuilder(); } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder getStructureOrBuilder() { if (structureBuilder_ != null) { return structureBuilder_.getMessageOrBuilder(); } else { return structure_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.getDefaultInstance() : structure_; } } /** *
         * Set of attributes for the external dictionary.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_structure/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Structure structure = 2 [(.yandex.cloud.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder> getStructureFieldBuilder() { if (structureBuilder_ == null) { structureBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Structure.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.StructureOrBuilder>( getStructure(), getParentForChildren(), isClean()); structure_ = null; } return structureBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout layout_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder> layoutBuilder_; /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return Whether the layout field is set. */ public boolean hasLayout() { return layoutBuilder_ != null || layout_ != null; } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; * @return The layout. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout getLayout() { if (layoutBuilder_ == null) { return layout_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDefaultInstance() : layout_; } else { return layoutBuilder_.getMessage(); } } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public Builder setLayout(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout value) { if (layoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } layout_ = value; onChanged(); } else { layoutBuilder_.setMessage(value); } return this; } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public Builder setLayout( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder builderForValue) { if (layoutBuilder_ == null) { layout_ = builderForValue.build(); onChanged(); } else { layoutBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public Builder mergeLayout(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout value) { if (layoutBuilder_ == null) { if (layout_ != null) { layout_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.newBuilder(layout_).mergeFrom(value).buildPartial(); } else { layout_ = value; } onChanged(); } else { layoutBuilder_.mergeFrom(value); } return this; } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public Builder clearLayout() { if (layoutBuilder_ == null) { layout_ = null; onChanged(); } else { layout_ = null; layoutBuilder_ = null; } return this; } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder getLayoutBuilder() { onChanged(); return getLayoutFieldBuilder().getBuilder(); } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder getLayoutOrBuilder() { if (layoutBuilder_ != null) { return layoutBuilder_.getMessageOrBuilder(); } else { return layout_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.getDefaultInstance() : layout_; } } /** *
         * Layout for storing the dictionary in memory.
         * For in-depth description, see [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts_dict_layout/).
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Layout layout = 3 [(.yandex.cloud.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder> getLayoutFieldBuilder() { if (layoutBuilder_ == null) { layoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Layout.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.LayoutOrBuilder>( getLayout(), getParentForChildren(), isClean()); layout_ = null; } return layoutBuilder_; } /** *
         * Fixed interval between dictionary updates.
         * 
* * int64 fixed_lifetime = 4; * @return Whether the fixedLifetime field is set. */ public boolean hasFixedLifetime() { return lifetimeCase_ == 4; } /** *
         * Fixed interval between dictionary updates.
         * 
* * int64 fixed_lifetime = 4; * @return The fixedLifetime. */ public long getFixedLifetime() { if (lifetimeCase_ == 4) { return (java.lang.Long) lifetime_; } return 0L; } /** *
         * Fixed interval between dictionary updates.
         * 
* * int64 fixed_lifetime = 4; * @param value The fixedLifetime to set. * @return This builder for chaining. */ public Builder setFixedLifetime(long value) { lifetimeCase_ = 4; lifetime_ = value; onChanged(); return this; } /** *
         * Fixed interval between dictionary updates.
         * 
* * int64 fixed_lifetime = 4; * @return This builder for chaining. */ public Builder clearFixedLifetime() { if (lifetimeCase_ == 4) { lifetimeCase_ = 0; lifetime_ = null; onChanged(); } return this; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder> lifetimeRangeBuilder_; /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return Whether the lifetimeRange field is set. */ @java.lang.Override public boolean hasLifetimeRange() { return lifetimeCase_ == 5; } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; * @return The lifetimeRange. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range getLifetimeRange() { if (lifetimeRangeBuilder_ == null) { if (lifetimeCase_ == 5) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } else { if (lifetimeCase_ == 5) { return lifetimeRangeBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ public Builder setLifetimeRange(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range value) { if (lifetimeRangeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } lifetime_ = value; onChanged(); } else { lifetimeRangeBuilder_.setMessage(value); } lifetimeCase_ = 5; return this; } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ public Builder setLifetimeRange( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder builderForValue) { if (lifetimeRangeBuilder_ == null) { lifetime_ = builderForValue.build(); onChanged(); } else { lifetimeRangeBuilder_.setMessage(builderForValue.build()); } lifetimeCase_ = 5; return this; } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ public Builder mergeLifetimeRange(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range value) { if (lifetimeRangeBuilder_ == null) { if (lifetimeCase_ == 5 && lifetime_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance()) { lifetime_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_) .mergeFrom(value).buildPartial(); } else { lifetime_ = value; } onChanged(); } else { if (lifetimeCase_ == 5) { lifetimeRangeBuilder_.mergeFrom(value); } lifetimeRangeBuilder_.setMessage(value); } lifetimeCase_ = 5; return this; } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ public Builder clearLifetimeRange() { if (lifetimeRangeBuilder_ == null) { if (lifetimeCase_ == 5) { lifetimeCase_ = 0; lifetime_ = null; onChanged(); } } else { if (lifetimeCase_ == 5) { lifetimeCase_ = 0; lifetime_ = null; } lifetimeRangeBuilder_.clear(); } return this; } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder getLifetimeRangeBuilder() { return getLifetimeRangeFieldBuilder().getBuilder(); } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder getLifetimeRangeOrBuilder() { if ((lifetimeCase_ == 5) && (lifetimeRangeBuilder_ != null)) { return lifetimeRangeBuilder_.getMessageOrBuilder(); } else { if (lifetimeCase_ == 5) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } } /** *
         * Range of intervals between dictionary updates for ClickHouse to choose from.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.Range lifetime_range = 5; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder> getLifetimeRangeFieldBuilder() { if (lifetimeRangeBuilder_ == null) { if (!(lifetimeCase_ == 5)) { lifetime_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.getDefaultInstance(); } lifetimeRangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.RangeOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Range) lifetime_, getParentForChildren(), isClean()); lifetime_ = null; } lifetimeCase_ = 5; onChanged();; return lifetimeRangeBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder> httpSourceBuilder_; /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return Whether the httpSource field is set. */ @java.lang.Override public boolean hasHttpSource() { return sourceCase_ == 6; } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; * @return The httpSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource getHttpSource() { if (httpSourceBuilder_ == null) { if (sourceCase_ == 6) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } else { if (sourceCase_ == 6) { return httpSourceBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ public Builder setHttpSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource value) { if (httpSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); } else { httpSourceBuilder_.setMessage(value); } sourceCase_ = 6; return this; } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ public Builder setHttpSource( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder builderForValue) { if (httpSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); } else { httpSourceBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 6; return this; } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ public Builder mergeHttpSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource value) { if (httpSourceBuilder_ == null) { if (sourceCase_ == 6 && source_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance()) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_) .mergeFrom(value).buildPartial(); } else { source_ = value; } onChanged(); } else { if (sourceCase_ == 6) { httpSourceBuilder_.mergeFrom(value); } httpSourceBuilder_.setMessage(value); } sourceCase_ = 6; return this; } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ public Builder clearHttpSource() { if (httpSourceBuilder_ == null) { if (sourceCase_ == 6) { sourceCase_ = 0; source_ = null; onChanged(); } } else { if (sourceCase_ == 6) { sourceCase_ = 0; source_ = null; } httpSourceBuilder_.clear(); } return this; } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder getHttpSourceBuilder() { return getHttpSourceFieldBuilder().getBuilder(); } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder getHttpSourceOrBuilder() { if ((sourceCase_ == 6) && (httpSourceBuilder_ != null)) { return httpSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 6) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } } /** *
         * HTTP source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.HttpSource http_source = 6; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder> getHttpSourceFieldBuilder() { if (httpSourceBuilder_ == null) { if (!(sourceCase_ == 6)) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.getDefaultInstance(); } httpSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSourceOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.HttpSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 6; onChanged();; return httpSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder> mysqlSourceBuilder_; /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return Whether the mysqlSource field is set. */ @java.lang.Override public boolean hasMysqlSource() { return sourceCase_ == 7; } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; * @return The mysqlSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource getMysqlSource() { if (mysqlSourceBuilder_ == null) { if (sourceCase_ == 7) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } else { if (sourceCase_ == 7) { return mysqlSourceBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ public Builder setMysqlSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource value) { if (mysqlSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); } else { mysqlSourceBuilder_.setMessage(value); } sourceCase_ = 7; return this; } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ public Builder setMysqlSource( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder builderForValue) { if (mysqlSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); } else { mysqlSourceBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 7; return this; } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ public Builder mergeMysqlSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource value) { if (mysqlSourceBuilder_ == null) { if (sourceCase_ == 7 && source_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance()) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_) .mergeFrom(value).buildPartial(); } else { source_ = value; } onChanged(); } else { if (sourceCase_ == 7) { mysqlSourceBuilder_.mergeFrom(value); } mysqlSourceBuilder_.setMessage(value); } sourceCase_ = 7; return this; } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ public Builder clearMysqlSource() { if (mysqlSourceBuilder_ == null) { if (sourceCase_ == 7) { sourceCase_ = 0; source_ = null; onChanged(); } } else { if (sourceCase_ == 7) { sourceCase_ = 0; source_ = null; } mysqlSourceBuilder_.clear(); } return this; } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder getMysqlSourceBuilder() { return getMysqlSourceFieldBuilder().getBuilder(); } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder getMysqlSourceOrBuilder() { if ((sourceCase_ == 7) && (mysqlSourceBuilder_ != null)) { return mysqlSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 7) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } } /** *
         * MySQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MysqlSource mysql_source = 7; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder> getMysqlSourceFieldBuilder() { if (mysqlSourceBuilder_ == null) { if (!(sourceCase_ == 7)) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.getDefaultInstance(); } mysqlSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSourceOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MysqlSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 7; onChanged();; return mysqlSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder> clickhouseSourceBuilder_; /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return Whether the clickhouseSource field is set. */ @java.lang.Override public boolean hasClickhouseSource() { return sourceCase_ == 8; } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; * @return The clickhouseSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource getClickhouseSource() { if (clickhouseSourceBuilder_ == null) { if (sourceCase_ == 8) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } else { if (sourceCase_ == 8) { return clickhouseSourceBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ public Builder setClickhouseSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource value) { if (clickhouseSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); } else { clickhouseSourceBuilder_.setMessage(value); } sourceCase_ = 8; return this; } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ public Builder setClickhouseSource( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder builderForValue) { if (clickhouseSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); } else { clickhouseSourceBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 8; return this; } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ public Builder mergeClickhouseSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource value) { if (clickhouseSourceBuilder_ == null) { if (sourceCase_ == 8 && source_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance()) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_) .mergeFrom(value).buildPartial(); } else { source_ = value; } onChanged(); } else { if (sourceCase_ == 8) { clickhouseSourceBuilder_.mergeFrom(value); } clickhouseSourceBuilder_.setMessage(value); } sourceCase_ = 8; return this; } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ public Builder clearClickhouseSource() { if (clickhouseSourceBuilder_ == null) { if (sourceCase_ == 8) { sourceCase_ = 0; source_ = null; onChanged(); } } else { if (sourceCase_ == 8) { sourceCase_ = 0; source_ = null; } clickhouseSourceBuilder_.clear(); } return this; } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder getClickhouseSourceBuilder() { return getClickhouseSourceFieldBuilder().getBuilder(); } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder getClickhouseSourceOrBuilder() { if ((sourceCase_ == 8) && (clickhouseSourceBuilder_ != null)) { return clickhouseSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 8) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } } /** *
         * ClickHouse source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.ClickhouseSource clickhouse_source = 8; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder> getClickhouseSourceFieldBuilder() { if (clickhouseSourceBuilder_ == null) { if (!(sourceCase_ == 8)) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.getDefaultInstance(); } clickhouseSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSourceOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.ClickhouseSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 8; onChanged();; return clickhouseSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder> mongodbSourceBuilder_; /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return Whether the mongodbSource field is set. */ @java.lang.Override public boolean hasMongodbSource() { return sourceCase_ == 9; } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; * @return The mongodbSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource getMongodbSource() { if (mongodbSourceBuilder_ == null) { if (sourceCase_ == 9) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } else { if (sourceCase_ == 9) { return mongodbSourceBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ public Builder setMongodbSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource value) { if (mongodbSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); } else { mongodbSourceBuilder_.setMessage(value); } sourceCase_ = 9; return this; } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ public Builder setMongodbSource( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder builderForValue) { if (mongodbSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); } else { mongodbSourceBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 9; return this; } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ public Builder mergeMongodbSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource value) { if (mongodbSourceBuilder_ == null) { if (sourceCase_ == 9 && source_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance()) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_) .mergeFrom(value).buildPartial(); } else { source_ = value; } onChanged(); } else { if (sourceCase_ == 9) { mongodbSourceBuilder_.mergeFrom(value); } mongodbSourceBuilder_.setMessage(value); } sourceCase_ = 9; return this; } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ public Builder clearMongodbSource() { if (mongodbSourceBuilder_ == null) { if (sourceCase_ == 9) { sourceCase_ = 0; source_ = null; onChanged(); } } else { if (sourceCase_ == 9) { sourceCase_ = 0; source_ = null; } mongodbSourceBuilder_.clear(); } return this; } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder getMongodbSourceBuilder() { return getMongodbSourceFieldBuilder().getBuilder(); } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder getMongodbSourceOrBuilder() { if ((sourceCase_ == 9) && (mongodbSourceBuilder_ != null)) { return mongodbSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 9) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } } /** *
         * MongoDB source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.MongodbSource mongodb_source = 9; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder> getMongodbSourceFieldBuilder() { if (mongodbSourceBuilder_ == null) { if (!(sourceCase_ == 9)) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.getDefaultInstance(); } mongodbSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSourceOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.MongodbSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 9; onChanged();; return mongodbSourceBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder> postgresqlSourceBuilder_; /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return Whether the postgresqlSource field is set. */ @java.lang.Override public boolean hasPostgresqlSource() { return sourceCase_ == 10; } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; * @return The postgresqlSource. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource getPostgresqlSource() { if (postgresqlSourceBuilder_ == null) { if (sourceCase_ == 10) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } else { if (sourceCase_ == 10) { return postgresqlSourceBuilder_.getMessage(); } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ public Builder setPostgresqlSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource value) { if (postgresqlSourceBuilder_ == null) { if (value == null) { throw new NullPointerException(); } source_ = value; onChanged(); } else { postgresqlSourceBuilder_.setMessage(value); } sourceCase_ = 10; return this; } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ public Builder setPostgresqlSource( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder builderForValue) { if (postgresqlSourceBuilder_ == null) { source_ = builderForValue.build(); onChanged(); } else { postgresqlSourceBuilder_.setMessage(builderForValue.build()); } sourceCase_ = 10; return this; } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ public Builder mergePostgresqlSource(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource value) { if (postgresqlSourceBuilder_ == null) { if (sourceCase_ == 10 && source_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance()) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.newBuilder((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_) .mergeFrom(value).buildPartial(); } else { source_ = value; } onChanged(); } else { if (sourceCase_ == 10) { postgresqlSourceBuilder_.mergeFrom(value); } postgresqlSourceBuilder_.setMessage(value); } sourceCase_ = 10; return this; } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ public Builder clearPostgresqlSource() { if (postgresqlSourceBuilder_ == null) { if (sourceCase_ == 10) { sourceCase_ = 0; source_ = null; onChanged(); } } else { if (sourceCase_ == 10) { sourceCase_ = 0; source_ = null; } postgresqlSourceBuilder_.clear(); } return this; } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder getPostgresqlSourceBuilder() { return getPostgresqlSourceFieldBuilder().getBuilder(); } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder getPostgresqlSourceOrBuilder() { if ((sourceCase_ == 10) && (postgresqlSourceBuilder_ != null)) { return postgresqlSourceBuilder_.getMessageOrBuilder(); } else { if (sourceCase_ == 10) { return (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_; } return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } } /** *
         * PostgreSQL source for the dictionary.
         * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary.PostgresqlSource postgresql_source = 10; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder> getPostgresqlSourceFieldBuilder() { if (postgresqlSourceBuilder_ == null) { if (!(sourceCase_ == 10)) { source_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.getDefaultInstance(); } postgresqlSourceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSourceOrBuilder>( (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.PostgresqlSource) source_, getParentForChildren(), isClean()); source_ = null; } sourceCase_ = 10; onChanged();; return postgresqlSourceBuilder_; } @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.config.ClickhouseConfig.ExternalDictionary) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ExternalDictionary parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ExternalDictionary(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.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface GraphiteRollupOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup) com.google.protobuf.MessageOrBuilder { /** *
       * Name for the specified combination of settings for Graphite rollup.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The name. */ java.lang.String getName(); /** *
       * Name for the specified combination of settings for Graphite rollup.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ java.util.List getPatternsList(); /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getPatterns(int index); /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ int getPatternsCount(); /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ java.util.List getPatternsOrBuilderList(); /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder getPatternsOrBuilder( int index); } /** *
     * Rollup settings for the GraphiteMergeTree table engine.
     * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup} */ public static final class GraphiteRollup extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup) GraphiteRollupOrBuilder { private static final long serialVersionUID = 0L; // Use GraphiteRollup.newBuilder() to construct. private GraphiteRollup(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private GraphiteRollup() { name_ = ""; patterns_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new GraphiteRollup(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private GraphiteRollup( 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: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { patterns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } patterns_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.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)) { patterns_ = java.util.Collections.unmodifiableList(patterns_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder.class); } public interface PatternOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern) com.google.protobuf.MessageOrBuilder { /** *
         * Pattern for metric names.
         * 
* * string regexp = 1; * @return The regexp. */ java.lang.String getRegexp(); /** *
         * Pattern for metric names.
         * 
* * string regexp = 1; * @return The bytes for regexp. */ com.google.protobuf.ByteString getRegexpBytes(); /** *
         * Name of the aggregating function to apply to data of the age specified in [retention].
         * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The function. */ java.lang.String getFunction(); /** *
         * Name of the aggregating function to apply to data of the age specified in [retention].
         * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The bytes for function. */ com.google.protobuf.ByteString getFunctionBytes(); /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ java.util.List getRetentionList(); /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getRetention(int index); /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ int getRetentionCount(); /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ java.util.List getRetentionOrBuilderList(); /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder getRetentionOrBuilder( int index); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern} */ public static final class Pattern extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern) PatternOrBuilder { private static final long serialVersionUID = 0L; // Use Pattern.newBuilder() to construct. private Pattern(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Pattern() { regexp_ = ""; function_ = ""; retention_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Pattern(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Pattern( 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(); regexp_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); function_ = s; break; } case 26: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { retention_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } retention_.add( input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.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)) { retention_ = java.util.Collections.unmodifiableList(retention_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder.class); } public interface RetentionOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention) com.google.protobuf.MessageOrBuilder { /** *
           * Minimum age of the data in seconds.
           * 
* * int64 age = 1 [(.yandex.cloud.value) = ">=0"]; * @return The age. */ long getAge(); /** *
           * Precision of determining the age of the data, in seconds.
           * 
* * int64 precision = 2 [(.yandex.cloud.value) = ">0"]; * @return The precision. */ long getPrecision(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention} */ public static final class Retention extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention) RetentionOrBuilder { private static final long serialVersionUID = 0L; // Use Retention.newBuilder() to construct. private Retention(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Retention() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Retention(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Retention( 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 8: { age_ = input.readInt64(); break; } case 16: { precision_ = input.readInt64(); 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder.class); } public static final int AGE_FIELD_NUMBER = 1; private long age_; /** *
           * Minimum age of the data in seconds.
           * 
* * int64 age = 1 [(.yandex.cloud.value) = ">=0"]; * @return The age. */ @java.lang.Override public long getAge() { return age_; } public static final int PRECISION_FIELD_NUMBER = 2; private long precision_; /** *
           * Precision of determining the age of the data, in seconds.
           * 
* * int64 precision = 2 [(.yandex.cloud.value) = ">0"]; * @return The precision. */ @java.lang.Override public long getPrecision() { return precision_; } 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 (age_ != 0L) { output.writeInt64(1, age_); } if (precision_ != 0L) { output.writeInt64(2, precision_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (age_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(1, age_); } if (precision_ != 0L) { size += com.google.protobuf.CodedOutputStream .computeInt64Size(2, precision_); } 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention) obj; if (getAge() != other.getAge()) return false; if (getPrecision() != other.getPrecision()) 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) + AGE_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getAge()); hash = (37 * hash) + PRECISION_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getPrecision()); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention 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.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.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(); age_ = 0L; precision_ = 0L; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention(this); result.age_ = age_; result.precision_ = precision_; 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.getDefaultInstance()) return this; if (other.getAge() != 0L) { setAge(other.getAge()); } if (other.getPrecision() != 0L) { setPrecision(other.getPrecision()); } 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private long age_ ; /** *
             * Minimum age of the data in seconds.
             * 
* * int64 age = 1 [(.yandex.cloud.value) = ">=0"]; * @return The age. */ @java.lang.Override public long getAge() { return age_; } /** *
             * Minimum age of the data in seconds.
             * 
* * int64 age = 1 [(.yandex.cloud.value) = ">=0"]; * @param value The age to set. * @return This builder for chaining. */ public Builder setAge(long value) { age_ = value; onChanged(); return this; } /** *
             * Minimum age of the data in seconds.
             * 
* * int64 age = 1 [(.yandex.cloud.value) = ">=0"]; * @return This builder for chaining. */ public Builder clearAge() { age_ = 0L; onChanged(); return this; } private long precision_ ; /** *
             * Precision of determining the age of the data, in seconds.
             * 
* * int64 precision = 2 [(.yandex.cloud.value) = ">0"]; * @return The precision. */ @java.lang.Override public long getPrecision() { return precision_; } /** *
             * Precision of determining the age of the data, in seconds.
             * 
* * int64 precision = 2 [(.yandex.cloud.value) = ">0"]; * @param value The precision to set. * @return This builder for chaining. */ public Builder setPrecision(long value) { precision_ = value; onChanged(); return this; } /** *
             * Precision of determining the age of the data, in seconds.
             * 
* * int64 precision = 2 [(.yandex.cloud.value) = ">0"]; * @return This builder for chaining. */ public Builder clearPrecision() { precision_ = 0L; 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.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Retention parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Retention(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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int REGEXP_FIELD_NUMBER = 1; private volatile java.lang.Object regexp_; /** *
         * Pattern for metric names.
         * 
* * string regexp = 1; * @return The regexp. */ @java.lang.Override public java.lang.String getRegexp() { java.lang.Object ref = regexp_; 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(); regexp_ = s; return s; } } /** *
         * Pattern for metric names.
         * 
* * string regexp = 1; * @return The bytes for regexp. */ @java.lang.Override public com.google.protobuf.ByteString getRegexpBytes() { java.lang.Object ref = regexp_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regexp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int FUNCTION_FIELD_NUMBER = 2; private volatile java.lang.Object function_; /** *
         * Name of the aggregating function to apply to data of the age specified in [retention].
         * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The function. */ @java.lang.Override public java.lang.String getFunction() { java.lang.Object ref = function_; 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(); function_ = s; return s; } } /** *
         * Name of the aggregating function to apply to data of the age specified in [retention].
         * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The bytes for function. */ @java.lang.Override public com.google.protobuf.ByteString getFunctionBytes() { java.lang.Object ref = function_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); function_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int RETENTION_FIELD_NUMBER = 3; private java.util.List retention_; /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getRetentionList() { return retention_; } /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getRetentionOrBuilderList() { return retention_; } /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public int getRetentionCount() { return retention_.size(); } /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getRetention(int index) { return retention_.get(index); } /** *
         * Age of data to use for thinning.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder getRetentionOrBuilder( int index) { return retention_.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(regexp_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, regexp_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, function_); } for (int i = 0; i < retention_.size(); i++) { output.writeMessage(3, retention_.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(regexp_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, regexp_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(function_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, function_); } for (int i = 0; i < retention_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, retention_.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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern) obj; if (!getRegexp() .equals(other.getRegexp())) return false; if (!getFunction() .equals(other.getFunction())) return false; if (!getRetentionList() .equals(other.getRetentionList())) 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) + REGEXP_FIELD_NUMBER; hash = (53 * hash) + getRegexp().hashCode(); hash = (37 * hash) + FUNCTION_FIELD_NUMBER; hash = (53 * hash) + getFunction().hashCode(); if (getRetentionCount() > 0) { hash = (37 * hash) + RETENTION_FIELD_NUMBER; hash = (53 * hash) + getRetentionList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern 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.config.ClickhouseConfig.GraphiteRollup.Pattern} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getRetentionFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); regexp_ = ""; function_ = ""; if (retentionBuilder_ == null) { retention_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { retentionBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern(this); int from_bitField0_ = bitField0_; result.regexp_ = regexp_; result.function_ = function_; if (retentionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { retention_ = java.util.Collections.unmodifiableList(retention_); bitField0_ = (bitField0_ & ~0x00000001); } result.retention_ = retention_; } else { result.retention_ = retentionBuilder_.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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.getDefaultInstance()) return this; if (!other.getRegexp().isEmpty()) { regexp_ = other.regexp_; onChanged(); } if (!other.getFunction().isEmpty()) { function_ = other.function_; onChanged(); } if (retentionBuilder_ == null) { if (!other.retention_.isEmpty()) { if (retention_.isEmpty()) { retention_ = other.retention_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureRetentionIsMutable(); retention_.addAll(other.retention_); } onChanged(); } } else { if (!other.retention_.isEmpty()) { if (retentionBuilder_.isEmpty()) { retentionBuilder_.dispose(); retentionBuilder_ = null; retention_ = other.retention_; bitField0_ = (bitField0_ & ~0x00000001); retentionBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getRetentionFieldBuilder() : null; } else { retentionBuilder_.addAllMessages(other.retention_); } } } 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object regexp_ = ""; /** *
           * Pattern for metric names.
           * 
* * string regexp = 1; * @return The regexp. */ public java.lang.String getRegexp() { java.lang.Object ref = regexp_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); regexp_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Pattern for metric names.
           * 
* * string regexp = 1; * @return The bytes for regexp. */ public com.google.protobuf.ByteString getRegexpBytes() { java.lang.Object ref = regexp_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); regexp_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Pattern for metric names.
           * 
* * string regexp = 1; * @param value The regexp to set. * @return This builder for chaining. */ public Builder setRegexp( java.lang.String value) { if (value == null) { throw new NullPointerException(); } regexp_ = value; onChanged(); return this; } /** *
           * Pattern for metric names.
           * 
* * string regexp = 1; * @return This builder for chaining. */ public Builder clearRegexp() { regexp_ = getDefaultInstance().getRegexp(); onChanged(); return this; } /** *
           * Pattern for metric names.
           * 
* * string regexp = 1; * @param value The bytes for regexp to set. * @return This builder for chaining. */ public Builder setRegexpBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); regexp_ = value; onChanged(); return this; } private java.lang.Object function_ = ""; /** *
           * Name of the aggregating function to apply to data of the age specified in [retention].
           * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The function. */ public java.lang.String getFunction() { java.lang.Object ref = function_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); function_ = s; return s; } else { return (java.lang.String) ref; } } /** *
           * Name of the aggregating function to apply to data of the age specified in [retention].
           * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return The bytes for function. */ public com.google.protobuf.ByteString getFunctionBytes() { java.lang.Object ref = function_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); function_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
           * Name of the aggregating function to apply to data of the age specified in [retention].
           * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @param value The function to set. * @return This builder for chaining. */ public Builder setFunction( java.lang.String value) { if (value == null) { throw new NullPointerException(); } function_ = value; onChanged(); return this; } /** *
           * Name of the aggregating function to apply to data of the age specified in [retention].
           * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearFunction() { function_ = getDefaultInstance().getFunction(); onChanged(); return this; } /** *
           * Name of the aggregating function to apply to data of the age specified in [retention].
           * 
* * string function = 2 [(.yandex.cloud.required) = true]; * @param value The bytes for function to set. * @return This builder for chaining. */ public Builder setFunctionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); function_ = value; onChanged(); return this; } private java.util.List retention_ = java.util.Collections.emptyList(); private void ensureRetentionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { retention_ = new java.util.ArrayList(retention_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder> retentionBuilder_; /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getRetentionList() { if (retentionBuilder_ == null) { return java.util.Collections.unmodifiableList(retention_); } else { return retentionBuilder_.getMessageList(); } } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public int getRetentionCount() { if (retentionBuilder_ == null) { return retention_.size(); } else { return retentionBuilder_.getCount(); } } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention getRetention(int index) { if (retentionBuilder_ == null) { return retention_.get(index); } else { return retentionBuilder_.getMessage(index); } } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder setRetention( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention value) { if (retentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRetentionIsMutable(); retention_.set(index, value); onChanged(); } else { retentionBuilder_.setMessage(index, value); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder setRetention( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder builderForValue) { if (retentionBuilder_ == null) { ensureRetentionIsMutable(); retention_.set(index, builderForValue.build()); onChanged(); } else { retentionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder addRetention(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention value) { if (retentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRetentionIsMutable(); retention_.add(value); onChanged(); } else { retentionBuilder_.addMessage(value); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder addRetention( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention value) { if (retentionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureRetentionIsMutable(); retention_.add(index, value); onChanged(); } else { retentionBuilder_.addMessage(index, value); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder addRetention( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder builderForValue) { if (retentionBuilder_ == null) { ensureRetentionIsMutable(); retention_.add(builderForValue.build()); onChanged(); } else { retentionBuilder_.addMessage(builderForValue.build()); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder addRetention( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder builderForValue) { if (retentionBuilder_ == null) { ensureRetentionIsMutable(); retention_.add(index, builderForValue.build()); onChanged(); } else { retentionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder addAllRetention( java.lang.Iterable values) { if (retentionBuilder_ == null) { ensureRetentionIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, retention_); onChanged(); } else { retentionBuilder_.addAllMessages(values); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder clearRetention() { if (retentionBuilder_ == null) { retention_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { retentionBuilder_.clear(); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public Builder removeRetention(int index) { if (retentionBuilder_ == null) { ensureRetentionIsMutable(); retention_.remove(index); onChanged(); } else { retentionBuilder_.remove(index); } return this; } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder getRetentionBuilder( int index) { return getRetentionFieldBuilder().getBuilder(index); } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder getRetentionOrBuilder( int index) { if (retentionBuilder_ == null) { return retention_.get(index); } else { return retentionBuilder_.getMessageOrBuilder(index); } } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getRetentionOrBuilderList() { if (retentionBuilder_ != null) { return retentionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(retention_); } } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder addRetentionBuilder() { return getRetentionFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.getDefaultInstance()); } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder addRetentionBuilder( int index) { return getRetentionFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.getDefaultInstance()); } /** *
           * Age of data to use for thinning.
           * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern.Retention retention = 3 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getRetentionBuilderList() { return getRetentionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder> getRetentionFieldBuilder() { if (retentionBuilder_ == null) { retentionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Retention.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.RetentionOrBuilder>( retention_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); retention_ = null; } return retentionBuilder_; } @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.config.ClickhouseConfig.GraphiteRollup.Pattern) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Pattern parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Pattern(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.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** *
       * Name for the specified combination of settings for Graphite rollup.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 for the specified combination of settings for Graphite rollup.
       * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 PATTERNS_FIELD_NUMBER = 2; private java.util.List patterns_; /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getPatternsList() { return patterns_; } /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public java.util.List getPatternsOrBuilderList() { return patterns_; } /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public int getPatternsCount() { return patterns_.size(); } /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getPatterns(int index) { return patterns_.get(index); } /** *
       * Pattern to use for the rollup.
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder getPatternsOrBuilder( int index) { return patterns_.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_); } for (int i = 0; i < patterns_.size(); i++) { output.writeMessage(2, patterns_.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_); } for (int i = 0; i < patterns_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, patterns_.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.config.Clickhouse.ClickhouseConfig.GraphiteRollup)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup) obj; if (!getName() .equals(other.getName())) return false; if (!getPatternsList() .equals(other.getPatternsList())) 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(); if (getPatternsCount() > 0) { hash = (37 * hash) + PATTERNS_FIELD_NUMBER; hash = (53 * hash) + getPatternsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup 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; } /** *
       * Rollup settings for the GraphiteMergeTree table engine.
       * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPatternsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); name_ = ""; if (patternsBuilder_ == null) { patterns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { patternsBuilder_.clear(); } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (patternsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { patterns_ = java.util.Collections.unmodifiableList(patterns_); bitField0_ = (bitField0_ & ~0x00000001); } result.patterns_ = patterns_; } else { result.patterns_ = patternsBuilder_.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.config.Clickhouse.ClickhouseConfig.GraphiteRollup) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (patternsBuilder_ == null) { if (!other.patterns_.isEmpty()) { if (patterns_.isEmpty()) { patterns_ = other.patterns_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePatternsIsMutable(); patterns_.addAll(other.patterns_); } onChanged(); } } else { if (!other.patterns_.isEmpty()) { if (patternsBuilder_.isEmpty()) { patternsBuilder_.dispose(); patternsBuilder_ = null; patterns_ = other.patterns_; bitField0_ = (bitField0_ & ~0x00000001); patternsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getPatternsFieldBuilder() : null; } else { patternsBuilder_.addAllMessages(other.patterns_); } } } 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.config.Clickhouse.ClickhouseConfig.GraphiteRollup parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** *
         * Name for the specified combination of settings for Graphite rollup.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 for the specified combination of settings for Graphite rollup.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 for the specified combination of settings for Graphite rollup.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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 for the specified combination of settings for Graphite rollup.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @return This builder for chaining. */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /** *
         * Name for the specified combination of settings for Graphite rollup.
         * 
* * string name = 1 [(.yandex.cloud.required) = true]; * @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.util.List patterns_ = java.util.Collections.emptyList(); private void ensurePatternsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { patterns_ = new java.util.ArrayList(patterns_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder> patternsBuilder_; /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getPatternsList() { if (patternsBuilder_ == null) { return java.util.Collections.unmodifiableList(patterns_); } else { return patternsBuilder_.getMessageList(); } } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public int getPatternsCount() { if (patternsBuilder_ == null) { return patterns_.size(); } else { return patternsBuilder_.getCount(); } } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern getPatterns(int index) { if (patternsBuilder_ == null) { return patterns_.get(index); } else { return patternsBuilder_.getMessage(index); } } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder setPatterns( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern value) { if (patternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternsIsMutable(); patterns_.set(index, value); onChanged(); } else { patternsBuilder_.setMessage(index, value); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder setPatterns( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder builderForValue) { if (patternsBuilder_ == null) { ensurePatternsIsMutable(); patterns_.set(index, builderForValue.build()); onChanged(); } else { patternsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addPatterns(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern value) { if (patternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternsIsMutable(); patterns_.add(value); onChanged(); } else { patternsBuilder_.addMessage(value); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addPatterns( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern value) { if (patternsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensurePatternsIsMutable(); patterns_.add(index, value); onChanged(); } else { patternsBuilder_.addMessage(index, value); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addPatterns( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder builderForValue) { if (patternsBuilder_ == null) { ensurePatternsIsMutable(); patterns_.add(builderForValue.build()); onChanged(); } else { patternsBuilder_.addMessage(builderForValue.build()); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addPatterns( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder builderForValue) { if (patternsBuilder_ == null) { ensurePatternsIsMutable(); patterns_.add(index, builderForValue.build()); onChanged(); } else { patternsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder addAllPatterns( java.lang.Iterable values) { if (patternsBuilder_ == null) { ensurePatternsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, patterns_); onChanged(); } else { patternsBuilder_.addAllMessages(values); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder clearPatterns() { if (patternsBuilder_ == null) { patterns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { patternsBuilder_.clear(); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public Builder removePatterns(int index) { if (patternsBuilder_ == null) { ensurePatternsIsMutable(); patterns_.remove(index); onChanged(); } else { patternsBuilder_.remove(index); } return this; } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder getPatternsBuilder( int index) { return getPatternsFieldBuilder().getBuilder(index); } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder getPatternsOrBuilder( int index) { if (patternsBuilder_ == null) { return patterns_.get(index); } else { return patternsBuilder_.getMessageOrBuilder(index); } } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getPatternsOrBuilderList() { if (patternsBuilder_ != null) { return patternsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(patterns_); } } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder addPatternsBuilder() { return getPatternsFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.getDefaultInstance()); } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder addPatternsBuilder( int index) { return getPatternsFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.getDefaultInstance()); } /** *
         * Pattern to use for the rollup.
         * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup.Pattern patterns = 2 [(.yandex.cloud.size) = ">0"]; */ public java.util.List getPatternsBuilderList() { return getPatternsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder> getPatternsFieldBuilder() { if (patternsBuilder_ == null) { patternsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Pattern.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.PatternOrBuilder>( patterns_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); patterns_ = null; } return patternsBuilder_; } @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.config.ClickhouseConfig.GraphiteRollup) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public GraphiteRollup parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new GraphiteRollup(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.config.Clickhouse.ClickhouseConfig.GraphiteRollup getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int LOG_LEVEL_FIELD_NUMBER = 1; private int logLevel_; /** *
     * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The enum numeric value on the wire for logLevel. */ @java.lang.Override public int getLogLevelValue() { return logLevel_; } /** *
     * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The logLevel. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getLogLevel() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.valueOf(logLevel_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.UNRECOGNIZED : result; } public static final int MERGE_TREE_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree mergeTree_; /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return Whether the mergeTree field is set. */ @java.lang.Override public boolean hasMergeTree() { return mergeTree_ != null; } /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return The mergeTree. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree getMergeTree() { return mergeTree_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.getDefaultInstance() : mergeTree_; } /** *
     * Settings for the MergeTree engine.
     * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder getMergeTreeOrBuilder() { return getMergeTree(); } public static final int COMPRESSION_FIELD_NUMBER = 3; private java.util.List compression_; /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ @java.lang.Override public java.util.List getCompressionList() { return compression_; } /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ @java.lang.Override public java.util.List getCompressionOrBuilderList() { return compression_; } /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ @java.lang.Override public int getCompressionCount() { return compression_.size(); } /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression getCompression(int index) { return compression_.get(index); } /** *
     * Compression settings for the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder getCompressionOrBuilder( int index) { return compression_.get(index); } public static final int DICTIONARIES_FIELD_NUMBER = 4; private java.util.List dictionaries_; /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ @java.lang.Override public java.util.List getDictionariesList() { return dictionaries_; } /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ @java.lang.Override public java.util.List getDictionariesOrBuilderList() { return dictionaries_; } /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ @java.lang.Override public int getDictionariesCount() { return dictionaries_.size(); } /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDictionaries(int index) { return dictionaries_.get(index); } /** *
     * Configuration of external dictionaries to be used by the ClickHouse cluster.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder getDictionariesOrBuilder( int index) { return dictionaries_.get(index); } public static final int GRAPHITE_ROLLUP_FIELD_NUMBER = 5; private java.util.List graphiteRollup_; /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ @java.lang.Override public java.util.List getGraphiteRollupList() { return graphiteRollup_; } /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ @java.lang.Override public java.util.List getGraphiteRollupOrBuilderList() { return graphiteRollup_; } /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ @java.lang.Override public int getGraphiteRollupCount() { return graphiteRollup_.size(); } /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup getGraphiteRollup(int index) { return graphiteRollup_.get(index); } /** *
     * Settings for thinning Graphite data.
     * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
     * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder getGraphiteRollupOrBuilder( int index) { return graphiteRollup_.get(index); } public static final int KAFKA_FIELD_NUMBER = 35; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka kafka_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return Whether the kafka field is set. */ @java.lang.Override public boolean hasKafka() { return kafka_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return The kafka. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getKafka() { return kafka_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : kafka_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getKafkaOrBuilder() { return getKafka(); } public static final int KAFKA_TOPICS_FIELD_NUMBER = 36; private java.util.List kafkaTopics_; /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ @java.lang.Override public java.util.List getKafkaTopicsList() { return kafkaTopics_; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ @java.lang.Override public java.util.List getKafkaTopicsOrBuilderList() { return kafkaTopics_; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ @java.lang.Override public int getKafkaTopicsCount() { return kafkaTopics_.size(); } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic getKafkaTopics(int index) { return kafkaTopics_.get(index); } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder getKafkaTopicsOrBuilder( int index) { return kafkaTopics_.get(index); } public static final int RABBITMQ_FIELD_NUMBER = 37; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq rabbitmq_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return Whether the rabbitmq field is set. */ @java.lang.Override public boolean hasRabbitmq() { return rabbitmq_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return The rabbitmq. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq getRabbitmq() { return rabbitmq_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.getDefaultInstance() : rabbitmq_; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder getRabbitmqOrBuilder() { return getRabbitmq(); } public static final int MAX_CONNECTIONS_FIELD_NUMBER = 6; private com.google.protobuf.Int64Value maxConnections_; /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConnections field is set. */ @java.lang.Override public boolean hasMaxConnections() { return maxConnections_ != null; } /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return The maxConnections. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxConnections() { return maxConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConnections_; } /** *
     * Maximum number of inbound connections.
     * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxConnectionsOrBuilder() { return getMaxConnections(); } public static final int MAX_CONCURRENT_QUERIES_FIELD_NUMBER = 7; private com.google.protobuf.Int64Value maxConcurrentQueries_; /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConcurrentQueries field is set. */ @java.lang.Override public boolean hasMaxConcurrentQueries() { return maxConcurrentQueries_ != null; } /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return The maxConcurrentQueries. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxConcurrentQueries() { return maxConcurrentQueries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueries_; } /** *
     * Maximum number of simultaneously processed requests.
     * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesOrBuilder() { return getMaxConcurrentQueries(); } public static final int KEEP_ALIVE_TIMEOUT_FIELD_NUMBER = 8; private com.google.protobuf.Int64Value keepAliveTimeout_; /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return Whether the keepAliveTimeout field is set. */ @java.lang.Override public boolean hasKeepAliveTimeout() { return keepAliveTimeout_ != null; } /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return The keepAliveTimeout. */ @java.lang.Override public com.google.protobuf.Int64Value getKeepAliveTimeout() { return keepAliveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : keepAliveTimeout_; } /** *
     * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
     * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getKeepAliveTimeoutOrBuilder() { return getKeepAliveTimeout(); } public static final int UNCOMPRESSED_CACHE_SIZE_FIELD_NUMBER = 9; private com.google.protobuf.Int64Value uncompressedCacheSize_; /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return Whether the uncompressedCacheSize field is set. */ @java.lang.Override public boolean hasUncompressedCacheSize() { return uncompressedCacheSize_ != null; } /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return The uncompressedCacheSize. */ @java.lang.Override public com.google.protobuf.Int64Value getUncompressedCacheSize() { return uncompressedCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : uncompressedCacheSize_; } /** *
     * Cache size (in bytes) for uncompressed data used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getUncompressedCacheSizeOrBuilder() { return getUncompressedCacheSize(); } public static final int MARK_CACHE_SIZE_FIELD_NUMBER = 10; private com.google.protobuf.Int64Value markCacheSize_; /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return Whether the markCacheSize field is set. */ @java.lang.Override public boolean hasMarkCacheSize() { return markCacheSize_ != null; } /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return The markCacheSize. */ @java.lang.Override public com.google.protobuf.Int64Value getMarkCacheSize() { return markCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : markCacheSize_; } /** *
     * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
     * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMarkCacheSizeOrBuilder() { return getMarkCacheSize(); } public static final int MAX_TABLE_SIZE_TO_DROP_FIELD_NUMBER = 11; private com.google.protobuf.Int64Value maxTableSizeToDrop_; /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return Whether the maxTableSizeToDrop field is set. */ @java.lang.Override public boolean hasMaxTableSizeToDrop() { return maxTableSizeToDrop_ != null; } /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return The maxTableSizeToDrop. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxTableSizeToDrop() { return maxTableSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTableSizeToDrop_; } /** *
     * Maximum size of the table that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxTableSizeToDropOrBuilder() { return getMaxTableSizeToDrop(); } public static final int MAX_PARTITION_SIZE_TO_DROP_FIELD_NUMBER = 13; private com.google.protobuf.Int64Value maxPartitionSizeToDrop_; /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return Whether the maxPartitionSizeToDrop field is set. */ @java.lang.Override public boolean hasMaxPartitionSizeToDrop() { return maxPartitionSizeToDrop_ != null; } /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return The maxPartitionSizeToDrop. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxPartitionSizeToDrop() { return maxPartitionSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionSizeToDrop_; } /** *
     * Maximum size of the partition that can be deleted using a DROP query.
     * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxPartitionSizeToDropOrBuilder() { return getMaxPartitionSizeToDrop(); } public static final int BUILTIN_DICTIONARIES_RELOAD_INTERVAL_FIELD_NUMBER = 12; private com.google.protobuf.Int64Value builtinDictionariesReloadInterval_; /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return Whether the builtinDictionariesReloadInterval field is set. */ @java.lang.Override @java.lang.Deprecated public boolean hasBuiltinDictionariesReloadInterval() { return builtinDictionariesReloadInterval_ != null; } /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return The builtinDictionariesReloadInterval. */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.Int64Value getBuiltinDictionariesReloadInterval() { return builtinDictionariesReloadInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : builtinDictionariesReloadInterval_; } /** *
     * The setting is deprecated and has no effect.
     * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Override @java.lang.Deprecated public com.google.protobuf.Int64ValueOrBuilder getBuiltinDictionariesReloadIntervalOrBuilder() { return getBuiltinDictionariesReloadInterval(); } public static final int TIMEZONE_FIELD_NUMBER = 14; private volatile java.lang.Object timezone_; /** *
     * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
     * 
* * string timezone = 14; * @return The timezone. */ @java.lang.Override public java.lang.String getTimezone() { java.lang.Object ref = timezone_; 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(); timezone_ = s; return s; } } /** *
     * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
     * 
* * string timezone = 14; * @return The bytes for timezone. */ @java.lang.Override public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int GEOBASE_URI_FIELD_NUMBER = 15; private volatile java.lang.Object geobaseUri_; /** *
     * Address of the archive with the user geobase in Object Storage.
     * 
* * string geobase_uri = 15; * @return The geobaseUri. */ @java.lang.Override public java.lang.String getGeobaseUri() { java.lang.Object ref = geobaseUri_; 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(); geobaseUri_ = s; return s; } } /** *
     * Address of the archive with the user geobase in Object Storage.
     * 
* * string geobase_uri = 15; * @return The bytes for geobaseUri. */ @java.lang.Override public com.google.protobuf.ByteString getGeobaseUriBytes() { java.lang.Object ref = geobaseUri_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); geobaseUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int QUERY_LOG_RETENTION_SIZE_FIELD_NUMBER = 16; private com.google.protobuf.Int64Value queryLogRetentionSize_; /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return Whether the queryLogRetentionSize field is set. */ @java.lang.Override public boolean hasQueryLogRetentionSize() { return queryLogRetentionSize_ != null; } /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return The queryLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getQueryLogRetentionSize() { return queryLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionSize_; } /** *
     * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionSizeOrBuilder() { return getQueryLogRetentionSize(); } public static final int QUERY_LOG_RETENTION_TIME_FIELD_NUMBER = 17; private com.google.protobuf.Int64Value queryLogRetentionTime_; /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return Whether the queryLogRetentionTime field is set. */ @java.lang.Override public boolean hasQueryLogRetentionTime() { return queryLogRetentionTime_ != null; } /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return The queryLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getQueryLogRetentionTime() { return queryLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionTime_; } /** *
     * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
     * query_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionTimeOrBuilder() { return getQueryLogRetentionTime(); } public static final int QUERY_THREAD_LOG_ENABLED_FIELD_NUMBER = 18; private com.google.protobuf.BoolValue queryThreadLogEnabled_; /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return Whether the queryThreadLogEnabled field is set. */ @java.lang.Override public boolean hasQueryThreadLogEnabled() { return queryThreadLogEnabled_ != null; } /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return The queryThreadLogEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getQueryThreadLogEnabled() { return queryThreadLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : queryThreadLogEnabled_; } /** *
     * Whether query_thread_log system table is enabled.
     * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getQueryThreadLogEnabledOrBuilder() { return getQueryThreadLogEnabled(); } public static final int QUERY_THREAD_LOG_RETENTION_SIZE_FIELD_NUMBER = 19; private com.google.protobuf.Int64Value queryThreadLogRetentionSize_; /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return Whether the queryThreadLogRetentionSize field is set. */ @java.lang.Override public boolean hasQueryThreadLogRetentionSize() { return queryThreadLogRetentionSize_ != null; } /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return The queryThreadLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getQueryThreadLogRetentionSize() { return queryThreadLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionSize_; } /** *
     * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
     * query_thread_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionSizeOrBuilder() { return getQueryThreadLogRetentionSize(); } public static final int QUERY_THREAD_LOG_RETENTION_TIME_FIELD_NUMBER = 20; private com.google.protobuf.Int64Value queryThreadLogRetentionTime_; /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return Whether the queryThreadLogRetentionTime field is set. */ @java.lang.Override public boolean hasQueryThreadLogRetentionTime() { return queryThreadLogRetentionTime_ != null; } /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return The queryThreadLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getQueryThreadLogRetentionTime() { return queryThreadLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionTime_; } /** *
     * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
     * query_thread_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionTimeOrBuilder() { return getQueryThreadLogRetentionTime(); } public static final int PART_LOG_RETENTION_SIZE_FIELD_NUMBER = 21; private com.google.protobuf.Int64Value partLogRetentionSize_; /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return Whether the partLogRetentionSize field is set. */ @java.lang.Override public boolean hasPartLogRetentionSize() { return partLogRetentionSize_ != null; } /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return The partLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getPartLogRetentionSize() { return partLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionSize_; } /** *
     * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
     * part_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionSizeOrBuilder() { return getPartLogRetentionSize(); } public static final int PART_LOG_RETENTION_TIME_FIELD_NUMBER = 22; private com.google.protobuf.Int64Value partLogRetentionTime_; /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return Whether the partLogRetentionTime field is set. */ @java.lang.Override public boolean hasPartLogRetentionTime() { return partLogRetentionTime_ != null; } /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return The partLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getPartLogRetentionTime() { return partLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionTime_; } /** *
     * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
     * part_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionTimeOrBuilder() { return getPartLogRetentionTime(); } public static final int METRIC_LOG_ENABLED_FIELD_NUMBER = 23; private com.google.protobuf.BoolValue metricLogEnabled_; /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return Whether the metricLogEnabled field is set. */ @java.lang.Override public boolean hasMetricLogEnabled() { return metricLogEnabled_ != null; } /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return The metricLogEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getMetricLogEnabled() { return metricLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : metricLogEnabled_; } /** *
     * Whether metric_log system table is enabled.
     * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getMetricLogEnabledOrBuilder() { return getMetricLogEnabled(); } public static final int METRIC_LOG_RETENTION_SIZE_FIELD_NUMBER = 24; private com.google.protobuf.Int64Value metricLogRetentionSize_; /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return Whether the metricLogRetentionSize field is set. */ @java.lang.Override public boolean hasMetricLogRetentionSize() { return metricLogRetentionSize_ != null; } /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return The metricLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getMetricLogRetentionSize() { return metricLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionSize_; } /** *
     * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
     * metric_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionSizeOrBuilder() { return getMetricLogRetentionSize(); } public static final int METRIC_LOG_RETENTION_TIME_FIELD_NUMBER = 25; private com.google.protobuf.Int64Value metricLogRetentionTime_; /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return Whether the metricLogRetentionTime field is set. */ @java.lang.Override public boolean hasMetricLogRetentionTime() { return metricLogRetentionTime_ != null; } /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return The metricLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getMetricLogRetentionTime() { return metricLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionTime_; } /** *
     * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
     * metric_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionTimeOrBuilder() { return getMetricLogRetentionTime(); } public static final int TRACE_LOG_ENABLED_FIELD_NUMBER = 26; private com.google.protobuf.BoolValue traceLogEnabled_; /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return Whether the traceLogEnabled field is set. */ @java.lang.Override public boolean hasTraceLogEnabled() { return traceLogEnabled_ != null; } /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return The traceLogEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getTraceLogEnabled() { return traceLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : traceLogEnabled_; } /** *
     * Whether trace_log system table is enabled.
     * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getTraceLogEnabledOrBuilder() { return getTraceLogEnabled(); } public static final int TRACE_LOG_RETENTION_SIZE_FIELD_NUMBER = 27; private com.google.protobuf.Int64Value traceLogRetentionSize_; /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return Whether the traceLogRetentionSize field is set. */ @java.lang.Override public boolean hasTraceLogRetentionSize() { return traceLogRetentionSize_ != null; } /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return The traceLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getTraceLogRetentionSize() { return traceLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionSize_; } /** *
     * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
     * trace_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionSizeOrBuilder() { return getTraceLogRetentionSize(); } public static final int TRACE_LOG_RETENTION_TIME_FIELD_NUMBER = 28; private com.google.protobuf.Int64Value traceLogRetentionTime_; /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return Whether the traceLogRetentionTime field is set. */ @java.lang.Override public boolean hasTraceLogRetentionTime() { return traceLogRetentionTime_ != null; } /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return The traceLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getTraceLogRetentionTime() { return traceLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionTime_; } /** *
     * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
     * trace_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionTimeOrBuilder() { return getTraceLogRetentionTime(); } public static final int TEXT_LOG_ENABLED_FIELD_NUMBER = 29; private com.google.protobuf.BoolValue textLogEnabled_; /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return Whether the textLogEnabled field is set. */ @java.lang.Override public boolean hasTextLogEnabled() { return textLogEnabled_ != null; } /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return The textLogEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getTextLogEnabled() { return textLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : textLogEnabled_; } /** *
     * Whether text_log system table is enabled.
     * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getTextLogEnabledOrBuilder() { return getTextLogEnabled(); } public static final int TEXT_LOG_RETENTION_SIZE_FIELD_NUMBER = 30; private com.google.protobuf.Int64Value textLogRetentionSize_; /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return Whether the textLogRetentionSize field is set. */ @java.lang.Override public boolean hasTextLogRetentionSize() { return textLogRetentionSize_ != null; } /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return The textLogRetentionSize. */ @java.lang.Override public com.google.protobuf.Int64Value getTextLogRetentionSize() { return textLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionSize_; } /** *
     * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
     * text_log data based on size is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionSizeOrBuilder() { return getTextLogRetentionSize(); } public static final int TEXT_LOG_RETENTION_TIME_FIELD_NUMBER = 31; private com.google.protobuf.Int64Value textLogRetentionTime_; /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return Whether the textLogRetentionTime field is set. */ @java.lang.Override public boolean hasTextLogRetentionTime() { return textLogRetentionTime_ != null; } /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return The textLogRetentionTime. */ @java.lang.Override public com.google.protobuf.Int64Value getTextLogRetentionTime() { return textLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionTime_; } /** *
     * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
     * text_log data based on time is disabled.
     * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionTimeOrBuilder() { return getTextLogRetentionTime(); } public static final int TEXT_LOG_LEVEL_FIELD_NUMBER = 32; private int textLogLevel_; /** *
     * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The enum numeric value on the wire for textLogLevel. */ @java.lang.Override public int getTextLogLevelValue() { return textLogLevel_; } /** *
     * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The textLogLevel. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getTextLogLevel() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.valueOf(textLogLevel_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.UNRECOGNIZED : result; } public static final int OPENTELEMETRY_SPAN_LOG_ENABLED_FIELD_NUMBER = 42; private com.google.protobuf.BoolValue opentelemetrySpanLogEnabled_; /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return Whether the opentelemetrySpanLogEnabled field is set. */ @java.lang.Override public boolean hasOpentelemetrySpanLogEnabled() { return opentelemetrySpanLogEnabled_ != null; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return The opentelemetrySpanLogEnabled. */ @java.lang.Override public com.google.protobuf.BoolValue getOpentelemetrySpanLogEnabled() { return opentelemetrySpanLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : opentelemetrySpanLogEnabled_; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ @java.lang.Override public com.google.protobuf.BoolValueOrBuilder getOpentelemetrySpanLogEnabledOrBuilder() { return getOpentelemetrySpanLogEnabled(); } public static final int BACKGROUND_POOL_SIZE_FIELD_NUMBER = 33; private com.google.protobuf.Int64Value backgroundPoolSize_; /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundPoolSize field is set. */ @java.lang.Override public boolean hasBackgroundPoolSize() { return backgroundPoolSize_ != null; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return The backgroundPoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundPoolSize() { return backgroundPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundPoolSize_; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundPoolSizeOrBuilder() { return getBackgroundPoolSize(); } public static final int BACKGROUND_SCHEDULE_POOL_SIZE_FIELD_NUMBER = 34; private com.google.protobuf.Int64Value backgroundSchedulePoolSize_; /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundSchedulePoolSize field is set. */ @java.lang.Override public boolean hasBackgroundSchedulePoolSize() { return backgroundSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return The backgroundSchedulePoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundSchedulePoolSize() { return backgroundSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundSchedulePoolSize_; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundSchedulePoolSizeOrBuilder() { return getBackgroundSchedulePoolSize(); } public static final int BACKGROUND_FETCHES_POOL_SIZE_FIELD_NUMBER = 38; private com.google.protobuf.Int64Value backgroundFetchesPoolSize_; /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundFetchesPoolSize field is set. */ @java.lang.Override public boolean hasBackgroundFetchesPoolSize() { return backgroundFetchesPoolSize_ != null; } /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return The backgroundFetchesPoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundFetchesPoolSize() { return backgroundFetchesPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundFetchesPoolSize_; } /** *
     * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
     * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundFetchesPoolSizeOrBuilder() { return getBackgroundFetchesPoolSize(); } public static final int BACKGROUND_MOVE_POOL_SIZE_FIELD_NUMBER = 39; private com.google.protobuf.Int64Value backgroundMovePoolSize_; /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMovePoolSize field is set. */ @java.lang.Override public boolean hasBackgroundMovePoolSize() { return backgroundMovePoolSize_ != null; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMovePoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundMovePoolSize() { return backgroundMovePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMovePoolSize_; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundMovePoolSizeOrBuilder() { return getBackgroundMovePoolSize(); } public static final int BACKGROUND_DISTRIBUTED_SCHEDULE_POOL_SIZE_FIELD_NUMBER = 40; private com.google.protobuf.Int64Value backgroundDistributedSchedulePoolSize_; /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundDistributedSchedulePoolSize field is set. */ @java.lang.Override public boolean hasBackgroundDistributedSchedulePoolSize() { return backgroundDistributedSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return The backgroundDistributedSchedulePoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundDistributedSchedulePoolSize() { return backgroundDistributedSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundDistributedSchedulePoolSize_; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundDistributedSchedulePoolSizeOrBuilder() { return getBackgroundDistributedSchedulePoolSize(); } public static final int BACKGROUND_BUFFER_FLUSH_SCHEDULE_POOL_SIZE_FIELD_NUMBER = 41; private com.google.protobuf.Int64Value backgroundBufferFlushSchedulePoolSize_; /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundBufferFlushSchedulePoolSize field is set. */ @java.lang.Override public boolean hasBackgroundBufferFlushSchedulePoolSize() { return backgroundBufferFlushSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return The backgroundBufferFlushSchedulePoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundBufferFlushSchedulePoolSize() { return backgroundBufferFlushSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundBufferFlushSchedulePoolSize_; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundBufferFlushSchedulePoolSizeOrBuilder() { return getBackgroundBufferFlushSchedulePoolSize(); } public static final int BACKGROUND_MESSAGE_BROKER_SCHEDULE_POOL_SIZE_FIELD_NUMBER = 46; private com.google.protobuf.Int64Value backgroundMessageBrokerSchedulePoolSize_; /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMessageBrokerSchedulePoolSize field is set. */ @java.lang.Override public boolean hasBackgroundMessageBrokerSchedulePoolSize() { return backgroundMessageBrokerSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMessageBrokerSchedulePoolSize. */ @java.lang.Override public com.google.protobuf.Int64Value getBackgroundMessageBrokerSchedulePoolSize() { return backgroundMessageBrokerSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMessageBrokerSchedulePoolSize_; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getBackgroundMessageBrokerSchedulePoolSizeOrBuilder() { return getBackgroundMessageBrokerSchedulePoolSize(); } public static final int DEFAULT_DATABASE_FIELD_NUMBER = 43; private com.google.protobuf.StringValue defaultDatabase_; /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; * @return Whether the defaultDatabase field is set. */ @java.lang.Override public boolean hasDefaultDatabase() { return defaultDatabase_ != null; } /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; * @return The defaultDatabase. */ @java.lang.Override public com.google.protobuf.StringValue getDefaultDatabase() { return defaultDatabase_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : defaultDatabase_; } /** *
     * The default database.
     * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
     * 
* * .google.protobuf.StringValue default_database = 43; */ @java.lang.Override public com.google.protobuf.StringValueOrBuilder getDefaultDatabaseOrBuilder() { return getDefaultDatabase(); } public static final int TOTAL_MEMORY_PROFILER_STEP_FIELD_NUMBER = 44; private com.google.protobuf.Int64Value totalMemoryProfilerStep_; /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return Whether the totalMemoryProfilerStep field is set. */ @java.lang.Override public boolean hasTotalMemoryProfilerStep() { return totalMemoryProfilerStep_ != null; } /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return The totalMemoryProfilerStep. */ @java.lang.Override public com.google.protobuf.Int64Value getTotalMemoryProfilerStep() { return totalMemoryProfilerStep_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : totalMemoryProfilerStep_; } /** *
     * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
     * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
     * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getTotalMemoryProfilerStepOrBuilder() { return getTotalMemoryProfilerStep(); } public static final int TOTAL_MEMORY_TRACKER_SAMPLE_PROBABILITY_FIELD_NUMBER = 45; private com.google.protobuf.DoubleValue totalMemoryTrackerSampleProbability_; /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return Whether the totalMemoryTrackerSampleProbability field is set. */ @java.lang.Override public boolean hasTotalMemoryTrackerSampleProbability() { return totalMemoryTrackerSampleProbability_ != null; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return The totalMemoryTrackerSampleProbability. */ @java.lang.Override public com.google.protobuf.DoubleValue getTotalMemoryTrackerSampleProbability() { return totalMemoryTrackerSampleProbability_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : totalMemoryTrackerSampleProbability_; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getTotalMemoryTrackerSampleProbabilityOrBuilder() { return getTotalMemoryTrackerSampleProbability(); } 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 (logLevel_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.LOG_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(1, logLevel_); } if (mergeTree_ != null) { output.writeMessage(2, getMergeTree()); } for (int i = 0; i < compression_.size(); i++) { output.writeMessage(3, compression_.get(i)); } for (int i = 0; i < dictionaries_.size(); i++) { output.writeMessage(4, dictionaries_.get(i)); } for (int i = 0; i < graphiteRollup_.size(); i++) { output.writeMessage(5, graphiteRollup_.get(i)); } if (maxConnections_ != null) { output.writeMessage(6, getMaxConnections()); } if (maxConcurrentQueries_ != null) { output.writeMessage(7, getMaxConcurrentQueries()); } if (keepAliveTimeout_ != null) { output.writeMessage(8, getKeepAliveTimeout()); } if (uncompressedCacheSize_ != null) { output.writeMessage(9, getUncompressedCacheSize()); } if (markCacheSize_ != null) { output.writeMessage(10, getMarkCacheSize()); } if (maxTableSizeToDrop_ != null) { output.writeMessage(11, getMaxTableSizeToDrop()); } if (builtinDictionariesReloadInterval_ != null) { output.writeMessage(12, getBuiltinDictionariesReloadInterval()); } if (maxPartitionSizeToDrop_ != null) { output.writeMessage(13, getMaxPartitionSizeToDrop()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timezone_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 14, timezone_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(geobaseUri_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 15, geobaseUri_); } if (queryLogRetentionSize_ != null) { output.writeMessage(16, getQueryLogRetentionSize()); } if (queryLogRetentionTime_ != null) { output.writeMessage(17, getQueryLogRetentionTime()); } if (queryThreadLogEnabled_ != null) { output.writeMessage(18, getQueryThreadLogEnabled()); } if (queryThreadLogRetentionSize_ != null) { output.writeMessage(19, getQueryThreadLogRetentionSize()); } if (queryThreadLogRetentionTime_ != null) { output.writeMessage(20, getQueryThreadLogRetentionTime()); } if (partLogRetentionSize_ != null) { output.writeMessage(21, getPartLogRetentionSize()); } if (partLogRetentionTime_ != null) { output.writeMessage(22, getPartLogRetentionTime()); } if (metricLogEnabled_ != null) { output.writeMessage(23, getMetricLogEnabled()); } if (metricLogRetentionSize_ != null) { output.writeMessage(24, getMetricLogRetentionSize()); } if (metricLogRetentionTime_ != null) { output.writeMessage(25, getMetricLogRetentionTime()); } if (traceLogEnabled_ != null) { output.writeMessage(26, getTraceLogEnabled()); } if (traceLogRetentionSize_ != null) { output.writeMessage(27, getTraceLogRetentionSize()); } if (traceLogRetentionTime_ != null) { output.writeMessage(28, getTraceLogRetentionTime()); } if (textLogEnabled_ != null) { output.writeMessage(29, getTextLogEnabled()); } if (textLogRetentionSize_ != null) { output.writeMessage(30, getTextLogRetentionSize()); } if (textLogRetentionTime_ != null) { output.writeMessage(31, getTextLogRetentionTime()); } if (textLogLevel_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.LOG_LEVEL_UNSPECIFIED.getNumber()) { output.writeEnum(32, textLogLevel_); } if (backgroundPoolSize_ != null) { output.writeMessage(33, getBackgroundPoolSize()); } if (backgroundSchedulePoolSize_ != null) { output.writeMessage(34, getBackgroundSchedulePoolSize()); } if (kafka_ != null) { output.writeMessage(35, getKafka()); } for (int i = 0; i < kafkaTopics_.size(); i++) { output.writeMessage(36, kafkaTopics_.get(i)); } if (rabbitmq_ != null) { output.writeMessage(37, getRabbitmq()); } if (backgroundFetchesPoolSize_ != null) { output.writeMessage(38, getBackgroundFetchesPoolSize()); } if (backgroundMovePoolSize_ != null) { output.writeMessage(39, getBackgroundMovePoolSize()); } if (backgroundDistributedSchedulePoolSize_ != null) { output.writeMessage(40, getBackgroundDistributedSchedulePoolSize()); } if (backgroundBufferFlushSchedulePoolSize_ != null) { output.writeMessage(41, getBackgroundBufferFlushSchedulePoolSize()); } if (opentelemetrySpanLogEnabled_ != null) { output.writeMessage(42, getOpentelemetrySpanLogEnabled()); } if (defaultDatabase_ != null) { output.writeMessage(43, getDefaultDatabase()); } if (totalMemoryProfilerStep_ != null) { output.writeMessage(44, getTotalMemoryProfilerStep()); } if (totalMemoryTrackerSampleProbability_ != null) { output.writeMessage(45, getTotalMemoryTrackerSampleProbability()); } if (backgroundMessageBrokerSchedulePoolSize_ != null) { output.writeMessage(46, getBackgroundMessageBrokerSchedulePoolSize()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (logLevel_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.LOG_LEVEL_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, logLevel_); } if (mergeTree_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getMergeTree()); } for (int i = 0; i < compression_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, compression_.get(i)); } for (int i = 0; i < dictionaries_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, dictionaries_.get(i)); } for (int i = 0; i < graphiteRollup_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, graphiteRollup_.get(i)); } if (maxConnections_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(6, getMaxConnections()); } if (maxConcurrentQueries_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(7, getMaxConcurrentQueries()); } if (keepAliveTimeout_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(8, getKeepAliveTimeout()); } if (uncompressedCacheSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(9, getUncompressedCacheSize()); } if (markCacheSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(10, getMarkCacheSize()); } if (maxTableSizeToDrop_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(11, getMaxTableSizeToDrop()); } if (builtinDictionariesReloadInterval_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(12, getBuiltinDictionariesReloadInterval()); } if (maxPartitionSizeToDrop_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(13, getMaxPartitionSizeToDrop()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(timezone_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, timezone_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(geobaseUri_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, geobaseUri_); } if (queryLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(16, getQueryLogRetentionSize()); } if (queryLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(17, getQueryLogRetentionTime()); } if (queryThreadLogEnabled_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(18, getQueryThreadLogEnabled()); } if (queryThreadLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(19, getQueryThreadLogRetentionSize()); } if (queryThreadLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(20, getQueryThreadLogRetentionTime()); } if (partLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(21, getPartLogRetentionSize()); } if (partLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(22, getPartLogRetentionTime()); } if (metricLogEnabled_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(23, getMetricLogEnabled()); } if (metricLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(24, getMetricLogRetentionSize()); } if (metricLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(25, getMetricLogRetentionTime()); } if (traceLogEnabled_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(26, getTraceLogEnabled()); } if (traceLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(27, getTraceLogRetentionSize()); } if (traceLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(28, getTraceLogRetentionTime()); } if (textLogEnabled_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(29, getTextLogEnabled()); } if (textLogRetentionSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(30, getTextLogRetentionSize()); } if (textLogRetentionTime_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(31, getTextLogRetentionTime()); } if (textLogLevel_ != yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.LOG_LEVEL_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(32, textLogLevel_); } if (backgroundPoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(33, getBackgroundPoolSize()); } if (backgroundSchedulePoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(34, getBackgroundSchedulePoolSize()); } if (kafka_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(35, getKafka()); } for (int i = 0; i < kafkaTopics_.size(); i++) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(36, kafkaTopics_.get(i)); } if (rabbitmq_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(37, getRabbitmq()); } if (backgroundFetchesPoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(38, getBackgroundFetchesPoolSize()); } if (backgroundMovePoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(39, getBackgroundMovePoolSize()); } if (backgroundDistributedSchedulePoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(40, getBackgroundDistributedSchedulePoolSize()); } if (backgroundBufferFlushSchedulePoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(41, getBackgroundBufferFlushSchedulePoolSize()); } if (opentelemetrySpanLogEnabled_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(42, getOpentelemetrySpanLogEnabled()); } if (defaultDatabase_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(43, getDefaultDatabase()); } if (totalMemoryProfilerStep_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(44, getTotalMemoryProfilerStep()); } if (totalMemoryTrackerSampleProbability_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(45, getTotalMemoryTrackerSampleProbability()); } if (backgroundMessageBrokerSchedulePoolSize_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(46, getBackgroundMessageBrokerSchedulePoolSize()); } 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.config.Clickhouse.ClickhouseConfig)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig) obj; if (logLevel_ != other.logLevel_) return false; if (hasMergeTree() != other.hasMergeTree()) return false; if (hasMergeTree()) { if (!getMergeTree() .equals(other.getMergeTree())) return false; } if (!getCompressionList() .equals(other.getCompressionList())) return false; if (!getDictionariesList() .equals(other.getDictionariesList())) return false; if (!getGraphiteRollupList() .equals(other.getGraphiteRollupList())) return false; if (hasKafka() != other.hasKafka()) return false; if (hasKafka()) { if (!getKafka() .equals(other.getKafka())) return false; } if (!getKafkaTopicsList() .equals(other.getKafkaTopicsList())) return false; if (hasRabbitmq() != other.hasRabbitmq()) return false; if (hasRabbitmq()) { if (!getRabbitmq() .equals(other.getRabbitmq())) return false; } if (hasMaxConnections() != other.hasMaxConnections()) return false; if (hasMaxConnections()) { if (!getMaxConnections() .equals(other.getMaxConnections())) return false; } if (hasMaxConcurrentQueries() != other.hasMaxConcurrentQueries()) return false; if (hasMaxConcurrentQueries()) { if (!getMaxConcurrentQueries() .equals(other.getMaxConcurrentQueries())) return false; } if (hasKeepAliveTimeout() != other.hasKeepAliveTimeout()) return false; if (hasKeepAliveTimeout()) { if (!getKeepAliveTimeout() .equals(other.getKeepAliveTimeout())) return false; } if (hasUncompressedCacheSize() != other.hasUncompressedCacheSize()) return false; if (hasUncompressedCacheSize()) { if (!getUncompressedCacheSize() .equals(other.getUncompressedCacheSize())) return false; } if (hasMarkCacheSize() != other.hasMarkCacheSize()) return false; if (hasMarkCacheSize()) { if (!getMarkCacheSize() .equals(other.getMarkCacheSize())) return false; } if (hasMaxTableSizeToDrop() != other.hasMaxTableSizeToDrop()) return false; if (hasMaxTableSizeToDrop()) { if (!getMaxTableSizeToDrop() .equals(other.getMaxTableSizeToDrop())) return false; } if (hasMaxPartitionSizeToDrop() != other.hasMaxPartitionSizeToDrop()) return false; if (hasMaxPartitionSizeToDrop()) { if (!getMaxPartitionSizeToDrop() .equals(other.getMaxPartitionSizeToDrop())) return false; } if (hasBuiltinDictionariesReloadInterval() != other.hasBuiltinDictionariesReloadInterval()) return false; if (hasBuiltinDictionariesReloadInterval()) { if (!getBuiltinDictionariesReloadInterval() .equals(other.getBuiltinDictionariesReloadInterval())) return false; } if (!getTimezone() .equals(other.getTimezone())) return false; if (!getGeobaseUri() .equals(other.getGeobaseUri())) return false; if (hasQueryLogRetentionSize() != other.hasQueryLogRetentionSize()) return false; if (hasQueryLogRetentionSize()) { if (!getQueryLogRetentionSize() .equals(other.getQueryLogRetentionSize())) return false; } if (hasQueryLogRetentionTime() != other.hasQueryLogRetentionTime()) return false; if (hasQueryLogRetentionTime()) { if (!getQueryLogRetentionTime() .equals(other.getQueryLogRetentionTime())) return false; } if (hasQueryThreadLogEnabled() != other.hasQueryThreadLogEnabled()) return false; if (hasQueryThreadLogEnabled()) { if (!getQueryThreadLogEnabled() .equals(other.getQueryThreadLogEnabled())) return false; } if (hasQueryThreadLogRetentionSize() != other.hasQueryThreadLogRetentionSize()) return false; if (hasQueryThreadLogRetentionSize()) { if (!getQueryThreadLogRetentionSize() .equals(other.getQueryThreadLogRetentionSize())) return false; } if (hasQueryThreadLogRetentionTime() != other.hasQueryThreadLogRetentionTime()) return false; if (hasQueryThreadLogRetentionTime()) { if (!getQueryThreadLogRetentionTime() .equals(other.getQueryThreadLogRetentionTime())) return false; } if (hasPartLogRetentionSize() != other.hasPartLogRetentionSize()) return false; if (hasPartLogRetentionSize()) { if (!getPartLogRetentionSize() .equals(other.getPartLogRetentionSize())) return false; } if (hasPartLogRetentionTime() != other.hasPartLogRetentionTime()) return false; if (hasPartLogRetentionTime()) { if (!getPartLogRetentionTime() .equals(other.getPartLogRetentionTime())) return false; } if (hasMetricLogEnabled() != other.hasMetricLogEnabled()) return false; if (hasMetricLogEnabled()) { if (!getMetricLogEnabled() .equals(other.getMetricLogEnabled())) return false; } if (hasMetricLogRetentionSize() != other.hasMetricLogRetentionSize()) return false; if (hasMetricLogRetentionSize()) { if (!getMetricLogRetentionSize() .equals(other.getMetricLogRetentionSize())) return false; } if (hasMetricLogRetentionTime() != other.hasMetricLogRetentionTime()) return false; if (hasMetricLogRetentionTime()) { if (!getMetricLogRetentionTime() .equals(other.getMetricLogRetentionTime())) return false; } if (hasTraceLogEnabled() != other.hasTraceLogEnabled()) return false; if (hasTraceLogEnabled()) { if (!getTraceLogEnabled() .equals(other.getTraceLogEnabled())) return false; } if (hasTraceLogRetentionSize() != other.hasTraceLogRetentionSize()) return false; if (hasTraceLogRetentionSize()) { if (!getTraceLogRetentionSize() .equals(other.getTraceLogRetentionSize())) return false; } if (hasTraceLogRetentionTime() != other.hasTraceLogRetentionTime()) return false; if (hasTraceLogRetentionTime()) { if (!getTraceLogRetentionTime() .equals(other.getTraceLogRetentionTime())) return false; } if (hasTextLogEnabled() != other.hasTextLogEnabled()) return false; if (hasTextLogEnabled()) { if (!getTextLogEnabled() .equals(other.getTextLogEnabled())) return false; } if (hasTextLogRetentionSize() != other.hasTextLogRetentionSize()) return false; if (hasTextLogRetentionSize()) { if (!getTextLogRetentionSize() .equals(other.getTextLogRetentionSize())) return false; } if (hasTextLogRetentionTime() != other.hasTextLogRetentionTime()) return false; if (hasTextLogRetentionTime()) { if (!getTextLogRetentionTime() .equals(other.getTextLogRetentionTime())) return false; } if (textLogLevel_ != other.textLogLevel_) return false; if (hasOpentelemetrySpanLogEnabled() != other.hasOpentelemetrySpanLogEnabled()) return false; if (hasOpentelemetrySpanLogEnabled()) { if (!getOpentelemetrySpanLogEnabled() .equals(other.getOpentelemetrySpanLogEnabled())) return false; } if (hasBackgroundPoolSize() != other.hasBackgroundPoolSize()) return false; if (hasBackgroundPoolSize()) { if (!getBackgroundPoolSize() .equals(other.getBackgroundPoolSize())) return false; } if (hasBackgroundSchedulePoolSize() != other.hasBackgroundSchedulePoolSize()) return false; if (hasBackgroundSchedulePoolSize()) { if (!getBackgroundSchedulePoolSize() .equals(other.getBackgroundSchedulePoolSize())) return false; } if (hasBackgroundFetchesPoolSize() != other.hasBackgroundFetchesPoolSize()) return false; if (hasBackgroundFetchesPoolSize()) { if (!getBackgroundFetchesPoolSize() .equals(other.getBackgroundFetchesPoolSize())) return false; } if (hasBackgroundMovePoolSize() != other.hasBackgroundMovePoolSize()) return false; if (hasBackgroundMovePoolSize()) { if (!getBackgroundMovePoolSize() .equals(other.getBackgroundMovePoolSize())) return false; } if (hasBackgroundDistributedSchedulePoolSize() != other.hasBackgroundDistributedSchedulePoolSize()) return false; if (hasBackgroundDistributedSchedulePoolSize()) { if (!getBackgroundDistributedSchedulePoolSize() .equals(other.getBackgroundDistributedSchedulePoolSize())) return false; } if (hasBackgroundBufferFlushSchedulePoolSize() != other.hasBackgroundBufferFlushSchedulePoolSize()) return false; if (hasBackgroundBufferFlushSchedulePoolSize()) { if (!getBackgroundBufferFlushSchedulePoolSize() .equals(other.getBackgroundBufferFlushSchedulePoolSize())) return false; } if (hasBackgroundMessageBrokerSchedulePoolSize() != other.hasBackgroundMessageBrokerSchedulePoolSize()) return false; if (hasBackgroundMessageBrokerSchedulePoolSize()) { if (!getBackgroundMessageBrokerSchedulePoolSize() .equals(other.getBackgroundMessageBrokerSchedulePoolSize())) return false; } if (hasDefaultDatabase() != other.hasDefaultDatabase()) return false; if (hasDefaultDatabase()) { if (!getDefaultDatabase() .equals(other.getDefaultDatabase())) return false; } if (hasTotalMemoryProfilerStep() != other.hasTotalMemoryProfilerStep()) return false; if (hasTotalMemoryProfilerStep()) { if (!getTotalMemoryProfilerStep() .equals(other.getTotalMemoryProfilerStep())) return false; } if (hasTotalMemoryTrackerSampleProbability() != other.hasTotalMemoryTrackerSampleProbability()) return false; if (hasTotalMemoryTrackerSampleProbability()) { if (!getTotalMemoryTrackerSampleProbability() .equals(other.getTotalMemoryTrackerSampleProbability())) 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) + LOG_LEVEL_FIELD_NUMBER; hash = (53 * hash) + logLevel_; if (hasMergeTree()) { hash = (37 * hash) + MERGE_TREE_FIELD_NUMBER; hash = (53 * hash) + getMergeTree().hashCode(); } if (getCompressionCount() > 0) { hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + getCompressionList().hashCode(); } if (getDictionariesCount() > 0) { hash = (37 * hash) + DICTIONARIES_FIELD_NUMBER; hash = (53 * hash) + getDictionariesList().hashCode(); } if (getGraphiteRollupCount() > 0) { hash = (37 * hash) + GRAPHITE_ROLLUP_FIELD_NUMBER; hash = (53 * hash) + getGraphiteRollupList().hashCode(); } if (hasKafka()) { hash = (37 * hash) + KAFKA_FIELD_NUMBER; hash = (53 * hash) + getKafka().hashCode(); } if (getKafkaTopicsCount() > 0) { hash = (37 * hash) + KAFKA_TOPICS_FIELD_NUMBER; hash = (53 * hash) + getKafkaTopicsList().hashCode(); } if (hasRabbitmq()) { hash = (37 * hash) + RABBITMQ_FIELD_NUMBER; hash = (53 * hash) + getRabbitmq().hashCode(); } if (hasMaxConnections()) { hash = (37 * hash) + MAX_CONNECTIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxConnections().hashCode(); } if (hasMaxConcurrentQueries()) { hash = (37 * hash) + MAX_CONCURRENT_QUERIES_FIELD_NUMBER; hash = (53 * hash) + getMaxConcurrentQueries().hashCode(); } if (hasKeepAliveTimeout()) { hash = (37 * hash) + KEEP_ALIVE_TIMEOUT_FIELD_NUMBER; hash = (53 * hash) + getKeepAliveTimeout().hashCode(); } if (hasUncompressedCacheSize()) { hash = (37 * hash) + UNCOMPRESSED_CACHE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getUncompressedCacheSize().hashCode(); } if (hasMarkCacheSize()) { hash = (37 * hash) + MARK_CACHE_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMarkCacheSize().hashCode(); } if (hasMaxTableSizeToDrop()) { hash = (37 * hash) + MAX_TABLE_SIZE_TO_DROP_FIELD_NUMBER; hash = (53 * hash) + getMaxTableSizeToDrop().hashCode(); } if (hasMaxPartitionSizeToDrop()) { hash = (37 * hash) + MAX_PARTITION_SIZE_TO_DROP_FIELD_NUMBER; hash = (53 * hash) + getMaxPartitionSizeToDrop().hashCode(); } if (hasBuiltinDictionariesReloadInterval()) { hash = (37 * hash) + BUILTIN_DICTIONARIES_RELOAD_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getBuiltinDictionariesReloadInterval().hashCode(); } hash = (37 * hash) + TIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getTimezone().hashCode(); hash = (37 * hash) + GEOBASE_URI_FIELD_NUMBER; hash = (53 * hash) + getGeobaseUri().hashCode(); if (hasQueryLogRetentionSize()) { hash = (37 * hash) + QUERY_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getQueryLogRetentionSize().hashCode(); } if (hasQueryLogRetentionTime()) { hash = (37 * hash) + QUERY_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getQueryLogRetentionTime().hashCode(); } if (hasQueryThreadLogEnabled()) { hash = (37 * hash) + QUERY_THREAD_LOG_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getQueryThreadLogEnabled().hashCode(); } if (hasQueryThreadLogRetentionSize()) { hash = (37 * hash) + QUERY_THREAD_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getQueryThreadLogRetentionSize().hashCode(); } if (hasQueryThreadLogRetentionTime()) { hash = (37 * hash) + QUERY_THREAD_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getQueryThreadLogRetentionTime().hashCode(); } if (hasPartLogRetentionSize()) { hash = (37 * hash) + PART_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getPartLogRetentionSize().hashCode(); } if (hasPartLogRetentionTime()) { hash = (37 * hash) + PART_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getPartLogRetentionTime().hashCode(); } if (hasMetricLogEnabled()) { hash = (37 * hash) + METRIC_LOG_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getMetricLogEnabled().hashCode(); } if (hasMetricLogRetentionSize()) { hash = (37 * hash) + METRIC_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getMetricLogRetentionSize().hashCode(); } if (hasMetricLogRetentionTime()) { hash = (37 * hash) + METRIC_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getMetricLogRetentionTime().hashCode(); } if (hasTraceLogEnabled()) { hash = (37 * hash) + TRACE_LOG_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getTraceLogEnabled().hashCode(); } if (hasTraceLogRetentionSize()) { hash = (37 * hash) + TRACE_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getTraceLogRetentionSize().hashCode(); } if (hasTraceLogRetentionTime()) { hash = (37 * hash) + TRACE_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getTraceLogRetentionTime().hashCode(); } if (hasTextLogEnabled()) { hash = (37 * hash) + TEXT_LOG_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getTextLogEnabled().hashCode(); } if (hasTextLogRetentionSize()) { hash = (37 * hash) + TEXT_LOG_RETENTION_SIZE_FIELD_NUMBER; hash = (53 * hash) + getTextLogRetentionSize().hashCode(); } if (hasTextLogRetentionTime()) { hash = (37 * hash) + TEXT_LOG_RETENTION_TIME_FIELD_NUMBER; hash = (53 * hash) + getTextLogRetentionTime().hashCode(); } hash = (37 * hash) + TEXT_LOG_LEVEL_FIELD_NUMBER; hash = (53 * hash) + textLogLevel_; if (hasOpentelemetrySpanLogEnabled()) { hash = (37 * hash) + OPENTELEMETRY_SPAN_LOG_ENABLED_FIELD_NUMBER; hash = (53 * hash) + getOpentelemetrySpanLogEnabled().hashCode(); } if (hasBackgroundPoolSize()) { hash = (37 * hash) + BACKGROUND_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundPoolSize().hashCode(); } if (hasBackgroundSchedulePoolSize()) { hash = (37 * hash) + BACKGROUND_SCHEDULE_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundSchedulePoolSize().hashCode(); } if (hasBackgroundFetchesPoolSize()) { hash = (37 * hash) + BACKGROUND_FETCHES_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundFetchesPoolSize().hashCode(); } if (hasBackgroundMovePoolSize()) { hash = (37 * hash) + BACKGROUND_MOVE_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundMovePoolSize().hashCode(); } if (hasBackgroundDistributedSchedulePoolSize()) { hash = (37 * hash) + BACKGROUND_DISTRIBUTED_SCHEDULE_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundDistributedSchedulePoolSize().hashCode(); } if (hasBackgroundBufferFlushSchedulePoolSize()) { hash = (37 * hash) + BACKGROUND_BUFFER_FLUSH_SCHEDULE_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundBufferFlushSchedulePoolSize().hashCode(); } if (hasBackgroundMessageBrokerSchedulePoolSize()) { hash = (37 * hash) + BACKGROUND_MESSAGE_BROKER_SCHEDULE_POOL_SIZE_FIELD_NUMBER; hash = (53 * hash) + getBackgroundMessageBrokerSchedulePoolSize().hashCode(); } if (hasDefaultDatabase()) { hash = (37 * hash) + DEFAULT_DATABASE_FIELD_NUMBER; hash = (53 * hash) + getDefaultDatabase().hashCode(); } if (hasTotalMemoryProfilerStep()) { hash = (37 * hash) + TOTAL_MEMORY_PROFILER_STEP_FIELD_NUMBER; hash = (53 * hash) + getTotalMemoryProfilerStep().hashCode(); } if (hasTotalMemoryTrackerSampleProbability()) { hash = (37 * hash) + TOTAL_MEMORY_TRACKER_SAMPLE_PROBABILITY_FIELD_NUMBER; hash = (53 * hash) + getTotalMemoryTrackerSampleProbability().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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.config.Clickhouse.ClickhouseConfig 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 configuration options. Detailed description for each set of options
     * is available in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/).
     * Any options not listed here are not supported.
     * 
* * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getCompressionFieldBuilder(); getDictionariesFieldBuilder(); getGraphiteRollupFieldBuilder(); getKafkaTopicsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); logLevel_ = 0; if (mergeTreeBuilder_ == null) { mergeTree_ = null; } else { mergeTree_ = null; mergeTreeBuilder_ = null; } if (compressionBuilder_ == null) { compression_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { compressionBuilder_.clear(); } if (dictionariesBuilder_ == null) { dictionaries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { dictionariesBuilder_.clear(); } if (graphiteRollupBuilder_ == null) { graphiteRollup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { graphiteRollupBuilder_.clear(); } if (kafkaBuilder_ == null) { kafka_ = null; } else { kafka_ = null; kafkaBuilder_ = null; } if (kafkaTopicsBuilder_ == null) { kafkaTopics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { kafkaTopicsBuilder_.clear(); } if (rabbitmqBuilder_ == null) { rabbitmq_ = null; } else { rabbitmq_ = null; rabbitmqBuilder_ = null; } if (maxConnectionsBuilder_ == null) { maxConnections_ = null; } else { maxConnections_ = null; maxConnectionsBuilder_ = null; } if (maxConcurrentQueriesBuilder_ == null) { maxConcurrentQueries_ = null; } else { maxConcurrentQueries_ = null; maxConcurrentQueriesBuilder_ = null; } if (keepAliveTimeoutBuilder_ == null) { keepAliveTimeout_ = null; } else { keepAliveTimeout_ = null; keepAliveTimeoutBuilder_ = null; } if (uncompressedCacheSizeBuilder_ == null) { uncompressedCacheSize_ = null; } else { uncompressedCacheSize_ = null; uncompressedCacheSizeBuilder_ = null; } if (markCacheSizeBuilder_ == null) { markCacheSize_ = null; } else { markCacheSize_ = null; markCacheSizeBuilder_ = null; } if (maxTableSizeToDropBuilder_ == null) { maxTableSizeToDrop_ = null; } else { maxTableSizeToDrop_ = null; maxTableSizeToDropBuilder_ = null; } if (maxPartitionSizeToDropBuilder_ == null) { maxPartitionSizeToDrop_ = null; } else { maxPartitionSizeToDrop_ = null; maxPartitionSizeToDropBuilder_ = null; } if (builtinDictionariesReloadIntervalBuilder_ == null) { builtinDictionariesReloadInterval_ = null; } else { builtinDictionariesReloadInterval_ = null; builtinDictionariesReloadIntervalBuilder_ = null; } timezone_ = ""; geobaseUri_ = ""; if (queryLogRetentionSizeBuilder_ == null) { queryLogRetentionSize_ = null; } else { queryLogRetentionSize_ = null; queryLogRetentionSizeBuilder_ = null; } if (queryLogRetentionTimeBuilder_ == null) { queryLogRetentionTime_ = null; } else { queryLogRetentionTime_ = null; queryLogRetentionTimeBuilder_ = null; } if (queryThreadLogEnabledBuilder_ == null) { queryThreadLogEnabled_ = null; } else { queryThreadLogEnabled_ = null; queryThreadLogEnabledBuilder_ = null; } if (queryThreadLogRetentionSizeBuilder_ == null) { queryThreadLogRetentionSize_ = null; } else { queryThreadLogRetentionSize_ = null; queryThreadLogRetentionSizeBuilder_ = null; } if (queryThreadLogRetentionTimeBuilder_ == null) { queryThreadLogRetentionTime_ = null; } else { queryThreadLogRetentionTime_ = null; queryThreadLogRetentionTimeBuilder_ = null; } if (partLogRetentionSizeBuilder_ == null) { partLogRetentionSize_ = null; } else { partLogRetentionSize_ = null; partLogRetentionSizeBuilder_ = null; } if (partLogRetentionTimeBuilder_ == null) { partLogRetentionTime_ = null; } else { partLogRetentionTime_ = null; partLogRetentionTimeBuilder_ = null; } if (metricLogEnabledBuilder_ == null) { metricLogEnabled_ = null; } else { metricLogEnabled_ = null; metricLogEnabledBuilder_ = null; } if (metricLogRetentionSizeBuilder_ == null) { metricLogRetentionSize_ = null; } else { metricLogRetentionSize_ = null; metricLogRetentionSizeBuilder_ = null; } if (metricLogRetentionTimeBuilder_ == null) { metricLogRetentionTime_ = null; } else { metricLogRetentionTime_ = null; metricLogRetentionTimeBuilder_ = null; } if (traceLogEnabledBuilder_ == null) { traceLogEnabled_ = null; } else { traceLogEnabled_ = null; traceLogEnabledBuilder_ = null; } if (traceLogRetentionSizeBuilder_ == null) { traceLogRetentionSize_ = null; } else { traceLogRetentionSize_ = null; traceLogRetentionSizeBuilder_ = null; } if (traceLogRetentionTimeBuilder_ == null) { traceLogRetentionTime_ = null; } else { traceLogRetentionTime_ = null; traceLogRetentionTimeBuilder_ = null; } if (textLogEnabledBuilder_ == null) { textLogEnabled_ = null; } else { textLogEnabled_ = null; textLogEnabledBuilder_ = null; } if (textLogRetentionSizeBuilder_ == null) { textLogRetentionSize_ = null; } else { textLogRetentionSize_ = null; textLogRetentionSizeBuilder_ = null; } if (textLogRetentionTimeBuilder_ == null) { textLogRetentionTime_ = null; } else { textLogRetentionTime_ = null; textLogRetentionTimeBuilder_ = null; } textLogLevel_ = 0; if (opentelemetrySpanLogEnabledBuilder_ == null) { opentelemetrySpanLogEnabled_ = null; } else { opentelemetrySpanLogEnabled_ = null; opentelemetrySpanLogEnabledBuilder_ = null; } if (backgroundPoolSizeBuilder_ == null) { backgroundPoolSize_ = null; } else { backgroundPoolSize_ = null; backgroundPoolSizeBuilder_ = null; } if (backgroundSchedulePoolSizeBuilder_ == null) { backgroundSchedulePoolSize_ = null; } else { backgroundSchedulePoolSize_ = null; backgroundSchedulePoolSizeBuilder_ = null; } if (backgroundFetchesPoolSizeBuilder_ == null) { backgroundFetchesPoolSize_ = null; } else { backgroundFetchesPoolSize_ = null; backgroundFetchesPoolSizeBuilder_ = null; } if (backgroundMovePoolSizeBuilder_ == null) { backgroundMovePoolSize_ = null; } else { backgroundMovePoolSize_ = null; backgroundMovePoolSizeBuilder_ = null; } if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { backgroundDistributedSchedulePoolSize_ = null; } else { backgroundDistributedSchedulePoolSize_ = null; backgroundDistributedSchedulePoolSizeBuilder_ = null; } if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { backgroundBufferFlushSchedulePoolSize_ = null; } else { backgroundBufferFlushSchedulePoolSize_ = null; backgroundBufferFlushSchedulePoolSizeBuilder_ = null; } if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { backgroundMessageBrokerSchedulePoolSize_ = null; } else { backgroundMessageBrokerSchedulePoolSize_ = null; backgroundMessageBrokerSchedulePoolSizeBuilder_ = null; } if (defaultDatabaseBuilder_ == null) { defaultDatabase_ = null; } else { defaultDatabase_ = null; defaultDatabaseBuilder_ = null; } if (totalMemoryProfilerStepBuilder_ == null) { totalMemoryProfilerStep_ = null; } else { totalMemoryProfilerStep_ = null; totalMemoryProfilerStepBuilder_ = null; } if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { totalMemoryTrackerSampleProbability_ = null; } else { totalMemoryTrackerSampleProbability_ = null; totalMemoryTrackerSampleProbabilityBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig(this); int from_bitField0_ = bitField0_; result.logLevel_ = logLevel_; if (mergeTreeBuilder_ == null) { result.mergeTree_ = mergeTree_; } else { result.mergeTree_ = mergeTreeBuilder_.build(); } if (compressionBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { compression_ = java.util.Collections.unmodifiableList(compression_); bitField0_ = (bitField0_ & ~0x00000001); } result.compression_ = compression_; } else { result.compression_ = compressionBuilder_.build(); } if (dictionariesBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0)) { dictionaries_ = java.util.Collections.unmodifiableList(dictionaries_); bitField0_ = (bitField0_ & ~0x00000002); } result.dictionaries_ = dictionaries_; } else { result.dictionaries_ = dictionariesBuilder_.build(); } if (graphiteRollupBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { graphiteRollup_ = java.util.Collections.unmodifiableList(graphiteRollup_); bitField0_ = (bitField0_ & ~0x00000004); } result.graphiteRollup_ = graphiteRollup_; } else { result.graphiteRollup_ = graphiteRollupBuilder_.build(); } if (kafkaBuilder_ == null) { result.kafka_ = kafka_; } else { result.kafka_ = kafkaBuilder_.build(); } if (kafkaTopicsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { kafkaTopics_ = java.util.Collections.unmodifiableList(kafkaTopics_); bitField0_ = (bitField0_ & ~0x00000008); } result.kafkaTopics_ = kafkaTopics_; } else { result.kafkaTopics_ = kafkaTopicsBuilder_.build(); } if (rabbitmqBuilder_ == null) { result.rabbitmq_ = rabbitmq_; } else { result.rabbitmq_ = rabbitmqBuilder_.build(); } if (maxConnectionsBuilder_ == null) { result.maxConnections_ = maxConnections_; } else { result.maxConnections_ = maxConnectionsBuilder_.build(); } if (maxConcurrentQueriesBuilder_ == null) { result.maxConcurrentQueries_ = maxConcurrentQueries_; } else { result.maxConcurrentQueries_ = maxConcurrentQueriesBuilder_.build(); } if (keepAliveTimeoutBuilder_ == null) { result.keepAliveTimeout_ = keepAliveTimeout_; } else { result.keepAliveTimeout_ = keepAliveTimeoutBuilder_.build(); } if (uncompressedCacheSizeBuilder_ == null) { result.uncompressedCacheSize_ = uncompressedCacheSize_; } else { result.uncompressedCacheSize_ = uncompressedCacheSizeBuilder_.build(); } if (markCacheSizeBuilder_ == null) { result.markCacheSize_ = markCacheSize_; } else { result.markCacheSize_ = markCacheSizeBuilder_.build(); } if (maxTableSizeToDropBuilder_ == null) { result.maxTableSizeToDrop_ = maxTableSizeToDrop_; } else { result.maxTableSizeToDrop_ = maxTableSizeToDropBuilder_.build(); } if (maxPartitionSizeToDropBuilder_ == null) { result.maxPartitionSizeToDrop_ = maxPartitionSizeToDrop_; } else { result.maxPartitionSizeToDrop_ = maxPartitionSizeToDropBuilder_.build(); } if (builtinDictionariesReloadIntervalBuilder_ == null) { result.builtinDictionariesReloadInterval_ = builtinDictionariesReloadInterval_; } else { result.builtinDictionariesReloadInterval_ = builtinDictionariesReloadIntervalBuilder_.build(); } result.timezone_ = timezone_; result.geobaseUri_ = geobaseUri_; if (queryLogRetentionSizeBuilder_ == null) { result.queryLogRetentionSize_ = queryLogRetentionSize_; } else { result.queryLogRetentionSize_ = queryLogRetentionSizeBuilder_.build(); } if (queryLogRetentionTimeBuilder_ == null) { result.queryLogRetentionTime_ = queryLogRetentionTime_; } else { result.queryLogRetentionTime_ = queryLogRetentionTimeBuilder_.build(); } if (queryThreadLogEnabledBuilder_ == null) { result.queryThreadLogEnabled_ = queryThreadLogEnabled_; } else { result.queryThreadLogEnabled_ = queryThreadLogEnabledBuilder_.build(); } if (queryThreadLogRetentionSizeBuilder_ == null) { result.queryThreadLogRetentionSize_ = queryThreadLogRetentionSize_; } else { result.queryThreadLogRetentionSize_ = queryThreadLogRetentionSizeBuilder_.build(); } if (queryThreadLogRetentionTimeBuilder_ == null) { result.queryThreadLogRetentionTime_ = queryThreadLogRetentionTime_; } else { result.queryThreadLogRetentionTime_ = queryThreadLogRetentionTimeBuilder_.build(); } if (partLogRetentionSizeBuilder_ == null) { result.partLogRetentionSize_ = partLogRetentionSize_; } else { result.partLogRetentionSize_ = partLogRetentionSizeBuilder_.build(); } if (partLogRetentionTimeBuilder_ == null) { result.partLogRetentionTime_ = partLogRetentionTime_; } else { result.partLogRetentionTime_ = partLogRetentionTimeBuilder_.build(); } if (metricLogEnabledBuilder_ == null) { result.metricLogEnabled_ = metricLogEnabled_; } else { result.metricLogEnabled_ = metricLogEnabledBuilder_.build(); } if (metricLogRetentionSizeBuilder_ == null) { result.metricLogRetentionSize_ = metricLogRetentionSize_; } else { result.metricLogRetentionSize_ = metricLogRetentionSizeBuilder_.build(); } if (metricLogRetentionTimeBuilder_ == null) { result.metricLogRetentionTime_ = metricLogRetentionTime_; } else { result.metricLogRetentionTime_ = metricLogRetentionTimeBuilder_.build(); } if (traceLogEnabledBuilder_ == null) { result.traceLogEnabled_ = traceLogEnabled_; } else { result.traceLogEnabled_ = traceLogEnabledBuilder_.build(); } if (traceLogRetentionSizeBuilder_ == null) { result.traceLogRetentionSize_ = traceLogRetentionSize_; } else { result.traceLogRetentionSize_ = traceLogRetentionSizeBuilder_.build(); } if (traceLogRetentionTimeBuilder_ == null) { result.traceLogRetentionTime_ = traceLogRetentionTime_; } else { result.traceLogRetentionTime_ = traceLogRetentionTimeBuilder_.build(); } if (textLogEnabledBuilder_ == null) { result.textLogEnabled_ = textLogEnabled_; } else { result.textLogEnabled_ = textLogEnabledBuilder_.build(); } if (textLogRetentionSizeBuilder_ == null) { result.textLogRetentionSize_ = textLogRetentionSize_; } else { result.textLogRetentionSize_ = textLogRetentionSizeBuilder_.build(); } if (textLogRetentionTimeBuilder_ == null) { result.textLogRetentionTime_ = textLogRetentionTime_; } else { result.textLogRetentionTime_ = textLogRetentionTimeBuilder_.build(); } result.textLogLevel_ = textLogLevel_; if (opentelemetrySpanLogEnabledBuilder_ == null) { result.opentelemetrySpanLogEnabled_ = opentelemetrySpanLogEnabled_; } else { result.opentelemetrySpanLogEnabled_ = opentelemetrySpanLogEnabledBuilder_.build(); } if (backgroundPoolSizeBuilder_ == null) { result.backgroundPoolSize_ = backgroundPoolSize_; } else { result.backgroundPoolSize_ = backgroundPoolSizeBuilder_.build(); } if (backgroundSchedulePoolSizeBuilder_ == null) { result.backgroundSchedulePoolSize_ = backgroundSchedulePoolSize_; } else { result.backgroundSchedulePoolSize_ = backgroundSchedulePoolSizeBuilder_.build(); } if (backgroundFetchesPoolSizeBuilder_ == null) { result.backgroundFetchesPoolSize_ = backgroundFetchesPoolSize_; } else { result.backgroundFetchesPoolSize_ = backgroundFetchesPoolSizeBuilder_.build(); } if (backgroundMovePoolSizeBuilder_ == null) { result.backgroundMovePoolSize_ = backgroundMovePoolSize_; } else { result.backgroundMovePoolSize_ = backgroundMovePoolSizeBuilder_.build(); } if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { result.backgroundDistributedSchedulePoolSize_ = backgroundDistributedSchedulePoolSize_; } else { result.backgroundDistributedSchedulePoolSize_ = backgroundDistributedSchedulePoolSizeBuilder_.build(); } if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { result.backgroundBufferFlushSchedulePoolSize_ = backgroundBufferFlushSchedulePoolSize_; } else { result.backgroundBufferFlushSchedulePoolSize_ = backgroundBufferFlushSchedulePoolSizeBuilder_.build(); } if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { result.backgroundMessageBrokerSchedulePoolSize_ = backgroundMessageBrokerSchedulePoolSize_; } else { result.backgroundMessageBrokerSchedulePoolSize_ = backgroundMessageBrokerSchedulePoolSizeBuilder_.build(); } if (defaultDatabaseBuilder_ == null) { result.defaultDatabase_ = defaultDatabase_; } else { result.defaultDatabase_ = defaultDatabaseBuilder_.build(); } if (totalMemoryProfilerStepBuilder_ == null) { result.totalMemoryProfilerStep_ = totalMemoryProfilerStep_; } else { result.totalMemoryProfilerStep_ = totalMemoryProfilerStepBuilder_.build(); } if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { result.totalMemoryTrackerSampleProbability_ = totalMemoryTrackerSampleProbability_; } else { result.totalMemoryTrackerSampleProbability_ = totalMemoryTrackerSampleProbabilityBuilder_.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.config.Clickhouse.ClickhouseConfig) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance()) return this; if (other.logLevel_ != 0) { setLogLevelValue(other.getLogLevelValue()); } if (other.hasMergeTree()) { mergeMergeTree(other.getMergeTree()); } if (compressionBuilder_ == null) { if (!other.compression_.isEmpty()) { if (compression_.isEmpty()) { compression_ = other.compression_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCompressionIsMutable(); compression_.addAll(other.compression_); } onChanged(); } } else { if (!other.compression_.isEmpty()) { if (compressionBuilder_.isEmpty()) { compressionBuilder_.dispose(); compressionBuilder_ = null; compression_ = other.compression_; bitField0_ = (bitField0_ & ~0x00000001); compressionBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getCompressionFieldBuilder() : null; } else { compressionBuilder_.addAllMessages(other.compression_); } } } if (dictionariesBuilder_ == null) { if (!other.dictionaries_.isEmpty()) { if (dictionaries_.isEmpty()) { dictionaries_ = other.dictionaries_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureDictionariesIsMutable(); dictionaries_.addAll(other.dictionaries_); } onChanged(); } } else { if (!other.dictionaries_.isEmpty()) { if (dictionariesBuilder_.isEmpty()) { dictionariesBuilder_.dispose(); dictionariesBuilder_ = null; dictionaries_ = other.dictionaries_; bitField0_ = (bitField0_ & ~0x00000002); dictionariesBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getDictionariesFieldBuilder() : null; } else { dictionariesBuilder_.addAllMessages(other.dictionaries_); } } } if (graphiteRollupBuilder_ == null) { if (!other.graphiteRollup_.isEmpty()) { if (graphiteRollup_.isEmpty()) { graphiteRollup_ = other.graphiteRollup_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureGraphiteRollupIsMutable(); graphiteRollup_.addAll(other.graphiteRollup_); } onChanged(); } } else { if (!other.graphiteRollup_.isEmpty()) { if (graphiteRollupBuilder_.isEmpty()) { graphiteRollupBuilder_.dispose(); graphiteRollupBuilder_ = null; graphiteRollup_ = other.graphiteRollup_; bitField0_ = (bitField0_ & ~0x00000004); graphiteRollupBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getGraphiteRollupFieldBuilder() : null; } else { graphiteRollupBuilder_.addAllMessages(other.graphiteRollup_); } } } if (other.hasKafka()) { mergeKafka(other.getKafka()); } if (kafkaTopicsBuilder_ == null) { if (!other.kafkaTopics_.isEmpty()) { if (kafkaTopics_.isEmpty()) { kafkaTopics_ = other.kafkaTopics_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureKafkaTopicsIsMutable(); kafkaTopics_.addAll(other.kafkaTopics_); } onChanged(); } } else { if (!other.kafkaTopics_.isEmpty()) { if (kafkaTopicsBuilder_.isEmpty()) { kafkaTopicsBuilder_.dispose(); kafkaTopicsBuilder_ = null; kafkaTopics_ = other.kafkaTopics_; bitField0_ = (bitField0_ & ~0x00000008); kafkaTopicsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getKafkaTopicsFieldBuilder() : null; } else { kafkaTopicsBuilder_.addAllMessages(other.kafkaTopics_); } } } if (other.hasRabbitmq()) { mergeRabbitmq(other.getRabbitmq()); } if (other.hasMaxConnections()) { mergeMaxConnections(other.getMaxConnections()); } if (other.hasMaxConcurrentQueries()) { mergeMaxConcurrentQueries(other.getMaxConcurrentQueries()); } if (other.hasKeepAliveTimeout()) { mergeKeepAliveTimeout(other.getKeepAliveTimeout()); } if (other.hasUncompressedCacheSize()) { mergeUncompressedCacheSize(other.getUncompressedCacheSize()); } if (other.hasMarkCacheSize()) { mergeMarkCacheSize(other.getMarkCacheSize()); } if (other.hasMaxTableSizeToDrop()) { mergeMaxTableSizeToDrop(other.getMaxTableSizeToDrop()); } if (other.hasMaxPartitionSizeToDrop()) { mergeMaxPartitionSizeToDrop(other.getMaxPartitionSizeToDrop()); } if (other.hasBuiltinDictionariesReloadInterval()) { mergeBuiltinDictionariesReloadInterval(other.getBuiltinDictionariesReloadInterval()); } if (!other.getTimezone().isEmpty()) { timezone_ = other.timezone_; onChanged(); } if (!other.getGeobaseUri().isEmpty()) { geobaseUri_ = other.geobaseUri_; onChanged(); } if (other.hasQueryLogRetentionSize()) { mergeQueryLogRetentionSize(other.getQueryLogRetentionSize()); } if (other.hasQueryLogRetentionTime()) { mergeQueryLogRetentionTime(other.getQueryLogRetentionTime()); } if (other.hasQueryThreadLogEnabled()) { mergeQueryThreadLogEnabled(other.getQueryThreadLogEnabled()); } if (other.hasQueryThreadLogRetentionSize()) { mergeQueryThreadLogRetentionSize(other.getQueryThreadLogRetentionSize()); } if (other.hasQueryThreadLogRetentionTime()) { mergeQueryThreadLogRetentionTime(other.getQueryThreadLogRetentionTime()); } if (other.hasPartLogRetentionSize()) { mergePartLogRetentionSize(other.getPartLogRetentionSize()); } if (other.hasPartLogRetentionTime()) { mergePartLogRetentionTime(other.getPartLogRetentionTime()); } if (other.hasMetricLogEnabled()) { mergeMetricLogEnabled(other.getMetricLogEnabled()); } if (other.hasMetricLogRetentionSize()) { mergeMetricLogRetentionSize(other.getMetricLogRetentionSize()); } if (other.hasMetricLogRetentionTime()) { mergeMetricLogRetentionTime(other.getMetricLogRetentionTime()); } if (other.hasTraceLogEnabled()) { mergeTraceLogEnabled(other.getTraceLogEnabled()); } if (other.hasTraceLogRetentionSize()) { mergeTraceLogRetentionSize(other.getTraceLogRetentionSize()); } if (other.hasTraceLogRetentionTime()) { mergeTraceLogRetentionTime(other.getTraceLogRetentionTime()); } if (other.hasTextLogEnabled()) { mergeTextLogEnabled(other.getTextLogEnabled()); } if (other.hasTextLogRetentionSize()) { mergeTextLogRetentionSize(other.getTextLogRetentionSize()); } if (other.hasTextLogRetentionTime()) { mergeTextLogRetentionTime(other.getTextLogRetentionTime()); } if (other.textLogLevel_ != 0) { setTextLogLevelValue(other.getTextLogLevelValue()); } if (other.hasOpentelemetrySpanLogEnabled()) { mergeOpentelemetrySpanLogEnabled(other.getOpentelemetrySpanLogEnabled()); } if (other.hasBackgroundPoolSize()) { mergeBackgroundPoolSize(other.getBackgroundPoolSize()); } if (other.hasBackgroundSchedulePoolSize()) { mergeBackgroundSchedulePoolSize(other.getBackgroundSchedulePoolSize()); } if (other.hasBackgroundFetchesPoolSize()) { mergeBackgroundFetchesPoolSize(other.getBackgroundFetchesPoolSize()); } if (other.hasBackgroundMovePoolSize()) { mergeBackgroundMovePoolSize(other.getBackgroundMovePoolSize()); } if (other.hasBackgroundDistributedSchedulePoolSize()) { mergeBackgroundDistributedSchedulePoolSize(other.getBackgroundDistributedSchedulePoolSize()); } if (other.hasBackgroundBufferFlushSchedulePoolSize()) { mergeBackgroundBufferFlushSchedulePoolSize(other.getBackgroundBufferFlushSchedulePoolSize()); } if (other.hasBackgroundMessageBrokerSchedulePoolSize()) { mergeBackgroundMessageBrokerSchedulePoolSize(other.getBackgroundMessageBrokerSchedulePoolSize()); } if (other.hasDefaultDatabase()) { mergeDefaultDatabase(other.getDefaultDatabase()); } if (other.hasTotalMemoryProfilerStep()) { mergeTotalMemoryProfilerStep(other.getTotalMemoryProfilerStep()); } if (other.hasTotalMemoryTrackerSampleProbability()) { mergeTotalMemoryTrackerSampleProbability(other.getTotalMemoryTrackerSampleProbability()); } 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.config.Clickhouse.ClickhouseConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int logLevel_ = 0; /** *
       * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The enum numeric value on the wire for logLevel. */ @java.lang.Override public int getLogLevelValue() { return logLevel_; } /** *
       * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @param value The enum numeric value on the wire for logLevel to set. * @return This builder for chaining. */ public Builder setLogLevelValue(int value) { logLevel_ = value; onChanged(); return this; } /** *
       * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return The logLevel. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getLogLevel() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.valueOf(logLevel_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.UNRECOGNIZED : result; } /** *
       * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @param value The logLevel to set. * @return This builder for chaining. */ public Builder setLogLevel(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel value) { if (value == null) { throw new NullPointerException(); } logLevel_ = value.getNumber(); onChanged(); return this; } /** *
       * Logging level for the ClickHouse cluster. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel log_level = 1; * @return This builder for chaining. */ public Builder clearLogLevel() { logLevel_ = 0; onChanged(); return this; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree mergeTree_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder> mergeTreeBuilder_; /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return Whether the mergeTree field is set. */ public boolean hasMergeTree() { return mergeTreeBuilder_ != null || mergeTree_ != null; } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; * @return The mergeTree. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree getMergeTree() { if (mergeTreeBuilder_ == null) { return mergeTree_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.getDefaultInstance() : mergeTree_; } else { return mergeTreeBuilder_.getMessage(); } } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public Builder setMergeTree(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree value) { if (mergeTreeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } mergeTree_ = value; onChanged(); } else { mergeTreeBuilder_.setMessage(value); } return this; } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public Builder setMergeTree( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder builderForValue) { if (mergeTreeBuilder_ == null) { mergeTree_ = builderForValue.build(); onChanged(); } else { mergeTreeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public Builder mergeMergeTree(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree value) { if (mergeTreeBuilder_ == null) { if (mergeTree_ != null) { mergeTree_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.newBuilder(mergeTree_).mergeFrom(value).buildPartial(); } else { mergeTree_ = value; } onChanged(); } else { mergeTreeBuilder_.mergeFrom(value); } return this; } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public Builder clearMergeTree() { if (mergeTreeBuilder_ == null) { mergeTree_ = null; onChanged(); } else { mergeTree_ = null; mergeTreeBuilder_ = null; } return this; } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder getMergeTreeBuilder() { onChanged(); return getMergeTreeFieldBuilder().getBuilder(); } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder getMergeTreeOrBuilder() { if (mergeTreeBuilder_ != null) { return mergeTreeBuilder_.getMessageOrBuilder(); } else { return mergeTree_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.getDefaultInstance() : mergeTree_; } } /** *
       * Settings for the MergeTree engine.
       * See description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#merge_tree).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.MergeTree merge_tree = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder> getMergeTreeFieldBuilder() { if (mergeTreeBuilder_ == null) { mergeTreeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTree.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.MergeTreeOrBuilder>( getMergeTree(), getParentForChildren(), isClean()); mergeTree_ = null; } return mergeTreeBuilder_; } private java.util.List compression_ = java.util.Collections.emptyList(); private void ensureCompressionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { compression_ = new java.util.ArrayList(compression_); bitField0_ |= 0x00000001; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder> compressionBuilder_; /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public java.util.List getCompressionList() { if (compressionBuilder_ == null) { return java.util.Collections.unmodifiableList(compression_); } else { return compressionBuilder_.getMessageList(); } } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public int getCompressionCount() { if (compressionBuilder_ == null) { return compression_.size(); } else { return compressionBuilder_.getCount(); } } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression getCompression(int index) { if (compressionBuilder_ == null) { return compression_.get(index); } else { return compressionBuilder_.getMessage(index); } } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder setCompression( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression value) { if (compressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompressionIsMutable(); compression_.set(index, value); onChanged(); } else { compressionBuilder_.setMessage(index, value); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder setCompression( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder builderForValue) { if (compressionBuilder_ == null) { ensureCompressionIsMutable(); compression_.set(index, builderForValue.build()); onChanged(); } else { compressionBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder addCompression(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression value) { if (compressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompressionIsMutable(); compression_.add(value); onChanged(); } else { compressionBuilder_.addMessage(value); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder addCompression( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression value) { if (compressionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureCompressionIsMutable(); compression_.add(index, value); onChanged(); } else { compressionBuilder_.addMessage(index, value); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder addCompression( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder builderForValue) { if (compressionBuilder_ == null) { ensureCompressionIsMutable(); compression_.add(builderForValue.build()); onChanged(); } else { compressionBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder addCompression( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder builderForValue) { if (compressionBuilder_ == null) { ensureCompressionIsMutable(); compression_.add(index, builderForValue.build()); onChanged(); } else { compressionBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder addAllCompression( java.lang.Iterable values) { if (compressionBuilder_ == null) { ensureCompressionIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, compression_); onChanged(); } else { compressionBuilder_.addAllMessages(values); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder clearCompression() { if (compressionBuilder_ == null) { compression_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { compressionBuilder_.clear(); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public Builder removeCompression(int index) { if (compressionBuilder_ == null) { ensureCompressionIsMutable(); compression_.remove(index); onChanged(); } else { compressionBuilder_.remove(index); } return this; } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder getCompressionBuilder( int index) { return getCompressionFieldBuilder().getBuilder(index); } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder getCompressionOrBuilder( int index) { if (compressionBuilder_ == null) { return compression_.get(index); } else { return compressionBuilder_.getMessageOrBuilder(index); } } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public java.util.List getCompressionOrBuilderList() { if (compressionBuilder_ != null) { return compressionBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(compression_); } } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder addCompressionBuilder() { return getCompressionFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.getDefaultInstance()); } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder addCompressionBuilder( int index) { return getCompressionFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.getDefaultInstance()); } /** *
       * Compression settings for the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#compression).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Compression compression = 3; */ public java.util.List getCompressionBuilderList() { return getCompressionFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder> getCompressionFieldBuilder() { if (compressionBuilder_ == null) { compressionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Compression.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.CompressionOrBuilder>( compression_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); compression_ = null; } return compressionBuilder_; } private java.util.List dictionaries_ = java.util.Collections.emptyList(); private void ensureDictionariesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dictionaries_ = new java.util.ArrayList(dictionaries_); bitField0_ |= 0x00000002; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder> dictionariesBuilder_; /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public java.util.List getDictionariesList() { if (dictionariesBuilder_ == null) { return java.util.Collections.unmodifiableList(dictionaries_); } else { return dictionariesBuilder_.getMessageList(); } } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public int getDictionariesCount() { if (dictionariesBuilder_ == null) { return dictionaries_.size(); } else { return dictionariesBuilder_.getCount(); } } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary getDictionaries(int index) { if (dictionariesBuilder_ == null) { return dictionaries_.get(index); } else { return dictionariesBuilder_.getMessage(index); } } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder setDictionaries( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary value) { if (dictionariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDictionariesIsMutable(); dictionaries_.set(index, value); onChanged(); } else { dictionariesBuilder_.setMessage(index, value); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder setDictionaries( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder builderForValue) { if (dictionariesBuilder_ == null) { ensureDictionariesIsMutable(); dictionaries_.set(index, builderForValue.build()); onChanged(); } else { dictionariesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder addDictionaries(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary value) { if (dictionariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDictionariesIsMutable(); dictionaries_.add(value); onChanged(); } else { dictionariesBuilder_.addMessage(value); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder addDictionaries( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary value) { if (dictionariesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureDictionariesIsMutable(); dictionaries_.add(index, value); onChanged(); } else { dictionariesBuilder_.addMessage(index, value); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder addDictionaries( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder builderForValue) { if (dictionariesBuilder_ == null) { ensureDictionariesIsMutable(); dictionaries_.add(builderForValue.build()); onChanged(); } else { dictionariesBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder addDictionaries( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder builderForValue) { if (dictionariesBuilder_ == null) { ensureDictionariesIsMutable(); dictionaries_.add(index, builderForValue.build()); onChanged(); } else { dictionariesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder addAllDictionaries( java.lang.Iterable values) { if (dictionariesBuilder_ == null) { ensureDictionariesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, dictionaries_); onChanged(); } else { dictionariesBuilder_.addAllMessages(values); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder clearDictionaries() { if (dictionariesBuilder_ == null) { dictionaries_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { dictionariesBuilder_.clear(); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public Builder removeDictionaries(int index) { if (dictionariesBuilder_ == null) { ensureDictionariesIsMutable(); dictionaries_.remove(index); onChanged(); } else { dictionariesBuilder_.remove(index); } return this; } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder getDictionariesBuilder( int index) { return getDictionariesFieldBuilder().getBuilder(index); } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder getDictionariesOrBuilder( int index) { if (dictionariesBuilder_ == null) { return dictionaries_.get(index); } else { return dictionariesBuilder_.getMessageOrBuilder(index); } } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public java.util.List getDictionariesOrBuilderList() { if (dictionariesBuilder_ != null) { return dictionariesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(dictionaries_); } } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder addDictionariesBuilder() { return getDictionariesFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.getDefaultInstance()); } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder addDictionariesBuilder( int index) { return getDictionariesFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.getDefaultInstance()); } /** *
       * Configuration of external dictionaries to be used by the ClickHouse cluster.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/query_language/dicts/external_dicts/).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.ExternalDictionary dictionaries = 4; */ public java.util.List getDictionariesBuilderList() { return getDictionariesFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder> getDictionariesFieldBuilder() { if (dictionariesBuilder_ == null) { dictionariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionary.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.ExternalDictionaryOrBuilder>( dictionaries_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); dictionaries_ = null; } return dictionariesBuilder_; } private java.util.List graphiteRollup_ = java.util.Collections.emptyList(); private void ensureGraphiteRollupIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { graphiteRollup_ = new java.util.ArrayList(graphiteRollup_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder> graphiteRollupBuilder_; /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public java.util.List getGraphiteRollupList() { if (graphiteRollupBuilder_ == null) { return java.util.Collections.unmodifiableList(graphiteRollup_); } else { return graphiteRollupBuilder_.getMessageList(); } } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public int getGraphiteRollupCount() { if (graphiteRollupBuilder_ == null) { return graphiteRollup_.size(); } else { return graphiteRollupBuilder_.getCount(); } } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup getGraphiteRollup(int index) { if (graphiteRollupBuilder_ == null) { return graphiteRollup_.get(index); } else { return graphiteRollupBuilder_.getMessage(index); } } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder setGraphiteRollup( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup value) { if (graphiteRollupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGraphiteRollupIsMutable(); graphiteRollup_.set(index, value); onChanged(); } else { graphiteRollupBuilder_.setMessage(index, value); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder setGraphiteRollup( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder builderForValue) { if (graphiteRollupBuilder_ == null) { ensureGraphiteRollupIsMutable(); graphiteRollup_.set(index, builderForValue.build()); onChanged(); } else { graphiteRollupBuilder_.setMessage(index, builderForValue.build()); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder addGraphiteRollup(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup value) { if (graphiteRollupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGraphiteRollupIsMutable(); graphiteRollup_.add(value); onChanged(); } else { graphiteRollupBuilder_.addMessage(value); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder addGraphiteRollup( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup value) { if (graphiteRollupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureGraphiteRollupIsMutable(); graphiteRollup_.add(index, value); onChanged(); } else { graphiteRollupBuilder_.addMessage(index, value); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder addGraphiteRollup( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder builderForValue) { if (graphiteRollupBuilder_ == null) { ensureGraphiteRollupIsMutable(); graphiteRollup_.add(builderForValue.build()); onChanged(); } else { graphiteRollupBuilder_.addMessage(builderForValue.build()); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder addGraphiteRollup( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder builderForValue) { if (graphiteRollupBuilder_ == null) { ensureGraphiteRollupIsMutable(); graphiteRollup_.add(index, builderForValue.build()); onChanged(); } else { graphiteRollupBuilder_.addMessage(index, builderForValue.build()); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder addAllGraphiteRollup( java.lang.Iterable values) { if (graphiteRollupBuilder_ == null) { ensureGraphiteRollupIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, graphiteRollup_); onChanged(); } else { graphiteRollupBuilder_.addAllMessages(values); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder clearGraphiteRollup() { if (graphiteRollupBuilder_ == null) { graphiteRollup_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { graphiteRollupBuilder_.clear(); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public Builder removeGraphiteRollup(int index) { if (graphiteRollupBuilder_ == null) { ensureGraphiteRollupIsMutable(); graphiteRollup_.remove(index); onChanged(); } else { graphiteRollupBuilder_.remove(index); } return this; } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder getGraphiteRollupBuilder( int index) { return getGraphiteRollupFieldBuilder().getBuilder(index); } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder getGraphiteRollupOrBuilder( int index) { if (graphiteRollupBuilder_ == null) { return graphiteRollup_.get(index); } else { return graphiteRollupBuilder_.getMessageOrBuilder(index); } } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public java.util.List getGraphiteRollupOrBuilderList() { if (graphiteRollupBuilder_ != null) { return graphiteRollupBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(graphiteRollup_); } } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder addGraphiteRollupBuilder() { return getGraphiteRollupFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.getDefaultInstance()); } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder addGraphiteRollupBuilder( int index) { return getGraphiteRollupFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.getDefaultInstance()); } /** *
       * Settings for thinning Graphite data.
       * See in-depth description in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server_settings/settings/#server_settings-graphite_rollup).
       * 
* * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.GraphiteRollup graphite_rollup = 5; */ public java.util.List getGraphiteRollupBuilderList() { return getGraphiteRollupFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder> getGraphiteRollupFieldBuilder() { if (graphiteRollupBuilder_ == null) { graphiteRollupBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollup.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.GraphiteRollupOrBuilder>( graphiteRollup_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); graphiteRollup_ = null; } return graphiteRollupBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka kafka_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder> kafkaBuilder_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return Whether the kafka field is set. */ public boolean hasKafka() { return kafkaBuilder_ != null || kafka_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; * @return The kafka. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka getKafka() { if (kafkaBuilder_ == null) { return kafka_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : kafka_; } else { return kafkaBuilder_.getMessage(); } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public Builder setKafka(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka value) { if (kafkaBuilder_ == null) { if (value == null) { throw new NullPointerException(); } kafka_ = value; onChanged(); } else { kafkaBuilder_.setMessage(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public Builder setKafka( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder builderForValue) { if (kafkaBuilder_ == null) { kafka_ = builderForValue.build(); onChanged(); } else { kafkaBuilder_.setMessage(builderForValue.build()); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public Builder mergeKafka(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka value) { if (kafkaBuilder_ == null) { if (kafka_ != null) { kafka_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.newBuilder(kafka_).mergeFrom(value).buildPartial(); } else { kafka_ = value; } onChanged(); } else { kafkaBuilder_.mergeFrom(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public Builder clearKafka() { if (kafkaBuilder_ == null) { kafka_ = null; onChanged(); } else { kafka_ = null; kafkaBuilder_ = null; } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder getKafkaBuilder() { onChanged(); return getKafkaFieldBuilder().getBuilder(); } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder getKafkaOrBuilder() { if (kafkaBuilder_ != null) { return kafkaBuilder_.getMessageOrBuilder(); } else { return kafka_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.getDefaultInstance() : kafka_; } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Kafka kafka = 35; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder> getKafkaFieldBuilder() { if (kafkaBuilder_ == null) { kafkaBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Kafka.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaOrBuilder>( getKafka(), getParentForChildren(), isClean()); kafka_ = null; } return kafkaBuilder_; } private java.util.List kafkaTopics_ = java.util.Collections.emptyList(); private void ensureKafkaTopicsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { kafkaTopics_ = new java.util.ArrayList(kafkaTopics_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder> kafkaTopicsBuilder_; /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public java.util.List getKafkaTopicsList() { if (kafkaTopicsBuilder_ == null) { return java.util.Collections.unmodifiableList(kafkaTopics_); } else { return kafkaTopicsBuilder_.getMessageList(); } } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public int getKafkaTopicsCount() { if (kafkaTopicsBuilder_ == null) { return kafkaTopics_.size(); } else { return kafkaTopicsBuilder_.getCount(); } } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic getKafkaTopics(int index) { if (kafkaTopicsBuilder_ == null) { return kafkaTopics_.get(index); } else { return kafkaTopicsBuilder_.getMessage(index); } } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder setKafkaTopics( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic value) { if (kafkaTopicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKafkaTopicsIsMutable(); kafkaTopics_.set(index, value); onChanged(); } else { kafkaTopicsBuilder_.setMessage(index, value); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder setKafkaTopics( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder builderForValue) { if (kafkaTopicsBuilder_ == null) { ensureKafkaTopicsIsMutable(); kafkaTopics_.set(index, builderForValue.build()); onChanged(); } else { kafkaTopicsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder addKafkaTopics(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic value) { if (kafkaTopicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKafkaTopicsIsMutable(); kafkaTopics_.add(value); onChanged(); } else { kafkaTopicsBuilder_.addMessage(value); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder addKafkaTopics( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic value) { if (kafkaTopicsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureKafkaTopicsIsMutable(); kafkaTopics_.add(index, value); onChanged(); } else { kafkaTopicsBuilder_.addMessage(index, value); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder addKafkaTopics( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder builderForValue) { if (kafkaTopicsBuilder_ == null) { ensureKafkaTopicsIsMutable(); kafkaTopics_.add(builderForValue.build()); onChanged(); } else { kafkaTopicsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder addKafkaTopics( int index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder builderForValue) { if (kafkaTopicsBuilder_ == null) { ensureKafkaTopicsIsMutable(); kafkaTopics_.add(index, builderForValue.build()); onChanged(); } else { kafkaTopicsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder addAllKafkaTopics( java.lang.Iterable values) { if (kafkaTopicsBuilder_ == null) { ensureKafkaTopicsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, kafkaTopics_); onChanged(); } else { kafkaTopicsBuilder_.addAllMessages(values); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder clearKafkaTopics() { if (kafkaTopicsBuilder_ == null) { kafkaTopics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { kafkaTopicsBuilder_.clear(); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public Builder removeKafkaTopics(int index) { if (kafkaTopicsBuilder_ == null) { ensureKafkaTopicsIsMutable(); kafkaTopics_.remove(index); onChanged(); } else { kafkaTopicsBuilder_.remove(index); } return this; } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder getKafkaTopicsBuilder( int index) { return getKafkaTopicsFieldBuilder().getBuilder(index); } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder getKafkaTopicsOrBuilder( int index) { if (kafkaTopicsBuilder_ == null) { return kafkaTopics_.get(index); } else { return kafkaTopicsBuilder_.getMessageOrBuilder(index); } } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public java.util.List getKafkaTopicsOrBuilderList() { if (kafkaTopicsBuilder_ != null) { return kafkaTopicsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(kafkaTopics_); } } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder addKafkaTopicsBuilder() { return getKafkaTopicsFieldBuilder().addBuilder( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.getDefaultInstance()); } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder addKafkaTopicsBuilder( int index) { return getKafkaTopicsFieldBuilder().addBuilder( index, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.getDefaultInstance()); } /** * repeated .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.KafkaTopic kafka_topics = 36; */ public java.util.List getKafkaTopicsBuilderList() { return getKafkaTopicsFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder> getKafkaTopicsFieldBuilder() { if (kafkaTopicsBuilder_ == null) { kafkaTopicsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopic.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.KafkaTopicOrBuilder>( kafkaTopics_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); kafkaTopics_ = null; } return kafkaTopicsBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq rabbitmq_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder> rabbitmqBuilder_; /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return Whether the rabbitmq field is set. */ public boolean hasRabbitmq() { return rabbitmqBuilder_ != null || rabbitmq_ != null; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; * @return The rabbitmq. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq getRabbitmq() { if (rabbitmqBuilder_ == null) { return rabbitmq_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.getDefaultInstance() : rabbitmq_; } else { return rabbitmqBuilder_.getMessage(); } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public Builder setRabbitmq(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq value) { if (rabbitmqBuilder_ == null) { if (value == null) { throw new NullPointerException(); } rabbitmq_ = value; onChanged(); } else { rabbitmqBuilder_.setMessage(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public Builder setRabbitmq( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder builderForValue) { if (rabbitmqBuilder_ == null) { rabbitmq_ = builderForValue.build(); onChanged(); } else { rabbitmqBuilder_.setMessage(builderForValue.build()); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public Builder mergeRabbitmq(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq value) { if (rabbitmqBuilder_ == null) { if (rabbitmq_ != null) { rabbitmq_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.newBuilder(rabbitmq_).mergeFrom(value).buildPartial(); } else { rabbitmq_ = value; } onChanged(); } else { rabbitmqBuilder_.mergeFrom(value); } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public Builder clearRabbitmq() { if (rabbitmqBuilder_ == null) { rabbitmq_ = null; onChanged(); } else { rabbitmq_ = null; rabbitmqBuilder_ = null; } return this; } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder getRabbitmqBuilder() { onChanged(); return getRabbitmqFieldBuilder().getBuilder(); } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder getRabbitmqOrBuilder() { if (rabbitmqBuilder_ != null) { return rabbitmqBuilder_.getMessageOrBuilder(); } else { return rabbitmq_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.getDefaultInstance() : rabbitmq_; } } /** * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.Rabbitmq rabbitmq = 37; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder> getRabbitmqFieldBuilder() { if (rabbitmqBuilder_ == null) { rabbitmqBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Rabbitmq.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.RabbitmqOrBuilder>( getRabbitmq(), getParentForChildren(), isClean()); rabbitmq_ = null; } return rabbitmqBuilder_; } private com.google.protobuf.Int64Value maxConnections_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxConnectionsBuilder_; /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConnections field is set. */ public boolean hasMaxConnections() { return maxConnectionsBuilder_ != null || maxConnections_ != null; } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; * @return The maxConnections. */ public com.google.protobuf.Int64Value getMaxConnections() { if (maxConnectionsBuilder_ == null) { return maxConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConnections_; } else { return maxConnectionsBuilder_.getMessage(); } } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public Builder setMaxConnections(com.google.protobuf.Int64Value value) { if (maxConnectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxConnections_ = value; onChanged(); } else { maxConnectionsBuilder_.setMessage(value); } return this; } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public Builder setMaxConnections( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxConnectionsBuilder_ == null) { maxConnections_ = builderForValue.build(); onChanged(); } else { maxConnectionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public Builder mergeMaxConnections(com.google.protobuf.Int64Value value) { if (maxConnectionsBuilder_ == null) { if (maxConnections_ != null) { maxConnections_ = com.google.protobuf.Int64Value.newBuilder(maxConnections_).mergeFrom(value).buildPartial(); } else { maxConnections_ = value; } onChanged(); } else { maxConnectionsBuilder_.mergeFrom(value); } return this; } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public Builder clearMaxConnections() { if (maxConnectionsBuilder_ == null) { maxConnections_ = null; onChanged(); } else { maxConnections_ = null; maxConnectionsBuilder_ = null; } return this; } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public com.google.protobuf.Int64Value.Builder getMaxConnectionsBuilder() { onChanged(); return getMaxConnectionsFieldBuilder().getBuilder(); } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ public com.google.protobuf.Int64ValueOrBuilder getMaxConnectionsOrBuilder() { if (maxConnectionsBuilder_ != null) { return maxConnectionsBuilder_.getMessageOrBuilder(); } else { return maxConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConnections_; } } /** *
       * Maximum number of inbound connections.
       * 
* * .google.protobuf.Int64Value max_connections = 6 [(.yandex.cloud.value) = ">=10"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxConnectionsFieldBuilder() { if (maxConnectionsBuilder_ == null) { maxConnectionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxConnections(), getParentForChildren(), isClean()); maxConnections_ = null; } return maxConnectionsBuilder_; } private com.google.protobuf.Int64Value maxConcurrentQueries_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxConcurrentQueriesBuilder_; /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return Whether the maxConcurrentQueries field is set. */ public boolean hasMaxConcurrentQueries() { return maxConcurrentQueriesBuilder_ != null || maxConcurrentQueries_ != null; } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; * @return The maxConcurrentQueries. */ public com.google.protobuf.Int64Value getMaxConcurrentQueries() { if (maxConcurrentQueriesBuilder_ == null) { return maxConcurrentQueries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueries_; } else { return maxConcurrentQueriesBuilder_.getMessage(); } } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public Builder setMaxConcurrentQueries(com.google.protobuf.Int64Value value) { if (maxConcurrentQueriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxConcurrentQueries_ = value; onChanged(); } else { maxConcurrentQueriesBuilder_.setMessage(value); } return this; } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public Builder setMaxConcurrentQueries( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxConcurrentQueriesBuilder_ == null) { maxConcurrentQueries_ = builderForValue.build(); onChanged(); } else { maxConcurrentQueriesBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public Builder mergeMaxConcurrentQueries(com.google.protobuf.Int64Value value) { if (maxConcurrentQueriesBuilder_ == null) { if (maxConcurrentQueries_ != null) { maxConcurrentQueries_ = com.google.protobuf.Int64Value.newBuilder(maxConcurrentQueries_).mergeFrom(value).buildPartial(); } else { maxConcurrentQueries_ = value; } onChanged(); } else { maxConcurrentQueriesBuilder_.mergeFrom(value); } return this; } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public Builder clearMaxConcurrentQueries() { if (maxConcurrentQueriesBuilder_ == null) { maxConcurrentQueries_ = null; onChanged(); } else { maxConcurrentQueries_ = null; maxConcurrentQueriesBuilder_ = null; } return this; } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public com.google.protobuf.Int64Value.Builder getMaxConcurrentQueriesBuilder() { onChanged(); return getMaxConcurrentQueriesFieldBuilder().getBuilder(); } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ public com.google.protobuf.Int64ValueOrBuilder getMaxConcurrentQueriesOrBuilder() { if (maxConcurrentQueriesBuilder_ != null) { return maxConcurrentQueriesBuilder_.getMessageOrBuilder(); } else { return maxConcurrentQueries_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxConcurrentQueries_; } } /** *
       * Maximum number of simultaneously processed requests.
       * 
* * .google.protobuf.Int64Value max_concurrent_queries = 7 [(.yandex.cloud.value) = ">=10"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxConcurrentQueriesFieldBuilder() { if (maxConcurrentQueriesBuilder_ == null) { maxConcurrentQueriesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxConcurrentQueries(), getParentForChildren(), isClean()); maxConcurrentQueries_ = null; } return maxConcurrentQueriesBuilder_; } private com.google.protobuf.Int64Value keepAliveTimeout_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> keepAliveTimeoutBuilder_; /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return Whether the keepAliveTimeout field is set. */ public boolean hasKeepAliveTimeout() { return keepAliveTimeoutBuilder_ != null || keepAliveTimeout_ != null; } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; * @return The keepAliveTimeout. */ public com.google.protobuf.Int64Value getKeepAliveTimeout() { if (keepAliveTimeoutBuilder_ == null) { return keepAliveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : keepAliveTimeout_; } else { return keepAliveTimeoutBuilder_.getMessage(); } } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public Builder setKeepAliveTimeout(com.google.protobuf.Int64Value value) { if (keepAliveTimeoutBuilder_ == null) { if (value == null) { throw new NullPointerException(); } keepAliveTimeout_ = value; onChanged(); } else { keepAliveTimeoutBuilder_.setMessage(value); } return this; } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public Builder setKeepAliveTimeout( com.google.protobuf.Int64Value.Builder builderForValue) { if (keepAliveTimeoutBuilder_ == null) { keepAliveTimeout_ = builderForValue.build(); onChanged(); } else { keepAliveTimeoutBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public Builder mergeKeepAliveTimeout(com.google.protobuf.Int64Value value) { if (keepAliveTimeoutBuilder_ == null) { if (keepAliveTimeout_ != null) { keepAliveTimeout_ = com.google.protobuf.Int64Value.newBuilder(keepAliveTimeout_).mergeFrom(value).buildPartial(); } else { keepAliveTimeout_ = value; } onChanged(); } else { keepAliveTimeoutBuilder_.mergeFrom(value); } return this; } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public Builder clearKeepAliveTimeout() { if (keepAliveTimeoutBuilder_ == null) { keepAliveTimeout_ = null; onChanged(); } else { keepAliveTimeout_ = null; keepAliveTimeoutBuilder_ = null; } return this; } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public com.google.protobuf.Int64Value.Builder getKeepAliveTimeoutBuilder() { onChanged(); return getKeepAliveTimeoutFieldBuilder().getBuilder(); } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ public com.google.protobuf.Int64ValueOrBuilder getKeepAliveTimeoutOrBuilder() { if (keepAliveTimeoutBuilder_ != null) { return keepAliveTimeoutBuilder_.getMessageOrBuilder(); } else { return keepAliveTimeout_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : keepAliveTimeout_; } } /** *
       * Number of milliseconds that ClickHouse waits for incoming requests before closing the connection.
       * 
* * .google.protobuf.Int64Value keep_alive_timeout = 8; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getKeepAliveTimeoutFieldBuilder() { if (keepAliveTimeoutBuilder_ == null) { keepAliveTimeoutBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getKeepAliveTimeout(), getParentForChildren(), isClean()); keepAliveTimeout_ = null; } return keepAliveTimeoutBuilder_; } private com.google.protobuf.Int64Value uncompressedCacheSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> uncompressedCacheSizeBuilder_; /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return Whether the uncompressedCacheSize field is set. */ public boolean hasUncompressedCacheSize() { return uncompressedCacheSizeBuilder_ != null || uncompressedCacheSize_ != null; } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; * @return The uncompressedCacheSize. */ public com.google.protobuf.Int64Value getUncompressedCacheSize() { if (uncompressedCacheSizeBuilder_ == null) { return uncompressedCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : uncompressedCacheSize_; } else { return uncompressedCacheSizeBuilder_.getMessage(); } } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public Builder setUncompressedCacheSize(com.google.protobuf.Int64Value value) { if (uncompressedCacheSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } uncompressedCacheSize_ = value; onChanged(); } else { uncompressedCacheSizeBuilder_.setMessage(value); } return this; } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public Builder setUncompressedCacheSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (uncompressedCacheSizeBuilder_ == null) { uncompressedCacheSize_ = builderForValue.build(); onChanged(); } else { uncompressedCacheSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public Builder mergeUncompressedCacheSize(com.google.protobuf.Int64Value value) { if (uncompressedCacheSizeBuilder_ == null) { if (uncompressedCacheSize_ != null) { uncompressedCacheSize_ = com.google.protobuf.Int64Value.newBuilder(uncompressedCacheSize_).mergeFrom(value).buildPartial(); } else { uncompressedCacheSize_ = value; } onChanged(); } else { uncompressedCacheSizeBuilder_.mergeFrom(value); } return this; } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public Builder clearUncompressedCacheSize() { if (uncompressedCacheSizeBuilder_ == null) { uncompressedCacheSize_ = null; onChanged(); } else { uncompressedCacheSize_ = null; uncompressedCacheSizeBuilder_ = null; } return this; } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public com.google.protobuf.Int64Value.Builder getUncompressedCacheSizeBuilder() { onChanged(); return getUncompressedCacheSizeFieldBuilder().getBuilder(); } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ public com.google.protobuf.Int64ValueOrBuilder getUncompressedCacheSizeOrBuilder() { if (uncompressedCacheSizeBuilder_ != null) { return uncompressedCacheSizeBuilder_.getMessageOrBuilder(); } else { return uncompressedCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : uncompressedCacheSize_; } } /** *
       * Cache size (in bytes) for uncompressed data used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value uncompressed_cache_size = 9; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getUncompressedCacheSizeFieldBuilder() { if (uncompressedCacheSizeBuilder_ == null) { uncompressedCacheSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getUncompressedCacheSize(), getParentForChildren(), isClean()); uncompressedCacheSize_ = null; } return uncompressedCacheSizeBuilder_; } private com.google.protobuf.Int64Value markCacheSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> markCacheSizeBuilder_; /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return Whether the markCacheSize field is set. */ public boolean hasMarkCacheSize() { return markCacheSizeBuilder_ != null || markCacheSize_ != null; } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; * @return The markCacheSize. */ public com.google.protobuf.Int64Value getMarkCacheSize() { if (markCacheSizeBuilder_ == null) { return markCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : markCacheSize_; } else { return markCacheSizeBuilder_.getMessage(); } } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public Builder setMarkCacheSize(com.google.protobuf.Int64Value value) { if (markCacheSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } markCacheSize_ = value; onChanged(); } else { markCacheSizeBuilder_.setMessage(value); } return this; } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public Builder setMarkCacheSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (markCacheSizeBuilder_ == null) { markCacheSize_ = builderForValue.build(); onChanged(); } else { markCacheSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeMarkCacheSize(com.google.protobuf.Int64Value value) { if (markCacheSizeBuilder_ == null) { if (markCacheSize_ != null) { markCacheSize_ = com.google.protobuf.Int64Value.newBuilder(markCacheSize_).mergeFrom(value).buildPartial(); } else { markCacheSize_ = value; } onChanged(); } else { markCacheSizeBuilder_.mergeFrom(value); } return this; } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public Builder clearMarkCacheSize() { if (markCacheSizeBuilder_ == null) { markCacheSize_ = null; onChanged(); } else { markCacheSize_ = null; markCacheSizeBuilder_ = null; } return this; } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getMarkCacheSizeBuilder() { onChanged(); return getMarkCacheSizeFieldBuilder().getBuilder(); } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getMarkCacheSizeOrBuilder() { if (markCacheSizeBuilder_ != null) { return markCacheSizeBuilder_.getMessageOrBuilder(); } else { return markCacheSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : markCacheSize_; } } /** *
       * Approximate size (in bytes) of the cache of "marks" used by MergeTree tables.
       * 
* * .google.protobuf.Int64Value mark_cache_size = 10 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMarkCacheSizeFieldBuilder() { if (markCacheSizeBuilder_ == null) { markCacheSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMarkCacheSize(), getParentForChildren(), isClean()); markCacheSize_ = null; } return markCacheSizeBuilder_; } private com.google.protobuf.Int64Value maxTableSizeToDrop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxTableSizeToDropBuilder_; /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return Whether the maxTableSizeToDrop field is set. */ public boolean hasMaxTableSizeToDrop() { return maxTableSizeToDropBuilder_ != null || maxTableSizeToDrop_ != null; } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; * @return The maxTableSizeToDrop. */ public com.google.protobuf.Int64Value getMaxTableSizeToDrop() { if (maxTableSizeToDropBuilder_ == null) { return maxTableSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTableSizeToDrop_; } else { return maxTableSizeToDropBuilder_.getMessage(); } } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public Builder setMaxTableSizeToDrop(com.google.protobuf.Int64Value value) { if (maxTableSizeToDropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxTableSizeToDrop_ = value; onChanged(); } else { maxTableSizeToDropBuilder_.setMessage(value); } return this; } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public Builder setMaxTableSizeToDrop( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxTableSizeToDropBuilder_ == null) { maxTableSizeToDrop_ = builderForValue.build(); onChanged(); } else { maxTableSizeToDropBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public Builder mergeMaxTableSizeToDrop(com.google.protobuf.Int64Value value) { if (maxTableSizeToDropBuilder_ == null) { if (maxTableSizeToDrop_ != null) { maxTableSizeToDrop_ = com.google.protobuf.Int64Value.newBuilder(maxTableSizeToDrop_).mergeFrom(value).buildPartial(); } else { maxTableSizeToDrop_ = value; } onChanged(); } else { maxTableSizeToDropBuilder_.mergeFrom(value); } return this; } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public Builder clearMaxTableSizeToDrop() { if (maxTableSizeToDropBuilder_ == null) { maxTableSizeToDrop_ = null; onChanged(); } else { maxTableSizeToDrop_ = null; maxTableSizeToDropBuilder_ = null; } return this; } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public com.google.protobuf.Int64Value.Builder getMaxTableSizeToDropBuilder() { onChanged(); return getMaxTableSizeToDropFieldBuilder().getBuilder(); } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ public com.google.protobuf.Int64ValueOrBuilder getMaxTableSizeToDropOrBuilder() { if (maxTableSizeToDropBuilder_ != null) { return maxTableSizeToDropBuilder_.getMessageOrBuilder(); } else { return maxTableSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxTableSizeToDrop_; } } /** *
       * Maximum size of the table that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_table_size_to_drop = 11; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxTableSizeToDropFieldBuilder() { if (maxTableSizeToDropBuilder_ == null) { maxTableSizeToDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxTableSizeToDrop(), getParentForChildren(), isClean()); maxTableSizeToDrop_ = null; } return maxTableSizeToDropBuilder_; } private com.google.protobuf.Int64Value maxPartitionSizeToDrop_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxPartitionSizeToDropBuilder_; /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return Whether the maxPartitionSizeToDrop field is set. */ public boolean hasMaxPartitionSizeToDrop() { return maxPartitionSizeToDropBuilder_ != null || maxPartitionSizeToDrop_ != null; } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; * @return The maxPartitionSizeToDrop. */ public com.google.protobuf.Int64Value getMaxPartitionSizeToDrop() { if (maxPartitionSizeToDropBuilder_ == null) { return maxPartitionSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionSizeToDrop_; } else { return maxPartitionSizeToDropBuilder_.getMessage(); } } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public Builder setMaxPartitionSizeToDrop(com.google.protobuf.Int64Value value) { if (maxPartitionSizeToDropBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxPartitionSizeToDrop_ = value; onChanged(); } else { maxPartitionSizeToDropBuilder_.setMessage(value); } return this; } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public Builder setMaxPartitionSizeToDrop( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxPartitionSizeToDropBuilder_ == null) { maxPartitionSizeToDrop_ = builderForValue.build(); onChanged(); } else { maxPartitionSizeToDropBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public Builder mergeMaxPartitionSizeToDrop(com.google.protobuf.Int64Value value) { if (maxPartitionSizeToDropBuilder_ == null) { if (maxPartitionSizeToDrop_ != null) { maxPartitionSizeToDrop_ = com.google.protobuf.Int64Value.newBuilder(maxPartitionSizeToDrop_).mergeFrom(value).buildPartial(); } else { maxPartitionSizeToDrop_ = value; } onChanged(); } else { maxPartitionSizeToDropBuilder_.mergeFrom(value); } return this; } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public Builder clearMaxPartitionSizeToDrop() { if (maxPartitionSizeToDropBuilder_ == null) { maxPartitionSizeToDrop_ = null; onChanged(); } else { maxPartitionSizeToDrop_ = null; maxPartitionSizeToDropBuilder_ = null; } return this; } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public com.google.protobuf.Int64Value.Builder getMaxPartitionSizeToDropBuilder() { onChanged(); return getMaxPartitionSizeToDropFieldBuilder().getBuilder(); } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ public com.google.protobuf.Int64ValueOrBuilder getMaxPartitionSizeToDropOrBuilder() { if (maxPartitionSizeToDropBuilder_ != null) { return maxPartitionSizeToDropBuilder_.getMessageOrBuilder(); } else { return maxPartitionSizeToDrop_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxPartitionSizeToDrop_; } } /** *
       * Maximum size of the partition that can be deleted using a DROP query.
       * 
* * .google.protobuf.Int64Value max_partition_size_to_drop = 13; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxPartitionSizeToDropFieldBuilder() { if (maxPartitionSizeToDropBuilder_ == null) { maxPartitionSizeToDropBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxPartitionSizeToDrop(), getParentForChildren(), isClean()); maxPartitionSizeToDrop_ = null; } return maxPartitionSizeToDropBuilder_; } private com.google.protobuf.Int64Value builtinDictionariesReloadInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> builtinDictionariesReloadIntervalBuilder_; /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return Whether the builtinDictionariesReloadInterval field is set. */ @java.lang.Deprecated public boolean hasBuiltinDictionariesReloadInterval() { return builtinDictionariesReloadIntervalBuilder_ != null || builtinDictionariesReloadInterval_ != null; } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; * @deprecated * @return The builtinDictionariesReloadInterval. */ @java.lang.Deprecated public com.google.protobuf.Int64Value getBuiltinDictionariesReloadInterval() { if (builtinDictionariesReloadIntervalBuilder_ == null) { return builtinDictionariesReloadInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : builtinDictionariesReloadInterval_; } else { return builtinDictionariesReloadIntervalBuilder_.getMessage(); } } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder setBuiltinDictionariesReloadInterval(com.google.protobuf.Int64Value value) { if (builtinDictionariesReloadIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } builtinDictionariesReloadInterval_ = value; onChanged(); } else { builtinDictionariesReloadIntervalBuilder_.setMessage(value); } return this; } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder setBuiltinDictionariesReloadInterval( com.google.protobuf.Int64Value.Builder builderForValue) { if (builtinDictionariesReloadIntervalBuilder_ == null) { builtinDictionariesReloadInterval_ = builderForValue.build(); onChanged(); } else { builtinDictionariesReloadIntervalBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder mergeBuiltinDictionariesReloadInterval(com.google.protobuf.Int64Value value) { if (builtinDictionariesReloadIntervalBuilder_ == null) { if (builtinDictionariesReloadInterval_ != null) { builtinDictionariesReloadInterval_ = com.google.protobuf.Int64Value.newBuilder(builtinDictionariesReloadInterval_).mergeFrom(value).buildPartial(); } else { builtinDictionariesReloadInterval_ = value; } onChanged(); } else { builtinDictionariesReloadIntervalBuilder_.mergeFrom(value); } return this; } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public Builder clearBuiltinDictionariesReloadInterval() { if (builtinDictionariesReloadIntervalBuilder_ == null) { builtinDictionariesReloadInterval_ = null; onChanged(); } else { builtinDictionariesReloadInterval_ = null; builtinDictionariesReloadIntervalBuilder_ = null; } return this; } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.Int64Value.Builder getBuiltinDictionariesReloadIntervalBuilder() { onChanged(); return getBuiltinDictionariesReloadIntervalFieldBuilder().getBuilder(); } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ @java.lang.Deprecated public com.google.protobuf.Int64ValueOrBuilder getBuiltinDictionariesReloadIntervalOrBuilder() { if (builtinDictionariesReloadIntervalBuilder_ != null) { return builtinDictionariesReloadIntervalBuilder_.getMessageOrBuilder(); } else { return builtinDictionariesReloadInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : builtinDictionariesReloadInterval_; } } /** *
       * The setting is deprecated and has no effect.
       * 
* * .google.protobuf.Int64Value builtin_dictionaries_reload_interval = 12 [deprecated = true]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBuiltinDictionariesReloadIntervalFieldBuilder() { if (builtinDictionariesReloadIntervalBuilder_ == null) { builtinDictionariesReloadIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBuiltinDictionariesReloadInterval(), getParentForChildren(), isClean()); builtinDictionariesReloadInterval_ = null; } return builtinDictionariesReloadIntervalBuilder_; } private java.lang.Object timezone_ = ""; /** *
       * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
       * 
* * string timezone = 14; * @return The timezone. */ public java.lang.String getTimezone() { java.lang.Object ref = timezone_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); timezone_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
       * 
* * string timezone = 14; * @return The bytes for timezone. */ public com.google.protobuf.ByteString getTimezoneBytes() { java.lang.Object ref = timezone_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); timezone_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
       * 
* * string timezone = 14; * @param value The timezone to set. * @return This builder for chaining. */ public Builder setTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } timezone_ = value; onChanged(); return this; } /** *
       * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
       * 
* * string timezone = 14; * @return This builder for chaining. */ public Builder clearTimezone() { timezone_ = getDefaultInstance().getTimezone(); onChanged(); return this; } /** *
       * The server's time zone to be used in DateTime fields conversions. Specified as an IANA identifier.
       * 
* * string timezone = 14; * @param value The bytes for timezone to set. * @return This builder for chaining. */ public Builder setTimezoneBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); timezone_ = value; onChanged(); return this; } private java.lang.Object geobaseUri_ = ""; /** *
       * Address of the archive with the user geobase in Object Storage.
       * 
* * string geobase_uri = 15; * @return The geobaseUri. */ public java.lang.String getGeobaseUri() { java.lang.Object ref = geobaseUri_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); geobaseUri_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Address of the archive with the user geobase in Object Storage.
       * 
* * string geobase_uri = 15; * @return The bytes for geobaseUri. */ public com.google.protobuf.ByteString getGeobaseUriBytes() { java.lang.Object ref = geobaseUri_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); geobaseUri_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Address of the archive with the user geobase in Object Storage.
       * 
* * string geobase_uri = 15; * @param value The geobaseUri to set. * @return This builder for chaining. */ public Builder setGeobaseUri( java.lang.String value) { if (value == null) { throw new NullPointerException(); } geobaseUri_ = value; onChanged(); return this; } /** *
       * Address of the archive with the user geobase in Object Storage.
       * 
* * string geobase_uri = 15; * @return This builder for chaining. */ public Builder clearGeobaseUri() { geobaseUri_ = getDefaultInstance().getGeobaseUri(); onChanged(); return this; } /** *
       * Address of the archive with the user geobase in Object Storage.
       * 
* * string geobase_uri = 15; * @param value The bytes for geobaseUri to set. * @return This builder for chaining. */ public Builder setGeobaseUriBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); geobaseUri_ = value; onChanged(); return this; } private com.google.protobuf.Int64Value queryLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> queryLogRetentionSizeBuilder_; /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return Whether the queryLogRetentionSize field is set. */ public boolean hasQueryLogRetentionSize() { return queryLogRetentionSizeBuilder_ != null || queryLogRetentionSize_ != null; } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; * @return The queryLogRetentionSize. */ public com.google.protobuf.Int64Value getQueryLogRetentionSize() { if (queryLogRetentionSizeBuilder_ == null) { return queryLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionSize_; } else { return queryLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public Builder setQueryLogRetentionSize(com.google.protobuf.Int64Value value) { if (queryLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryLogRetentionSize_ = value; onChanged(); } else { queryLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public Builder setQueryLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (queryLogRetentionSizeBuilder_ == null) { queryLogRetentionSize_ = builderForValue.build(); onChanged(); } else { queryLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public Builder mergeQueryLogRetentionSize(com.google.protobuf.Int64Value value) { if (queryLogRetentionSizeBuilder_ == null) { if (queryLogRetentionSize_ != null) { queryLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(queryLogRetentionSize_).mergeFrom(value).buildPartial(); } else { queryLogRetentionSize_ = value; } onChanged(); } else { queryLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public Builder clearQueryLogRetentionSize() { if (queryLogRetentionSizeBuilder_ == null) { queryLogRetentionSize_ = null; onChanged(); } else { queryLogRetentionSize_ = null; queryLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public com.google.protobuf.Int64Value.Builder getQueryLogRetentionSizeBuilder() { onChanged(); return getQueryLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ public com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionSizeOrBuilder() { if (queryLogRetentionSizeBuilder_ != null) { return queryLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return queryLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionSize_; } } /** *
       * The maximum size that query_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_size = 16; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getQueryLogRetentionSizeFieldBuilder() { if (queryLogRetentionSizeBuilder_ == null) { queryLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getQueryLogRetentionSize(), getParentForChildren(), isClean()); queryLogRetentionSize_ = null; } return queryLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value queryLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> queryLogRetentionTimeBuilder_; /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return Whether the queryLogRetentionTime field is set. */ public boolean hasQueryLogRetentionTime() { return queryLogRetentionTimeBuilder_ != null || queryLogRetentionTime_ != null; } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; * @return The queryLogRetentionTime. */ public com.google.protobuf.Int64Value getQueryLogRetentionTime() { if (queryLogRetentionTimeBuilder_ == null) { return queryLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionTime_; } else { return queryLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public Builder setQueryLogRetentionTime(com.google.protobuf.Int64Value value) { if (queryLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryLogRetentionTime_ = value; onChanged(); } else { queryLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public Builder setQueryLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (queryLogRetentionTimeBuilder_ == null) { queryLogRetentionTime_ = builderForValue.build(); onChanged(); } else { queryLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public Builder mergeQueryLogRetentionTime(com.google.protobuf.Int64Value value) { if (queryLogRetentionTimeBuilder_ == null) { if (queryLogRetentionTime_ != null) { queryLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(queryLogRetentionTime_).mergeFrom(value).buildPartial(); } else { queryLogRetentionTime_ = value; } onChanged(); } else { queryLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public Builder clearQueryLogRetentionTime() { if (queryLogRetentionTimeBuilder_ == null) { queryLogRetentionTime_ = null; onChanged(); } else { queryLogRetentionTime_ = null; queryLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public com.google.protobuf.Int64Value.Builder getQueryLogRetentionTimeBuilder() { onChanged(); return getQueryLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ public com.google.protobuf.Int64ValueOrBuilder getQueryLogRetentionTimeOrBuilder() { if (queryLogRetentionTimeBuilder_ != null) { return queryLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return queryLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryLogRetentionTime_; } } /** *
       * The maximum time that query_log records will be retained before removal. If set to 0, automatic removal of
       * query_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_log_retention_time = 17; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getQueryLogRetentionTimeFieldBuilder() { if (queryLogRetentionTimeBuilder_ == null) { queryLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getQueryLogRetentionTime(), getParentForChildren(), isClean()); queryLogRetentionTime_ = null; } return queryLogRetentionTimeBuilder_; } private com.google.protobuf.BoolValue queryThreadLogEnabled_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> queryThreadLogEnabledBuilder_; /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return Whether the queryThreadLogEnabled field is set. */ public boolean hasQueryThreadLogEnabled() { return queryThreadLogEnabledBuilder_ != null || queryThreadLogEnabled_ != null; } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; * @return The queryThreadLogEnabled. */ public com.google.protobuf.BoolValue getQueryThreadLogEnabled() { if (queryThreadLogEnabledBuilder_ == null) { return queryThreadLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : queryThreadLogEnabled_; } else { return queryThreadLogEnabledBuilder_.getMessage(); } } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public Builder setQueryThreadLogEnabled(com.google.protobuf.BoolValue value) { if (queryThreadLogEnabledBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryThreadLogEnabled_ = value; onChanged(); } else { queryThreadLogEnabledBuilder_.setMessage(value); } return this; } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public Builder setQueryThreadLogEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { if (queryThreadLogEnabledBuilder_ == null) { queryThreadLogEnabled_ = builderForValue.build(); onChanged(); } else { queryThreadLogEnabledBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public Builder mergeQueryThreadLogEnabled(com.google.protobuf.BoolValue value) { if (queryThreadLogEnabledBuilder_ == null) { if (queryThreadLogEnabled_ != null) { queryThreadLogEnabled_ = com.google.protobuf.BoolValue.newBuilder(queryThreadLogEnabled_).mergeFrom(value).buildPartial(); } else { queryThreadLogEnabled_ = value; } onChanged(); } else { queryThreadLogEnabledBuilder_.mergeFrom(value); } return this; } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public Builder clearQueryThreadLogEnabled() { if (queryThreadLogEnabledBuilder_ == null) { queryThreadLogEnabled_ = null; onChanged(); } else { queryThreadLogEnabled_ = null; queryThreadLogEnabledBuilder_ = null; } return this; } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public com.google.protobuf.BoolValue.Builder getQueryThreadLogEnabledBuilder() { onChanged(); return getQueryThreadLogEnabledFieldBuilder().getBuilder(); } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ public com.google.protobuf.BoolValueOrBuilder getQueryThreadLogEnabledOrBuilder() { if (queryThreadLogEnabledBuilder_ != null) { return queryThreadLogEnabledBuilder_.getMessageOrBuilder(); } else { return queryThreadLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : queryThreadLogEnabled_; } } /** *
       * Whether query_thread_log system table is enabled.
       * 
* * .google.protobuf.BoolValue query_thread_log_enabled = 18; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getQueryThreadLogEnabledFieldBuilder() { if (queryThreadLogEnabledBuilder_ == null) { queryThreadLogEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getQueryThreadLogEnabled(), getParentForChildren(), isClean()); queryThreadLogEnabled_ = null; } return queryThreadLogEnabledBuilder_; } private com.google.protobuf.Int64Value queryThreadLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> queryThreadLogRetentionSizeBuilder_; /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return Whether the queryThreadLogRetentionSize field is set. */ public boolean hasQueryThreadLogRetentionSize() { return queryThreadLogRetentionSizeBuilder_ != null || queryThreadLogRetentionSize_ != null; } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; * @return The queryThreadLogRetentionSize. */ public com.google.protobuf.Int64Value getQueryThreadLogRetentionSize() { if (queryThreadLogRetentionSizeBuilder_ == null) { return queryThreadLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionSize_; } else { return queryThreadLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public Builder setQueryThreadLogRetentionSize(com.google.protobuf.Int64Value value) { if (queryThreadLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryThreadLogRetentionSize_ = value; onChanged(); } else { queryThreadLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public Builder setQueryThreadLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (queryThreadLogRetentionSizeBuilder_ == null) { queryThreadLogRetentionSize_ = builderForValue.build(); onChanged(); } else { queryThreadLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public Builder mergeQueryThreadLogRetentionSize(com.google.protobuf.Int64Value value) { if (queryThreadLogRetentionSizeBuilder_ == null) { if (queryThreadLogRetentionSize_ != null) { queryThreadLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(queryThreadLogRetentionSize_).mergeFrom(value).buildPartial(); } else { queryThreadLogRetentionSize_ = value; } onChanged(); } else { queryThreadLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public Builder clearQueryThreadLogRetentionSize() { if (queryThreadLogRetentionSizeBuilder_ == null) { queryThreadLogRetentionSize_ = null; onChanged(); } else { queryThreadLogRetentionSize_ = null; queryThreadLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public com.google.protobuf.Int64Value.Builder getQueryThreadLogRetentionSizeBuilder() { onChanged(); return getQueryThreadLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ public com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionSizeOrBuilder() { if (queryThreadLogRetentionSizeBuilder_ != null) { return queryThreadLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return queryThreadLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionSize_; } } /** *
       * The maximum size that query_thread_log can grow to before old data will be removed. If set to 0, automatic removal of
       * query_thread_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_size = 19; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getQueryThreadLogRetentionSizeFieldBuilder() { if (queryThreadLogRetentionSizeBuilder_ == null) { queryThreadLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getQueryThreadLogRetentionSize(), getParentForChildren(), isClean()); queryThreadLogRetentionSize_ = null; } return queryThreadLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value queryThreadLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> queryThreadLogRetentionTimeBuilder_; /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return Whether the queryThreadLogRetentionTime field is set. */ public boolean hasQueryThreadLogRetentionTime() { return queryThreadLogRetentionTimeBuilder_ != null || queryThreadLogRetentionTime_ != null; } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; * @return The queryThreadLogRetentionTime. */ public com.google.protobuf.Int64Value getQueryThreadLogRetentionTime() { if (queryThreadLogRetentionTimeBuilder_ == null) { return queryThreadLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionTime_; } else { return queryThreadLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public Builder setQueryThreadLogRetentionTime(com.google.protobuf.Int64Value value) { if (queryThreadLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } queryThreadLogRetentionTime_ = value; onChanged(); } else { queryThreadLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public Builder setQueryThreadLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (queryThreadLogRetentionTimeBuilder_ == null) { queryThreadLogRetentionTime_ = builderForValue.build(); onChanged(); } else { queryThreadLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public Builder mergeQueryThreadLogRetentionTime(com.google.protobuf.Int64Value value) { if (queryThreadLogRetentionTimeBuilder_ == null) { if (queryThreadLogRetentionTime_ != null) { queryThreadLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(queryThreadLogRetentionTime_).mergeFrom(value).buildPartial(); } else { queryThreadLogRetentionTime_ = value; } onChanged(); } else { queryThreadLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public Builder clearQueryThreadLogRetentionTime() { if (queryThreadLogRetentionTimeBuilder_ == null) { queryThreadLogRetentionTime_ = null; onChanged(); } else { queryThreadLogRetentionTime_ = null; queryThreadLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public com.google.protobuf.Int64Value.Builder getQueryThreadLogRetentionTimeBuilder() { onChanged(); return getQueryThreadLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ public com.google.protobuf.Int64ValueOrBuilder getQueryThreadLogRetentionTimeOrBuilder() { if (queryThreadLogRetentionTimeBuilder_ != null) { return queryThreadLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return queryThreadLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : queryThreadLogRetentionTime_; } } /** *
       * The maximum time that query_thread_log records will be retained before removal. If set to 0, automatic removal of
       * query_thread_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value query_thread_log_retention_time = 20; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getQueryThreadLogRetentionTimeFieldBuilder() { if (queryThreadLogRetentionTimeBuilder_ == null) { queryThreadLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getQueryThreadLogRetentionTime(), getParentForChildren(), isClean()); queryThreadLogRetentionTime_ = null; } return queryThreadLogRetentionTimeBuilder_; } private com.google.protobuf.Int64Value partLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> partLogRetentionSizeBuilder_; /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return Whether the partLogRetentionSize field is set. */ public boolean hasPartLogRetentionSize() { return partLogRetentionSizeBuilder_ != null || partLogRetentionSize_ != null; } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; * @return The partLogRetentionSize. */ public com.google.protobuf.Int64Value getPartLogRetentionSize() { if (partLogRetentionSizeBuilder_ == null) { return partLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionSize_; } else { return partLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public Builder setPartLogRetentionSize(com.google.protobuf.Int64Value value) { if (partLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partLogRetentionSize_ = value; onChanged(); } else { partLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public Builder setPartLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (partLogRetentionSizeBuilder_ == null) { partLogRetentionSize_ = builderForValue.build(); onChanged(); } else { partLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public Builder mergePartLogRetentionSize(com.google.protobuf.Int64Value value) { if (partLogRetentionSizeBuilder_ == null) { if (partLogRetentionSize_ != null) { partLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(partLogRetentionSize_).mergeFrom(value).buildPartial(); } else { partLogRetentionSize_ = value; } onChanged(); } else { partLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public Builder clearPartLogRetentionSize() { if (partLogRetentionSizeBuilder_ == null) { partLogRetentionSize_ = null; onChanged(); } else { partLogRetentionSize_ = null; partLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public com.google.protobuf.Int64Value.Builder getPartLogRetentionSizeBuilder() { onChanged(); return getPartLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ public com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionSizeOrBuilder() { if (partLogRetentionSizeBuilder_ != null) { return partLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return partLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionSize_; } } /** *
       * The maximum size that part_log can grow to before old data will be removed. If set to 0, automatic removal of
       * part_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_size = 21; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getPartLogRetentionSizeFieldBuilder() { if (partLogRetentionSizeBuilder_ == null) { partLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getPartLogRetentionSize(), getParentForChildren(), isClean()); partLogRetentionSize_ = null; } return partLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value partLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> partLogRetentionTimeBuilder_; /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return Whether the partLogRetentionTime field is set. */ public boolean hasPartLogRetentionTime() { return partLogRetentionTimeBuilder_ != null || partLogRetentionTime_ != null; } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; * @return The partLogRetentionTime. */ public com.google.protobuf.Int64Value getPartLogRetentionTime() { if (partLogRetentionTimeBuilder_ == null) { return partLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionTime_; } else { return partLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public Builder setPartLogRetentionTime(com.google.protobuf.Int64Value value) { if (partLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } partLogRetentionTime_ = value; onChanged(); } else { partLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public Builder setPartLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (partLogRetentionTimeBuilder_ == null) { partLogRetentionTime_ = builderForValue.build(); onChanged(); } else { partLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public Builder mergePartLogRetentionTime(com.google.protobuf.Int64Value value) { if (partLogRetentionTimeBuilder_ == null) { if (partLogRetentionTime_ != null) { partLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(partLogRetentionTime_).mergeFrom(value).buildPartial(); } else { partLogRetentionTime_ = value; } onChanged(); } else { partLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public Builder clearPartLogRetentionTime() { if (partLogRetentionTimeBuilder_ == null) { partLogRetentionTime_ = null; onChanged(); } else { partLogRetentionTime_ = null; partLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public com.google.protobuf.Int64Value.Builder getPartLogRetentionTimeBuilder() { onChanged(); return getPartLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ public com.google.protobuf.Int64ValueOrBuilder getPartLogRetentionTimeOrBuilder() { if (partLogRetentionTimeBuilder_ != null) { return partLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return partLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : partLogRetentionTime_; } } /** *
       * The maximum time that part_log records will be retained before removal. If set to 0, automatic removal of
       * part_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value part_log_retention_time = 22; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getPartLogRetentionTimeFieldBuilder() { if (partLogRetentionTimeBuilder_ == null) { partLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getPartLogRetentionTime(), getParentForChildren(), isClean()); partLogRetentionTime_ = null; } return partLogRetentionTimeBuilder_; } private com.google.protobuf.BoolValue metricLogEnabled_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> metricLogEnabledBuilder_; /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return Whether the metricLogEnabled field is set. */ public boolean hasMetricLogEnabled() { return metricLogEnabledBuilder_ != null || metricLogEnabled_ != null; } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; * @return The metricLogEnabled. */ public com.google.protobuf.BoolValue getMetricLogEnabled() { if (metricLogEnabledBuilder_ == null) { return metricLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : metricLogEnabled_; } else { return metricLogEnabledBuilder_.getMessage(); } } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public Builder setMetricLogEnabled(com.google.protobuf.BoolValue value) { if (metricLogEnabledBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metricLogEnabled_ = value; onChanged(); } else { metricLogEnabledBuilder_.setMessage(value); } return this; } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public Builder setMetricLogEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { if (metricLogEnabledBuilder_ == null) { metricLogEnabled_ = builderForValue.build(); onChanged(); } else { metricLogEnabledBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public Builder mergeMetricLogEnabled(com.google.protobuf.BoolValue value) { if (metricLogEnabledBuilder_ == null) { if (metricLogEnabled_ != null) { metricLogEnabled_ = com.google.protobuf.BoolValue.newBuilder(metricLogEnabled_).mergeFrom(value).buildPartial(); } else { metricLogEnabled_ = value; } onChanged(); } else { metricLogEnabledBuilder_.mergeFrom(value); } return this; } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public Builder clearMetricLogEnabled() { if (metricLogEnabledBuilder_ == null) { metricLogEnabled_ = null; onChanged(); } else { metricLogEnabled_ = null; metricLogEnabledBuilder_ = null; } return this; } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public com.google.protobuf.BoolValue.Builder getMetricLogEnabledBuilder() { onChanged(); return getMetricLogEnabledFieldBuilder().getBuilder(); } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ public com.google.protobuf.BoolValueOrBuilder getMetricLogEnabledOrBuilder() { if (metricLogEnabledBuilder_ != null) { return metricLogEnabledBuilder_.getMessageOrBuilder(); } else { return metricLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : metricLogEnabled_; } } /** *
       * Whether metric_log system table is enabled.
       * 
* * .google.protobuf.BoolValue metric_log_enabled = 23; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getMetricLogEnabledFieldBuilder() { if (metricLogEnabledBuilder_ == null) { metricLogEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getMetricLogEnabled(), getParentForChildren(), isClean()); metricLogEnabled_ = null; } return metricLogEnabledBuilder_; } private com.google.protobuf.Int64Value metricLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> metricLogRetentionSizeBuilder_; /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return Whether the metricLogRetentionSize field is set. */ public boolean hasMetricLogRetentionSize() { return metricLogRetentionSizeBuilder_ != null || metricLogRetentionSize_ != null; } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; * @return The metricLogRetentionSize. */ public com.google.protobuf.Int64Value getMetricLogRetentionSize() { if (metricLogRetentionSizeBuilder_ == null) { return metricLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionSize_; } else { return metricLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public Builder setMetricLogRetentionSize(com.google.protobuf.Int64Value value) { if (metricLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metricLogRetentionSize_ = value; onChanged(); } else { metricLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public Builder setMetricLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (metricLogRetentionSizeBuilder_ == null) { metricLogRetentionSize_ = builderForValue.build(); onChanged(); } else { metricLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public Builder mergeMetricLogRetentionSize(com.google.protobuf.Int64Value value) { if (metricLogRetentionSizeBuilder_ == null) { if (metricLogRetentionSize_ != null) { metricLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(metricLogRetentionSize_).mergeFrom(value).buildPartial(); } else { metricLogRetentionSize_ = value; } onChanged(); } else { metricLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public Builder clearMetricLogRetentionSize() { if (metricLogRetentionSizeBuilder_ == null) { metricLogRetentionSize_ = null; onChanged(); } else { metricLogRetentionSize_ = null; metricLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public com.google.protobuf.Int64Value.Builder getMetricLogRetentionSizeBuilder() { onChanged(); return getMetricLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ public com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionSizeOrBuilder() { if (metricLogRetentionSizeBuilder_ != null) { return metricLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return metricLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionSize_; } } /** *
       * The maximum size that metric_log can grow to before old data will be removed. If set to 0, automatic removal of
       * metric_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_size = 24; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMetricLogRetentionSizeFieldBuilder() { if (metricLogRetentionSizeBuilder_ == null) { metricLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMetricLogRetentionSize(), getParentForChildren(), isClean()); metricLogRetentionSize_ = null; } return metricLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value metricLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> metricLogRetentionTimeBuilder_; /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return Whether the metricLogRetentionTime field is set. */ public boolean hasMetricLogRetentionTime() { return metricLogRetentionTimeBuilder_ != null || metricLogRetentionTime_ != null; } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; * @return The metricLogRetentionTime. */ public com.google.protobuf.Int64Value getMetricLogRetentionTime() { if (metricLogRetentionTimeBuilder_ == null) { return metricLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionTime_; } else { return metricLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public Builder setMetricLogRetentionTime(com.google.protobuf.Int64Value value) { if (metricLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } metricLogRetentionTime_ = value; onChanged(); } else { metricLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public Builder setMetricLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (metricLogRetentionTimeBuilder_ == null) { metricLogRetentionTime_ = builderForValue.build(); onChanged(); } else { metricLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public Builder mergeMetricLogRetentionTime(com.google.protobuf.Int64Value value) { if (metricLogRetentionTimeBuilder_ == null) { if (metricLogRetentionTime_ != null) { metricLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(metricLogRetentionTime_).mergeFrom(value).buildPartial(); } else { metricLogRetentionTime_ = value; } onChanged(); } else { metricLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public Builder clearMetricLogRetentionTime() { if (metricLogRetentionTimeBuilder_ == null) { metricLogRetentionTime_ = null; onChanged(); } else { metricLogRetentionTime_ = null; metricLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public com.google.protobuf.Int64Value.Builder getMetricLogRetentionTimeBuilder() { onChanged(); return getMetricLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ public com.google.protobuf.Int64ValueOrBuilder getMetricLogRetentionTimeOrBuilder() { if (metricLogRetentionTimeBuilder_ != null) { return metricLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return metricLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : metricLogRetentionTime_; } } /** *
       * The maximum time that metric_log records will be retained before removal. If set to 0, automatic removal of
       * metric_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value metric_log_retention_time = 25; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMetricLogRetentionTimeFieldBuilder() { if (metricLogRetentionTimeBuilder_ == null) { metricLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMetricLogRetentionTime(), getParentForChildren(), isClean()); metricLogRetentionTime_ = null; } return metricLogRetentionTimeBuilder_; } private com.google.protobuf.BoolValue traceLogEnabled_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> traceLogEnabledBuilder_; /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return Whether the traceLogEnabled field is set. */ public boolean hasTraceLogEnabled() { return traceLogEnabledBuilder_ != null || traceLogEnabled_ != null; } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; * @return The traceLogEnabled. */ public com.google.protobuf.BoolValue getTraceLogEnabled() { if (traceLogEnabledBuilder_ == null) { return traceLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : traceLogEnabled_; } else { return traceLogEnabledBuilder_.getMessage(); } } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public Builder setTraceLogEnabled(com.google.protobuf.BoolValue value) { if (traceLogEnabledBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceLogEnabled_ = value; onChanged(); } else { traceLogEnabledBuilder_.setMessage(value); } return this; } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public Builder setTraceLogEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { if (traceLogEnabledBuilder_ == null) { traceLogEnabled_ = builderForValue.build(); onChanged(); } else { traceLogEnabledBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public Builder mergeTraceLogEnabled(com.google.protobuf.BoolValue value) { if (traceLogEnabledBuilder_ == null) { if (traceLogEnabled_ != null) { traceLogEnabled_ = com.google.protobuf.BoolValue.newBuilder(traceLogEnabled_).mergeFrom(value).buildPartial(); } else { traceLogEnabled_ = value; } onChanged(); } else { traceLogEnabledBuilder_.mergeFrom(value); } return this; } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public Builder clearTraceLogEnabled() { if (traceLogEnabledBuilder_ == null) { traceLogEnabled_ = null; onChanged(); } else { traceLogEnabled_ = null; traceLogEnabledBuilder_ = null; } return this; } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public com.google.protobuf.BoolValue.Builder getTraceLogEnabledBuilder() { onChanged(); return getTraceLogEnabledFieldBuilder().getBuilder(); } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ public com.google.protobuf.BoolValueOrBuilder getTraceLogEnabledOrBuilder() { if (traceLogEnabledBuilder_ != null) { return traceLogEnabledBuilder_.getMessageOrBuilder(); } else { return traceLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : traceLogEnabled_; } } /** *
       * Whether trace_log system table is enabled.
       * 
* * .google.protobuf.BoolValue trace_log_enabled = 26; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getTraceLogEnabledFieldBuilder() { if (traceLogEnabledBuilder_ == null) { traceLogEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getTraceLogEnabled(), getParentForChildren(), isClean()); traceLogEnabled_ = null; } return traceLogEnabledBuilder_; } private com.google.protobuf.Int64Value traceLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> traceLogRetentionSizeBuilder_; /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return Whether the traceLogRetentionSize field is set. */ public boolean hasTraceLogRetentionSize() { return traceLogRetentionSizeBuilder_ != null || traceLogRetentionSize_ != null; } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; * @return The traceLogRetentionSize. */ public com.google.protobuf.Int64Value getTraceLogRetentionSize() { if (traceLogRetentionSizeBuilder_ == null) { return traceLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionSize_; } else { return traceLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public Builder setTraceLogRetentionSize(com.google.protobuf.Int64Value value) { if (traceLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceLogRetentionSize_ = value; onChanged(); } else { traceLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public Builder setTraceLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (traceLogRetentionSizeBuilder_ == null) { traceLogRetentionSize_ = builderForValue.build(); onChanged(); } else { traceLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public Builder mergeTraceLogRetentionSize(com.google.protobuf.Int64Value value) { if (traceLogRetentionSizeBuilder_ == null) { if (traceLogRetentionSize_ != null) { traceLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(traceLogRetentionSize_).mergeFrom(value).buildPartial(); } else { traceLogRetentionSize_ = value; } onChanged(); } else { traceLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public Builder clearTraceLogRetentionSize() { if (traceLogRetentionSizeBuilder_ == null) { traceLogRetentionSize_ = null; onChanged(); } else { traceLogRetentionSize_ = null; traceLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public com.google.protobuf.Int64Value.Builder getTraceLogRetentionSizeBuilder() { onChanged(); return getTraceLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ public com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionSizeOrBuilder() { if (traceLogRetentionSizeBuilder_ != null) { return traceLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return traceLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionSize_; } } /** *
       * The maximum size that trace_log can grow to before old data will be removed. If set to 0, automatic removal of
       * trace_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_size = 27; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getTraceLogRetentionSizeFieldBuilder() { if (traceLogRetentionSizeBuilder_ == null) { traceLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getTraceLogRetentionSize(), getParentForChildren(), isClean()); traceLogRetentionSize_ = null; } return traceLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value traceLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> traceLogRetentionTimeBuilder_; /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return Whether the traceLogRetentionTime field is set. */ public boolean hasTraceLogRetentionTime() { return traceLogRetentionTimeBuilder_ != null || traceLogRetentionTime_ != null; } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; * @return The traceLogRetentionTime. */ public com.google.protobuf.Int64Value getTraceLogRetentionTime() { if (traceLogRetentionTimeBuilder_ == null) { return traceLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionTime_; } else { return traceLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public Builder setTraceLogRetentionTime(com.google.protobuf.Int64Value value) { if (traceLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } traceLogRetentionTime_ = value; onChanged(); } else { traceLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public Builder setTraceLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (traceLogRetentionTimeBuilder_ == null) { traceLogRetentionTime_ = builderForValue.build(); onChanged(); } else { traceLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public Builder mergeTraceLogRetentionTime(com.google.protobuf.Int64Value value) { if (traceLogRetentionTimeBuilder_ == null) { if (traceLogRetentionTime_ != null) { traceLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(traceLogRetentionTime_).mergeFrom(value).buildPartial(); } else { traceLogRetentionTime_ = value; } onChanged(); } else { traceLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public Builder clearTraceLogRetentionTime() { if (traceLogRetentionTimeBuilder_ == null) { traceLogRetentionTime_ = null; onChanged(); } else { traceLogRetentionTime_ = null; traceLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public com.google.protobuf.Int64Value.Builder getTraceLogRetentionTimeBuilder() { onChanged(); return getTraceLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ public com.google.protobuf.Int64ValueOrBuilder getTraceLogRetentionTimeOrBuilder() { if (traceLogRetentionTimeBuilder_ != null) { return traceLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return traceLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : traceLogRetentionTime_; } } /** *
       * The maximum time that trace_log records will be retained before removal. If set to 0, automatic removal of
       * trace_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value trace_log_retention_time = 28; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getTraceLogRetentionTimeFieldBuilder() { if (traceLogRetentionTimeBuilder_ == null) { traceLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getTraceLogRetentionTime(), getParentForChildren(), isClean()); traceLogRetentionTime_ = null; } return traceLogRetentionTimeBuilder_; } private com.google.protobuf.BoolValue textLogEnabled_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> textLogEnabledBuilder_; /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return Whether the textLogEnabled field is set. */ public boolean hasTextLogEnabled() { return textLogEnabledBuilder_ != null || textLogEnabled_ != null; } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; * @return The textLogEnabled. */ public com.google.protobuf.BoolValue getTextLogEnabled() { if (textLogEnabledBuilder_ == null) { return textLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : textLogEnabled_; } else { return textLogEnabledBuilder_.getMessage(); } } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public Builder setTextLogEnabled(com.google.protobuf.BoolValue value) { if (textLogEnabledBuilder_ == null) { if (value == null) { throw new NullPointerException(); } textLogEnabled_ = value; onChanged(); } else { textLogEnabledBuilder_.setMessage(value); } return this; } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public Builder setTextLogEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { if (textLogEnabledBuilder_ == null) { textLogEnabled_ = builderForValue.build(); onChanged(); } else { textLogEnabledBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public Builder mergeTextLogEnabled(com.google.protobuf.BoolValue value) { if (textLogEnabledBuilder_ == null) { if (textLogEnabled_ != null) { textLogEnabled_ = com.google.protobuf.BoolValue.newBuilder(textLogEnabled_).mergeFrom(value).buildPartial(); } else { textLogEnabled_ = value; } onChanged(); } else { textLogEnabledBuilder_.mergeFrom(value); } return this; } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public Builder clearTextLogEnabled() { if (textLogEnabledBuilder_ == null) { textLogEnabled_ = null; onChanged(); } else { textLogEnabled_ = null; textLogEnabledBuilder_ = null; } return this; } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public com.google.protobuf.BoolValue.Builder getTextLogEnabledBuilder() { onChanged(); return getTextLogEnabledFieldBuilder().getBuilder(); } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ public com.google.protobuf.BoolValueOrBuilder getTextLogEnabledOrBuilder() { if (textLogEnabledBuilder_ != null) { return textLogEnabledBuilder_.getMessageOrBuilder(); } else { return textLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : textLogEnabled_; } } /** *
       * Whether text_log system table is enabled.
       * 
* * .google.protobuf.BoolValue text_log_enabled = 29; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getTextLogEnabledFieldBuilder() { if (textLogEnabledBuilder_ == null) { textLogEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getTextLogEnabled(), getParentForChildren(), isClean()); textLogEnabled_ = null; } return textLogEnabledBuilder_; } private com.google.protobuf.Int64Value textLogRetentionSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> textLogRetentionSizeBuilder_; /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return Whether the textLogRetentionSize field is set. */ public boolean hasTextLogRetentionSize() { return textLogRetentionSizeBuilder_ != null || textLogRetentionSize_ != null; } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; * @return The textLogRetentionSize. */ public com.google.protobuf.Int64Value getTextLogRetentionSize() { if (textLogRetentionSizeBuilder_ == null) { return textLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionSize_; } else { return textLogRetentionSizeBuilder_.getMessage(); } } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public Builder setTextLogRetentionSize(com.google.protobuf.Int64Value value) { if (textLogRetentionSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } textLogRetentionSize_ = value; onChanged(); } else { textLogRetentionSizeBuilder_.setMessage(value); } return this; } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public Builder setTextLogRetentionSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (textLogRetentionSizeBuilder_ == null) { textLogRetentionSize_ = builderForValue.build(); onChanged(); } else { textLogRetentionSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public Builder mergeTextLogRetentionSize(com.google.protobuf.Int64Value value) { if (textLogRetentionSizeBuilder_ == null) { if (textLogRetentionSize_ != null) { textLogRetentionSize_ = com.google.protobuf.Int64Value.newBuilder(textLogRetentionSize_).mergeFrom(value).buildPartial(); } else { textLogRetentionSize_ = value; } onChanged(); } else { textLogRetentionSizeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public Builder clearTextLogRetentionSize() { if (textLogRetentionSizeBuilder_ == null) { textLogRetentionSize_ = null; onChanged(); } else { textLogRetentionSize_ = null; textLogRetentionSizeBuilder_ = null; } return this; } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public com.google.protobuf.Int64Value.Builder getTextLogRetentionSizeBuilder() { onChanged(); return getTextLogRetentionSizeFieldBuilder().getBuilder(); } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ public com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionSizeOrBuilder() { if (textLogRetentionSizeBuilder_ != null) { return textLogRetentionSizeBuilder_.getMessageOrBuilder(); } else { return textLogRetentionSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionSize_; } } /** *
       * The maximum size that text_log can grow to before old data will be removed. If set to 0, automatic removal of
       * text_log data based on size is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_size = 30; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getTextLogRetentionSizeFieldBuilder() { if (textLogRetentionSizeBuilder_ == null) { textLogRetentionSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getTextLogRetentionSize(), getParentForChildren(), isClean()); textLogRetentionSize_ = null; } return textLogRetentionSizeBuilder_; } private com.google.protobuf.Int64Value textLogRetentionTime_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> textLogRetentionTimeBuilder_; /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return Whether the textLogRetentionTime field is set. */ public boolean hasTextLogRetentionTime() { return textLogRetentionTimeBuilder_ != null || textLogRetentionTime_ != null; } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; * @return The textLogRetentionTime. */ public com.google.protobuf.Int64Value getTextLogRetentionTime() { if (textLogRetentionTimeBuilder_ == null) { return textLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionTime_; } else { return textLogRetentionTimeBuilder_.getMessage(); } } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public Builder setTextLogRetentionTime(com.google.protobuf.Int64Value value) { if (textLogRetentionTimeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } textLogRetentionTime_ = value; onChanged(); } else { textLogRetentionTimeBuilder_.setMessage(value); } return this; } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public Builder setTextLogRetentionTime( com.google.protobuf.Int64Value.Builder builderForValue) { if (textLogRetentionTimeBuilder_ == null) { textLogRetentionTime_ = builderForValue.build(); onChanged(); } else { textLogRetentionTimeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public Builder mergeTextLogRetentionTime(com.google.protobuf.Int64Value value) { if (textLogRetentionTimeBuilder_ == null) { if (textLogRetentionTime_ != null) { textLogRetentionTime_ = com.google.protobuf.Int64Value.newBuilder(textLogRetentionTime_).mergeFrom(value).buildPartial(); } else { textLogRetentionTime_ = value; } onChanged(); } else { textLogRetentionTimeBuilder_.mergeFrom(value); } return this; } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public Builder clearTextLogRetentionTime() { if (textLogRetentionTimeBuilder_ == null) { textLogRetentionTime_ = null; onChanged(); } else { textLogRetentionTime_ = null; textLogRetentionTimeBuilder_ = null; } return this; } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public com.google.protobuf.Int64Value.Builder getTextLogRetentionTimeBuilder() { onChanged(); return getTextLogRetentionTimeFieldBuilder().getBuilder(); } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ public com.google.protobuf.Int64ValueOrBuilder getTextLogRetentionTimeOrBuilder() { if (textLogRetentionTimeBuilder_ != null) { return textLogRetentionTimeBuilder_.getMessageOrBuilder(); } else { return textLogRetentionTime_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : textLogRetentionTime_; } } /** *
       * The maximum time that text_log records will be retained before removal. If set to 0, automatic removal of
       * text_log data based on time is disabled.
       * 
* * .google.protobuf.Int64Value text_log_retention_time = 31; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getTextLogRetentionTimeFieldBuilder() { if (textLogRetentionTimeBuilder_ == null) { textLogRetentionTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getTextLogRetentionTime(), getParentForChildren(), isClean()); textLogRetentionTime_ = null; } return textLogRetentionTimeBuilder_; } private int textLogLevel_ = 0; /** *
       * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The enum numeric value on the wire for textLogLevel. */ @java.lang.Override public int getTextLogLevelValue() { return textLogLevel_; } /** *
       * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @param value The enum numeric value on the wire for textLogLevel to set. * @return This builder for chaining. */ public Builder setTextLogLevelValue(int value) { textLogLevel_ = value; onChanged(); return this; } /** *
       * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return The textLogLevel. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel getTextLogLevel() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel result = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.valueOf(textLogLevel_); return result == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel.UNRECOGNIZED : result; } /** *
       * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @param value The textLogLevel to set. * @return This builder for chaining. */ public Builder setTextLogLevel(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.LogLevel value) { if (value == null) { throw new NullPointerException(); } textLogLevel_ = value.getNumber(); onChanged(); return this; } /** *
       * Logging level for text_log system table. Possible values: TRACE, DEBUG, INFORMATION, WARNING, ERROR.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig.LogLevel text_log_level = 32; * @return This builder for chaining. */ public Builder clearTextLogLevel() { textLogLevel_ = 0; onChanged(); return this; } private com.google.protobuf.BoolValue opentelemetrySpanLogEnabled_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> opentelemetrySpanLogEnabledBuilder_; /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return Whether the opentelemetrySpanLogEnabled field is set. */ public boolean hasOpentelemetrySpanLogEnabled() { return opentelemetrySpanLogEnabledBuilder_ != null || opentelemetrySpanLogEnabled_ != null; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; * @return The opentelemetrySpanLogEnabled. */ public com.google.protobuf.BoolValue getOpentelemetrySpanLogEnabled() { if (opentelemetrySpanLogEnabledBuilder_ == null) { return opentelemetrySpanLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : opentelemetrySpanLogEnabled_; } else { return opentelemetrySpanLogEnabledBuilder_.getMessage(); } } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public Builder setOpentelemetrySpanLogEnabled(com.google.protobuf.BoolValue value) { if (opentelemetrySpanLogEnabledBuilder_ == null) { if (value == null) { throw new NullPointerException(); } opentelemetrySpanLogEnabled_ = value; onChanged(); } else { opentelemetrySpanLogEnabledBuilder_.setMessage(value); } return this; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public Builder setOpentelemetrySpanLogEnabled( com.google.protobuf.BoolValue.Builder builderForValue) { if (opentelemetrySpanLogEnabledBuilder_ == null) { opentelemetrySpanLogEnabled_ = builderForValue.build(); onChanged(); } else { opentelemetrySpanLogEnabledBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public Builder mergeOpentelemetrySpanLogEnabled(com.google.protobuf.BoolValue value) { if (opentelemetrySpanLogEnabledBuilder_ == null) { if (opentelemetrySpanLogEnabled_ != null) { opentelemetrySpanLogEnabled_ = com.google.protobuf.BoolValue.newBuilder(opentelemetrySpanLogEnabled_).mergeFrom(value).buildPartial(); } else { opentelemetrySpanLogEnabled_ = value; } onChanged(); } else { opentelemetrySpanLogEnabledBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public Builder clearOpentelemetrySpanLogEnabled() { if (opentelemetrySpanLogEnabledBuilder_ == null) { opentelemetrySpanLogEnabled_ = null; onChanged(); } else { opentelemetrySpanLogEnabled_ = null; opentelemetrySpanLogEnabledBuilder_ = null; } return this; } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public com.google.protobuf.BoolValue.Builder getOpentelemetrySpanLogEnabledBuilder() { onChanged(); return getOpentelemetrySpanLogEnabledFieldBuilder().getBuilder(); } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ public com.google.protobuf.BoolValueOrBuilder getOpentelemetrySpanLogEnabledOrBuilder() { if (opentelemetrySpanLogEnabledBuilder_ != null) { return opentelemetrySpanLogEnabledBuilder_.getMessageOrBuilder(); } else { return opentelemetrySpanLogEnabled_ == null ? com.google.protobuf.BoolValue.getDefaultInstance() : opentelemetrySpanLogEnabled_; } } /** * .google.protobuf.BoolValue opentelemetry_span_log_enabled = 42; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder> getOpentelemetrySpanLogEnabledFieldBuilder() { if (opentelemetrySpanLogEnabledBuilder_ == null) { opentelemetrySpanLogEnabledBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.BoolValue, com.google.protobuf.BoolValue.Builder, com.google.protobuf.BoolValueOrBuilder>( getOpentelemetrySpanLogEnabled(), getParentForChildren(), isClean()); opentelemetrySpanLogEnabled_ = null; } return opentelemetrySpanLogEnabledBuilder_; } private com.google.protobuf.Int64Value backgroundPoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundPoolSizeBuilder_; /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundPoolSize field is set. */ public boolean hasBackgroundPoolSize() { return backgroundPoolSizeBuilder_ != null || backgroundPoolSize_ != null; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; * @return The backgroundPoolSize. */ public com.google.protobuf.Int64Value getBackgroundPoolSize() { if (backgroundPoolSizeBuilder_ == null) { return backgroundPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundPoolSize_; } else { return backgroundPoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundPoolSize(com.google.protobuf.Int64Value value) { if (backgroundPoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundPoolSize_ = value; onChanged(); } else { backgroundPoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundPoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundPoolSizeBuilder_ == null) { backgroundPoolSize_ = builderForValue.build(); onChanged(); } else { backgroundPoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundPoolSize(com.google.protobuf.Int64Value value) { if (backgroundPoolSizeBuilder_ == null) { if (backgroundPoolSize_ != null) { backgroundPoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundPoolSize_).mergeFrom(value).buildPartial(); } else { backgroundPoolSize_ = value; } onChanged(); } else { backgroundPoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundPoolSize() { if (backgroundPoolSizeBuilder_ == null) { backgroundPoolSize_ = null; onChanged(); } else { backgroundPoolSize_ = null; backgroundPoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundPoolSizeBuilder() { onChanged(); return getBackgroundPoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundPoolSizeOrBuilder() { if (backgroundPoolSizeBuilder_ != null) { return backgroundPoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundPoolSize_; } } /** * .google.protobuf.Int64Value background_pool_size = 33 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundPoolSizeFieldBuilder() { if (backgroundPoolSizeBuilder_ == null) { backgroundPoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundPoolSize(), getParentForChildren(), isClean()); backgroundPoolSize_ = null; } return backgroundPoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundSchedulePoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundSchedulePoolSizeBuilder_; /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundSchedulePoolSize field is set. */ public boolean hasBackgroundSchedulePoolSize() { return backgroundSchedulePoolSizeBuilder_ != null || backgroundSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; * @return The backgroundSchedulePoolSize. */ public com.google.protobuf.Int64Value getBackgroundSchedulePoolSize() { if (backgroundSchedulePoolSizeBuilder_ == null) { return backgroundSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundSchedulePoolSize_; } else { return backgroundSchedulePoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundSchedulePoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundSchedulePoolSize_ = value; onChanged(); } else { backgroundSchedulePoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundSchedulePoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundSchedulePoolSizeBuilder_ == null) { backgroundSchedulePoolSize_ = builderForValue.build(); onChanged(); } else { backgroundSchedulePoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundSchedulePoolSizeBuilder_ == null) { if (backgroundSchedulePoolSize_ != null) { backgroundSchedulePoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundSchedulePoolSize_).mergeFrom(value).buildPartial(); } else { backgroundSchedulePoolSize_ = value; } onChanged(); } else { backgroundSchedulePoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundSchedulePoolSize() { if (backgroundSchedulePoolSizeBuilder_ == null) { backgroundSchedulePoolSize_ = null; onChanged(); } else { backgroundSchedulePoolSize_ = null; backgroundSchedulePoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundSchedulePoolSizeBuilder() { onChanged(); return getBackgroundSchedulePoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundSchedulePoolSizeOrBuilder() { if (backgroundSchedulePoolSizeBuilder_ != null) { return backgroundSchedulePoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundSchedulePoolSize_; } } /** * .google.protobuf.Int64Value background_schedule_pool_size = 34 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundSchedulePoolSizeFieldBuilder() { if (backgroundSchedulePoolSizeBuilder_ == null) { backgroundSchedulePoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundSchedulePoolSize(), getParentForChildren(), isClean()); backgroundSchedulePoolSize_ = null; } return backgroundSchedulePoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundFetchesPoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundFetchesPoolSizeBuilder_; /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundFetchesPoolSize field is set. */ public boolean hasBackgroundFetchesPoolSize() { return backgroundFetchesPoolSizeBuilder_ != null || backgroundFetchesPoolSize_ != null; } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; * @return The backgroundFetchesPoolSize. */ public com.google.protobuf.Int64Value getBackgroundFetchesPoolSize() { if (backgroundFetchesPoolSizeBuilder_ == null) { return backgroundFetchesPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundFetchesPoolSize_; } else { return backgroundFetchesPoolSizeBuilder_.getMessage(); } } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundFetchesPoolSize(com.google.protobuf.Int64Value value) { if (backgroundFetchesPoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundFetchesPoolSize_ = value; onChanged(); } else { backgroundFetchesPoolSizeBuilder_.setMessage(value); } return this; } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundFetchesPoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundFetchesPoolSizeBuilder_ == null) { backgroundFetchesPoolSize_ = builderForValue.build(); onChanged(); } else { backgroundFetchesPoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundFetchesPoolSize(com.google.protobuf.Int64Value value) { if (backgroundFetchesPoolSizeBuilder_ == null) { if (backgroundFetchesPoolSize_ != null) { backgroundFetchesPoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundFetchesPoolSize_).mergeFrom(value).buildPartial(); } else { backgroundFetchesPoolSize_ = value; } onChanged(); } else { backgroundFetchesPoolSizeBuilder_.mergeFrom(value); } return this; } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundFetchesPoolSize() { if (backgroundFetchesPoolSizeBuilder_ == null) { backgroundFetchesPoolSize_ = null; onChanged(); } else { backgroundFetchesPoolSize_ = null; backgroundFetchesPoolSizeBuilder_ = null; } return this; } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundFetchesPoolSizeBuilder() { onChanged(); return getBackgroundFetchesPoolSizeFieldBuilder().getBuilder(); } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundFetchesPoolSizeOrBuilder() { if (backgroundFetchesPoolSizeBuilder_ != null) { return backgroundFetchesPoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundFetchesPoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundFetchesPoolSize_; } } /** *
       * Sets the number of threads performing background fetches for tables with **ReplicatedMergeTree** engines. Default value: 8.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#background_fetches_pool_size).
       * 
* * .google.protobuf.Int64Value background_fetches_pool_size = 38 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundFetchesPoolSizeFieldBuilder() { if (backgroundFetchesPoolSizeBuilder_ == null) { backgroundFetchesPoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundFetchesPoolSize(), getParentForChildren(), isClean()); backgroundFetchesPoolSize_ = null; } return backgroundFetchesPoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundMovePoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundMovePoolSizeBuilder_; /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMovePoolSize field is set. */ public boolean hasBackgroundMovePoolSize() { return backgroundMovePoolSizeBuilder_ != null || backgroundMovePoolSize_ != null; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMovePoolSize. */ public com.google.protobuf.Int64Value getBackgroundMovePoolSize() { if (backgroundMovePoolSizeBuilder_ == null) { return backgroundMovePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMovePoolSize_; } else { return backgroundMovePoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundMovePoolSize(com.google.protobuf.Int64Value value) { if (backgroundMovePoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundMovePoolSize_ = value; onChanged(); } else { backgroundMovePoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundMovePoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundMovePoolSizeBuilder_ == null) { backgroundMovePoolSize_ = builderForValue.build(); onChanged(); } else { backgroundMovePoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundMovePoolSize(com.google.protobuf.Int64Value value) { if (backgroundMovePoolSizeBuilder_ == null) { if (backgroundMovePoolSize_ != null) { backgroundMovePoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundMovePoolSize_).mergeFrom(value).buildPartial(); } else { backgroundMovePoolSize_ = value; } onChanged(); } else { backgroundMovePoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundMovePoolSize() { if (backgroundMovePoolSizeBuilder_ == null) { backgroundMovePoolSize_ = null; onChanged(); } else { backgroundMovePoolSize_ = null; backgroundMovePoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundMovePoolSizeBuilder() { onChanged(); return getBackgroundMovePoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundMovePoolSizeOrBuilder() { if (backgroundMovePoolSizeBuilder_ != null) { return backgroundMovePoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundMovePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMovePoolSize_; } } /** * .google.protobuf.Int64Value background_move_pool_size = 39 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundMovePoolSizeFieldBuilder() { if (backgroundMovePoolSizeBuilder_ == null) { backgroundMovePoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundMovePoolSize(), getParentForChildren(), isClean()); backgroundMovePoolSize_ = null; } return backgroundMovePoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundDistributedSchedulePoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundDistributedSchedulePoolSizeBuilder_; /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundDistributedSchedulePoolSize field is set. */ public boolean hasBackgroundDistributedSchedulePoolSize() { return backgroundDistributedSchedulePoolSizeBuilder_ != null || backgroundDistributedSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; * @return The backgroundDistributedSchedulePoolSize. */ public com.google.protobuf.Int64Value getBackgroundDistributedSchedulePoolSize() { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { return backgroundDistributedSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundDistributedSchedulePoolSize_; } else { return backgroundDistributedSchedulePoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundDistributedSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundDistributedSchedulePoolSize_ = value; onChanged(); } else { backgroundDistributedSchedulePoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundDistributedSchedulePoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { backgroundDistributedSchedulePoolSize_ = builderForValue.build(); onChanged(); } else { backgroundDistributedSchedulePoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundDistributedSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { if (backgroundDistributedSchedulePoolSize_ != null) { backgroundDistributedSchedulePoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundDistributedSchedulePoolSize_).mergeFrom(value).buildPartial(); } else { backgroundDistributedSchedulePoolSize_ = value; } onChanged(); } else { backgroundDistributedSchedulePoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundDistributedSchedulePoolSize() { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { backgroundDistributedSchedulePoolSize_ = null; onChanged(); } else { backgroundDistributedSchedulePoolSize_ = null; backgroundDistributedSchedulePoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundDistributedSchedulePoolSizeBuilder() { onChanged(); return getBackgroundDistributedSchedulePoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundDistributedSchedulePoolSizeOrBuilder() { if (backgroundDistributedSchedulePoolSizeBuilder_ != null) { return backgroundDistributedSchedulePoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundDistributedSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundDistributedSchedulePoolSize_; } } /** * .google.protobuf.Int64Value background_distributed_schedule_pool_size = 40 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundDistributedSchedulePoolSizeFieldBuilder() { if (backgroundDistributedSchedulePoolSizeBuilder_ == null) { backgroundDistributedSchedulePoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundDistributedSchedulePoolSize(), getParentForChildren(), isClean()); backgroundDistributedSchedulePoolSize_ = null; } return backgroundDistributedSchedulePoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundBufferFlushSchedulePoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundBufferFlushSchedulePoolSizeBuilder_; /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundBufferFlushSchedulePoolSize field is set. */ public boolean hasBackgroundBufferFlushSchedulePoolSize() { return backgroundBufferFlushSchedulePoolSizeBuilder_ != null || backgroundBufferFlushSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; * @return The backgroundBufferFlushSchedulePoolSize. */ public com.google.protobuf.Int64Value getBackgroundBufferFlushSchedulePoolSize() { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { return backgroundBufferFlushSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundBufferFlushSchedulePoolSize_; } else { return backgroundBufferFlushSchedulePoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundBufferFlushSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundBufferFlushSchedulePoolSize_ = value; onChanged(); } else { backgroundBufferFlushSchedulePoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundBufferFlushSchedulePoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { backgroundBufferFlushSchedulePoolSize_ = builderForValue.build(); onChanged(); } else { backgroundBufferFlushSchedulePoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundBufferFlushSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { if (backgroundBufferFlushSchedulePoolSize_ != null) { backgroundBufferFlushSchedulePoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundBufferFlushSchedulePoolSize_).mergeFrom(value).buildPartial(); } else { backgroundBufferFlushSchedulePoolSize_ = value; } onChanged(); } else { backgroundBufferFlushSchedulePoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundBufferFlushSchedulePoolSize() { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { backgroundBufferFlushSchedulePoolSize_ = null; onChanged(); } else { backgroundBufferFlushSchedulePoolSize_ = null; backgroundBufferFlushSchedulePoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundBufferFlushSchedulePoolSizeBuilder() { onChanged(); return getBackgroundBufferFlushSchedulePoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundBufferFlushSchedulePoolSizeOrBuilder() { if (backgroundBufferFlushSchedulePoolSizeBuilder_ != null) { return backgroundBufferFlushSchedulePoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundBufferFlushSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundBufferFlushSchedulePoolSize_; } } /** * .google.protobuf.Int64Value background_buffer_flush_schedule_pool_size = 41 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundBufferFlushSchedulePoolSizeFieldBuilder() { if (backgroundBufferFlushSchedulePoolSizeBuilder_ == null) { backgroundBufferFlushSchedulePoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundBufferFlushSchedulePoolSize(), getParentForChildren(), isClean()); backgroundBufferFlushSchedulePoolSize_ = null; } return backgroundBufferFlushSchedulePoolSizeBuilder_; } private com.google.protobuf.Int64Value backgroundMessageBrokerSchedulePoolSize_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> backgroundMessageBrokerSchedulePoolSizeBuilder_; /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return Whether the backgroundMessageBrokerSchedulePoolSize field is set. */ public boolean hasBackgroundMessageBrokerSchedulePoolSize() { return backgroundMessageBrokerSchedulePoolSizeBuilder_ != null || backgroundMessageBrokerSchedulePoolSize_ != null; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; * @return The backgroundMessageBrokerSchedulePoolSize. */ public com.google.protobuf.Int64Value getBackgroundMessageBrokerSchedulePoolSize() { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { return backgroundMessageBrokerSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMessageBrokerSchedulePoolSize_; } else { return backgroundMessageBrokerSchedulePoolSizeBuilder_.getMessage(); } } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundMessageBrokerSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } backgroundMessageBrokerSchedulePoolSize_ = value; onChanged(); } else { backgroundMessageBrokerSchedulePoolSizeBuilder_.setMessage(value); } return this; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public Builder setBackgroundMessageBrokerSchedulePoolSize( com.google.protobuf.Int64Value.Builder builderForValue) { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { backgroundMessageBrokerSchedulePoolSize_ = builderForValue.build(); onChanged(); } else { backgroundMessageBrokerSchedulePoolSizeBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeBackgroundMessageBrokerSchedulePoolSize(com.google.protobuf.Int64Value value) { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { if (backgroundMessageBrokerSchedulePoolSize_ != null) { backgroundMessageBrokerSchedulePoolSize_ = com.google.protobuf.Int64Value.newBuilder(backgroundMessageBrokerSchedulePoolSize_).mergeFrom(value).buildPartial(); } else { backgroundMessageBrokerSchedulePoolSize_ = value; } onChanged(); } else { backgroundMessageBrokerSchedulePoolSizeBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public Builder clearBackgroundMessageBrokerSchedulePoolSize() { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { backgroundMessageBrokerSchedulePoolSize_ = null; onChanged(); } else { backgroundMessageBrokerSchedulePoolSize_ = null; backgroundMessageBrokerSchedulePoolSizeBuilder_ = null; } return this; } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getBackgroundMessageBrokerSchedulePoolSizeBuilder() { onChanged(); return getBackgroundMessageBrokerSchedulePoolSizeFieldBuilder().getBuilder(); } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getBackgroundMessageBrokerSchedulePoolSizeOrBuilder() { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ != null) { return backgroundMessageBrokerSchedulePoolSizeBuilder_.getMessageOrBuilder(); } else { return backgroundMessageBrokerSchedulePoolSize_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : backgroundMessageBrokerSchedulePoolSize_; } } /** * .google.protobuf.Int64Value background_message_broker_schedule_pool_size = 46 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getBackgroundMessageBrokerSchedulePoolSizeFieldBuilder() { if (backgroundMessageBrokerSchedulePoolSizeBuilder_ == null) { backgroundMessageBrokerSchedulePoolSizeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getBackgroundMessageBrokerSchedulePoolSize(), getParentForChildren(), isClean()); backgroundMessageBrokerSchedulePoolSize_ = null; } return backgroundMessageBrokerSchedulePoolSizeBuilder_; } private com.google.protobuf.StringValue defaultDatabase_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> defaultDatabaseBuilder_; /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; * @return Whether the defaultDatabase field is set. */ public boolean hasDefaultDatabase() { return defaultDatabaseBuilder_ != null || defaultDatabase_ != null; } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; * @return The defaultDatabase. */ public com.google.protobuf.StringValue getDefaultDatabase() { if (defaultDatabaseBuilder_ == null) { return defaultDatabase_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : defaultDatabase_; } else { return defaultDatabaseBuilder_.getMessage(); } } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public Builder setDefaultDatabase(com.google.protobuf.StringValue value) { if (defaultDatabaseBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultDatabase_ = value; onChanged(); } else { defaultDatabaseBuilder_.setMessage(value); } return this; } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public Builder setDefaultDatabase( com.google.protobuf.StringValue.Builder builderForValue) { if (defaultDatabaseBuilder_ == null) { defaultDatabase_ = builderForValue.build(); onChanged(); } else { defaultDatabaseBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public Builder mergeDefaultDatabase(com.google.protobuf.StringValue value) { if (defaultDatabaseBuilder_ == null) { if (defaultDatabase_ != null) { defaultDatabase_ = com.google.protobuf.StringValue.newBuilder(defaultDatabase_).mergeFrom(value).buildPartial(); } else { defaultDatabase_ = value; } onChanged(); } else { defaultDatabaseBuilder_.mergeFrom(value); } return this; } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public Builder clearDefaultDatabase() { if (defaultDatabaseBuilder_ == null) { defaultDatabase_ = null; onChanged(); } else { defaultDatabase_ = null; defaultDatabaseBuilder_ = null; } return this; } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public com.google.protobuf.StringValue.Builder getDefaultDatabaseBuilder() { onChanged(); return getDefaultDatabaseFieldBuilder().getBuilder(); } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ public com.google.protobuf.StringValueOrBuilder getDefaultDatabaseOrBuilder() { if (defaultDatabaseBuilder_ != null) { return defaultDatabaseBuilder_.getMessageOrBuilder(); } else { return defaultDatabase_ == null ? com.google.protobuf.StringValue.getDefaultInstance() : defaultDatabase_; } } /** *
       * The default database.
       * To get a list of cluster databases, see [Yandex Managed ClickHouse documentation](https://cloud.yandex.com/en/docs/managed-clickhouse/operations/databases#list-db).
       * 
* * .google.protobuf.StringValue default_database = 43; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder> getDefaultDatabaseFieldBuilder() { if (defaultDatabaseBuilder_ == null) { defaultDatabaseBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.StringValue, com.google.protobuf.StringValue.Builder, com.google.protobuf.StringValueOrBuilder>( getDefaultDatabase(), getParentForChildren(), isClean()); defaultDatabase_ = null; } return defaultDatabaseBuilder_; } private com.google.protobuf.Int64Value totalMemoryProfilerStep_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> totalMemoryProfilerStepBuilder_; /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return Whether the totalMemoryProfilerStep field is set. */ public boolean hasTotalMemoryProfilerStep() { return totalMemoryProfilerStepBuilder_ != null || totalMemoryProfilerStep_ != null; } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; * @return The totalMemoryProfilerStep. */ public com.google.protobuf.Int64Value getTotalMemoryProfilerStep() { if (totalMemoryProfilerStepBuilder_ == null) { return totalMemoryProfilerStep_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : totalMemoryProfilerStep_; } else { return totalMemoryProfilerStepBuilder_.getMessage(); } } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public Builder setTotalMemoryProfilerStep(com.google.protobuf.Int64Value value) { if (totalMemoryProfilerStepBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalMemoryProfilerStep_ = value; onChanged(); } else { totalMemoryProfilerStepBuilder_.setMessage(value); } return this; } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public Builder setTotalMemoryProfilerStep( com.google.protobuf.Int64Value.Builder builderForValue) { if (totalMemoryProfilerStepBuilder_ == null) { totalMemoryProfilerStep_ = builderForValue.build(); onChanged(); } else { totalMemoryProfilerStepBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public Builder mergeTotalMemoryProfilerStep(com.google.protobuf.Int64Value value) { if (totalMemoryProfilerStepBuilder_ == null) { if (totalMemoryProfilerStep_ != null) { totalMemoryProfilerStep_ = com.google.protobuf.Int64Value.newBuilder(totalMemoryProfilerStep_).mergeFrom(value).buildPartial(); } else { totalMemoryProfilerStep_ = value; } onChanged(); } else { totalMemoryProfilerStepBuilder_.mergeFrom(value); } return this; } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public Builder clearTotalMemoryProfilerStep() { if (totalMemoryProfilerStepBuilder_ == null) { totalMemoryProfilerStep_ = null; onChanged(); } else { totalMemoryProfilerStep_ = null; totalMemoryProfilerStepBuilder_ = null; } return this; } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public com.google.protobuf.Int64Value.Builder getTotalMemoryProfilerStepBuilder() { onChanged(); return getTotalMemoryProfilerStepFieldBuilder().getBuilder(); } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ public com.google.protobuf.Int64ValueOrBuilder getTotalMemoryProfilerStepOrBuilder() { if (totalMemoryProfilerStepBuilder_ != null) { return totalMemoryProfilerStepBuilder_.getMessageOrBuilder(); } else { return totalMemoryProfilerStep_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : totalMemoryProfilerStep_; } } /** *
       * Sets the memory size (in bytes) for a stack trace at every peak allocation step. Default value: **4194304**.
       * More info see in [ClickHouse documentation](https://clickhouse.com/docs/en/operations/server-configuration-parameters/settings/#total-memory-profiler-step).
       * 
* * .google.protobuf.Int64Value total_memory_profiler_step = 44; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getTotalMemoryProfilerStepFieldBuilder() { if (totalMemoryProfilerStepBuilder_ == null) { totalMemoryProfilerStepBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getTotalMemoryProfilerStep(), getParentForChildren(), isClean()); totalMemoryProfilerStep_ = null; } return totalMemoryProfilerStepBuilder_; } private com.google.protobuf.DoubleValue totalMemoryTrackerSampleProbability_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> totalMemoryTrackerSampleProbabilityBuilder_; /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return Whether the totalMemoryTrackerSampleProbability field is set. */ public boolean hasTotalMemoryTrackerSampleProbability() { return totalMemoryTrackerSampleProbabilityBuilder_ != null || totalMemoryTrackerSampleProbability_ != null; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; * @return The totalMemoryTrackerSampleProbability. */ public com.google.protobuf.DoubleValue getTotalMemoryTrackerSampleProbability() { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { return totalMemoryTrackerSampleProbability_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : totalMemoryTrackerSampleProbability_; } else { return totalMemoryTrackerSampleProbabilityBuilder_.getMessage(); } } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public Builder setTotalMemoryTrackerSampleProbability(com.google.protobuf.DoubleValue value) { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { if (value == null) { throw new NullPointerException(); } totalMemoryTrackerSampleProbability_ = value; onChanged(); } else { totalMemoryTrackerSampleProbabilityBuilder_.setMessage(value); } return this; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public Builder setTotalMemoryTrackerSampleProbability( com.google.protobuf.DoubleValue.Builder builderForValue) { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { totalMemoryTrackerSampleProbability_ = builderForValue.build(); onChanged(); } else { totalMemoryTrackerSampleProbabilityBuilder_.setMessage(builderForValue.build()); } return this; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public Builder mergeTotalMemoryTrackerSampleProbability(com.google.protobuf.DoubleValue value) { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { if (totalMemoryTrackerSampleProbability_ != null) { totalMemoryTrackerSampleProbability_ = com.google.protobuf.DoubleValue.newBuilder(totalMemoryTrackerSampleProbability_).mergeFrom(value).buildPartial(); } else { totalMemoryTrackerSampleProbability_ = value; } onChanged(); } else { totalMemoryTrackerSampleProbabilityBuilder_.mergeFrom(value); } return this; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public Builder clearTotalMemoryTrackerSampleProbability() { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { totalMemoryTrackerSampleProbability_ = null; onChanged(); } else { totalMemoryTrackerSampleProbability_ = null; totalMemoryTrackerSampleProbabilityBuilder_ = null; } return this; } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public com.google.protobuf.DoubleValue.Builder getTotalMemoryTrackerSampleProbabilityBuilder() { onChanged(); return getTotalMemoryTrackerSampleProbabilityFieldBuilder().getBuilder(); } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ public com.google.protobuf.DoubleValueOrBuilder getTotalMemoryTrackerSampleProbabilityOrBuilder() { if (totalMemoryTrackerSampleProbabilityBuilder_ != null) { return totalMemoryTrackerSampleProbabilityBuilder_.getMessageOrBuilder(); } else { return totalMemoryTrackerSampleProbability_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : totalMemoryTrackerSampleProbability_; } } /** * .google.protobuf.DoubleValue total_memory_tracker_sample_probability = 45; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getTotalMemoryTrackerSampleProbabilityFieldBuilder() { if (totalMemoryTrackerSampleProbabilityBuilder_ == null) { totalMemoryTrackerSampleProbabilityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getTotalMemoryTrackerSampleProbability(), getParentForChildren(), isClean()); totalMemoryTrackerSampleProbability_ = null; } return totalMemoryTrackerSampleProbabilityBuilder_; } @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.config.ClickhouseConfig) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClickhouseConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClickhouseConfig(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.config.Clickhouse.ClickhouseConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ClickhouseConfigSetOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet) com.google.protobuf.MessageOrBuilder { /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return Whether the effectiveConfig field is set. */ boolean hasEffectiveConfig(); /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return The effectiveConfig. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getEffectiveConfig(); /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getEffectiveConfigOrBuilder(); /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return Whether the userConfig field is set. */ boolean hasUserConfig(); /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return The userConfig. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getUserConfig(); /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getUserConfigOrBuilder(); /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return Whether the defaultConfig field is set. */ boolean hasDefaultConfig(); /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return The defaultConfig. */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getDefaultConfig(); /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getDefaultConfigOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet} */ public static final class ClickhouseConfigSet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet) ClickhouseConfigSetOrBuilder { private static final long serialVersionUID = 0L; // Use ClickhouseConfigSet.newBuilder() to construct. private ClickhouseConfigSet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ClickhouseConfigSet() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ClickhouseConfigSet(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ClickhouseConfigSet( 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: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder subBuilder = null; if (effectiveConfig_ != null) { subBuilder = effectiveConfig_.toBuilder(); } effectiveConfig_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(effectiveConfig_); effectiveConfig_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder subBuilder = null; if (userConfig_ != null) { subBuilder = userConfig_.toBuilder(); } userConfig_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userConfig_); userConfig_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder subBuilder = null; if (defaultConfig_ != null) { subBuilder = defaultConfig_.toBuilder(); } defaultConfig_ = input.readMessage(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(defaultConfig_); defaultConfig_ = 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.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.Builder.class); } public static final int EFFECTIVE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig effectiveConfig_; /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return Whether the effectiveConfig field is set. */ @java.lang.Override public boolean hasEffectiveConfig() { return effectiveConfig_ != null; } /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return The effectiveConfig. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getEffectiveConfig() { return effectiveConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : effectiveConfig_; } /** *
     * Effective settings for a ClickHouse cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getEffectiveConfigOrBuilder() { return getEffectiveConfig(); } public static final int USER_CONFIG_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig userConfig_; /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return Whether the userConfig field is set. */ @java.lang.Override public boolean hasUserConfig() { return userConfig_ != null; } /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return The userConfig. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getUserConfig() { return userConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : userConfig_; } /** *
     * User-defined settings for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getUserConfigOrBuilder() { return getUserConfig(); } public static final int DEFAULT_CONFIG_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig defaultConfig_; /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return Whether the defaultConfig field is set. */ @java.lang.Override public boolean hasDefaultConfig() { return defaultConfig_ != null; } /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return The defaultConfig. */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getDefaultConfig() { return defaultConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : defaultConfig_; } /** *
     * Default configuration for a ClickHouse cluster.
     * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getDefaultConfigOrBuilder() { return getDefaultConfig(); } 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 (effectiveConfig_ != null) { output.writeMessage(1, getEffectiveConfig()); } if (userConfig_ != null) { output.writeMessage(2, getUserConfig()); } if (defaultConfig_ != null) { output.writeMessage(3, getDefaultConfig()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (effectiveConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEffectiveConfig()); } if (userConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getUserConfig()); } if (defaultConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getDefaultConfig()); } 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.config.Clickhouse.ClickhouseConfigSet)) { return super.equals(obj); } yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet other = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet) obj; if (hasEffectiveConfig() != other.hasEffectiveConfig()) return false; if (hasEffectiveConfig()) { if (!getEffectiveConfig() .equals(other.getEffectiveConfig())) return false; } if (hasUserConfig() != other.hasUserConfig()) return false; if (hasUserConfig()) { if (!getUserConfig() .equals(other.getUserConfig())) return false; } if (hasDefaultConfig() != other.hasDefaultConfig()) return false; if (hasDefaultConfig()) { if (!getDefaultConfig() .equals(other.getDefaultConfig())) 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 (hasEffectiveConfig()) { hash = (37 * hash) + EFFECTIVE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEffectiveConfig().hashCode(); } if (hasUserConfig()) { hash = (37 * hash) + USER_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getUserConfig().hashCode(); } if (hasDefaultConfig()) { hash = (37 * hash) + DEFAULT_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getDefaultConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.Clickhouse.ClickhouseConfigSet 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.config.ClickhouseConfigSet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet) yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.class, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.Builder.class); } // Construct using yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.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 (effectiveConfigBuilder_ == null) { effectiveConfig_ = null; } else { effectiveConfig_ = null; effectiveConfigBuilder_ = null; } if (userConfigBuilder_ == null) { userConfig_ = null; } else { userConfig_ = null; userConfigBuilder_ = null; } if (defaultConfigBuilder_ == null) { defaultConfig_ = null; } else { defaultConfig_ = null; defaultConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet getDefaultInstanceForType() { return yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet build() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet buildPartial() { yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet result = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet(this); if (effectiveConfigBuilder_ == null) { result.effectiveConfig_ = effectiveConfig_; } else { result.effectiveConfig_ = effectiveConfigBuilder_.build(); } if (userConfigBuilder_ == null) { result.userConfig_ = userConfig_; } else { result.userConfig_ = userConfigBuilder_.build(); } if (defaultConfigBuilder_ == null) { result.defaultConfig_ = defaultConfig_; } else { result.defaultConfig_ = defaultConfigBuilder_.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.config.Clickhouse.ClickhouseConfigSet) { return mergeFrom((yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet other) { if (other == yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet.getDefaultInstance()) return this; if (other.hasEffectiveConfig()) { mergeEffectiveConfig(other.getEffectiveConfig()); } if (other.hasUserConfig()) { mergeUserConfig(other.getUserConfig()); } if (other.hasDefaultConfig()) { mergeDefaultConfig(other.getDefaultConfig()); } 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.config.Clickhouse.ClickhouseConfigSet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig effectiveConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> effectiveConfigBuilder_; /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return Whether the effectiveConfig field is set. */ public boolean hasEffectiveConfig() { return effectiveConfigBuilder_ != null || effectiveConfig_ != null; } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; * @return The effectiveConfig. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getEffectiveConfig() { if (effectiveConfigBuilder_ == null) { return effectiveConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : effectiveConfig_; } else { return effectiveConfigBuilder_.getMessage(); } } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public Builder setEffectiveConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (effectiveConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } effectiveConfig_ = value; onChanged(); } else { effectiveConfigBuilder_.setMessage(value); } return this; } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public Builder setEffectiveConfig( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder builderForValue) { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = builderForValue.build(); onChanged(); } else { effectiveConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public Builder mergeEffectiveConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (effectiveConfigBuilder_ == null) { if (effectiveConfig_ != null) { effectiveConfig_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.newBuilder(effectiveConfig_).mergeFrom(value).buildPartial(); } else { effectiveConfig_ = value; } onChanged(); } else { effectiveConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public Builder clearEffectiveConfig() { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = null; onChanged(); } else { effectiveConfig_ = null; effectiveConfigBuilder_ = null; } return this; } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder getEffectiveConfigBuilder() { onChanged(); return getEffectiveConfigFieldBuilder().getBuilder(); } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getEffectiveConfigOrBuilder() { if (effectiveConfigBuilder_ != null) { return effectiveConfigBuilder_.getMessageOrBuilder(); } else { return effectiveConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : effectiveConfig_; } } /** *
       * Effective settings for a ClickHouse cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig effective_config = 1 [(.yandex.cloud.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> getEffectiveConfigFieldBuilder() { if (effectiveConfigBuilder_ == null) { effectiveConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder>( getEffectiveConfig(), getParentForChildren(), isClean()); effectiveConfig_ = null; } return effectiveConfigBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig userConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> userConfigBuilder_; /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return Whether the userConfig field is set. */ public boolean hasUserConfig() { return userConfigBuilder_ != null || userConfig_ != null; } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; * @return The userConfig. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getUserConfig() { if (userConfigBuilder_ == null) { return userConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : userConfig_; } else { return userConfigBuilder_.getMessage(); } } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public Builder setUserConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (userConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userConfig_ = value; onChanged(); } else { userConfigBuilder_.setMessage(value); } return this; } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public Builder setUserConfig( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder builderForValue) { if (userConfigBuilder_ == null) { userConfig_ = builderForValue.build(); onChanged(); } else { userConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public Builder mergeUserConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (userConfigBuilder_ == null) { if (userConfig_ != null) { userConfig_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.newBuilder(userConfig_).mergeFrom(value).buildPartial(); } else { userConfig_ = value; } onChanged(); } else { userConfigBuilder_.mergeFrom(value); } return this; } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public Builder clearUserConfig() { if (userConfigBuilder_ == null) { userConfig_ = null; onChanged(); } else { userConfig_ = null; userConfigBuilder_ = null; } return this; } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder getUserConfigBuilder() { onChanged(); return getUserConfigFieldBuilder().getBuilder(); } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getUserConfigOrBuilder() { if (userConfigBuilder_ != null) { return userConfigBuilder_.getMessageOrBuilder(); } else { return userConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : userConfig_; } } /** *
       * User-defined settings for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig user_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> getUserConfigFieldBuilder() { if (userConfigBuilder_ == null) { userConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder>( getUserConfig(), getParentForChildren(), isClean()); userConfig_ = null; } return userConfigBuilder_; } private yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig defaultConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> defaultConfigBuilder_; /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return Whether the defaultConfig field is set. */ public boolean hasDefaultConfig() { return defaultConfigBuilder_ != null || defaultConfig_ != null; } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; * @return The defaultConfig. */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig getDefaultConfig() { if (defaultConfigBuilder_ == null) { return defaultConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : defaultConfig_; } else { return defaultConfigBuilder_.getMessage(); } } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public Builder setDefaultConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (defaultConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfig_ = value; onChanged(); } else { defaultConfigBuilder_.setMessage(value); } return this; } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public Builder setDefaultConfig( yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder builderForValue) { if (defaultConfigBuilder_ == null) { defaultConfig_ = builderForValue.build(); onChanged(); } else { defaultConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public Builder mergeDefaultConfig(yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig value) { if (defaultConfigBuilder_ == null) { if (defaultConfig_ != null) { defaultConfig_ = yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.newBuilder(defaultConfig_).mergeFrom(value).buildPartial(); } else { defaultConfig_ = value; } onChanged(); } else { defaultConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public Builder clearDefaultConfig() { if (defaultConfigBuilder_ == null) { defaultConfig_ = null; onChanged(); } else { defaultConfig_ = null; defaultConfigBuilder_ = null; } return this; } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder getDefaultConfigBuilder() { onChanged(); return getDefaultConfigFieldBuilder().getBuilder(); } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ public yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder getDefaultConfigOrBuilder() { if (defaultConfigBuilder_ != null) { return defaultConfigBuilder_.getMessageOrBuilder(); } else { return defaultConfig_ == null ? yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.getDefaultInstance() : defaultConfig_; } } /** *
       * Default configuration for a ClickHouse cluster.
       * 
* * .yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfig default_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder> getDefaultConfigFieldBuilder() { if (defaultConfigBuilder_ == null) { defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfig.Builder, yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigOrBuilder>( getDefaultConfig(), getParentForChildren(), isClean()); defaultConfig_ = null; } return defaultConfigBuilder_; } @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.config.ClickhouseConfigSet) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet) private static final yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet(); } public static yandex.cloud.api.mdb.clickhouse.v1.config.Clickhouse.ClickhouseConfigSet getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public ClickhouseConfigSet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new ClickhouseConfigSet(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.config.Clickhouse.ClickhouseConfigSet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n6yandex/cloud/mdb/clickhouse/v1/config/" + "clickhouse.proto\022%yandex.cloud.mdb.click" + "house.v1.config\032\036google/protobuf/wrapper" + "s.proto\032\035yandex/cloud/validation.proto\"\207" + "J\n\020ClickhouseConfig\022S\n\tlog_level\030\001 \001(\0162@" + ".yandex.cloud.mdb.clickhouse.v1.config.C" + "lickhouseConfig.LogLevel\022U\n\nmerge_tree\030\002" + " \001(\0132A.yandex.cloud.mdb.clickhouse.v1.co" + "nfig.ClickhouseConfig.MergeTree\022X\n\013compr" + "ession\030\003 \003(\0132C.yandex.cloud.mdb.clickhou" + "se.v1.config.ClickhouseConfig.Compressio" + "n\022`\n\014dictionaries\030\004 \003(\0132J.yandex.cloud.m" + "db.clickhouse.v1.config.ClickhouseConfig" + ".ExternalDictionary\022_\n\017graphite_rollup\030\005" + " \003(\0132F.yandex.cloud.mdb.clickhouse.v1.co" + "nfig.ClickhouseConfig.GraphiteRollup\022L\n\005" + "kafka\030# \001(\0132=.yandex.cloud.mdb.clickhous" + "e.v1.config.ClickhouseConfig.Kafka\022X\n\014ka" + "fka_topics\030$ \003(\0132B.yandex.cloud.mdb.clic" + "khouse.v1.config.ClickhouseConfig.KafkaT" + "opic\022R\n\010rabbitmq\030% \001(\[email protected]" + "b.clickhouse.v1.config.ClickhouseConfig." + "Rabbitmq\022>\n\017max_connections\030\006 \001(\0132\033.goog" + "le.protobuf.Int64ValueB\010\372\3071\004>=10\022E\n\026max_" + "concurrent_queries\030\007 \001(\0132\033.google.protob" + "uf.Int64ValueB\010\372\3071\004>=10\0227\n\022keep_alive_ti" + "meout\030\010 \001(\0132\033.google.protobuf.Int64Value" + "\022<\n\027uncompressed_cache_size\030\t \001(\0132\033.goog" + "le.protobuf.Int64Value\022<\n\017mark_cache_siz" + "e\030\n \001(\0132\033.google.protobuf.Int64ValueB\006\372\307" + "1\002>0\022;\n\026max_table_size_to_drop\030\013 \001(\0132\033.g" + "oogle.protobuf.Int64Value\022?\n\032max_partiti" + "on_size_to_drop\030\r \001(\0132\033.google.protobuf." + "Int64Value\022M\n$builtin_dictionaries_reloa" + "d_interval\030\014 \001(\0132\033.google.protobuf.Int64" + "ValueB\002\030\001\022\020\n\010timezone\030\016 \001(\t\022\023\n\013geobase_u" + "ri\030\017 \001(\t\022=\n\030query_log_retention_size\030\020 \001" + "(\0132\033.google.protobuf.Int64Value\022=\n\030query" + "_log_retention_time\030\021 \001(\0132\033.google.proto" + "buf.Int64Value\022<\n\030query_thread_log_enabl" + "ed\030\022 \001(\0132\032.google.protobuf.BoolValue\022D\n\037" + "query_thread_log_retention_size\030\023 \001(\0132\033." + "google.protobuf.Int64Value\022D\n\037query_thre" + "ad_log_retention_time\030\024 \001(\0132\033.google.pro" + "tobuf.Int64Value\022<\n\027part_log_retention_s" + "ize\030\025 \001(\0132\033.google.protobuf.Int64Value\022<" + "\n\027part_log_retention_time\030\026 \001(\0132\033.google" + ".protobuf.Int64Value\0226\n\022metric_log_enabl" + "ed\030\027 \001(\0132\032.google.protobuf.BoolValue\022>\n\031" + "metric_log_retention_size\030\030 \001(\0132\033.google" + ".protobuf.Int64Value\022>\n\031metric_log_reten" + "tion_time\030\031 \001(\0132\033.google.protobuf.Int64V" + "alue\0225\n\021trace_log_enabled\030\032 \001(\0132\032.google" + ".protobuf.BoolValue\022=\n\030trace_log_retenti" + "on_size\030\033 \001(\0132\033.google.protobuf.Int64Val" + "ue\022=\n\030trace_log_retention_time\030\034 \001(\0132\033.g" + "oogle.protobuf.Int64Value\0224\n\020text_log_en" + "abled\030\035 \001(\0132\032.google.protobuf.BoolValue\022" + "<\n\027text_log_retention_size\030\036 \001(\0132\033.googl" + "e.protobuf.Int64Value\022<\n\027text_log_retent" + "ion_time\030\037 \001(\0132\033.google.protobuf.Int64Va" + "lue\022X\n\016text_log_level\030 \001(\[email protected]" + "ud.mdb.clickhouse.v1.config.ClickhouseCo" + "nfig.LogLevel\022B\n\036opentelemetry_span_log_" + "enabled\030* \001(\0132\032.google.protobuf.BoolValu" + "e\022A\n\024background_pool_size\030! \001(\0132\033.google" + ".protobuf.Int64ValueB\006\372\3071\002>0\022J\n\035backgrou" + "nd_schedule_pool_size\030\" \001(\0132\033.google.pro" + "tobuf.Int64ValueB\006\372\3071\002>0\022I\n\034background_f" + "etches_pool_size\030& \001(\0132\033.google.protobuf" + ".Int64ValueB\006\372\3071\002>0\022F\n\031background_move_p" + "ool_size\030\' \001(\0132\033.google.protobuf.Int64Va" + "lueB\006\372\3071\002>0\022V\n)background_distributed_sc" + "hedule_pool_size\030( \001(\0132\033.google.protobuf" + ".Int64ValueB\006\372\3071\002>0\022W\n*background_buffer" + "_flush_schedule_pool_size\030) \001(\0132\033.google" + ".protobuf.Int64ValueB\006\372\3071\002>0\022Y\n,backgrou" + "nd_message_broker_schedule_pool_size\030. \001" + "(\0132\033.google.protobuf.Int64ValueB\006\372\3071\002>0\022" + "6\n\020default_database\030+ \001(\0132\034.google.proto" + "buf.StringValue\022?\n\032total_memory_profiler" + "_step\030, \001(\0132\033.google.protobuf.Int64Value" + "\022M\n\'total_memory_tracker_sample_probabil" + "ity\030- \001(\0132\034.google.protobuf.DoubleValue\032" + "\202\013\n\tMergeTree\022D\n\037replicated_deduplicatio" + "n_window\030\001 \001(\0132\033.google.protobuf.Int64Va" + "lue\022L\n\'replicated_deduplication_window_s" + "econds\030\002 \001(\0132\033.google.protobuf.Int64Valu" + "e\022:\n\025parts_to_delay_insert\030\003 \001(\0132\033.googl" + "e.protobuf.Int64Value\022:\n\025parts_to_throw_" + "insert\030\004 \001(\0132\033.google.protobuf.Int64Valu" + "e\022C\n\036inactive_parts_to_delay_insert\030\t \001(" + "\0132\033.google.protobuf.Int64Value\022C\n\036inacti" + "ve_parts_to_throw_insert\030\n \001(\0132\033.google." + "protobuf.Int64Value\022C\n\036max_replicated_me" + "rges_in_queue\030\005 \001(\0132\033.google.protobuf.In" + "t64Value\022^\n9number_of_free_entries_in_po" + "ol_to_lower_max_size_of_merge\030\006 \001(\0132\033.go" + "ogle.protobuf.Int64Value\022L\n\'max_bytes_to" + "_merge_at_min_space_in_pool\030\007 \001(\0132\033.goog" + "le.protobuf.Int64Value\022L\n\'max_bytes_to_m" + "erge_at_max_space_in_pool\030\010 \001(\0132\033.google" + ".protobuf.Int64Value\022<\n\027min_bytes_for_wi" + "de_part\030\013 \001(\0132\033.google.protobuf.Int64Val" + "ue\022;\n\026min_rows_for_wide_part\030\014 \001(\0132\033.goo" + "gle.protobuf.Int64Value\0227\n\023ttl_only_drop" + "_parts\030\r \001(\0132\032.google.protobuf.BoolValue" + "\022I\n%allow_remote_fs_zero_copy_replicatio" + "n\030\016 \001(\0132\032.google.protobuf.BoolValue\022;\n\026m" + "erge_with_ttl_timeout\030\017 \001(\0132\033.google.pro" + "tobuf.Int64Value\022I\n$merge_with_recompres" + "sion_ttl_timeout\030\020 \001(\0132\033.google.protobuf" + ".Int64Value\0227\n\022max_parts_in_total\030\021 \001(\0132" + "\033.google.protobuf.Int64Value\022J\n%max_numb" + "er_of_merges_with_ttl_in_pool\030\022 \001(\0132\033.go" + "ogle.protobuf.Int64Value\0229\n\024cleanup_dela" + "y_period\030\023 \001(\0132\033.google.protobuf.Int64Va" + "lue\022W\n2number_of_free_entries_in_pool_to" + "_execute_mutation\030\024 \001(\0132\033.google.protobu" + "f.Int64Value\032\352\004\n\005Kafka\022i\n\021security_proto" + "col\030\001 \001(\0162N.yandex.cloud.mdb.clickhouse." + "v1.config.ClickhouseConfig.Kafka.Securit" + "yProtocol\022c\n\016sasl_mechanism\030\002 \001(\0162K.yand" + "ex.cloud.mdb.clickhouse.v1.config.Clickh" + "ouseConfig.Kafka.SaslMechanism\022\025\n\rsasl_u" + "sername\030\003 \001(\t\022\025\n\rsasl_password\030\004 \001(\t\"\267\001\n" + "\020SecurityProtocol\022!\n\035SECURITY_PROTOCOL_U" + "NSPECIFIED\020\000\022\037\n\033SECURITY_PROTOCOL_PLAINT" + "EXT\020\001\022\031\n\025SECURITY_PROTOCOL_SSL\020\002\022$\n SECU" + "RITY_PROTOCOL_SASL_PLAINTEXT\020\003\022\036\n\032SECURI" + "TY_PROTOCOL_SASL_SSL\020\004\"\250\001\n\rSaslMechanism" + "\022\036\n\032SASL_MECHANISM_UNSPECIFIED\020\000\022\031\n\025SASL" + "_MECHANISM_GSSAPI\020\001\022\030\n\024SASL_MECHANISM_PL" + "AIN\020\002\022 \n\034SASL_MECHANISM_SCRAM_SHA_256\020\003\022" + " \n\034SASL_MECHANISM_SCRAM_SHA_512\020\004\032w\n\nKaf" + "kaTopic\022\022\n\004name\030\001 \001(\tB\004\350\3071\001\022U\n\010settings\030" + "\002 \001(\0132=.yandex.cloud.mdb.clickhouse.v1.c" + "onfig.ClickhouseConfig.KafkaB\004\350\3071\001\032=\n\010Ra" + "bbitmq\022\020\n\010username\030\001 \001(\t\022\020\n\010password\030\002 \001" + "(\t\022\r\n\005vhost\030\003 \001(\t\032\333\001\n\013Compression\022Z\n\006met" + "hod\030\001 \001(\0162J.yandex.cloud.mdb.clickhouse." + "v1.config.ClickhouseConfig.Compression.M" + "ethod\022\036\n\rmin_part_size\030\002 \001(\003B\007\372\3071\003>=1\022\033\n" + "\023min_part_size_ratio\030\003 \001(\001\"3\n\006Method\022\026\n\022" + "METHOD_UNSPECIFIED\020\000\022\007\n\003LZ4\020\001\022\010\n\004ZSTD\020\002\032" + "\240\032\n\022ExternalDictionary\022\022\n\004name\030\001 \001(\tB\004\350\307" + "1\001\022m\n\tstructure\030\002 \001(\0132T.yandex.cloud.mdb" + ".clickhouse.v1.config.ClickhouseConfig.E" + "xternalDictionary.StructureB\004\350\3071\001\022g\n\006lay" + "out\030\003 \001(\0132Q.yandex.cloud.mdb.clickhouse." + "v1.config.ClickhouseConfig.ExternalDicti" + "onary.LayoutB\004\350\3071\001\022\030\n\016fixed_lifetime\030\004 \001" + "(\003H\000\022j\n\016lifetime_range\030\005 \001(\0132P.yandex.cl" + "oud.mdb.clickhouse.v1.config.ClickhouseC" + "onfig.ExternalDictionary.RangeH\000\022l\n\013http" + "_source\030\006 \001(\0132U.yandex.cloud.mdb.clickho" + "use.v1.config.ClickhouseConfig.ExternalD" + "ictionary.HttpSourceH\001\022n\n\014mysql_source\030\007" + " \001(\0132V.yandex.cloud.mdb.clickhouse.v1.co" + "nfig.ClickhouseConfig.ExternalDictionary" + ".MysqlSourceH\001\022x\n\021clickhouse_source\030\010 \001(" + "\0132[.yandex.cloud.mdb.clickhouse.v1.confi" + "g.ClickhouseConfig.ExternalDictionary.Cl" + "ickhouseSourceH\001\022r\n\016mongodb_source\030\t \001(\013" + "2X.yandex.cloud.mdb.clickhouse.v1.config" + ".ClickhouseConfig.ExternalDictionary.Mon" + "godbSourceH\001\022x\n\021postgresql_source\030\n \001(\0132" + "[.yandex.cloud.mdb.clickhouse.v1.config." + "ClickhouseConfig.ExternalDictionary.Post" + "gresqlSourceH\001\0325\n\nHttpSource\022\021\n\003url\030\001 \001(" + "\tB\004\350\3071\001\022\024\n\006format\030\002 \001(\tB\004\350\3071\001\032\223\003\n\013MysqlS" + "ource\022\020\n\002db\030\001 \001(\tB\004\350\3071\001\022\023\n\005table\030\002 \001(\tB\004" + "\350\3071\001\022\031\n\004port\030\003 \001(\003B\013\372\3071\0070-65535\022\014\n\004user\030" + "\004 \001(\t\022\020\n\010password\030\005 \001(\t\022x\n\010replicas\030\006 \003(" + "\0132^.yandex.cloud.mdb.clickhouse.v1.confi" + "g.ClickhouseConfig.ExternalDictionary.My" + "sqlSource.ReplicaB\006\202\3101\002>0\022\r\n\005where\030\007 \001(\t" + "\022\030\n\020invalidate_query\030\010 \001(\t\032\177\n\007Replica\022\033\n" + "\004host\030\001 \001(\tB\r\350\3071\001\212\3101\005<=253\022\034\n\010priority\030\002" + " \001(\003B\n\350\3071\001\372\3071\002>0\022\031\n\004port\030\003 \001(\003B\013\372\3071\0070-65" + "535\022\014\n\004user\030\004 \001(\t\022\020\n\010password\030\005 \001(\t\032\246\001\n\020" + "ClickhouseSource\022\020\n\002db\030\001 \001(\tB\004\350\3071\001\022\023\n\005ta" + "ble\030\002 \001(\tB\004\350\3071\001\022\033\n\004host\030\003 \001(\tB\r\350\3071\001\212\3101\005<" + "=253\022\031\n\004port\030\004 \001(\003B\013\372\3071\0070-65535\022\022\n\004user\030" + "\005 \001(\tB\004\350\3071\001\022\020\n\010password\030\006 \001(\t\022\r\n\005where\030\007" + " \001(\t\032\231\001\n\rMongodbSource\022\020\n\002db\030\001 \001(\tB\004\350\3071\001" + "\022\030\n\ncollection\030\002 \001(\tB\004\350\3071\001\022\033\n\004host\030\003 \001(\t" + "B\r\350\3071\001\212\3101\005<=253\022\031\n\004port\030\004 \001(\003B\013\372\3071\0070-655" + "35\022\022\n\004user\030\005 \001(\tB\004\350\3071\001\022\020\n\010password\030\006 \001(\t" + "\032\213\003\n\020PostgresqlSource\022\020\n\002db\030\001 \001(\tB\004\350\3071\001\022" + "\023\n\005table\030\002 \001(\tB\004\350\3071\001\022\025\n\005hosts\030\003 \003(\tB\006\202\3101" + "\002>0\022\031\n\004port\030\004 \001(\003B\013\372\3071\0070-65535\022\022\n\004user\030\005" + " \001(\tB\004\350\3071\001\022\020\n\010password\030\006 \001(\t\022\030\n\020invalida" + "te_query\030\007 \001(\t\022u\n\010ssl_mode\030\010 \001(\0162c.yande" + "x.cloud.mdb.clickhouse.v1.config.Clickho" + "useConfig.ExternalDictionary.PostgresqlS" + "ource.SslMode\"g\n\007SslMode\022\030\n\024SSL_MODE_UNS" + "PECIFIED\020\000\022\013\n\007DISABLE\020\001\022\t\n\005ALLOW\020\002\022\n\n\006PR" + "EFER\020\003\022\r\n\tVERIFY_CA\020\004\022\017\n\013VERIFY_FULL\020\005\032\336" + "\006\n\tStructure\022c\n\002id\030\001 \001(\0132W.yandex.cloud." + "mdb.clickhouse.v1.config.ClickhouseConfi" + "g.ExternalDictionary.Structure.Id\022e\n\003key" + "\030\003 \001(\0132X.yandex.cloud.mdb.clickhouse.v1." + "config.ClickhouseConfig.ExternalDictiona" + "ry.Structure.Key\022q\n\trange_min\030\004 \001(\0132^.ya" + "ndex.cloud.mdb.clickhouse.v1.config.Clic" + "khouseConfig.ExternalDictionary.Structur" + "e.Attribute\022q\n\trange_max\030\005 \001(\0132^.yandex." + "cloud.mdb.clickhouse.v1.config.Clickhous" + "eConfig.ExternalDictionary.Structure.Att" + "ribute\022z\n\nattributes\030\002 \003(\0132^.yandex.clou" + "d.mdb.clickhouse.v1.config.ClickhouseCon" + "fig.ExternalDictionary.Structure.Attribu" + "teB\006\202\3101\002>0\032\204\001\n\tAttribute\022\022\n\004name\030\001 \001(\tB\004" + "\350\3071\001\022\022\n\004type\030\002 \001(\tB\004\350\3071\001\022\022\n\nnull_value\030\003" + " \001(\t\022\022\n\nexpression\030\004 \001(\t\022\024\n\014hierarchical" + "\030\005 \001(\010\022\021\n\tinjective\030\006 \001(\010\032\030\n\002Id\022\022\n\004name\030" + "\001 \001(\tB\004\350\3071\001\032\201\001\n\003Key\022z\n\nattributes\030\001 \003(\0132" + "^.yandex.cloud.mdb.clickhouse.v1.config." + "ClickhouseConfig.ExternalDictionary.Stru" + "cture.AttributeB\006\202\3101\002>0\032\213\002\n\006Layout\022j\n\004ty" + "pe\030\001 \001(\0162V.yandex.cloud.mdb.clickhouse.v" + "1.config.ClickhouseConfig.ExternalDictio" + "nary.Layout.TypeB\004\350\3071\001\022\025\n\rsize_in_cells\030" + "\002 \001(\003\"~\n\004Type\022\024\n\020TYPE_UNSPECIFIED\020\000\022\010\n\004F" + "LAT\020\001\022\n\n\006HASHED\020\002\022\026\n\022COMPLEX_KEY_HASHED\020" + "\003\022\020\n\014RANGE_HASHED\020\004\022\t\n\005CACHE\020\005\022\025\n\021COMPLE" + "X_KEY_CACHE\020\006\032!\n\005Range\022\013\n\003min\030\001 \001(\003\022\013\n\003m" + "ax\030\002 \001(\003B\020\n\010lifetime\022\004\300\3011\001B\016\n\006source\022\004\300\301" + "1\001\032\365\002\n\016GraphiteRollup\022\022\n\004name\030\001 \001(\tB\004\350\3071" + "\001\022h\n\010patterns\030\002 \003(\0132N.yandex.cloud.mdb.c" + "lickhouse.v1.config.ClickhouseConfig.Gra" + "phiteRollup.PatternB\006\202\3101\002>0\032\344\001\n\007Pattern\022" + "\016\n\006regexp\030\001 \001(\t\022\026\n\010function\030\002 \001(\tB\004\350\3071\001\022" + "s\n\tretention\030\003 \003(\0132X.yandex.cloud.mdb.cl" + "ickhouse.v1.config.ClickhouseConfig.Grap" + "hiteRollup.Pattern.RetentionB\006\202\3101\002>0\032<\n\t" + "Retention\022\024\n\003age\030\001 \001(\003B\007\372\3071\003>=0\022\031\n\tpreci" + "sion\030\002 \001(\003B\006\372\3071\002>0\"d\n\010LogLevel\022\031\n\025LOG_LE" + "VEL_UNSPECIFIED\020\000\022\t\n\005TRACE\020\001\022\t\n\005DEBUG\020\002\022" + "\017\n\013INFORMATION\020\003\022\013\n\007WARNING\020\004\022\t\n\005ERROR\020\005" + "\"\215\002\n\023ClickhouseConfigSet\022W\n\020effective_co" + "nfig\030\001 \001(\01327.yandex.cloud.mdb.clickhouse" + ".v1.config.ClickhouseConfigB\004\350\3071\001\022L\n\013use" + "r_config\030\002 \001(\01327.yandex.cloud.mdb.clickh" + "ouse.v1.config.ClickhouseConfig\022O\n\016defau" + "lt_config\030\003 \001(\01327.yandex.cloud.mdb.click" + "house.v1.config.ClickhouseConfigB\201\001\n)yan" + "dex.cloud.api.mdb.clickhouse.v1.configZT" + "github.com/yandex-cloud/go-genproto/yand" + "ex/cloud/mdb/clickhouse/v1/config;clickh" + "ouseb\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_config_ClickhouseConfig_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor, new java.lang.String[] { "LogLevel", "MergeTree", "Compression", "Dictionaries", "GraphiteRollup", "Kafka", "KafkaTopics", "Rabbitmq", "MaxConnections", "MaxConcurrentQueries", "KeepAliveTimeout", "UncompressedCacheSize", "MarkCacheSize", "MaxTableSizeToDrop", "MaxPartitionSizeToDrop", "BuiltinDictionariesReloadInterval", "Timezone", "GeobaseUri", "QueryLogRetentionSize", "QueryLogRetentionTime", "QueryThreadLogEnabled", "QueryThreadLogRetentionSize", "QueryThreadLogRetentionTime", "PartLogRetentionSize", "PartLogRetentionTime", "MetricLogEnabled", "MetricLogRetentionSize", "MetricLogRetentionTime", "TraceLogEnabled", "TraceLogRetentionSize", "TraceLogRetentionTime", "TextLogEnabled", "TextLogRetentionSize", "TextLogRetentionTime", "TextLogLevel", "OpentelemetrySpanLogEnabled", "BackgroundPoolSize", "BackgroundSchedulePoolSize", "BackgroundFetchesPoolSize", "BackgroundMovePoolSize", "BackgroundDistributedSchedulePoolSize", "BackgroundBufferFlushSchedulePoolSize", "BackgroundMessageBrokerSchedulePoolSize", "DefaultDatabase", "TotalMemoryProfilerStep", "TotalMemoryTrackerSampleProbability", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_MergeTree_descriptor, new java.lang.String[] { "ReplicatedDeduplicationWindow", "ReplicatedDeduplicationWindowSeconds", "PartsToDelayInsert", "PartsToThrowInsert", "InactivePartsToDelayInsert", "InactivePartsToThrowInsert", "MaxReplicatedMergesInQueue", "NumberOfFreeEntriesInPoolToLowerMaxSizeOfMerge", "MaxBytesToMergeAtMinSpaceInPool", "MaxBytesToMergeAtMaxSpaceInPool", "MinBytesForWidePart", "MinRowsForWidePart", "TtlOnlyDropParts", "AllowRemoteFsZeroCopyReplication", "MergeWithTtlTimeout", "MergeWithRecompressionTtlTimeout", "MaxPartsInTotal", "MaxNumberOfMergesWithTtlInPool", "CleanupDelayPeriod", "NumberOfFreeEntriesInPoolToExecuteMutation", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Kafka_descriptor, new java.lang.String[] { "SecurityProtocol", "SaslMechanism", "SaslUsername", "SaslPassword", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(2); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_KafkaTopic_descriptor, new java.lang.String[] { "Name", "Settings", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(3); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Rabbitmq_descriptor, new java.lang.String[] { "Username", "Password", "Vhost", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(4); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_Compression_descriptor, new java.lang.String[] { "Method", "MinPartSize", "MinPartSizeRatio", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(5); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor, new java.lang.String[] { "Name", "Structure", "Layout", "FixedLifetime", "LifetimeRange", "HttpSource", "MysqlSource", "ClickhouseSource", "MongodbSource", "PostgresqlSource", "Lifetime", "Source", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_HttpSource_descriptor, new java.lang.String[] { "Url", "Format", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor, new java.lang.String[] { "Db", "Table", "Port", "User", "Password", "Replicas", "Where", "InvalidateQuery", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MysqlSource_Replica_descriptor, new java.lang.String[] { "Host", "Priority", "Port", "User", "Password", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(2); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_ClickhouseSource_descriptor, new java.lang.String[] { "Db", "Table", "Host", "Port", "User", "Password", "Where", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(3); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_MongodbSource_descriptor, new java.lang.String[] { "Db", "Collection", "Host", "Port", "User", "Password", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(4); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_PostgresqlSource_descriptor, new java.lang.String[] { "Db", "Table", "Hosts", "Port", "User", "Password", "InvalidateQuery", "SslMode", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(5); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor, new java.lang.String[] { "Id", "Key", "RangeMin", "RangeMax", "Attributes", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Attribute_descriptor, new java.lang.String[] { "Name", "Type", "NullValue", "Expression", "Hierarchical", "Injective", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Id_descriptor, new java.lang.String[] { "Name", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_descriptor.getNestedTypes().get(2); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Structure_Key_descriptor, new java.lang.String[] { "Attributes", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(6); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Layout_descriptor, new java.lang.String[] { "Type", "SizeInCells", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_descriptor.getNestedTypes().get(7); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_ExternalDictionary_Range_descriptor, new java.lang.String[] { "Min", "Max", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_descriptor.getNestedTypes().get(6); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor, new java.lang.String[] { "Name", "Patterns", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor, new java.lang.String[] { "Regexp", "Function", "Retention", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor = internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfig_GraphiteRollup_Pattern_Retention_descriptor, new java.lang.String[] { "Age", "Precision", }); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_clickhouse_v1_config_ClickhouseConfigSet_descriptor, new java.lang.String[] { "EffectiveConfig", "UserConfig", "DefaultConfig", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(yandex.cloud.api.Validation.exactlyOne); registry.add(yandex.cloud.api.Validation.length); registry.add(yandex.cloud.api.Validation.required); registry.add(yandex.cloud.api.Validation.size); 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