yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/mdb/elasticsearch/v1/config/elasticsearch.proto
package yandex.cloud.api.mdb.elasticsearch.v1.config;
public final class Elasticsearch {
private Elasticsearch() {}
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 ElasticsearchConfig7OrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7)
com.google.protobuf.MessageOrBuilder {
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return Whether the maxClauseCount field is set.
*/
boolean hasMaxClauseCount();
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return The maxClauseCount.
*/
com.google.protobuf.Int64Value getMaxClauseCount();
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
com.google.protobuf.Int64ValueOrBuilder getMaxClauseCountOrBuilder();
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The fielddataCacheSize.
*/
java.lang.String getFielddataCacheSize();
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The bytes for fielddataCacheSize.
*/
com.google.protobuf.ByteString
getFielddataCacheSizeBytes();
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The reindexRemoteWhitelist.
*/
java.lang.String getReindexRemoteWhitelist();
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The bytes for reindexRemoteWhitelist.
*/
com.google.protobuf.ByteString
getReindexRemoteWhitelistBytes();
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The reindexSslCaPath.
*/
java.lang.String getReindexSslCaPath();
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The bytes for reindexSslCaPath.
*/
com.google.protobuf.ByteString
getReindexSslCaPathBytes();
}
/**
*
* Elasticsearch 7.x supported configuration options are listed here.
* Detailed description for each set of options is available in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html).
* Any options that are not listed here are not supported.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7}
*/
public static final class ElasticsearchConfig7 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7)
ElasticsearchConfig7OrBuilder {
private static final long serialVersionUID = 0L;
// Use ElasticsearchConfig7.newBuilder() to construct.
private ElasticsearchConfig7(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ElasticsearchConfig7() {
fielddataCacheSize_ = "";
reindexRemoteWhitelist_ = "";
reindexSslCaPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ElasticsearchConfig7();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ElasticsearchConfig7(
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 26: {
com.google.protobuf.Int64Value.Builder subBuilder = null;
if (maxClauseCount_ != null) {
subBuilder = maxClauseCount_.toBuilder();
}
maxClauseCount_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(maxClauseCount_);
maxClauseCount_ = subBuilder.buildPartial();
}
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
fielddataCacheSize_ = s;
break;
}
case 50: {
java.lang.String s = input.readStringRequireUtf8();
reindexRemoteWhitelist_ = s;
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
reindexSslCaPath_ = 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.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.class, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder.class);
}
public static final int MAX_CLAUSE_COUNT_FIELD_NUMBER = 3;
private com.google.protobuf.Int64Value maxClauseCount_;
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return Whether the maxClauseCount field is set.
*/
@java.lang.Override
public boolean hasMaxClauseCount() {
return maxClauseCount_ != null;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return The maxClauseCount.
*/
@java.lang.Override
public com.google.protobuf.Int64Value getMaxClauseCount() {
return maxClauseCount_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxClauseCount_;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
@java.lang.Override
public com.google.protobuf.Int64ValueOrBuilder getMaxClauseCountOrBuilder() {
return getMaxClauseCount();
}
public static final int FIELDDATA_CACHE_SIZE_FIELD_NUMBER = 4;
private volatile java.lang.Object fielddataCacheSize_;
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The fielddataCacheSize.
*/
@java.lang.Override
public java.lang.String getFielddataCacheSize() {
java.lang.Object ref = fielddataCacheSize_;
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();
fielddataCacheSize_ = s;
return s;
}
}
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The bytes for fielddataCacheSize.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFielddataCacheSizeBytes() {
java.lang.Object ref = fielddataCacheSize_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fielddataCacheSize_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REINDEX_REMOTE_WHITELIST_FIELD_NUMBER = 6;
private volatile java.lang.Object reindexRemoteWhitelist_;
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The reindexRemoteWhitelist.
*/
@java.lang.Override
public java.lang.String getReindexRemoteWhitelist() {
java.lang.Object ref = reindexRemoteWhitelist_;
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();
reindexRemoteWhitelist_ = s;
return s;
}
}
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The bytes for reindexRemoteWhitelist.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReindexRemoteWhitelistBytes() {
java.lang.Object ref = reindexRemoteWhitelist_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reindexRemoteWhitelist_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int REINDEX_SSL_CA_PATH_FIELD_NUMBER = 7;
private volatile java.lang.Object reindexSslCaPath_;
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The reindexSslCaPath.
*/
@java.lang.Override
public java.lang.String getReindexSslCaPath() {
java.lang.Object ref = reindexSslCaPath_;
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();
reindexSslCaPath_ = s;
return s;
}
}
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The bytes for reindexSslCaPath.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReindexSslCaPathBytes() {
java.lang.Object ref = reindexSslCaPath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reindexSslCaPath_ = 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 (maxClauseCount_ != null) {
output.writeMessage(3, getMaxClauseCount());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fielddataCacheSize_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, fielddataCacheSize_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reindexRemoteWhitelist_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 6, reindexRemoteWhitelist_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reindexSslCaPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, reindexSslCaPath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (maxClauseCount_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getMaxClauseCount());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(fielddataCacheSize_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, fielddataCacheSize_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reindexRemoteWhitelist_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, reindexRemoteWhitelist_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reindexSslCaPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, reindexSslCaPath_);
}
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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 other = (yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7) obj;
if (hasMaxClauseCount() != other.hasMaxClauseCount()) return false;
if (hasMaxClauseCount()) {
if (!getMaxClauseCount()
.equals(other.getMaxClauseCount())) return false;
}
if (!getFielddataCacheSize()
.equals(other.getFielddataCacheSize())) return false;
if (!getReindexRemoteWhitelist()
.equals(other.getReindexRemoteWhitelist())) return false;
if (!getReindexSslCaPath()
.equals(other.getReindexSslCaPath())) 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 (hasMaxClauseCount()) {
hash = (37 * hash) + MAX_CLAUSE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + getMaxClauseCount().hashCode();
}
hash = (37 * hash) + FIELDDATA_CACHE_SIZE_FIELD_NUMBER;
hash = (53 * hash) + getFielddataCacheSize().hashCode();
hash = (37 * hash) + REINDEX_REMOTE_WHITELIST_FIELD_NUMBER;
hash = (53 * hash) + getReindexRemoteWhitelist().hashCode();
hash = (37 * hash) + REINDEX_SSL_CA_PATH_FIELD_NUMBER;
hash = (53 * hash) + getReindexSslCaPath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 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;
}
/**
*
* Elasticsearch 7.x supported configuration options are listed here.
* Detailed description for each set of options is available in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html).
* Any options that are not listed here are not supported.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7)
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.class, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder.class);
}
// Construct using yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.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 (maxClauseCountBuilder_ == null) {
maxClauseCount_ = null;
} else {
maxClauseCount_ = null;
maxClauseCountBuilder_ = null;
}
fielddataCacheSize_ = "";
reindexRemoteWhitelist_ = "";
reindexSslCaPath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultInstanceForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 build() {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 buildPartial() {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 result = new yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7(this);
if (maxClauseCountBuilder_ == null) {
result.maxClauseCount_ = maxClauseCount_;
} else {
result.maxClauseCount_ = maxClauseCountBuilder_.build();
}
result.fielddataCacheSize_ = fielddataCacheSize_;
result.reindexRemoteWhitelist_ = reindexRemoteWhitelist_;
result.reindexSslCaPath_ = reindexSslCaPath_;
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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7) {
return mergeFrom((yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 other) {
if (other == yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance()) return this;
if (other.hasMaxClauseCount()) {
mergeMaxClauseCount(other.getMaxClauseCount());
}
if (!other.getFielddataCacheSize().isEmpty()) {
fielddataCacheSize_ = other.fielddataCacheSize_;
onChanged();
}
if (!other.getReindexRemoteWhitelist().isEmpty()) {
reindexRemoteWhitelist_ = other.reindexRemoteWhitelist_;
onChanged();
}
if (!other.getReindexSslCaPath().isEmpty()) {
reindexSslCaPath_ = other.reindexSslCaPath_;
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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Int64Value maxClauseCount_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxClauseCountBuilder_;
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return Whether the maxClauseCount field is set.
*/
public boolean hasMaxClauseCount() {
return maxClauseCountBuilder_ != null || maxClauseCount_ != null;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
* @return The maxClauseCount.
*/
public com.google.protobuf.Int64Value getMaxClauseCount() {
if (maxClauseCountBuilder_ == null) {
return maxClauseCount_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxClauseCount_;
} else {
return maxClauseCountBuilder_.getMessage();
}
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public Builder setMaxClauseCount(com.google.protobuf.Int64Value value) {
if (maxClauseCountBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
maxClauseCount_ = value;
onChanged();
} else {
maxClauseCountBuilder_.setMessage(value);
}
return this;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public Builder setMaxClauseCount(
com.google.protobuf.Int64Value.Builder builderForValue) {
if (maxClauseCountBuilder_ == null) {
maxClauseCount_ = builderForValue.build();
onChanged();
} else {
maxClauseCountBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public Builder mergeMaxClauseCount(com.google.protobuf.Int64Value value) {
if (maxClauseCountBuilder_ == null) {
if (maxClauseCount_ != null) {
maxClauseCount_ =
com.google.protobuf.Int64Value.newBuilder(maxClauseCount_).mergeFrom(value).buildPartial();
} else {
maxClauseCount_ = value;
}
onChanged();
} else {
maxClauseCountBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public Builder clearMaxClauseCount() {
if (maxClauseCountBuilder_ == null) {
maxClauseCount_ = null;
onChanged();
} else {
maxClauseCount_ = null;
maxClauseCountBuilder_ = null;
}
return this;
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public com.google.protobuf.Int64Value.Builder getMaxClauseCountBuilder() {
onChanged();
return getMaxClauseCountFieldBuilder().getBuilder();
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
public com.google.protobuf.Int64ValueOrBuilder getMaxClauseCountOrBuilder() {
if (maxClauseCountBuilder_ != null) {
return maxClauseCountBuilder_.getMessageOrBuilder();
} else {
return maxClauseCount_ == null ?
com.google.protobuf.Int64Value.getDefaultInstance() : maxClauseCount_;
}
}
/**
*
* The maximum number of clauses a boolean query can contain.
* The limit is in place to prevent searches from becoming too large and taking up too much CPU and memory.
* It affects not only Elasticsearch's `bool` query, but many other queries that are implicitly converted to `bool` query by Elastcsearch.
* Default value: `1024`.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-settings.html).
*
*
* .google.protobuf.Int64Value max_clause_count = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>
getMaxClauseCountFieldBuilder() {
if (maxClauseCountBuilder_ == null) {
maxClauseCountBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>(
getMaxClauseCount(),
getParentForChildren(),
isClean());
maxClauseCount_ = null;
}
return maxClauseCountBuilder_;
}
private java.lang.Object fielddataCacheSize_ = "";
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The fielddataCacheSize.
*/
public java.lang.String getFielddataCacheSize() {
java.lang.Object ref = fielddataCacheSize_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
fielddataCacheSize_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return The bytes for fielddataCacheSize.
*/
public com.google.protobuf.ByteString
getFielddataCacheSizeBytes() {
java.lang.Object ref = fielddataCacheSize_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
fielddataCacheSize_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @param value The fielddataCacheSize to set.
* @return This builder for chaining.
*/
public Builder setFielddataCacheSize(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
fielddataCacheSize_ = value;
onChanged();
return this;
}
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @return This builder for chaining.
*/
public Builder clearFielddataCacheSize() {
fielddataCacheSize_ = getDefaultInstance().getFielddataCacheSize();
onChanged();
return this;
}
/**
*
* The maximum percentage or absolute value (10%, 512mb) of heap space that is allocated to field data cache.
* All the field values that are placed in this cache, get loaded to memory in order to provide fast document based access to those values.
* Building the field data cache for a field can be an expensive operations, so its recommended to have enough memory for this cache, and to keep it loaded.
* Default value: unbounded.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-fielddata.html).
*
*
* string fielddata_cache_size = 4;
* @param value The bytes for fielddataCacheSize to set.
* @return This builder for chaining.
*/
public Builder setFielddataCacheSizeBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
fielddataCacheSize_ = value;
onChanged();
return this;
}
private java.lang.Object reindexRemoteWhitelist_ = "";
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The reindexRemoteWhitelist.
*/
public java.lang.String getReindexRemoteWhitelist() {
java.lang.Object ref = reindexRemoteWhitelist_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reindexRemoteWhitelist_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return The bytes for reindexRemoteWhitelist.
*/
public com.google.protobuf.ByteString
getReindexRemoteWhitelistBytes() {
java.lang.Object ref = reindexRemoteWhitelist_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reindexRemoteWhitelist_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @param value The reindexRemoteWhitelist to set.
* @return This builder for chaining.
*/
public Builder setReindexRemoteWhitelist(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
reindexRemoteWhitelist_ = value;
onChanged();
return this;
}
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @return This builder for chaining.
*/
public Builder clearReindexRemoteWhitelist() {
reindexRemoteWhitelist_ = getDefaultInstance().getReindexRemoteWhitelist();
onChanged();
return this;
}
/**
*
* Remote hosts for reindex have to be explicitly allowed in elasticsearch.yml using the reindex.remote.whitelist property.
* It can be set to a comma delimited list of allowed remote host and port combinations.
* Scheme is ignored, only the host and port are used.
*
*
* string reindex_remote_whitelist = 6;
* @param value The bytes for reindexRemoteWhitelist to set.
* @return This builder for chaining.
*/
public Builder setReindexRemoteWhitelistBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
reindexRemoteWhitelist_ = value;
onChanged();
return this;
}
private java.lang.Object reindexSslCaPath_ = "";
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The reindexSslCaPath.
*/
public java.lang.String getReindexSslCaPath() {
java.lang.Object ref = reindexSslCaPath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reindexSslCaPath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return The bytes for reindexSslCaPath.
*/
public com.google.protobuf.ByteString
getReindexSslCaPathBytes() {
java.lang.Object ref = reindexSslCaPath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reindexSslCaPath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @param value The reindexSslCaPath to set.
* @return This builder for chaining.
*/
public Builder setReindexSslCaPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
reindexSslCaPath_ = value;
onChanged();
return this;
}
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @return This builder for chaining.
*/
public Builder clearReindexSslCaPath() {
reindexSslCaPath_ = getDefaultInstance().getReindexSslCaPath();
onChanged();
return this;
}
/**
*
* List of paths to PEM encoded certificate files that should be trusted.
* See in-depth description in [Elasticsearch documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#reindex-ssl)
*
*
* string reindex_ssl_ca_path = 7;
* @param value The bytes for reindexSslCaPath to set.
* @return This builder for chaining.
*/
public Builder setReindexSslCaPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
reindexSslCaPath_ = 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.elasticsearch.v1.config.ElasticsearchConfig7)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7)
private static final yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7();
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ElasticsearchConfig7 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ElasticsearchConfig7(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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ElasticsearchConfigSet7OrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7)
com.google.protobuf.MessageOrBuilder {
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
* @return Whether the effectiveConfig field is set.
*/
boolean hasEffectiveConfig();
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
* @return The effectiveConfig.
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getEffectiveConfig();
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getEffectiveConfigOrBuilder();
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return Whether the userConfig field is set.
*/
boolean hasUserConfig();
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return The userConfig.
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getUserConfig();
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getUserConfigOrBuilder();
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return Whether the defaultConfig field is set.
*/
boolean hasDefaultConfig();
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return The defaultConfig.
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultConfig();
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getDefaultConfigOrBuilder();
}
/**
*
* Elasticsearch 7.x data node configuration.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7}
*/
public static final class ElasticsearchConfigSet7 extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7)
ElasticsearchConfigSet7OrBuilder {
private static final long serialVersionUID = 0L;
// Use ElasticsearchConfigSet7.newBuilder() to construct.
private ElasticsearchConfigSet7(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ElasticsearchConfigSet7() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ElasticsearchConfigSet7();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ElasticsearchConfigSet7(
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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder subBuilder = null;
if (effectiveConfig_ != null) {
subBuilder = effectiveConfig_.toBuilder();
}
effectiveConfig_ = input.readMessage(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(effectiveConfig_);
effectiveConfig_ = subBuilder.buildPartial();
}
break;
}
case 18: {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder subBuilder = null;
if (userConfig_ != null) {
subBuilder = userConfig_.toBuilder();
}
userConfig_ = input.readMessage(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(userConfig_);
userConfig_ = subBuilder.buildPartial();
}
break;
}
case 26: {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder subBuilder = null;
if (defaultConfig_ != null) {
subBuilder = defaultConfig_.toBuilder();
}
defaultConfig_ = input.readMessage(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.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.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.class, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.Builder.class);
}
public static final int EFFECTIVE_CONFIG_FIELD_NUMBER = 1;
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 effectiveConfig_;
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 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 an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
* @return The effectiveConfig.
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getEffectiveConfig() {
return effectiveConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : effectiveConfig_;
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getEffectiveConfigOrBuilder() {
return getEffectiveConfig();
}
public static final int USER_CONFIG_FIELD_NUMBER = 2;
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 userConfig_;
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return Whether the userConfig field is set.
*/
@java.lang.Override
public boolean hasUserConfig() {
return userConfig_ != null;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return The userConfig.
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getUserConfig() {
return userConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : userConfig_;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getUserConfigOrBuilder() {
return getUserConfig();
}
public static final int DEFAULT_CONFIG_FIELD_NUMBER = 3;
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 defaultConfig_;
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return Whether the defaultConfig field is set.
*/
@java.lang.Override
public boolean hasDefaultConfig() {
return defaultConfig_ != null;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return The defaultConfig.
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultConfig() {
return defaultConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : defaultConfig_;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 other = (yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7) 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 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;
}
/**
*
* Elasticsearch 7.x data node configuration.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7)
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7OrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.class, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.Builder.class);
}
// Construct using yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.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.elasticsearch.v1.config.Elasticsearch.internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 getDefaultInstanceForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 build() {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 buildPartial() {
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 result = new yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7(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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7) {
return mergeFrom((yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 other) {
if (other == yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7.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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 effectiveConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder> effectiveConfigBuilder_;
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 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 an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
* @return The effectiveConfig.
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getEffectiveConfig() {
if (effectiveConfigBuilder_ == null) {
return effectiveConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : effectiveConfig_;
} else {
return effectiveConfigBuilder_.getMessage();
}
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
public Builder setEffectiveConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (effectiveConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
effectiveConfig_ = value;
onChanged();
} else {
effectiveConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
public Builder setEffectiveConfig(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder builderForValue) {
if (effectiveConfigBuilder_ == null) {
effectiveConfig_ = builderForValue.build();
onChanged();
} else {
effectiveConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
public Builder mergeEffectiveConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (effectiveConfigBuilder_ == null) {
if (effectiveConfig_ != null) {
effectiveConfig_ =
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.newBuilder(effectiveConfig_).mergeFrom(value).buildPartial();
} else {
effectiveConfig_ = value;
}
onChanged();
} else {
effectiveConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 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 an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder getEffectiveConfigBuilder() {
onChanged();
return getEffectiveConfigFieldBuilder().getBuilder();
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getEffectiveConfigOrBuilder() {
if (effectiveConfigBuilder_ != null) {
return effectiveConfigBuilder_.getMessageOrBuilder();
} else {
return effectiveConfig_ == null ?
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : effectiveConfig_;
}
}
/**
*
* Effective settings for an Elasticsearch cluster (a combination of settings defined in [user_config] and [default_config]).
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 effective_config = 1 [(.yandex.cloud.required) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>
getEffectiveConfigFieldBuilder() {
if (effectiveConfigBuilder_ == null) {
effectiveConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>(
getEffectiveConfig(),
getParentForChildren(),
isClean());
effectiveConfig_ = null;
}
return effectiveConfigBuilder_;
}
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 userConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder> userConfigBuilder_;
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return Whether the userConfig field is set.
*/
public boolean hasUserConfig() {
return userConfigBuilder_ != null || userConfig_ != null;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
* @return The userConfig.
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getUserConfig() {
if (userConfigBuilder_ == null) {
return userConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : userConfig_;
} else {
return userConfigBuilder_.getMessage();
}
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public Builder setUserConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (userConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
userConfig_ = value;
onChanged();
} else {
userConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public Builder setUserConfig(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder builderForValue) {
if (userConfigBuilder_ == null) {
userConfig_ = builderForValue.build();
onChanged();
} else {
userConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public Builder mergeUserConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (userConfigBuilder_ == null) {
if (userConfig_ != null) {
userConfig_ =
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.newBuilder(userConfig_).mergeFrom(value).buildPartial();
} else {
userConfig_ = value;
}
onChanged();
} else {
userConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public Builder clearUserConfig() {
if (userConfigBuilder_ == null) {
userConfig_ = null;
onChanged();
} else {
userConfig_ = null;
userConfigBuilder_ = null;
}
return this;
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder getUserConfigBuilder() {
onChanged();
return getUserConfigFieldBuilder().getBuilder();
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getUserConfigOrBuilder() {
if (userConfigBuilder_ != null) {
return userConfigBuilder_.getMessageOrBuilder();
} else {
return userConfig_ == null ?
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : userConfig_;
}
}
/**
*
* User-defined settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 user_config = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>
getUserConfigFieldBuilder() {
if (userConfigBuilder_ == null) {
userConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>(
getUserConfig(),
getParentForChildren(),
isClean());
userConfig_ = null;
}
return userConfigBuilder_;
}
private yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 defaultConfig_;
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder> defaultConfigBuilder_;
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return Whether the defaultConfig field is set.
*/
public boolean hasDefaultConfig() {
return defaultConfigBuilder_ != null || defaultConfig_ != null;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
* @return The defaultConfig.
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 getDefaultConfig() {
if (defaultConfigBuilder_ == null) {
return defaultConfig_ == null ? yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : defaultConfig_;
} else {
return defaultConfigBuilder_.getMessage();
}
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public Builder setDefaultConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (defaultConfigBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
defaultConfig_ = value;
onChanged();
} else {
defaultConfigBuilder_.setMessage(value);
}
return this;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public Builder setDefaultConfig(
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder builderForValue) {
if (defaultConfigBuilder_ == null) {
defaultConfig_ = builderForValue.build();
onChanged();
} else {
defaultConfigBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public Builder mergeDefaultConfig(yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7 value) {
if (defaultConfigBuilder_ == null) {
if (defaultConfig_ != null) {
defaultConfig_ =
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.newBuilder(defaultConfig_).mergeFrom(value).buildPartial();
} else {
defaultConfig_ = value;
}
onChanged();
} else {
defaultConfigBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public Builder clearDefaultConfig() {
if (defaultConfigBuilder_ == null) {
defaultConfig_ = null;
onChanged();
} else {
defaultConfig_ = null;
defaultConfigBuilder_ = null;
}
return this;
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder getDefaultConfigBuilder() {
onChanged();
return getDefaultConfigFieldBuilder().getBuilder();
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
public yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder getDefaultConfigOrBuilder() {
if (defaultConfigBuilder_ != null) {
return defaultConfigBuilder_.getMessageOrBuilder();
} else {
return defaultConfig_ == null ?
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.getDefaultInstance() : defaultConfig_;
}
}
/**
*
* Default settings for an Elasticsearch cluster.
*
*
* .yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfig7 default_config = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>
getDefaultConfigFieldBuilder() {
if (defaultConfigBuilder_ == null) {
defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7.Builder, yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfig7OrBuilder>(
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.elasticsearch.v1.config.ElasticsearchConfigSet7)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.elasticsearch.v1.config.ElasticsearchConfigSet7)
private static final yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7();
}
public static yandex.cloud.api.mdb.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ElasticsearchConfigSet7 parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ElasticsearchConfigSet7(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.elasticsearch.v1.config.Elasticsearch.ElasticsearchConfigSet7 getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n.yan" +
"dex.cloud.mdb.elasticsearch.v1.config.El" +
"asticsearchConfig7B\004\350\3071\001\022S\n\013user_config\030" +
"\002 \001(\0132>.yandex.cloud.mdb.elasticsearch.v" +
"1.config.ElasticsearchConfig7\022V\n\016default" +
"_config\030\003 \001(\0132>.yandex.cloud.mdb.elastic" +
"search.v1.config.ElasticsearchConfig7B\212\001" +
"\n,yandex.cloud.api.mdb.elasticsearch.v1." +
"configZZgithub.com/yandex-cloud/go-genpr" +
"oto/yandex/cloud/mdb/elasticsearch/v1/co" +
"nfig;elasticsearchb\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_elasticsearch_v1_config_ElasticsearchConfig7_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfig7_descriptor,
new java.lang.String[] { "MaxClauseCount", "FielddataCacheSize", "ReindexRemoteWhitelist", "ReindexSslCaPath", });
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_elasticsearch_v1_config_ElasticsearchConfigSet7_descriptor,
new java.lang.String[] { "EffectiveConfig", "UserConfig", "DefaultConfig", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(yandex.cloud.api.Validation.required);
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