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

yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42 Maven / Gradle / Ivy

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

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

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

    /**
     * 
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ boolean hasStorage(); /** *
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return The storage. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getStorage(); /** *
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder getStorageOrBuilder(); /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ boolean hasOperationProfiling(); /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getOperationProfiling(); /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder(); /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return Whether the net field is set. */ boolean hasNet(); /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return The net. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getNet(); /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder getNetOrBuilder(); } /** *
   * Configuration of a mongod daemon. Supported options are a limited subset of all
   * options described in [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/).
   * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2} */ public static final class MongodConfig4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2) MongodConfig4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongodConfig4_2.newBuilder() to construct. private MongodConfig4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongodConfig4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongodConfig4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongodConfig4_2( 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder subBuilder = null; if (storage_ != null) { subBuilder = storage_.toBuilder(); } storage_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(storage_); storage_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder subBuilder = null; if (operationProfiling_ != null) { subBuilder = operationProfiling_.toBuilder(); } operationProfiling_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationProfiling_); operationProfiling_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder subBuilder = null; if (net_ != null) { subBuilder = net_.toBuilder(); } net_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(net_); net_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder.class); } public interface StorageOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage) com.google.protobuf.MessageOrBuilder { /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ boolean hasWiredTiger(); /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getWiredTiger(); /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder(); /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return Whether the journal field is set. */ boolean hasJournal(); /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return The journal. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getJournal(); /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder getJournalOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage} */ public static final class Storage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage) StorageOrBuilder { private static final long serialVersionUID = 0L; // Use Storage.newBuilder() to construct. private Storage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Storage() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Storage(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Storage( 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder subBuilder = null; if (wiredTiger_ != null) { subBuilder = wiredTiger_.toBuilder(); } wiredTiger_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(wiredTiger_); wiredTiger_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder subBuilder = null; if (journal_ != null) { subBuilder = journal_.toBuilder(); } journal_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(journal_); journal_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder.class); } public interface WiredTigerOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger) com.google.protobuf.MessageOrBuilder { /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ boolean hasEngineConfig(); /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig(); /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder(); /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return Whether the collectionConfig field is set. */ boolean hasCollectionConfig(); /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return The collectionConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getCollectionConfig(); /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder getCollectionConfigOrBuilder(); } /** *
       * Configuration of WiredTiger storage engine.
       * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger} */ public static final class WiredTiger extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger) WiredTigerOrBuilder { private static final long serialVersionUID = 0L; // Use WiredTiger.newBuilder() to construct. private WiredTiger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WiredTiger() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WiredTiger(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WiredTiger( 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder subBuilder = null; if (engineConfig_ != null) { subBuilder = engineConfig_.toBuilder(); } engineConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(engineConfig_); engineConfig_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder subBuilder = null; if (collectionConfig_ != null) { subBuilder = collectionConfig_.toBuilder(); } collectionConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(collectionConfig_); collectionConfig_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder.class); } public interface EngineConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig) com.google.protobuf.MessageOrBuilder { /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ boolean hasCacheSizeGb(); /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ com.google.protobuf.DoubleValue getCacheSizeGb(); /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig} */ public static final class EngineConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig) EngineConfigOrBuilder { private static final long serialVersionUID = 0L; // Use EngineConfig.newBuilder() to construct. private EngineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EngineConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EngineConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EngineConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.DoubleValue.Builder subBuilder = null; if (cacheSizeGb_ != null) { subBuilder = cacheSizeGb_.toBuilder(); } cacheSizeGb_ = input.readMessage(com.google.protobuf.DoubleValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cacheSizeGb_); cacheSizeGb_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder.class); } public static final int CACHE_SIZE_GB_FIELD_NUMBER = 1; private com.google.protobuf.DoubleValue cacheSizeGb_; /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ @java.lang.Override public boolean hasCacheSizeGb() { return cacheSizeGb_ != null; } /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ @java.lang.Override public com.google.protobuf.DoubleValue getCacheSizeGb() { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder() { return getCacheSizeGb(); } 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 (cacheSizeGb_ != null) { output.writeMessage(1, getCacheSizeGb()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (cacheSizeGb_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCacheSizeGb()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig) obj; if (hasCacheSizeGb() != other.hasCacheSizeGb()) return false; if (hasCacheSizeGb()) { if (!getCacheSizeGb() .equals(other.getCacheSizeGb())) 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 (hasCacheSizeGb()) { hash = (37 * hash) + CACHE_SIZE_GB_FIELD_NUMBER; hash = (53 * hash) + getCacheSizeGb().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.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 (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = null; } else { cacheSizeGb_ = null; cacheSizeGbBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig(this); if (cacheSizeGbBuilder_ == null) { result.cacheSizeGb_ = cacheSizeGb_; } else { result.cacheSizeGb_ = cacheSizeGbBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance()) return this; if (other.hasCacheSizeGb()) { mergeCacheSizeGb(other.getCacheSizeGb()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.DoubleValue cacheSizeGb_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> cacheSizeGbBuilder_; /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ public boolean hasCacheSizeGb() { return cacheSizeGbBuilder_ != null || cacheSizeGb_ != null; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ public com.google.protobuf.DoubleValue getCacheSizeGb() { if (cacheSizeGbBuilder_ == null) { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } else { return cacheSizeGbBuilder_.getMessage(); } } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder setCacheSizeGb(com.google.protobuf.DoubleValue value) { if (cacheSizeGbBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cacheSizeGb_ = value; onChanged(); } else { cacheSizeGbBuilder_.setMessage(value); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder setCacheSizeGb( com.google.protobuf.DoubleValue.Builder builderForValue) { if (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = builderForValue.build(); onChanged(); } else { cacheSizeGbBuilder_.setMessage(builderForValue.build()); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder mergeCacheSizeGb(com.google.protobuf.DoubleValue value) { if (cacheSizeGbBuilder_ == null) { if (cacheSizeGb_ != null) { cacheSizeGb_ = com.google.protobuf.DoubleValue.newBuilder(cacheSizeGb_).mergeFrom(value).buildPartial(); } else { cacheSizeGb_ = value; } onChanged(); } else { cacheSizeGbBuilder_.mergeFrom(value); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder clearCacheSizeGb() { if (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = null; onChanged(); } else { cacheSizeGb_ = null; cacheSizeGbBuilder_ = null; } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public com.google.protobuf.DoubleValue.Builder getCacheSizeGbBuilder() { onChanged(); return getCacheSizeGbFieldBuilder().getBuilder(); } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder() { if (cacheSizeGbBuilder_ != null) { return cacheSizeGbBuilder_.getMessageOrBuilder(); } else { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getCacheSizeGbFieldBuilder() { if (cacheSizeGbBuilder_ == null) { cacheSizeGbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getCacheSizeGb(), getParentForChildren(), isClean()); cacheSizeGb_ = null; } return cacheSizeGbBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EngineConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EngineConfig(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface CollectionConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) com.google.protobuf.MessageOrBuilder { /** *
           * Default type of compression to use for collection data.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The enum numeric value on the wire for blockCompressor. */ int getBlockCompressorValue(); /** *
           * Default type of compression to use for collection data.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The blockCompressor. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor getBlockCompressor(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig} */ public static final class CollectionConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) CollectionConfigOrBuilder { private static final long serialVersionUID = 0L; // Use CollectionConfig.newBuilder() to construct. private CollectionConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CollectionConfig() { blockCompressor_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CollectionConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CollectionConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); blockCompressor_ = rawValue; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor} */ public enum Compressor implements com.google.protobuf.ProtocolMessageEnum { /** * COMPRESSOR_UNSPECIFIED = 0; */ COMPRESSOR_UNSPECIFIED(0), /** *
             * No compression.
             * 
* * NONE = 1; */ NONE(1), /** *
             * The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression.
             * 
* * SNAPPY = 2; */ SNAPPY(2), /** *
             * The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression.
             * 
* * ZLIB = 3; */ ZLIB(3), /** *
             * The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression.
             * 
* * ZSTD = 4; */ ZSTD(4), UNRECOGNIZED(-1), ; /** * COMPRESSOR_UNSPECIFIED = 0; */ public static final int COMPRESSOR_UNSPECIFIED_VALUE = 0; /** *
             * No compression.
             * 
* * NONE = 1; */ public static final int NONE_VALUE = 1; /** *
             * The [Snappy](https://docs.mongodb.com/v4.2/reference/glossary/#term-snappy) compression.
             * 
* * SNAPPY = 2; */ public static final int SNAPPY_VALUE = 2; /** *
             * The [zlib](https://docs.mongodb.com/v4.2/reference/glossary/#term-zlib) compression.
             * 
* * ZLIB = 3; */ public static final int ZLIB_VALUE = 3; /** *
             * The [zstd](https://docs.mongodb.com/v4.2/reference/glossary/#term-zstd) compression.
             * 
* * ZSTD = 4; */ public static final int ZSTD_VALUE = 4; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Compressor valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Compressor forNumber(int value) { switch (value) { case 0: return COMPRESSOR_UNSPECIFIED; case 1: return NONE; case 2: return SNAPPY; case 3: return ZLIB; case 4: return ZSTD; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Compressor> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Compressor findValueByNumber(int number) { return Compressor.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDescriptor().getEnumTypes().get(0); } private static final Compressor[] VALUES = values(); public static Compressor valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Compressor(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor) } public static final int BLOCK_COMPRESSOR_FIELD_NUMBER = 1; private int blockCompressor_; /** *
           * Default type of compression to use for collection data.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The enum numeric value on the wire for blockCompressor. */ @java.lang.Override public int getBlockCompressorValue() { return blockCompressor_; } /** *
           * Default type of compression to use for collection data.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The blockCompressor. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor getBlockCompressor() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.valueOf(blockCompressor_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (blockCompressor_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.COMPRESSOR_UNSPECIFIED.getNumber()) { output.writeEnum(1, blockCompressor_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (blockCompressor_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.COMPRESSOR_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, blockCompressor_); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) obj; if (blockCompressor_ != other.blockCompressor_) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + BLOCK_COMPRESSOR_FIELD_NUMBER; hash = (53 * hash) + blockCompressor_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.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(); blockCompressor_ = 0; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig(this); result.blockCompressor_ = blockCompressor_; 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDefaultInstance()) return this; if (other.blockCompressor_ != 0) { setBlockCompressorValue(other.getBlockCompressorValue()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int blockCompressor_ = 0; /** *
             * Default type of compression to use for collection data.
             * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The enum numeric value on the wire for blockCompressor. */ @java.lang.Override public int getBlockCompressorValue() { return blockCompressor_; } /** *
             * Default type of compression to use for collection data.
             * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @param value The enum numeric value on the wire for blockCompressor to set. * @return This builder for chaining. */ public Builder setBlockCompressorValue(int value) { blockCompressor_ = value; onChanged(); return this; } /** *
             * Default type of compression to use for collection data.
             * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return The blockCompressor. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor getBlockCompressor() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.valueOf(blockCompressor_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor.UNRECOGNIZED : result; } /** *
             * Default type of compression to use for collection data.
             * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @param value The blockCompressor to set. * @return This builder for chaining. */ public Builder setBlockCompressor(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor value) { if (value == null) { throw new NullPointerException(); } blockCompressor_ = value.getNumber(); onChanged(); return this; } /** *
             * Default type of compression to use for collection data.
             * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Compressor block_compressor = 1; * @return This builder for chaining. */ public Builder clearBlockCompressor() { blockCompressor_ = 0; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CollectionConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CollectionConfig(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int ENGINE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig engineConfig_; /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ @java.lang.Override public boolean hasEngineConfig() { return engineConfig_ != null; } /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig() { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder() { return getEngineConfig(); } public static final int COLLECTION_CONFIG_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collectionConfig_; /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return Whether the collectionConfig field is set. */ @java.lang.Override public boolean hasCollectionConfig() { return collectionConfig_ != null; } /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return The collectionConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getCollectionConfig() { return collectionConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDefaultInstance() : collectionConfig_; } /** *
         * Collection configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder getCollectionConfigOrBuilder() { return getCollectionConfig(); } 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 (engineConfig_ != null) { output.writeMessage(1, getEngineConfig()); } if (collectionConfig_ != null) { output.writeMessage(2, getCollectionConfig()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (engineConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEngineConfig()); } if (collectionConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getCollectionConfig()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger) obj; if (hasEngineConfig() != other.hasEngineConfig()) return false; if (hasEngineConfig()) { if (!getEngineConfig() .equals(other.getEngineConfig())) return false; } if (hasCollectionConfig() != other.hasCollectionConfig()) return false; if (hasCollectionConfig()) { if (!getCollectionConfig() .equals(other.getCollectionConfig())) 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 (hasEngineConfig()) { hash = (37 * hash) + ENGINE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEngineConfig().hashCode(); } if (hasCollectionConfig()) { hash = (37 * hash) + COLLECTION_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getCollectionConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger 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; } /** *
         * Configuration of WiredTiger storage engine.
         * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.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 (engineConfigBuilder_ == null) { engineConfig_ = null; } else { engineConfig_ = null; engineConfigBuilder_ = null; } if (collectionConfigBuilder_ == null) { collectionConfig_ = null; } else { collectionConfig_ = null; collectionConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger(this); if (engineConfigBuilder_ == null) { result.engineConfig_ = engineConfig_; } else { result.engineConfig_ = engineConfigBuilder_.build(); } if (collectionConfigBuilder_ == null) { result.collectionConfig_ = collectionConfig_; } else { result.collectionConfig_ = collectionConfigBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.getDefaultInstance()) return this; if (other.hasEngineConfig()) { mergeEngineConfig(other.getEngineConfig()); } if (other.hasCollectionConfig()) { mergeCollectionConfig(other.getCollectionConfig()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig engineConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder> engineConfigBuilder_; /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ public boolean hasEngineConfig() { return engineConfigBuilder_ != null || engineConfig_ != null; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig() { if (engineConfigBuilder_ == null) { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } else { return engineConfigBuilder_.getMessage(); } } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder setEngineConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig value) { if (engineConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } engineConfig_ = value; onChanged(); } else { engineConfigBuilder_.setMessage(value); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder setEngineConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder builderForValue) { if (engineConfigBuilder_ == null) { engineConfig_ = builderForValue.build(); onChanged(); } else { engineConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder mergeEngineConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig value) { if (engineConfigBuilder_ == null) { if (engineConfig_ != null) { engineConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.newBuilder(engineConfig_).mergeFrom(value).buildPartial(); } else { engineConfig_ = value; } onChanged(); } else { engineConfigBuilder_.mergeFrom(value); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder clearEngineConfig() { if (engineConfigBuilder_ == null) { engineConfig_ = null; onChanged(); } else { engineConfig_ = null; engineConfigBuilder_ = null; } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder getEngineConfigBuilder() { onChanged(); return getEngineConfigFieldBuilder().getBuilder(); } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder() { if (engineConfigBuilder_ != null) { return engineConfigBuilder_.getMessageOrBuilder(); } else { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder> getEngineConfigFieldBuilder() { if (engineConfigBuilder_ == null) { engineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder>( getEngineConfig(), getParentForChildren(), isClean()); engineConfig_ = null; } return engineConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collectionConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder> collectionConfigBuilder_; /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return Whether the collectionConfig field is set. */ public boolean hasCollectionConfig() { return collectionConfigBuilder_ != null || collectionConfig_ != null; } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; * @return The collectionConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig getCollectionConfig() { if (collectionConfigBuilder_ == null) { return collectionConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDefaultInstance() : collectionConfig_; } else { return collectionConfigBuilder_.getMessage(); } } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public Builder setCollectionConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig value) { if (collectionConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } collectionConfig_ = value; onChanged(); } else { collectionConfigBuilder_.setMessage(value); } return this; } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public Builder setCollectionConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder builderForValue) { if (collectionConfigBuilder_ == null) { collectionConfig_ = builderForValue.build(); onChanged(); } else { collectionConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public Builder mergeCollectionConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig value) { if (collectionConfigBuilder_ == null) { if (collectionConfig_ != null) { collectionConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.newBuilder(collectionConfig_).mergeFrom(value).buildPartial(); } else { collectionConfig_ = value; } onChanged(); } else { collectionConfigBuilder_.mergeFrom(value); } return this; } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public Builder clearCollectionConfig() { if (collectionConfigBuilder_ == null) { collectionConfig_ = null; onChanged(); } else { collectionConfig_ = null; collectionConfigBuilder_ = null; } return this; } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder getCollectionConfigBuilder() { onChanged(); return getCollectionConfigFieldBuilder().getBuilder(); } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder getCollectionConfigOrBuilder() { if (collectionConfigBuilder_ != null) { return collectionConfigBuilder_.getMessageOrBuilder(); } else { return collectionConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.getDefaultInstance() : collectionConfig_; } } /** *
           * Collection configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger.CollectionConfig collection_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder> getCollectionConfigFieldBuilder() { if (collectionConfigBuilder_ == null) { collectionConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.CollectionConfigOrBuilder>( getCollectionConfig(), getParentForChildren(), isClean()); collectionConfig_ = null; } return collectionConfigBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WiredTiger parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WiredTiger(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface JournalOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal) com.google.protobuf.MessageOrBuilder { /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return Whether the commitInterval field is set. */ boolean hasCommitInterval(); /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return The commitInterval. */ com.google.protobuf.Int64Value getCommitInterval(); /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ com.google.protobuf.Int64ValueOrBuilder getCommitIntervalOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal} */ public static final class Journal extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal) JournalOrBuilder { private static final long serialVersionUID = 0L; // Use Journal.newBuilder() to construct. private Journal(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Journal() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Journal(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Journal( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (commitInterval_ != null) { subBuilder = commitInterval_.toBuilder(); } commitInterval_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(commitInterval_); commitInterval_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder.class); } public static final int COMMIT_INTERVAL_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value commitInterval_; /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return Whether the commitInterval field is set. */ @java.lang.Override public boolean hasCommitInterval() { return commitInterval_ != null; } /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return The commitInterval. */ @java.lang.Override public com.google.protobuf.Int64Value getCommitInterval() { return commitInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : commitInterval_; } /** *
         * Commit interval between journal operations, in milliseconds.
         * Default: 100.
         * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getCommitIntervalOrBuilder() { return getCommitInterval(); } 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 (commitInterval_ != null) { output.writeMessage(1, getCommitInterval()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (commitInterval_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCommitInterval()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal) obj; if (hasCommitInterval() != other.hasCommitInterval()) return false; if (hasCommitInterval()) { if (!getCommitInterval() .equals(other.getCommitInterval())) 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 (hasCommitInterval()) { hash = (37 * hash) + COMMIT_INTERVAL_FIELD_NUMBER; hash = (53 * hash) + getCommitInterval().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.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 (commitIntervalBuilder_ == null) { commitInterval_ = null; } else { commitInterval_ = null; commitIntervalBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal(this); if (commitIntervalBuilder_ == null) { result.commitInterval_ = commitInterval_; } else { result.commitInterval_ = commitIntervalBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.getDefaultInstance()) return this; if (other.hasCommitInterval()) { mergeCommitInterval(other.getCommitInterval()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Int64Value commitInterval_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> commitIntervalBuilder_; /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return Whether the commitInterval field is set. */ public boolean hasCommitInterval() { return commitIntervalBuilder_ != null || commitInterval_ != null; } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; * @return The commitInterval. */ public com.google.protobuf.Int64Value getCommitInterval() { if (commitIntervalBuilder_ == null) { return commitInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : commitInterval_; } else { return commitIntervalBuilder_.getMessage(); } } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public Builder setCommitInterval(com.google.protobuf.Int64Value value) { if (commitIntervalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } commitInterval_ = value; onChanged(); } else { commitIntervalBuilder_.setMessage(value); } return this; } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public Builder setCommitInterval( com.google.protobuf.Int64Value.Builder builderForValue) { if (commitIntervalBuilder_ == null) { commitInterval_ = builderForValue.build(); onChanged(); } else { commitIntervalBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public Builder mergeCommitInterval(com.google.protobuf.Int64Value value) { if (commitIntervalBuilder_ == null) { if (commitInterval_ != null) { commitInterval_ = com.google.protobuf.Int64Value.newBuilder(commitInterval_).mergeFrom(value).buildPartial(); } else { commitInterval_ = value; } onChanged(); } else { commitIntervalBuilder_.mergeFrom(value); } return this; } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public Builder clearCommitInterval() { if (commitIntervalBuilder_ == null) { commitInterval_ = null; onChanged(); } else { commitInterval_ = null; commitIntervalBuilder_ = null; } return this; } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public com.google.protobuf.Int64Value.Builder getCommitIntervalBuilder() { onChanged(); return getCommitIntervalFieldBuilder().getBuilder(); } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ public com.google.protobuf.Int64ValueOrBuilder getCommitIntervalOrBuilder() { if (commitIntervalBuilder_ != null) { return commitIntervalBuilder_.getMessageOrBuilder(); } else { return commitInterval_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : commitInterval_; } } /** *
           * Commit interval between journal operations, in milliseconds.
           * Default: 100.
           * 
* * .google.protobuf.Int64Value commit_interval = 1 [(.yandex.cloud.value) = "1-500"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getCommitIntervalFieldBuilder() { if (commitIntervalBuilder_ == null) { commitIntervalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getCommitInterval(), getParentForChildren(), isClean()); commitInterval_ = null; } return commitIntervalBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.Storage.Journal) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Journal parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Journal(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int WIRED_TIGER_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger wiredTiger_; /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ @java.lang.Override public boolean hasWiredTiger() { return wiredTiger_ != null; } /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getWiredTiger() { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder() { return getWiredTiger(); } public static final int JOURNAL_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal journal_; /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return Whether the journal field is set. */ @java.lang.Override public boolean hasJournal() { return journal_ != null; } /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return The journal. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getJournal() { return journal_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.getDefaultInstance() : journal_; } /** *
       * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder getJournalOrBuilder() { return getJournal(); } 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 (wiredTiger_ != null) { output.writeMessage(1, getWiredTiger()); } if (journal_ != null) { output.writeMessage(2, getJournal()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (wiredTiger_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWiredTiger()); } if (journal_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getJournal()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage) obj; if (hasWiredTiger() != other.hasWiredTiger()) return false; if (hasWiredTiger()) { if (!getWiredTiger() .equals(other.getWiredTiger())) return false; } if (hasJournal() != other.hasJournal()) return false; if (hasJournal()) { if (!getJournal() .equals(other.getJournal())) 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 (hasWiredTiger()) { hash = (37 * hash) + WIRED_TIGER_FIELD_NUMBER; hash = (53 * hash) + getWiredTiger().hashCode(); } if (hasJournal()) { hash = (37 * hash) + JOURNAL_FIELD_NUMBER; hash = (53 * hash) + getJournal().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.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 (wiredTigerBuilder_ == null) { wiredTiger_ = null; } else { wiredTiger_ = null; wiredTigerBuilder_ = null; } if (journalBuilder_ == null) { journal_ = null; } else { journal_ = null; journalBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage(this); if (wiredTigerBuilder_ == null) { result.wiredTiger_ = wiredTiger_; } else { result.wiredTiger_ = wiredTigerBuilder_.build(); } if (journalBuilder_ == null) { result.journal_ = journal_; } else { result.journal_ = journalBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.getDefaultInstance()) return this; if (other.hasWiredTiger()) { mergeWiredTiger(other.getWiredTiger()); } if (other.hasJournal()) { mergeJournal(other.getJournal()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger wiredTiger_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder> wiredTigerBuilder_; /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ public boolean hasWiredTiger() { return wiredTigerBuilder_ != null || wiredTiger_ != null; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger getWiredTiger() { if (wiredTigerBuilder_ == null) { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } else { return wiredTigerBuilder_.getMessage(); } } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder setWiredTiger(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger value) { if (wiredTigerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } wiredTiger_ = value; onChanged(); } else { wiredTigerBuilder_.setMessage(value); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder setWiredTiger( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder builderForValue) { if (wiredTigerBuilder_ == null) { wiredTiger_ = builderForValue.build(); onChanged(); } else { wiredTigerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder mergeWiredTiger(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger value) { if (wiredTigerBuilder_ == null) { if (wiredTiger_ != null) { wiredTiger_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.newBuilder(wiredTiger_).mergeFrom(value).buildPartial(); } else { wiredTiger_ = value; } onChanged(); } else { wiredTigerBuilder_.mergeFrom(value); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder clearWiredTiger() { if (wiredTigerBuilder_ == null) { wiredTiger_ = null; onChanged(); } else { wiredTiger_ = null; wiredTigerBuilder_ = null; } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder getWiredTigerBuilder() { onChanged(); return getWiredTigerFieldBuilder().getBuilder(); } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder() { if (wiredTigerBuilder_ != null) { return wiredTigerBuilder_.getMessageOrBuilder(); } else { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.WiredTiger wired_tiger = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder> getWiredTigerFieldBuilder() { if (wiredTigerBuilder_ == null) { wiredTigerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.WiredTigerOrBuilder>( getWiredTiger(), getParentForChildren(), isClean()); wiredTiger_ = null; } return wiredTigerBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal journal_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder> journalBuilder_; /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return Whether the journal field is set. */ public boolean hasJournal() { return journalBuilder_ != null || journal_ != null; } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; * @return The journal. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal getJournal() { if (journalBuilder_ == null) { return journal_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.getDefaultInstance() : journal_; } else { return journalBuilder_.getMessage(); } } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public Builder setJournal(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal value) { if (journalBuilder_ == null) { if (value == null) { throw new NullPointerException(); } journal_ = value; onChanged(); } else { journalBuilder_.setMessage(value); } return this; } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public Builder setJournal( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder builderForValue) { if (journalBuilder_ == null) { journal_ = builderForValue.build(); onChanged(); } else { journalBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public Builder mergeJournal(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal value) { if (journalBuilder_ == null) { if (journal_ != null) { journal_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.newBuilder(journal_).mergeFrom(value).buildPartial(); } else { journal_ = value; } onChanged(); } else { journalBuilder_.mergeFrom(value); } return this; } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public Builder clearJournal() { if (journalBuilder_ == null) { journal_ = null; onChanged(); } else { journal_ = null; journalBuilder_ = null; } return this; } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder getJournalBuilder() { onChanged(); return getJournalFieldBuilder().getBuilder(); } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder getJournalOrBuilder() { if (journalBuilder_ != null) { return journalBuilder_.getMessageOrBuilder(); } else { return journal_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.getDefaultInstance() : journal_; } } /** *
         * Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.2/reference/glossary/#term-journal).
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage.Journal journal = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder> getJournalFieldBuilder() { if (journalBuilder_ == null) { journalBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Journal.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.JournalOrBuilder>( getJournal(), getParentForChildren(), isClean()); journal_ = null; } return journalBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.Storage) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Storage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Storage(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationProfilingOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling) com.google.protobuf.MessageOrBuilder { /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode getMode(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ boolean hasSlowOpThreshold(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ com.google.protobuf.Int64Value getSlowOpThreshold(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling} */ public static final class OperationProfiling extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling) OperationProfilingOrBuilder { private static final long serialVersionUID = 0L; // Use OperationProfiling.newBuilder() to construct. private OperationProfiling(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OperationProfiling() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OperationProfiling(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OperationProfiling( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); mode_ = rawValue; break; } case 18: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (slowOpThreshold_ != null) { subBuilder = slowOpThreshold_.toBuilder(); } slowOpThreshold_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(slowOpThreshold_); slowOpThreshold_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), /** *
         * The profiler is off and does not collect any data.
         * 
* * OFF = 1; */ OFF(1), /** *
         * The profiler collects data for operations that take longer than the value of [slow_op_threshold].
         * 
* * SLOW_OP = 2; */ SLOW_OP(2), /** *
         * The profiler collects data for all operations.
         * 
* * ALL = 3; */ ALL(3), UNRECOGNIZED(-1), ; /** * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** *
         * The profiler is off and does not collect any data.
         * 
* * OFF = 1; */ public static final int OFF_VALUE = 1; /** *
         * The profiler collects data for operations that take longer than the value of [slow_op_threshold].
         * 
* * SLOW_OP = 2; */ public static final int SLOW_OP_VALUE = 2; /** *
         * The profiler collects data for all operations.
         * 
* * ALL = 3; */ public static final int ALL_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Mode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Mode forNumber(int value) { switch (value) { case 0: return MODE_UNSPECIFIED; case 1: return OFF; case 2: return SLOW_OP; case 3: return ALL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode) } public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode getMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.valueOf(mode_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.UNRECOGNIZED : result; } public static final int SLOW_OP_THRESHOLD_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value slowOpThreshold_; /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ @java.lang.Override public boolean hasSlowOpThreshold() { return slowOpThreshold_ != null; } /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ @java.lang.Override public com.google.protobuf.Int64Value getSlowOpThreshold() { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode.
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder() { return getSlowOpThreshold(); } 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 (mode_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } if (slowOpThreshold_ != null) { output.writeMessage(2, getSlowOpThreshold()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (mode_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, mode_); } if (slowOpThreshold_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSlowOpThreshold()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling) obj; if (mode_ != other.mode_) return false; if (hasSlowOpThreshold() != other.hasSlowOpThreshold()) return false; if (hasSlowOpThreshold()) { if (!getSlowOpThreshold() .equals(other.getSlowOpThreshold())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; if (hasSlowOpThreshold()) { hash = (37 * hash) + SLOW_OP_THRESHOLD_FIELD_NUMBER; hash = (53 * hash) + getSlowOpThreshold().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.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(); mode_ = 0; if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = null; } else { slowOpThreshold_ = null; slowOpThresholdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling(this); result.mode_ = mode_; if (slowOpThresholdBuilder_ == null) { result.slowOpThreshold_ = slowOpThreshold_; } else { result.slowOpThreshold_ = slowOpThresholdBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.hasSlowOpThreshold()) { mergeSlowOpThreshold(other.getSlowOpThreshold()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int mode_ = 0; /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; onChanged(); return this; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode getMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.valueOf(mode_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode.UNRECOGNIZED : result; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Mode value) { if (value == null) { throw new NullPointerException(); } mode_ = value.getNumber(); onChanged(); return this; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling.Mode mode = 1; * @return This builder for chaining. */ public Builder clearMode() { mode_ = 0; onChanged(); return this; } private com.google.protobuf.Int64Value slowOpThreshold_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> slowOpThresholdBuilder_; /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ public boolean hasSlowOpThreshold() { return slowOpThresholdBuilder_ != null || slowOpThreshold_ != null; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ public com.google.protobuf.Int64Value getSlowOpThreshold() { if (slowOpThresholdBuilder_ == null) { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } else { return slowOpThresholdBuilder_.getMessage(); } } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder setSlowOpThreshold(com.google.protobuf.Int64Value value) { if (slowOpThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } slowOpThreshold_ = value; onChanged(); } else { slowOpThresholdBuilder_.setMessage(value); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder setSlowOpThreshold( com.google.protobuf.Int64Value.Builder builderForValue) { if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = builderForValue.build(); onChanged(); } else { slowOpThresholdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeSlowOpThreshold(com.google.protobuf.Int64Value value) { if (slowOpThresholdBuilder_ == null) { if (slowOpThreshold_ != null) { slowOpThreshold_ = com.google.protobuf.Int64Value.newBuilder(slowOpThreshold_).mergeFrom(value).buildPartial(); } else { slowOpThreshold_ = value; } onChanged(); } else { slowOpThresholdBuilder_.mergeFrom(value); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder clearSlowOpThreshold() { if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = null; onChanged(); } else { slowOpThreshold_ = null; slowOpThresholdBuilder_ = null; } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getSlowOpThresholdBuilder() { onChanged(); return getSlowOpThresholdFieldBuilder().getBuilder(); } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder() { if (slowOpThresholdBuilder_ != null) { return slowOpThresholdBuilder_.getMessageOrBuilder(); } else { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode.
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getSlowOpThresholdFieldBuilder() { if (slowOpThresholdBuilder_ == null) { slowOpThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getSlowOpThreshold(), getParentForChildren(), isClean()); slowOpThreshold_ = null; } return slowOpThresholdBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.OperationProfiling) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OperationProfiling parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OperationProfiling(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network) com.google.protobuf.MessageOrBuilder { /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ boolean hasMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ com.google.protobuf.Int64Value getMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network} */ public static final class Network extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network) NetworkOrBuilder { private static final long serialVersionUID = 0L; // Use Network.newBuilder() to construct. private Network(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Network() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Network(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Network( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxIncomingConnections_ != null) { subBuilder = maxIncomingConnections_.toBuilder(); } maxIncomingConnections_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxIncomingConnections_); maxIncomingConnections_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder.class); } public static final int MAX_INCOMING_CONNECTIONS_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value maxIncomingConnections_; /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ @java.lang.Override public boolean hasMaxIncomingConnections() { return maxIncomingConnections_ != null; } /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxIncomingConnections() { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } /** *
       * The maximum number of simultaneous connections that mongod will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { return getMaxIncomingConnections(); } 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 (maxIncomingConnections_ != null) { output.writeMessage(1, getMaxIncomingConnections()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxIncomingConnections_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network) obj; if (hasMaxIncomingConnections() != other.hasMaxIncomingConnections()) return false; if (hasMaxIncomingConnections()) { if (!getMaxIncomingConnections() .equals(other.getMaxIncomingConnections())) 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 (hasMaxIncomingConnections()) { hash = (37 * hash) + MAX_INCOMING_CONNECTIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxIncomingConnections().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.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 (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network(this); if (maxIncomingConnectionsBuilder_ == null) { result.maxIncomingConnections_ = maxIncomingConnections_; } else { result.maxIncomingConnections_ = maxIncomingConnectionsBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.getDefaultInstance()) return this; if (other.hasMaxIncomingConnections()) { mergeMaxIncomingConnections(other.getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Int64Value maxIncomingConnections_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxIncomingConnectionsBuilder_; /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ public boolean hasMaxIncomingConnections() { return maxIncomingConnectionsBuilder_ != null || maxIncomingConnections_ != null; } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ public com.google.protobuf.Int64Value getMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } else { return maxIncomingConnectionsBuilder_.getMessage(); } } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxIncomingConnections_ = value; onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = builderForValue.build(); onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder mergeMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (maxIncomingConnections_ != null) { maxIncomingConnections_ = com.google.protobuf.Int64Value.newBuilder(maxIncomingConnections_).mergeFrom(value).buildPartial(); } else { maxIncomingConnections_ = value; } onChanged(); } else { maxIncomingConnectionsBuilder_.mergeFrom(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder clearMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; onChanged(); } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64Value.Builder getMaxIncomingConnectionsBuilder() { onChanged(); return getMaxIncomingConnectionsFieldBuilder().getBuilder(); } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { if (maxIncomingConnectionsBuilder_ != null) { return maxIncomingConnectionsBuilder_.getMessageOrBuilder(); } else { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } } /** *
         * The maximum number of simultaneous connections that mongod will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxIncomingConnectionsFieldBuilder() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnectionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxIncomingConnections(), getParentForChildren(), isClean()); maxIncomingConnections_ = null; } return maxIncomingConnectionsBuilder_; } @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.mongodb.v1.config.MongodConfig4_2.Network) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Network parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Network(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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int STORAGE_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage storage_; /** *
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ @java.lang.Override public boolean hasStorage() { return storage_ != null; } /** *
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return The storage. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getStorage() { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.getDefaultInstance() : storage_; } /** *
     * `storage` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder getStorageOrBuilder() { return getStorage(); } public static final int OPERATION_PROFILING_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling operationProfiling_; /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ @java.lang.Override public boolean hasOperationProfiling() { return operationProfiling_ != null; } /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getOperationProfiling() { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } /** *
     * `operationProfiling` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder() { return getOperationProfiling(); } public static final int NET_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network net_; /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return Whether the net field is set. */ @java.lang.Override public boolean hasNet() { return net_ != null; } /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return The net. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getNet() { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.getDefaultInstance() : net_; } /** *
     * `net` section of mongod configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder getNetOrBuilder() { return getNet(); } 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 (storage_ != null) { output.writeMessage(1, getStorage()); } if (operationProfiling_ != null) { output.writeMessage(2, getOperationProfiling()); } if (net_ != null) { output.writeMessage(3, getNet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (storage_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStorage()); } if (operationProfiling_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationProfiling()); } if (net_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getNet()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2) obj; if (hasStorage() != other.hasStorage()) return false; if (hasStorage()) { if (!getStorage() .equals(other.getStorage())) return false; } if (hasOperationProfiling() != other.hasOperationProfiling()) return false; if (hasOperationProfiling()) { if (!getOperationProfiling() .equals(other.getOperationProfiling())) return false; } if (hasNet() != other.hasNet()) return false; if (hasNet()) { if (!getNet() .equals(other.getNet())) 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 (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + getStorage().hashCode(); } if (hasOperationProfiling()) { hash = (37 * hash) + OPERATION_PROFILING_FIELD_NUMBER; hash = (53 * hash) + getOperationProfiling().hashCode(); } if (hasNet()) { hash = (37 * hash) + NET_FIELD_NUMBER; hash = (53 * hash) + getNet().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 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; } /** *
     * Configuration of a mongod daemon. Supported options are a limited subset of all
     * options described in [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/).
     * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.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 (storageBuilder_ == null) { storage_ = null; } else { storage_ = null; storageBuilder_ = null; } if (operationProfilingBuilder_ == null) { operationProfiling_ = null; } else { operationProfiling_ = null; operationProfilingBuilder_ = null; } if (netBuilder_ == null) { net_ = null; } else { net_ = null; netBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2(this); if (storageBuilder_ == null) { result.storage_ = storage_; } else { result.storage_ = storageBuilder_.build(); } if (operationProfilingBuilder_ == null) { result.operationProfiling_ = operationProfiling_; } else { result.operationProfiling_ = operationProfilingBuilder_.build(); } if (netBuilder_ == null) { result.net_ = net_; } else { result.net_ = netBuilder_.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.mongodb.v1.config.Mongodb42.MongodConfig4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance()) return this; if (other.hasStorage()) { mergeStorage(other.getStorage()); } if (other.hasOperationProfiling()) { mergeOperationProfiling(other.getOperationProfiling()); } if (other.hasNet()) { mergeNet(other.getNet()); } 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.mongodb.v1.config.Mongodb42.MongodConfig4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage storage_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder> storageBuilder_; /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ public boolean hasStorage() { return storageBuilder_ != null || storage_ != null; } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; * @return The storage. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage getStorage() { if (storageBuilder_ == null) { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.getDefaultInstance() : storage_; } else { return storageBuilder_.getMessage(); } } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public Builder setStorage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage value) { if (storageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storage_ = value; onChanged(); } else { storageBuilder_.setMessage(value); } return this; } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public Builder setStorage( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder builderForValue) { if (storageBuilder_ == null) { storage_ = builderForValue.build(); onChanged(); } else { storageBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public Builder mergeStorage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage value) { if (storageBuilder_ == null) { if (storage_ != null) { storage_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.newBuilder(storage_).mergeFrom(value).buildPartial(); } else { storage_ = value; } onChanged(); } else { storageBuilder_.mergeFrom(value); } return this; } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public Builder clearStorage() { if (storageBuilder_ == null) { storage_ = null; onChanged(); } else { storage_ = null; storageBuilder_ = null; } return this; } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder getStorageBuilder() { onChanged(); return getStorageFieldBuilder().getBuilder(); } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder getStorageOrBuilder() { if (storageBuilder_ != null) { return storageBuilder_.getMessageOrBuilder(); } else { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.getDefaultInstance() : storage_; } } /** *
       * `storage` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Storage storage = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder> getStorageFieldBuilder() { if (storageBuilder_ == null) { storageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.StorageOrBuilder>( getStorage(), getParentForChildren(), isClean()); storage_ = null; } return storageBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling operationProfiling_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder> operationProfilingBuilder_; /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ public boolean hasOperationProfiling() { return operationProfilingBuilder_ != null || operationProfiling_ != null; } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling getOperationProfiling() { if (operationProfilingBuilder_ == null) { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } else { return operationProfilingBuilder_.getMessage(); } } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder setOperationProfiling(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling value) { if (operationProfilingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationProfiling_ = value; onChanged(); } else { operationProfilingBuilder_.setMessage(value); } return this; } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder setOperationProfiling( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder builderForValue) { if (operationProfilingBuilder_ == null) { operationProfiling_ = builderForValue.build(); onChanged(); } else { operationProfilingBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder mergeOperationProfiling(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling value) { if (operationProfilingBuilder_ == null) { if (operationProfiling_ != null) { operationProfiling_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.newBuilder(operationProfiling_).mergeFrom(value).buildPartial(); } else { operationProfiling_ = value; } onChanged(); } else { operationProfilingBuilder_.mergeFrom(value); } return this; } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder clearOperationProfiling() { if (operationProfilingBuilder_ == null) { operationProfiling_ = null; onChanged(); } else { operationProfiling_ = null; operationProfilingBuilder_ = null; } return this; } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder getOperationProfilingBuilder() { onChanged(); return getOperationProfilingFieldBuilder().getBuilder(); } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder() { if (operationProfilingBuilder_ != null) { return operationProfilingBuilder_.getMessageOrBuilder(); } else { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } } /** *
       * `operationProfiling` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.OperationProfiling operation_profiling = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder> getOperationProfilingFieldBuilder() { if (operationProfilingBuilder_ == null) { operationProfilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.OperationProfilingOrBuilder>( getOperationProfiling(), getParentForChildren(), isClean()); operationProfiling_ = null; } return operationProfilingBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network net_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder> netBuilder_; /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return Whether the net field is set. */ public boolean hasNet() { return netBuilder_ != null || net_ != null; } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; * @return The net. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network getNet() { if (netBuilder_ == null) { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.getDefaultInstance() : net_; } else { return netBuilder_.getMessage(); } } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public Builder setNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network value) { if (netBuilder_ == null) { if (value == null) { throw new NullPointerException(); } net_ = value; onChanged(); } else { netBuilder_.setMessage(value); } return this; } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public Builder setNet( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder builderForValue) { if (netBuilder_ == null) { net_ = builderForValue.build(); onChanged(); } else { netBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public Builder mergeNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network value) { if (netBuilder_ == null) { if (net_ != null) { net_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.newBuilder(net_).mergeFrom(value).buildPartial(); } else { net_ = value; } onChanged(); } else { netBuilder_.mergeFrom(value); } return this; } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public Builder clearNet() { if (netBuilder_ == null) { net_ = null; onChanged(); } else { net_ = null; netBuilder_ = null; } return this; } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder getNetBuilder() { onChanged(); return getNetFieldBuilder().getBuilder(); } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder getNetOrBuilder() { if (netBuilder_ != null) { return netBuilder_.getMessageOrBuilder(); } else { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.getDefaultInstance() : net_; } } /** *
       * `net` section of mongod configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2.Network net = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder> getNetFieldBuilder() { if (netBuilder_ == null) { netBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.NetworkOrBuilder>( getNet(), getParentForChildren(), isClean()); net_ = null; } return netBuilder_; } @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.mongodb.v1.config.MongodConfig4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongodConfig4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongodConfig4_2(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.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongoCfgConfig4_2OrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2) com.google.protobuf.MessageOrBuilder { /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ boolean hasStorage(); /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return The storage. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getStorage(); /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder getStorageOrBuilder(); /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ boolean hasOperationProfiling(); /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getOperationProfiling(); /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder(); /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return Whether the net field is set. */ boolean hasNet(); /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return The net. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getNet(); /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder getNetOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2} */ public static final class MongoCfgConfig4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2) MongoCfgConfig4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongoCfgConfig4_2.newBuilder() to construct. private MongoCfgConfig4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongoCfgConfig4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongoCfgConfig4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongoCfgConfig4_2( 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder subBuilder = null; if (storage_ != null) { subBuilder = storage_.toBuilder(); } storage_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(storage_); storage_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder subBuilder = null; if (operationProfiling_ != null) { subBuilder = operationProfiling_.toBuilder(); } operationProfiling_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(operationProfiling_); operationProfiling_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder subBuilder = null; if (net_ != null) { subBuilder = net_.toBuilder(); } net_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(net_); net_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder.class); } public interface StorageOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage) com.google.protobuf.MessageOrBuilder { /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ boolean hasWiredTiger(); /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getWiredTiger(); /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage} */ public static final class Storage extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage) StorageOrBuilder { private static final long serialVersionUID = 0L; // Use Storage.newBuilder() to construct. private Storage(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Storage() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Storage(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Storage( 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder subBuilder = null; if (wiredTiger_ != null) { subBuilder = wiredTiger_.toBuilder(); } wiredTiger_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(wiredTiger_); wiredTiger_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder.class); } public interface WiredTigerOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger) com.google.protobuf.MessageOrBuilder { /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ boolean hasEngineConfig(); /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig(); /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder(); } /** *
       * Configuration of WiredTiger storage engine.
       * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger} */ public static final class WiredTiger extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger) WiredTigerOrBuilder { private static final long serialVersionUID = 0L; // Use WiredTiger.newBuilder() to construct. private WiredTiger(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private WiredTiger() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new WiredTiger(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private WiredTiger( 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder subBuilder = null; if (engineConfig_ != null) { subBuilder = engineConfig_.toBuilder(); } engineConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(engineConfig_); engineConfig_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder.class); } public interface EngineConfigOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) com.google.protobuf.MessageOrBuilder { /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ boolean hasCacheSizeGb(); /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ com.google.protobuf.DoubleValue getCacheSizeGb(); /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig} */ public static final class EngineConfig extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) EngineConfigOrBuilder { private static final long serialVersionUID = 0L; // Use EngineConfig.newBuilder() to construct. private EngineConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private EngineConfig() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new EngineConfig(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private EngineConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.DoubleValue.Builder subBuilder = null; if (cacheSizeGb_ != null) { subBuilder = cacheSizeGb_.toBuilder(); } cacheSizeGb_ = input.readMessage(com.google.protobuf.DoubleValue.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(cacheSizeGb_); cacheSizeGb_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder.class); } public static final int CACHE_SIZE_GB_FIELD_NUMBER = 1; private com.google.protobuf.DoubleValue cacheSizeGb_; /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ @java.lang.Override public boolean hasCacheSizeGb() { return cacheSizeGb_ != null; } /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ @java.lang.Override public com.google.protobuf.DoubleValue getCacheSizeGb() { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } /** *
           * The maximum size of the internal cache that WiredTiger will use for all data.
           * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ @java.lang.Override public com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder() { return getCacheSizeGb(); } 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 (cacheSizeGb_ != null) { output.writeMessage(1, getCacheSizeGb()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (cacheSizeGb_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCacheSizeGb()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) obj; if (hasCacheSizeGb() != other.hasCacheSizeGb()) return false; if (hasCacheSizeGb()) { if (!getCacheSizeGb() .equals(other.getCacheSizeGb())) 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 (hasCacheSizeGb()) { hash = (37 * hash) + CACHE_SIZE_GB_FIELD_NUMBER; hash = (53 * hash) + getCacheSizeGb().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.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 (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = null; } else { cacheSizeGb_ = null; cacheSizeGbBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig(this); if (cacheSizeGbBuilder_ == null) { result.cacheSizeGb_ = cacheSizeGb_; } else { result.cacheSizeGb_ = cacheSizeGbBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance()) return this; if (other.hasCacheSizeGb()) { mergeCacheSizeGb(other.getCacheSizeGb()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.DoubleValue cacheSizeGb_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> cacheSizeGbBuilder_; /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return Whether the cacheSizeGb field is set. */ public boolean hasCacheSizeGb() { return cacheSizeGbBuilder_ != null || cacheSizeGb_ != null; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; * @return The cacheSizeGb. */ public com.google.protobuf.DoubleValue getCacheSizeGb() { if (cacheSizeGbBuilder_ == null) { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } else { return cacheSizeGbBuilder_.getMessage(); } } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder setCacheSizeGb(com.google.protobuf.DoubleValue value) { if (cacheSizeGbBuilder_ == null) { if (value == null) { throw new NullPointerException(); } cacheSizeGb_ = value; onChanged(); } else { cacheSizeGbBuilder_.setMessage(value); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder setCacheSizeGb( com.google.protobuf.DoubleValue.Builder builderForValue) { if (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = builderForValue.build(); onChanged(); } else { cacheSizeGbBuilder_.setMessage(builderForValue.build()); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder mergeCacheSizeGb(com.google.protobuf.DoubleValue value) { if (cacheSizeGbBuilder_ == null) { if (cacheSizeGb_ != null) { cacheSizeGb_ = com.google.protobuf.DoubleValue.newBuilder(cacheSizeGb_).mergeFrom(value).buildPartial(); } else { cacheSizeGb_ = value; } onChanged(); } else { cacheSizeGbBuilder_.mergeFrom(value); } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public Builder clearCacheSizeGb() { if (cacheSizeGbBuilder_ == null) { cacheSizeGb_ = null; onChanged(); } else { cacheSizeGb_ = null; cacheSizeGbBuilder_ = null; } return this; } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public com.google.protobuf.DoubleValue.Builder getCacheSizeGbBuilder() { onChanged(); return getCacheSizeGbFieldBuilder().getBuilder(); } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ public com.google.protobuf.DoubleValueOrBuilder getCacheSizeGbOrBuilder() { if (cacheSizeGbBuilder_ != null) { return cacheSizeGbBuilder_.getMessageOrBuilder(); } else { return cacheSizeGb_ == null ? com.google.protobuf.DoubleValue.getDefaultInstance() : cacheSizeGb_; } } /** *
             * The maximum size of the internal cache that WiredTiger will use for all data.
             * 
* * .google.protobuf.DoubleValue cache_size_gb = 1; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder> getCacheSizeGbFieldBuilder() { if (cacheSizeGbBuilder_ == null) { cacheSizeGbBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.DoubleValue, com.google.protobuf.DoubleValue.Builder, com.google.protobuf.DoubleValueOrBuilder>( getCacheSizeGb(), getParentForChildren(), isClean()); cacheSizeGb_ = null; } return cacheSizeGbBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public EngineConfig parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new EngineConfig(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int ENGINE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engineConfig_; /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ @java.lang.Override public boolean hasEngineConfig() { return engineConfig_ != null; } /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig() { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } /** *
         * Engine configuration for WiredTiger.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder() { return getEngineConfig(); } 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 (engineConfig_ != null) { output.writeMessage(1, getEngineConfig()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (engineConfig_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getEngineConfig()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger) obj; if (hasEngineConfig() != other.hasEngineConfig()) return false; if (hasEngineConfig()) { if (!getEngineConfig() .equals(other.getEngineConfig())) 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 (hasEngineConfig()) { hash = (37 * hash) + ENGINE_CONFIG_FIELD_NUMBER; hash = (53 * hash) + getEngineConfig().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger 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; } /** *
         * Configuration of WiredTiger storage engine.
         * 
* * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.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 (engineConfigBuilder_ == null) { engineConfig_ = null; } else { engineConfig_ = null; engineConfigBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger(this); if (engineConfigBuilder_ == null) { result.engineConfig_ = engineConfig_; } else { result.engineConfig_ = engineConfigBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.getDefaultInstance()) return this; if (other.hasEngineConfig()) { mergeEngineConfig(other.getEngineConfig()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engineConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder> engineConfigBuilder_; /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return Whether the engineConfig field is set. */ public boolean hasEngineConfig() { return engineConfigBuilder_ != null || engineConfig_ != null; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; * @return The engineConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig getEngineConfig() { if (engineConfigBuilder_ == null) { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } else { return engineConfigBuilder_.getMessage(); } } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder setEngineConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig value) { if (engineConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } engineConfig_ = value; onChanged(); } else { engineConfigBuilder_.setMessage(value); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder setEngineConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder builderForValue) { if (engineConfigBuilder_ == null) { engineConfig_ = builderForValue.build(); onChanged(); } else { engineConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder mergeEngineConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig value) { if (engineConfigBuilder_ == null) { if (engineConfig_ != null) { engineConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.newBuilder(engineConfig_).mergeFrom(value).buildPartial(); } else { engineConfig_ = value; } onChanged(); } else { engineConfigBuilder_.mergeFrom(value); } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public Builder clearEngineConfig() { if (engineConfigBuilder_ == null) { engineConfig_ = null; onChanged(); } else { engineConfig_ = null; engineConfigBuilder_ = null; } return this; } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder getEngineConfigBuilder() { onChanged(); return getEngineConfigFieldBuilder().getBuilder(); } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder getEngineConfigOrBuilder() { if (engineConfigBuilder_ != null) { return engineConfigBuilder_.getMessageOrBuilder(); } else { return engineConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.getDefaultInstance() : engineConfig_; } } /** *
           * Engine configuration for WiredTiger.
           * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig engine_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder> getEngineConfigFieldBuilder() { if (engineConfigBuilder_ == null) { engineConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfig.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.EngineConfigOrBuilder>( getEngineConfig(), getParentForChildren(), isClean()); engineConfig_ = null; } return engineConfigBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public WiredTiger parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new WiredTiger(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int WIRED_TIGER_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger wiredTiger_; /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ @java.lang.Override public boolean hasWiredTiger() { return wiredTiger_ != null; } /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getWiredTiger() { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } /** *
       * Configuration of the WiredTiger storage engine.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder() { return getWiredTiger(); } 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 (wiredTiger_ != null) { output.writeMessage(1, getWiredTiger()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (wiredTiger_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getWiredTiger()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage) obj; if (hasWiredTiger() != other.hasWiredTiger()) return false; if (hasWiredTiger()) { if (!getWiredTiger() .equals(other.getWiredTiger())) 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 (hasWiredTiger()) { hash = (37 * hash) + WIRED_TIGER_FIELD_NUMBER; hash = (53 * hash) + getWiredTiger().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.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 (wiredTigerBuilder_ == null) { wiredTiger_ = null; } else { wiredTiger_ = null; wiredTigerBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage(this); if (wiredTigerBuilder_ == null) { result.wiredTiger_ = wiredTiger_; } else { result.wiredTiger_ = wiredTigerBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.getDefaultInstance()) return this; if (other.hasWiredTiger()) { mergeWiredTiger(other.getWiredTiger()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger wiredTiger_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder> wiredTigerBuilder_; /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return Whether the wiredTiger field is set. */ public boolean hasWiredTiger() { return wiredTigerBuilder_ != null || wiredTiger_ != null; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; * @return The wiredTiger. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger getWiredTiger() { if (wiredTigerBuilder_ == null) { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } else { return wiredTigerBuilder_.getMessage(); } } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder setWiredTiger(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger value) { if (wiredTigerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } wiredTiger_ = value; onChanged(); } else { wiredTigerBuilder_.setMessage(value); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder setWiredTiger( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder builderForValue) { if (wiredTigerBuilder_ == null) { wiredTiger_ = builderForValue.build(); onChanged(); } else { wiredTigerBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder mergeWiredTiger(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger value) { if (wiredTigerBuilder_ == null) { if (wiredTiger_ != null) { wiredTiger_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.newBuilder(wiredTiger_).mergeFrom(value).buildPartial(); } else { wiredTiger_ = value; } onChanged(); } else { wiredTigerBuilder_.mergeFrom(value); } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public Builder clearWiredTiger() { if (wiredTigerBuilder_ == null) { wiredTiger_ = null; onChanged(); } else { wiredTiger_ = null; wiredTigerBuilder_ = null; } return this; } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder getWiredTigerBuilder() { onChanged(); return getWiredTigerFieldBuilder().getBuilder(); } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder getWiredTigerOrBuilder() { if (wiredTigerBuilder_ != null) { return wiredTigerBuilder_.getMessageOrBuilder(); } else { return wiredTiger_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.getDefaultInstance() : wiredTiger_; } } /** *
         * Configuration of the WiredTiger storage engine.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage.WiredTiger wired_tiger = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder> getWiredTigerFieldBuilder() { if (wiredTigerBuilder_ == null) { wiredTigerBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTiger.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.WiredTigerOrBuilder>( getWiredTiger(), getParentForChildren(), isClean()); wiredTiger_ = null; } return wiredTigerBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2.Storage) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Storage parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Storage(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface OperationProfilingOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling) com.google.protobuf.MessageOrBuilder { /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode getMode(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ boolean hasSlowOpThreshold(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ com.google.protobuf.Int64Value getSlowOpThreshold(); /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling} */ public static final class OperationProfiling extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling) OperationProfilingOrBuilder { private static final long serialVersionUID = 0L; // Use OperationProfiling.newBuilder() to construct. private OperationProfiling(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private OperationProfiling() { mode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new OperationProfiling(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private OperationProfiling( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); mode_ = rawValue; break; } case 18: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (slowOpThreshold_ != null) { subBuilder = slowOpThreshold_.toBuilder(); } slowOpThreshold_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(slowOpThreshold_); slowOpThreshold_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder.class); } /** * Protobuf enum {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode} */ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** * MODE_UNSPECIFIED = 0; */ MODE_UNSPECIFIED(0), /** *
         * The profiler is off and does not collect any data.
         * 
* * OFF = 1; */ OFF(1), /** *
         * The profiler collects data for operations that take longer than the value of [slow_op_threshold].
         * 
* * SLOW_OP = 2; */ SLOW_OP(2), /** *
         * The profiler collects data for all operations.
         * 
* * ALL = 3; */ ALL(3), UNRECOGNIZED(-1), ; /** * MODE_UNSPECIFIED = 0; */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** *
         * The profiler is off and does not collect any data.
         * 
* * OFF = 1; */ public static final int OFF_VALUE = 1; /** *
         * The profiler collects data for operations that take longer than the value of [slow_op_threshold].
         * 
* * SLOW_OP = 2; */ public static final int SLOW_OP_VALUE = 2; /** *
         * The profiler collects data for all operations.
         * 
* * ALL = 3; */ public static final int ALL_VALUE = 3; public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( "Can't get the number of an unknown enum value."); } return value; } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Mode valueOf(int value) { return forNumber(value); } /** * @param value The numeric wire value of the corresponding enum entry. * @return The enum associated with the given numeric wire value. */ public static Mode forNumber(int value) { switch (value) { case 0: return MODE_UNSPECIFIED; case 1: return OFF; case 2: return SLOW_OP; case 3: return ALL; default: return null; } } public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final com.google.protobuf.Internal.EnumLiteMap< Mode> internalValueMap = new com.google.protobuf.Internal.EnumLiteMap() { public Mode findValueByNumber(int number) { return Mode.forNumber(number); } }; public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); public static Mode valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; } return VALUES[desc.getIndex()]; } private final int value; private Mode(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode) } public static final int MODE_FIELD_NUMBER = 1; private int mode_; /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
       * Mode which specifies operations that should be profiled.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode getMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.valueOf(mode_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.UNRECOGNIZED : result; } public static final int SLOW_OP_THRESHOLD_FIELD_NUMBER = 2; private com.google.protobuf.Int64Value slowOpThreshold_; /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ @java.lang.Override public boolean hasSlowOpThreshold() { return slowOpThreshold_ != null; } /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ @java.lang.Override public com.google.protobuf.Int64Value getSlowOpThreshold() { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } /** *
       * The slow operation time threshold, in milliseconds. Operations that run
       * for longer than this threshold are considered slow, and are processed by the profiler
       * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
       * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder() { return getSlowOpThreshold(); } 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 (mode_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, mode_); } if (slowOpThreshold_ != null) { output.writeMessage(2, getSlowOpThreshold()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (mode_ != yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.MODE_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, mode_); } if (slowOpThreshold_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSlowOpThreshold()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling) obj; if (mode_ != other.mode_) return false; if (hasSlowOpThreshold() != other.hasSlowOpThreshold()) return false; if (hasSlowOpThreshold()) { if (!getSlowOpThreshold() .equals(other.getSlowOpThreshold())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + MODE_FIELD_NUMBER; hash = (53 * hash) + mode_; if (hasSlowOpThreshold()) { hash = (37 * hash) + SLOW_OP_THRESHOLD_FIELD_NUMBER; hash = (53 * hash) + getSlowOpThreshold().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.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(); mode_ = 0; if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = null; } else { slowOpThreshold_ = null; slowOpThresholdBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling(this); result.mode_ = mode_; if (slowOpThresholdBuilder_ == null) { result.slowOpThreshold_ = slowOpThreshold_; } else { result.slowOpThreshold_ = slowOpThresholdBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDefaultInstance()) return this; if (other.mode_ != 0) { setModeValue(other.getModeValue()); } if (other.hasSlowOpThreshold()) { mergeSlowOpThreshold(other.getSlowOpThreshold()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int mode_ = 0; /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The enum numeric value on the wire for mode. */ @java.lang.Override public int getModeValue() { return mode_; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ public Builder setModeValue(int value) { mode_ = value; onChanged(); return this; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return The mode. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode getMode() { @SuppressWarnings("deprecation") yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode result = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.valueOf(mode_); return result == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode.UNRECOGNIZED : result; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @param value The mode to set. * @return This builder for chaining. */ public Builder setMode(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Mode value) { if (value == null) { throw new NullPointerException(); } mode_ = value.getNumber(); onChanged(); return this; } /** *
         * Mode which specifies operations that should be profiled.
         * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling.Mode mode = 1; * @return This builder for chaining. */ public Builder clearMode() { mode_ = 0; onChanged(); return this; } private com.google.protobuf.Int64Value slowOpThreshold_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> slowOpThresholdBuilder_; /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return Whether the slowOpThreshold field is set. */ public boolean hasSlowOpThreshold() { return slowOpThresholdBuilder_ != null || slowOpThreshold_ != null; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; * @return The slowOpThreshold. */ public com.google.protobuf.Int64Value getSlowOpThreshold() { if (slowOpThresholdBuilder_ == null) { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } else { return slowOpThresholdBuilder_.getMessage(); } } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder setSlowOpThreshold(com.google.protobuf.Int64Value value) { if (slowOpThresholdBuilder_ == null) { if (value == null) { throw new NullPointerException(); } slowOpThreshold_ = value; onChanged(); } else { slowOpThresholdBuilder_.setMessage(value); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder setSlowOpThreshold( com.google.protobuf.Int64Value.Builder builderForValue) { if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = builderForValue.build(); onChanged(); } else { slowOpThresholdBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder mergeSlowOpThreshold(com.google.protobuf.Int64Value value) { if (slowOpThresholdBuilder_ == null) { if (slowOpThreshold_ != null) { slowOpThreshold_ = com.google.protobuf.Int64Value.newBuilder(slowOpThreshold_).mergeFrom(value).buildPartial(); } else { slowOpThreshold_ = value; } onChanged(); } else { slowOpThresholdBuilder_.mergeFrom(value); } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public Builder clearSlowOpThreshold() { if (slowOpThresholdBuilder_ == null) { slowOpThreshold_ = null; onChanged(); } else { slowOpThreshold_ = null; slowOpThresholdBuilder_ = null; } return this; } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64Value.Builder getSlowOpThresholdBuilder() { onChanged(); return getSlowOpThresholdFieldBuilder().getBuilder(); } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ public com.google.protobuf.Int64ValueOrBuilder getSlowOpThresholdOrBuilder() { if (slowOpThresholdBuilder_ != null) { return slowOpThresholdBuilder_.getMessageOrBuilder(); } else { return slowOpThreshold_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : slowOpThreshold_; } } /** *
         * The slow operation time threshold, in milliseconds. Operations that run
         * for longer than this threshold are considered slow, and are processed by the profiler
         * running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.2/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
         * 
* * .google.protobuf.Int64Value slow_op_threshold = 2 [(.yandex.cloud.value) = ">0"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getSlowOpThresholdFieldBuilder() { if (slowOpThresholdBuilder_ == null) { slowOpThresholdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getSlowOpThreshold(), getParentForChildren(), isClean()); slowOpThreshold_ = null; } return slowOpThresholdBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public OperationProfiling parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new OperationProfiling(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface NetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network) com.google.protobuf.MessageOrBuilder { /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ boolean hasMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ com.google.protobuf.Int64Value getMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network} */ public static final class Network extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network) NetworkOrBuilder { private static final long serialVersionUID = 0L; // Use Network.newBuilder() to construct. private Network(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Network() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Network(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Network( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxIncomingConnections_ != null) { subBuilder = maxIncomingConnections_.toBuilder(); } maxIncomingConnections_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxIncomingConnections_); maxIncomingConnections_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder.class); } public static final int MAX_INCOMING_CONNECTIONS_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value maxIncomingConnections_; /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ @java.lang.Override public boolean hasMaxIncomingConnections() { return maxIncomingConnections_ != null; } /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxIncomingConnections() { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } /** *
       * The maximum number of simultaneous connections that mongocfg will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { return getMaxIncomingConnections(); } 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 (maxIncomingConnections_ != null) { output.writeMessage(1, getMaxIncomingConnections()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxIncomingConnections_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network) obj; if (hasMaxIncomingConnections() != other.hasMaxIncomingConnections()) return false; if (hasMaxIncomingConnections()) { if (!getMaxIncomingConnections() .equals(other.getMaxIncomingConnections())) 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 (hasMaxIncomingConnections()) { hash = (37 * hash) + MAX_INCOMING_CONNECTIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxIncomingConnections().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.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 (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network(this); if (maxIncomingConnectionsBuilder_ == null) { result.maxIncomingConnections_ = maxIncomingConnections_; } else { result.maxIncomingConnections_ = maxIncomingConnectionsBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.getDefaultInstance()) return this; if (other.hasMaxIncomingConnections()) { mergeMaxIncomingConnections(other.getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Int64Value maxIncomingConnections_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxIncomingConnectionsBuilder_; /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ public boolean hasMaxIncomingConnections() { return maxIncomingConnectionsBuilder_ != null || maxIncomingConnections_ != null; } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ public com.google.protobuf.Int64Value getMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } else { return maxIncomingConnectionsBuilder_.getMessage(); } } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxIncomingConnections_ = value; onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = builderForValue.build(); onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder mergeMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (maxIncomingConnections_ != null) { maxIncomingConnections_ = com.google.protobuf.Int64Value.newBuilder(maxIncomingConnections_).mergeFrom(value).buildPartial(); } else { maxIncomingConnections_ = value; } onChanged(); } else { maxIncomingConnectionsBuilder_.mergeFrom(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder clearMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; onChanged(); } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64Value.Builder getMaxIncomingConnectionsBuilder() { onChanged(); return getMaxIncomingConnectionsFieldBuilder().getBuilder(); } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { if (maxIncomingConnectionsBuilder_ != null) { return maxIncomingConnectionsBuilder_.getMessageOrBuilder(); } else { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } } /** *
         * The maximum number of simultaneous connections that mongocfg will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxIncomingConnectionsFieldBuilder() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnectionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxIncomingConnections(), getParentForChildren(), isClean()); maxIncomingConnections_ = null; } return maxIncomingConnectionsBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2.Network) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Network parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Network(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int STORAGE_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage storage_; /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ @java.lang.Override public boolean hasStorage() { return storage_ != null; } /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return The storage. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getStorage() { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.getDefaultInstance() : storage_; } /** *
     * `storage` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder getStorageOrBuilder() { return getStorage(); } public static final int OPERATION_PROFILING_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling operationProfiling_; /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ @java.lang.Override public boolean hasOperationProfiling() { return operationProfiling_ != null; } /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getOperationProfiling() { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } /** *
     * `operationProfiling` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder() { return getOperationProfiling(); } public static final int NET_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network net_; /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return Whether the net field is set. */ @java.lang.Override public boolean hasNet() { return net_ != null; } /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return The net. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getNet() { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.getDefaultInstance() : net_; } /** *
     * `net` section of mongocfg configuration.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder getNetOrBuilder() { return getNet(); } 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 (storage_ != null) { output.writeMessage(1, getStorage()); } if (operationProfiling_ != null) { output.writeMessage(2, getOperationProfiling()); } if (net_ != null) { output.writeMessage(3, getNet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (storage_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStorage()); } if (operationProfiling_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getOperationProfiling()); } if (net_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getNet()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2) obj; if (hasStorage() != other.hasStorage()) return false; if (hasStorage()) { if (!getStorage() .equals(other.getStorage())) return false; } if (hasOperationProfiling() != other.hasOperationProfiling()) return false; if (hasOperationProfiling()) { if (!getOperationProfiling() .equals(other.getOperationProfiling())) return false; } if (hasNet() != other.hasNet()) return false; if (hasNet()) { if (!getNet() .equals(other.getNet())) 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 (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + getStorage().hashCode(); } if (hasOperationProfiling()) { hash = (37 * hash) + OPERATION_PROFILING_FIELD_NUMBER; hash = (53 * hash) + getOperationProfiling().hashCode(); } if (hasNet()) { hash = (37 * hash) + NET_FIELD_NUMBER; hash = (53 * hash) + getNet().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.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 (storageBuilder_ == null) { storage_ = null; } else { storage_ = null; storageBuilder_ = null; } if (operationProfilingBuilder_ == null) { operationProfiling_ = null; } else { operationProfiling_ = null; operationProfilingBuilder_ = null; } if (netBuilder_ == null) { net_ = null; } else { net_ = null; netBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2(this); if (storageBuilder_ == null) { result.storage_ = storage_; } else { result.storage_ = storageBuilder_.build(); } if (operationProfilingBuilder_ == null) { result.operationProfiling_ = operationProfiling_; } else { result.operationProfiling_ = operationProfilingBuilder_.build(); } if (netBuilder_ == null) { result.net_ = net_; } else { result.net_ = netBuilder_.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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance()) return this; if (other.hasStorage()) { mergeStorage(other.getStorage()); } if (other.hasOperationProfiling()) { mergeOperationProfiling(other.getOperationProfiling()); } if (other.hasNet()) { mergeNet(other.getNet()); } 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage storage_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder> storageBuilder_; /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return Whether the storage field is set. */ public boolean hasStorage() { return storageBuilder_ != null || storage_ != null; } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; * @return The storage. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage getStorage() { if (storageBuilder_ == null) { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.getDefaultInstance() : storage_; } else { return storageBuilder_.getMessage(); } } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public Builder setStorage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage value) { if (storageBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storage_ = value; onChanged(); } else { storageBuilder_.setMessage(value); } return this; } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public Builder setStorage( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder builderForValue) { if (storageBuilder_ == null) { storage_ = builderForValue.build(); onChanged(); } else { storageBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public Builder mergeStorage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage value) { if (storageBuilder_ == null) { if (storage_ != null) { storage_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.newBuilder(storage_).mergeFrom(value).buildPartial(); } else { storage_ = value; } onChanged(); } else { storageBuilder_.mergeFrom(value); } return this; } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public Builder clearStorage() { if (storageBuilder_ == null) { storage_ = null; onChanged(); } else { storage_ = null; storageBuilder_ = null; } return this; } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder getStorageBuilder() { onChanged(); return getStorageFieldBuilder().getBuilder(); } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder getStorageOrBuilder() { if (storageBuilder_ != null) { return storageBuilder_.getMessageOrBuilder(); } else { return storage_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.getDefaultInstance() : storage_; } } /** *
       * `storage` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Storage storage = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder> getStorageFieldBuilder() { if (storageBuilder_ == null) { storageBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Storage.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.StorageOrBuilder>( getStorage(), getParentForChildren(), isClean()); storage_ = null; } return storageBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling operationProfiling_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder> operationProfilingBuilder_; /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return Whether the operationProfiling field is set. */ public boolean hasOperationProfiling() { return operationProfilingBuilder_ != null || operationProfiling_ != null; } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; * @return The operationProfiling. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling getOperationProfiling() { if (operationProfilingBuilder_ == null) { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } else { return operationProfilingBuilder_.getMessage(); } } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder setOperationProfiling(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling value) { if (operationProfilingBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationProfiling_ = value; onChanged(); } else { operationProfilingBuilder_.setMessage(value); } return this; } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder setOperationProfiling( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder builderForValue) { if (operationProfilingBuilder_ == null) { operationProfiling_ = builderForValue.build(); onChanged(); } else { operationProfilingBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder mergeOperationProfiling(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling value) { if (operationProfilingBuilder_ == null) { if (operationProfiling_ != null) { operationProfiling_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.newBuilder(operationProfiling_).mergeFrom(value).buildPartial(); } else { operationProfiling_ = value; } onChanged(); } else { operationProfilingBuilder_.mergeFrom(value); } return this; } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public Builder clearOperationProfiling() { if (operationProfilingBuilder_ == null) { operationProfiling_ = null; onChanged(); } else { operationProfiling_ = null; operationProfilingBuilder_ = null; } return this; } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder getOperationProfilingBuilder() { onChanged(); return getOperationProfilingFieldBuilder().getBuilder(); } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder getOperationProfilingOrBuilder() { if (operationProfilingBuilder_ != null) { return operationProfilingBuilder_.getMessageOrBuilder(); } else { return operationProfiling_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.getDefaultInstance() : operationProfiling_; } } /** *
       * `operationProfiling` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.OperationProfiling operation_profiling = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder> getOperationProfilingFieldBuilder() { if (operationProfilingBuilder_ == null) { operationProfilingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfiling.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.OperationProfilingOrBuilder>( getOperationProfiling(), getParentForChildren(), isClean()); operationProfiling_ = null; } return operationProfilingBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network net_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder> netBuilder_; /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return Whether the net field is set. */ public boolean hasNet() { return netBuilder_ != null || net_ != null; } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; * @return The net. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network getNet() { if (netBuilder_ == null) { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.getDefaultInstance() : net_; } else { return netBuilder_.getMessage(); } } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public Builder setNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network value) { if (netBuilder_ == null) { if (value == null) { throw new NullPointerException(); } net_ = value; onChanged(); } else { netBuilder_.setMessage(value); } return this; } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public Builder setNet( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder builderForValue) { if (netBuilder_ == null) { net_ = builderForValue.build(); onChanged(); } else { netBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public Builder mergeNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network value) { if (netBuilder_ == null) { if (net_ != null) { net_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.newBuilder(net_).mergeFrom(value).buildPartial(); } else { net_ = value; } onChanged(); } else { netBuilder_.mergeFrom(value); } return this; } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public Builder clearNet() { if (netBuilder_ == null) { net_ = null; onChanged(); } else { net_ = null; netBuilder_ = null; } return this; } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder getNetBuilder() { onChanged(); return getNetFieldBuilder().getBuilder(); } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder getNetOrBuilder() { if (netBuilder_ != null) { return netBuilder_.getMessageOrBuilder(); } else { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.getDefaultInstance() : net_; } } /** *
       * `net` section of mongocfg configuration.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2.Network net = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder> getNetFieldBuilder() { if (netBuilder_ == null) { netBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.NetworkOrBuilder>( getNet(), getParentForChildren(), isClean()); net_ = null; } return netBuilder_; } @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.mongodb.v1.config.MongoCfgConfig4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongoCfgConfig4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongoCfgConfig4_2(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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongosConfig4_2OrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2) com.google.protobuf.MessageOrBuilder { /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return Whether the net field is set. */ boolean hasNet(); /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return The net. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getNet(); /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder getNetOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2} */ public static final class MongosConfig4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2) MongosConfig4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongosConfig4_2.newBuilder() to construct. private MongosConfig4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongosConfig4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongosConfig4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongosConfig4_2( 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder subBuilder = null; if (net_ != null) { subBuilder = net_.toBuilder(); } net_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(net_); net_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder.class); } public interface NetworkOrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network) com.google.protobuf.MessageOrBuilder { /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ boolean hasMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ com.google.protobuf.Int64Value getMaxIncomingConnections(); /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network} */ public static final class Network extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network) NetworkOrBuilder { private static final long serialVersionUID = 0L; // Use Network.newBuilder() to construct. private Network(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Network() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new Network(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Network( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { com.google.protobuf.Int64Value.Builder subBuilder = null; if (maxIncomingConnections_ != null) { subBuilder = maxIncomingConnections_.toBuilder(); } maxIncomingConnections_ = input.readMessage(com.google.protobuf.Int64Value.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(maxIncomingConnections_); maxIncomingConnections_ = 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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder.class); } public static final int MAX_INCOMING_CONNECTIONS_FIELD_NUMBER = 1; private com.google.protobuf.Int64Value maxIncomingConnections_; /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ @java.lang.Override public boolean hasMaxIncomingConnections() { return maxIncomingConnections_ != null; } /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ @java.lang.Override public com.google.protobuf.Int64Value getMaxIncomingConnections() { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } /** *
       * The maximum number of simultaneous connections that mongos will accept.
       * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ @java.lang.Override public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { return getMaxIncomingConnections(); } 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 (maxIncomingConnections_ != null) { output.writeMessage(1, getMaxIncomingConnections()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (maxIncomingConnections_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network) obj; if (hasMaxIncomingConnections() != other.hasMaxIncomingConnections()) return false; if (hasMaxIncomingConnections()) { if (!getMaxIncomingConnections() .equals(other.getMaxIncomingConnections())) 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 (hasMaxIncomingConnections()) { hash = (37 * hash) + MAX_INCOMING_CONNECTIONS_FIELD_NUMBER; hash = (53 * hash) + getMaxIncomingConnections().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.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 (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network(this); if (maxIncomingConnectionsBuilder_ == null) { result.maxIncomingConnections_ = maxIncomingConnections_; } else { result.maxIncomingConnections_ = maxIncomingConnectionsBuilder_.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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.getDefaultInstance()) return this; if (other.hasMaxIncomingConnections()) { mergeMaxIncomingConnections(other.getMaxIncomingConnections()); } 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private com.google.protobuf.Int64Value maxIncomingConnections_; private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> maxIncomingConnectionsBuilder_; /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return Whether the maxIncomingConnections field is set. */ public boolean hasMaxIncomingConnections() { return maxIncomingConnectionsBuilder_ != null || maxIncomingConnections_ != null; } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; * @return The maxIncomingConnections. */ public com.google.protobuf.Int64Value getMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } else { return maxIncomingConnectionsBuilder_.getMessage(); } } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } maxIncomingConnections_ = value; onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder setMaxIncomingConnections( com.google.protobuf.Int64Value.Builder builderForValue) { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = builderForValue.build(); onChanged(); } else { maxIncomingConnectionsBuilder_.setMessage(builderForValue.build()); } return this; } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder mergeMaxIncomingConnections(com.google.protobuf.Int64Value value) { if (maxIncomingConnectionsBuilder_ == null) { if (maxIncomingConnections_ != null) { maxIncomingConnections_ = com.google.protobuf.Int64Value.newBuilder(maxIncomingConnections_).mergeFrom(value).buildPartial(); } else { maxIncomingConnections_ = value; } onChanged(); } else { maxIncomingConnectionsBuilder_.mergeFrom(value); } return this; } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public Builder clearMaxIncomingConnections() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnections_ = null; onChanged(); } else { maxIncomingConnections_ = null; maxIncomingConnectionsBuilder_ = null; } return this; } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64Value.Builder getMaxIncomingConnectionsBuilder() { onChanged(); return getMaxIncomingConnectionsFieldBuilder().getBuilder(); } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ public com.google.protobuf.Int64ValueOrBuilder getMaxIncomingConnectionsOrBuilder() { if (maxIncomingConnectionsBuilder_ != null) { return maxIncomingConnectionsBuilder_.getMessageOrBuilder(); } else { return maxIncomingConnections_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : maxIncomingConnections_; } } /** *
         * The maximum number of simultaneous connections that mongos will accept.
         * 
* * .google.protobuf.Int64Value max_incoming_connections = 1 [(.yandex.cloud.value) = "10-16384"]; */ private com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> getMaxIncomingConnectionsFieldBuilder() { if (maxIncomingConnectionsBuilder_ == null) { maxIncomingConnectionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder>( getMaxIncomingConnections(), getParentForChildren(), isClean()); maxIncomingConnections_ = null; } return maxIncomingConnectionsBuilder_; } @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.mongodb.v1.config.MongosConfig4_2.Network) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Network parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Network(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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int NET_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network net_; /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return Whether the net field is set. */ @java.lang.Override public boolean hasNet() { return net_ != null; } /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return The net. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getNet() { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.getDefaultInstance() : net_; } /** *
     * Network settings for mongos.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder getNetOrBuilder() { return getNet(); } 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 (net_ != null) { output.writeMessage(1, getNet()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (net_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getNet()); } 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.mongodb.v1.config.Mongodb42.MongosConfig4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2) obj; if (hasNet() != other.hasNet()) return false; if (hasNet()) { if (!getNet() .equals(other.getNet())) 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 (hasNet()) { hash = (37 * hash) + NET_FIELD_NUMBER; hash = (53 * hash) + getNet().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.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 (netBuilder_ == null) { net_ = null; } else { net_ = null; netBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2(this); if (netBuilder_ == null) { result.net_ = net_; } else { result.net_ = netBuilder_.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.mongodb.v1.config.Mongodb42.MongosConfig4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance()) return this; if (other.hasNet()) { mergeNet(other.getNet()); } 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.mongodb.v1.config.Mongodb42.MongosConfig4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network net_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder> netBuilder_; /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return Whether the net field is set. */ public boolean hasNet() { return netBuilder_ != null || net_ != null; } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; * @return The net. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network getNet() { if (netBuilder_ == null) { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.getDefaultInstance() : net_; } else { return netBuilder_.getMessage(); } } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public Builder setNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network value) { if (netBuilder_ == null) { if (value == null) { throw new NullPointerException(); } net_ = value; onChanged(); } else { netBuilder_.setMessage(value); } return this; } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public Builder setNet( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder builderForValue) { if (netBuilder_ == null) { net_ = builderForValue.build(); onChanged(); } else { netBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public Builder mergeNet(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network value) { if (netBuilder_ == null) { if (net_ != null) { net_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.newBuilder(net_).mergeFrom(value).buildPartial(); } else { net_ = value; } onChanged(); } else { netBuilder_.mergeFrom(value); } return this; } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public Builder clearNet() { if (netBuilder_ == null) { net_ = null; onChanged(); } else { net_ = null; netBuilder_ = null; } return this; } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder getNetBuilder() { onChanged(); return getNetFieldBuilder().getBuilder(); } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder getNetOrBuilder() { if (netBuilder_ != null) { return netBuilder_.getMessageOrBuilder(); } else { return net_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.getDefaultInstance() : net_; } } /** *
       * Network settings for mongos.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2.Network net = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder> getNetFieldBuilder() { if (netBuilder_ == null) { netBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Network.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.NetworkOrBuilder>( getNet(), getParentForChildren(), isClean()); net_ = null; } return netBuilder_; } @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.mongodb.v1.config.MongosConfig4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongosConfig4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongosConfig4_2(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.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongodConfigSet4_2OrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2) com.google.protobuf.MessageOrBuilder { /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ boolean hasEffectiveConfig(); /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return The effectiveConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getEffectiveConfig(); /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getEffectiveConfigOrBuilder(); /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ boolean hasUserConfig(); /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return The userConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getUserConfig(); /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getUserConfigOrBuilder(); /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ boolean hasDefaultConfig(); /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return The defaultConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultConfig(); /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getDefaultConfigOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2} */ public static final class MongodConfigSet4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2) MongodConfigSet4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongodConfigSet4_2.newBuilder() to construct. private MongodConfigSet4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongodConfigSet4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongodConfigSet4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongodConfigSet4_2( 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.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder subBuilder = null; if (effectiveConfig_ != null) { subBuilder = effectiveConfig_.toBuilder(); } effectiveConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(effectiveConfig_); effectiveConfig_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder subBuilder = null; if (userConfig_ != null) { subBuilder = userConfig_.toBuilder(); } userConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userConfig_); userConfig_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder subBuilder = null; if (defaultConfig_ != null) { subBuilder = defaultConfig_.toBuilder(); } defaultConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.Builder.class); } public static final int EFFECTIVE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 effectiveConfig_; /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ @java.lang.Override public boolean hasEffectiveConfig() { return effectiveConfig_ != null; } /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return The effectiveConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getEffectiveConfig() { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : effectiveConfig_; } /** *
     * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getEffectiveConfigOrBuilder() { return getEffectiveConfig(); } public static final int USER_CONFIG_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 userConfig_; /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ @java.lang.Override public boolean hasUserConfig() { return userConfig_ != null; } /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return The userConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getUserConfig() { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : userConfig_; } /** *
     * User-defined mongod settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getUserConfigOrBuilder() { return getUserConfig(); } public static final int DEFAULT_CONFIG_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 defaultConfig_; /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ @java.lang.Override public boolean hasDefaultConfig() { return defaultConfig_ != null; } /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return The defaultConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultConfig() { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : defaultConfig_; } /** *
     * Default mongod configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2) 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2.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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 effectiveConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> effectiveConfigBuilder_; /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ public boolean hasEffectiveConfig() { return effectiveConfigBuilder_ != null || effectiveConfig_ != null; } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; * @return The effectiveConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getEffectiveConfig() { if (effectiveConfigBuilder_ == null) { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : effectiveConfig_; } else { return effectiveConfigBuilder_.getMessage(); } } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } effectiveConfig_ = value; onChanged(); } else { effectiveConfigBuilder_.setMessage(value); } return this; } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder builderForValue) { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = builderForValue.build(); onChanged(); } else { effectiveConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public Builder mergeEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (effectiveConfig_ != null) { effectiveConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.newBuilder(effectiveConfig_).mergeFrom(value).buildPartial(); } else { effectiveConfig_ = value; } onChanged(); } else { effectiveConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public Builder clearEffectiveConfig() { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = null; onChanged(); } else { effectiveConfig_ = null; effectiveConfigBuilder_ = null; } return this; } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder getEffectiveConfigBuilder() { onChanged(); return getEffectiveConfigFieldBuilder().getBuilder(); } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getEffectiveConfigOrBuilder() { if (effectiveConfigBuilder_ != null) { return effectiveConfigBuilder_.getMessageOrBuilder(); } else { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : effectiveConfig_; } } /** *
       * Effective mongod settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 effective_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> getEffectiveConfigFieldBuilder() { if (effectiveConfigBuilder_ == null) { effectiveConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder>( getEffectiveConfig(), getParentForChildren(), isClean()); effectiveConfig_ = null; } return effectiveConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 userConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> userConfigBuilder_; /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ public boolean hasUserConfig() { return userConfigBuilder_ != null || userConfig_ != null; } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; * @return The userConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getUserConfig() { if (userConfigBuilder_ == null) { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : userConfig_; } else { return userConfigBuilder_.getMessage(); } } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public Builder setUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (userConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userConfig_ = value; onChanged(); } else { userConfigBuilder_.setMessage(value); } return this; } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public Builder setUserConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder builderForValue) { if (userConfigBuilder_ == null) { userConfig_ = builderForValue.build(); onChanged(); } else { userConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public Builder mergeUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (userConfigBuilder_ == null) { if (userConfig_ != null) { userConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.newBuilder(userConfig_).mergeFrom(value).buildPartial(); } else { userConfig_ = value; } onChanged(); } else { userConfigBuilder_.mergeFrom(value); } return this; } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public Builder clearUserConfig() { if (userConfigBuilder_ == null) { userConfig_ = null; onChanged(); } else { userConfig_ = null; userConfigBuilder_ = null; } return this; } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder getUserConfigBuilder() { onChanged(); return getUserConfigFieldBuilder().getBuilder(); } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getUserConfigOrBuilder() { if (userConfigBuilder_ != null) { return userConfigBuilder_.getMessageOrBuilder(); } else { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : userConfig_; } } /** *
       * User-defined mongod settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 user_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> getUserConfigFieldBuilder() { if (userConfigBuilder_ == null) { userConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder>( getUserConfig(), getParentForChildren(), isClean()); userConfig_ = null; } return userConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 defaultConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> defaultConfigBuilder_; /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ public boolean hasDefaultConfig() { return defaultConfigBuilder_ != null || defaultConfig_ != null; } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; * @return The defaultConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 getDefaultConfig() { if (defaultConfigBuilder_ == null) { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : defaultConfig_; } else { return defaultConfigBuilder_.getMessage(); } } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public Builder setDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfig_ = value; onChanged(); } else { defaultConfigBuilder_.setMessage(value); } return this; } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public Builder setDefaultConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder builderForValue) { if (defaultConfigBuilder_ == null) { defaultConfig_ = builderForValue.build(); onChanged(); } else { defaultConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public Builder mergeDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (defaultConfig_ != null) { defaultConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.newBuilder(defaultConfig_).mergeFrom(value).buildPartial(); } else { defaultConfig_ = value; } onChanged(); } else { defaultConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public Builder clearDefaultConfig() { if (defaultConfigBuilder_ == null) { defaultConfig_ = null; onChanged(); } else { defaultConfig_ = null; defaultConfigBuilder_ = null; } return this; } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder getDefaultConfigBuilder() { onChanged(); return getDefaultConfigFieldBuilder().getBuilder(); } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder getDefaultConfigOrBuilder() { if (defaultConfigBuilder_ != null) { return defaultConfigBuilder_.getMessageOrBuilder(); } else { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.getDefaultInstance() : defaultConfig_; } } /** *
       * Default mongod configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_2 default_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder> getDefaultConfigFieldBuilder() { if (defaultConfigBuilder_ == null) { defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfig4_2OrBuilder>( 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.mongodb.v1.config.MongodConfigSet4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongodConfigSet4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongodConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongodConfigSet4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongoCfgConfigSet4_2OrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2) com.google.protobuf.MessageOrBuilder { /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ boolean hasEffectiveConfig(); /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return The effectiveConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getEffectiveConfig(); /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getEffectiveConfigOrBuilder(); /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ boolean hasUserConfig(); /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return The userConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getUserConfig(); /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getUserConfigOrBuilder(); /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ boolean hasDefaultConfig(); /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return The defaultConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultConfig(); /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getDefaultConfigOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2} */ public static final class MongoCfgConfigSet4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2) MongoCfgConfigSet4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongoCfgConfigSet4_2.newBuilder() to construct. private MongoCfgConfigSet4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongoCfgConfigSet4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongoCfgConfigSet4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongoCfgConfigSet4_2( 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.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder subBuilder = null; if (effectiveConfig_ != null) { subBuilder = effectiveConfig_.toBuilder(); } effectiveConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(effectiveConfig_); effectiveConfig_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder subBuilder = null; if (userConfig_ != null) { subBuilder = userConfig_.toBuilder(); } userConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userConfig_); userConfig_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder subBuilder = null; if (defaultConfig_ != null) { subBuilder = defaultConfig_.toBuilder(); } defaultConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.Builder.class); } public static final int EFFECTIVE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 effectiveConfig_; /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ @java.lang.Override public boolean hasEffectiveConfig() { return effectiveConfig_ != null; } /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return The effectiveConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getEffectiveConfig() { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : effectiveConfig_; } /** *
     * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getEffectiveConfigOrBuilder() { return getEffectiveConfig(); } public static final int USER_CONFIG_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 userConfig_; /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ @java.lang.Override public boolean hasUserConfig() { return userConfig_ != null; } /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return The userConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getUserConfig() { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : userConfig_; } /** *
     * User-defined mongocfg settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getUserConfigOrBuilder() { return getUserConfig(); } public static final int DEFAULT_CONFIG_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 defaultConfig_; /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ @java.lang.Override public boolean hasDefaultConfig() { return defaultConfig_ != null; } /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return The defaultConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultConfig() { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : defaultConfig_; } /** *
     * Default mongocfg configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2) 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2.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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 effectiveConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> effectiveConfigBuilder_; /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ public boolean hasEffectiveConfig() { return effectiveConfigBuilder_ != null || effectiveConfig_ != null; } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; * @return The effectiveConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getEffectiveConfig() { if (effectiveConfigBuilder_ == null) { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : effectiveConfig_; } else { return effectiveConfigBuilder_.getMessage(); } } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } effectiveConfig_ = value; onChanged(); } else { effectiveConfigBuilder_.setMessage(value); } return this; } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder builderForValue) { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = builderForValue.build(); onChanged(); } else { effectiveConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public Builder mergeEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (effectiveConfig_ != null) { effectiveConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.newBuilder(effectiveConfig_).mergeFrom(value).buildPartial(); } else { effectiveConfig_ = value; } onChanged(); } else { effectiveConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public Builder clearEffectiveConfig() { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = null; onChanged(); } else { effectiveConfig_ = null; effectiveConfigBuilder_ = null; } return this; } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder getEffectiveConfigBuilder() { onChanged(); return getEffectiveConfigFieldBuilder().getBuilder(); } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getEffectiveConfigOrBuilder() { if (effectiveConfigBuilder_ != null) { return effectiveConfigBuilder_.getMessageOrBuilder(); } else { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : effectiveConfig_; } } /** *
       * Effective mongocfg settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 effective_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> getEffectiveConfigFieldBuilder() { if (effectiveConfigBuilder_ == null) { effectiveConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder>( getEffectiveConfig(), getParentForChildren(), isClean()); effectiveConfig_ = null; } return effectiveConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 userConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> userConfigBuilder_; /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ public boolean hasUserConfig() { return userConfigBuilder_ != null || userConfig_ != null; } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; * @return The userConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getUserConfig() { if (userConfigBuilder_ == null) { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : userConfig_; } else { return userConfigBuilder_.getMessage(); } } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public Builder setUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (userConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userConfig_ = value; onChanged(); } else { userConfigBuilder_.setMessage(value); } return this; } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public Builder setUserConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder builderForValue) { if (userConfigBuilder_ == null) { userConfig_ = builderForValue.build(); onChanged(); } else { userConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public Builder mergeUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (userConfigBuilder_ == null) { if (userConfig_ != null) { userConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.newBuilder(userConfig_).mergeFrom(value).buildPartial(); } else { userConfig_ = value; } onChanged(); } else { userConfigBuilder_.mergeFrom(value); } return this; } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public Builder clearUserConfig() { if (userConfigBuilder_ == null) { userConfig_ = null; onChanged(); } else { userConfig_ = null; userConfigBuilder_ = null; } return this; } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder getUserConfigBuilder() { onChanged(); return getUserConfigFieldBuilder().getBuilder(); } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getUserConfigOrBuilder() { if (userConfigBuilder_ != null) { return userConfigBuilder_.getMessageOrBuilder(); } else { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : userConfig_; } } /** *
       * User-defined mongocfg settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 user_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> getUserConfigFieldBuilder() { if (userConfigBuilder_ == null) { userConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder>( getUserConfig(), getParentForChildren(), isClean()); userConfig_ = null; } return userConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 defaultConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> defaultConfigBuilder_; /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ public boolean hasDefaultConfig() { return defaultConfigBuilder_ != null || defaultConfig_ != null; } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; * @return The defaultConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 getDefaultConfig() { if (defaultConfigBuilder_ == null) { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : defaultConfig_; } else { return defaultConfigBuilder_.getMessage(); } } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public Builder setDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfig_ = value; onChanged(); } else { defaultConfigBuilder_.setMessage(value); } return this; } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public Builder setDefaultConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder builderForValue) { if (defaultConfigBuilder_ == null) { defaultConfig_ = builderForValue.build(); onChanged(); } else { defaultConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public Builder mergeDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (defaultConfig_ != null) { defaultConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.newBuilder(defaultConfig_).mergeFrom(value).buildPartial(); } else { defaultConfig_ = value; } onChanged(); } else { defaultConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public Builder clearDefaultConfig() { if (defaultConfigBuilder_ == null) { defaultConfig_ = null; onChanged(); } else { defaultConfig_ = null; defaultConfigBuilder_ = null; } return this; } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder getDefaultConfigBuilder() { onChanged(); return getDefaultConfigFieldBuilder().getBuilder(); } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder getDefaultConfigOrBuilder() { if (defaultConfigBuilder_ != null) { return defaultConfigBuilder_.getMessageOrBuilder(); } else { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.getDefaultInstance() : defaultConfig_; } } /** *
       * Default mongocfg configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_2 default_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder> getDefaultConfigFieldBuilder() { if (defaultConfigBuilder_ == null) { defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfig4_2OrBuilder>( 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.mongodb.v1.config.MongoCfgConfigSet4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongoCfgConfigSet4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongoCfgConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongoCfgConfigSet4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MongosConfigSet4_2OrBuilder extends // @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2) com.google.protobuf.MessageOrBuilder { /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ boolean hasEffectiveConfig(); /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return The effectiveConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getEffectiveConfig(); /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getEffectiveConfigOrBuilder(); /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ boolean hasUserConfig(); /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return The userConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getUserConfig(); /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getUserConfigOrBuilder(); /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ boolean hasDefaultConfig(); /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return The defaultConfig. */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultConfig(); /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getDefaultConfigOrBuilder(); } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2} */ public static final class MongosConfigSet4_2 extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2) MongosConfigSet4_2OrBuilder { private static final long serialVersionUID = 0L; // Use MongosConfigSet4_2.newBuilder() to construct. private MongosConfigSet4_2(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private MongosConfigSet4_2() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new MongosConfigSet4_2(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private MongosConfigSet4_2( 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.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder subBuilder = null; if (effectiveConfig_ != null) { subBuilder = effectiveConfig_.toBuilder(); } effectiveConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(effectiveConfig_); effectiveConfig_ = subBuilder.buildPartial(); } break; } case 18: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder subBuilder = null; if (userConfig_ != null) { subBuilder = userConfig_.toBuilder(); } userConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(userConfig_); userConfig_ = subBuilder.buildPartial(); } break; } case 26: { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder subBuilder = null; if (defaultConfig_ != null) { subBuilder = defaultConfig_.toBuilder(); } defaultConfig_ = input.readMessage(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.Builder.class); } public static final int EFFECTIVE_CONFIG_FIELD_NUMBER = 1; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 effectiveConfig_; /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ @java.lang.Override public boolean hasEffectiveConfig() { return effectiveConfig_ != null; } /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return The effectiveConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getEffectiveConfig() { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : effectiveConfig_; } /** *
     * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
     * in [user_config] and [default_config]).
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getEffectiveConfigOrBuilder() { return getEffectiveConfig(); } public static final int USER_CONFIG_FIELD_NUMBER = 2; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 userConfig_; /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ @java.lang.Override public boolean hasUserConfig() { return userConfig_ != null; } /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return The userConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getUserConfig() { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : userConfig_; } /** *
     * User-defined mongos settings for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getUserConfigOrBuilder() { return getUserConfig(); } public static final int DEFAULT_CONFIG_FIELD_NUMBER = 3; private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 defaultConfig_; /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ @java.lang.Override public boolean hasDefaultConfig() { return defaultConfig_ != null; } /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return The defaultConfig. */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultConfig() { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : defaultConfig_; } /** *
     * Default mongos configuration for a MongoDB 4.2 cluster.
     * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2)) { return super.equals(obj); } yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 other = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2) 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2) yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2OrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.class, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.Builder.class); } // Construct using yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.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.mongodb.v1.config.Mongodb42.internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getDefaultInstanceForType() { return yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 build() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 buildPartial() { yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 result = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2) { return mergeFrom((yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 other) { if (other == yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2.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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 effectiveConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> effectiveConfigBuilder_; /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return Whether the effectiveConfig field is set. */ public boolean hasEffectiveConfig() { return effectiveConfigBuilder_ != null || effectiveConfig_ != null; } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; * @return The effectiveConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getEffectiveConfig() { if (effectiveConfigBuilder_ == null) { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : effectiveConfig_; } else { return effectiveConfigBuilder_.getMessage(); } } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } effectiveConfig_ = value; onChanged(); } else { effectiveConfigBuilder_.setMessage(value); } return this; } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public Builder setEffectiveConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder builderForValue) { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = builderForValue.build(); onChanged(); } else { effectiveConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public Builder mergeEffectiveConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (effectiveConfigBuilder_ == null) { if (effectiveConfig_ != null) { effectiveConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.newBuilder(effectiveConfig_).mergeFrom(value).buildPartial(); } else { effectiveConfig_ = value; } onChanged(); } else { effectiveConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public Builder clearEffectiveConfig() { if (effectiveConfigBuilder_ == null) { effectiveConfig_ = null; onChanged(); } else { effectiveConfig_ = null; effectiveConfigBuilder_ = null; } return this; } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder getEffectiveConfigBuilder() { onChanged(); return getEffectiveConfigFieldBuilder().getBuilder(); } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getEffectiveConfigOrBuilder() { if (effectiveConfigBuilder_ != null) { return effectiveConfigBuilder_.getMessageOrBuilder(); } else { return effectiveConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : effectiveConfig_; } } /** *
       * Effective mongos settings for a MongoDB 4.2 cluster (a combination of settings defined
       * in [user_config] and [default_config]).
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 effective_config = 1; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> getEffectiveConfigFieldBuilder() { if (effectiveConfigBuilder_ == null) { effectiveConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder>( getEffectiveConfig(), getParentForChildren(), isClean()); effectiveConfig_ = null; } return effectiveConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 userConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> userConfigBuilder_; /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return Whether the userConfig field is set. */ public boolean hasUserConfig() { return userConfigBuilder_ != null || userConfig_ != null; } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; * @return The userConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getUserConfig() { if (userConfigBuilder_ == null) { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : userConfig_; } else { return userConfigBuilder_.getMessage(); } } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public Builder setUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (userConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } userConfig_ = value; onChanged(); } else { userConfigBuilder_.setMessage(value); } return this; } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public Builder setUserConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder builderForValue) { if (userConfigBuilder_ == null) { userConfig_ = builderForValue.build(); onChanged(); } else { userConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public Builder mergeUserConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (userConfigBuilder_ == null) { if (userConfig_ != null) { userConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.newBuilder(userConfig_).mergeFrom(value).buildPartial(); } else { userConfig_ = value; } onChanged(); } else { userConfigBuilder_.mergeFrom(value); } return this; } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public Builder clearUserConfig() { if (userConfigBuilder_ == null) { userConfig_ = null; onChanged(); } else { userConfig_ = null; userConfigBuilder_ = null; } return this; } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder getUserConfigBuilder() { onChanged(); return getUserConfigFieldBuilder().getBuilder(); } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getUserConfigOrBuilder() { if (userConfigBuilder_ != null) { return userConfigBuilder_.getMessageOrBuilder(); } else { return userConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : userConfig_; } } /** *
       * User-defined mongos settings for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 user_config = 2; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> getUserConfigFieldBuilder() { if (userConfigBuilder_ == null) { userConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder>( getUserConfig(), getParentForChildren(), isClean()); userConfig_ = null; } return userConfigBuilder_; } private yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 defaultConfig_; private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> defaultConfigBuilder_; /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return Whether the defaultConfig field is set. */ public boolean hasDefaultConfig() { return defaultConfigBuilder_ != null || defaultConfig_ != null; } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; * @return The defaultConfig. */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 getDefaultConfig() { if (defaultConfigBuilder_ == null) { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : defaultConfig_; } else { return defaultConfigBuilder_.getMessage(); } } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public Builder setDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); } defaultConfig_ = value; onChanged(); } else { defaultConfigBuilder_.setMessage(value); } return this; } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public Builder setDefaultConfig( yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder builderForValue) { if (defaultConfigBuilder_ == null) { defaultConfig_ = builderForValue.build(); onChanged(); } else { defaultConfigBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public Builder mergeDefaultConfig(yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2 value) { if (defaultConfigBuilder_ == null) { if (defaultConfig_ != null) { defaultConfig_ = yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.newBuilder(defaultConfig_).mergeFrom(value).buildPartial(); } else { defaultConfig_ = value; } onChanged(); } else { defaultConfigBuilder_.mergeFrom(value); } return this; } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public Builder clearDefaultConfig() { if (defaultConfigBuilder_ == null) { defaultConfig_ = null; onChanged(); } else { defaultConfig_ = null; defaultConfigBuilder_ = null; } return this; } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder getDefaultConfigBuilder() { onChanged(); return getDefaultConfigFieldBuilder().getBuilder(); } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ public yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder getDefaultConfigOrBuilder() { if (defaultConfigBuilder_ != null) { return defaultConfigBuilder_.getMessageOrBuilder(); } else { return defaultConfig_ == null ? yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.getDefaultInstance() : defaultConfig_; } } /** *
       * Default mongos configuration for a MongoDB 4.2 cluster.
       * 
* * .yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_2 default_config = 3; */ private com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder> getDefaultConfigFieldBuilder() { if (defaultConfigBuilder_ == null) { defaultConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2.Builder, yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfig4_2OrBuilder>( 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.mongodb.v1.config.MongosConfigSet4_2) } // @@protoc_insertion_point(class_scope:yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_2) private static final yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2(); } public static yandex.cloud.api.mdb.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public MongosConfigSet4_2 parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new MongosConfigSet4_2(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.mongodb.v1.config.Mongodb42.MongosConfigSet4_2 getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n3yandex/cloud/mdb/mongodb/v1/config/mon" + "godb4_2.proto\022\"yandex.cloud.mdb.mongodb." + "v1.config\032\036google/protobuf/wrappers.prot" + "o\032\035yandex/cloud/validation.proto\"\373\n\n\017Mon" + "godConfig4_2\022L\n\007storage\030\001 \001(\0132;.yandex.c" + "loud.mdb.mongodb.v1.config.MongodConfig4" + "_2.Storage\022c\n\023operation_profiling\030\002 \001(\0132" + "F.yandex.cloud.mdb.mongodb.v1.config.Mon" + "godConfig4_2.OperationProfiling\022H\n\003net\030\003" + " \001(\0132;.yandex.cloud.mdb.mongodb.v1.confi" + "g.MongodConfig4_2.Network\032\243\006\n\007Storage\022[\n" + "\013wired_tiger\030\001 \001(\0132F.yandex.cloud.mdb.mo" + "ngodb.v1.config.MongodConfig4_2.Storage." + "WiredTiger\022T\n\007journal\030\002 \001(\0132C.yandex.clo" + "ud.mdb.mongodb.v1.config.MongodConfig4_2" + ".Storage.Journal\032\230\004\n\nWiredTiger\022j\n\rengin" + "e_config\030\001 \001(\0132S.yandex.cloud.mdb.mongod" + "b.v1.config.MongodConfig4_2.Storage.Wire" + "dTiger.EngineConfig\022r\n\021collection_config" + "\030\002 \001(\0132W.yandex.cloud.mdb.mongodb.v1.con" + "fig.MongodConfig4_2.Storage.WiredTiger.C" + "ollectionConfig\032C\n\014EngineConfig\0223\n\rcache" + "_size_gb\030\001 \001(\0132\034.google.protobuf.DoubleV" + "alue\032\344\001\n\020CollectionConfig\022|\n\020block_compr" + "essor\030\001 \001(\0162b.yandex.cloud.mdb.mongodb.v" + "1.config.MongodConfig4_2.Storage.WiredTi" + "ger.CollectionConfig.Compressor\"R\n\nCompr" + "essor\022\032\n\026COMPRESSOR_UNSPECIFIED\020\000\022\010\n\004NON" + "E\020\001\022\n\n\006SNAPPY\020\002\022\010\n\004ZLIB\020\003\022\010\n\004ZSTD\020\004\032J\n\007J" + "ournal\022?\n\017commit_interval\030\001 \001(\0132\033.google" + ".protobuf.Int64ValueB\t\372\3071\0051-500\032\354\001\n\022Oper" + "ationProfiling\022Y\n\004mode\030\001 \001(\0162K.yandex.cl" + "oud.mdb.mongodb.v1.config.MongodConfig4_" + "2.OperationProfiling.Mode\022>\n\021slow_op_thr" + "eshold\030\002 \001(\0132\033.google.protobuf.Int64Valu" + "eB\006\372\3071\002>0\";\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022" + "\007\n\003OFF\020\001\022\013\n\007SLOW_OP\020\002\022\007\n\003ALL\020\003\032V\n\007Networ" + "k\022K\n\030max_incoming_connections\030\001 \001(\0132\033.go" + "ogle.protobuf.Int64ValueB\014\372\3071\01010-16384\"\214" + "\007\n\021MongoCfgConfig4_2\022N\n\007storage\030\001 \001(\0132=." + "yandex.cloud.mdb.mongodb.v1.config.Mongo" + "CfgConfig4_2.Storage\022e\n\023operation_profil" + "ing\030\002 \001(\0132H.yandex.cloud.mdb.mongodb.v1." + "config.MongoCfgConfig4_2.OperationProfil" + "ing\022J\n\003net\030\003 \001(\0132=.yandex.cloud.mdb.mong" + "odb.v1.config.MongoCfgConfig4_2.Network\032" + "\252\002\n\007Storage\022]\n\013wired_tiger\030\001 \001(\0132H.yande" + "x.cloud.mdb.mongodb.v1.config.MongoCfgCo" + "nfig4_2.Storage.WiredTiger\032\277\001\n\nWiredTige" + "r\022l\n\rengine_config\030\001 \001(\0132U.yandex.cloud." + "mdb.mongodb.v1.config.MongoCfgConfig4_2." + "Storage.WiredTiger.EngineConfig\032C\n\014Engin" + "eConfig\0223\n\rcache_size_gb\030\001 \001(\0132\034.google." + "protobuf.DoubleValue\032\356\001\n\022OperationProfil" + "ing\022[\n\004mode\030\001 \001(\0162M.yandex.cloud.mdb.mon" + "godb.v1.config.MongoCfgConfig4_2.Operati" + "onProfiling.Mode\022>\n\021slow_op_threshold\030\002 " + "\001(\0132\033.google.protobuf.Int64ValueB\006\372\3071\002>0" + "\";\n\004Mode\022\024\n\020MODE_UNSPECIFIED\020\000\022\007\n\003OFF\020\001\022" + "\013\n\007SLOW_OP\020\002\022\007\n\003ALL\020\003\032V\n\007Network\022K\n\030max_" + "incoming_connections\030\001 \001(\0132\033.google.prot" + "obuf.Int64ValueB\014\372\3071\01010-16384\"\263\001\n\017Mongos" + "Config4_2\022H\n\003net\030\001 \001(\0132;.yandex.cloud.md" + "b.mongodb.v1.config.MongosConfig4_2.Netw" + "ork\032V\n\007Network\022K\n\030max_incoming_connectio" + "ns\030\001 \001(\0132\033.google.protobuf.Int64ValueB\014\372" + "\3071\01010-16384\"\372\001\n\022MongodConfigSet4_2\022M\n\020ef" + "fective_config\030\001 \001(\01323.yandex.cloud.mdb." + "mongodb.v1.config.MongodConfig4_2\022H\n\013use" + "r_config\030\002 \001(\01323.yandex.cloud.mdb.mongod" + "b.v1.config.MongodConfig4_2\022K\n\016default_c" + "onfig\030\003 \001(\01323.yandex.cloud.mdb.mongodb.v" + "1.config.MongodConfig4_2\"\202\002\n\024MongoCfgCon" + "figSet4_2\022O\n\020effective_config\030\001 \001(\01325.ya" + "ndex.cloud.mdb.mongodb.v1.config.MongoCf" + "gConfig4_2\022J\n\013user_config\030\002 \001(\01325.yandex" + ".cloud.mdb.mongodb.v1.config.MongoCfgCon" + "fig4_2\022M\n\016default_config\030\003 \001(\01325.yandex." + "cloud.mdb.mongodb.v1.config.MongoCfgConf" + "ig4_2\"\372\001\n\022MongosConfigSet4_2\022M\n\020effectiv" + "e_config\030\001 \001(\01323.yandex.cloud.mdb.mongod" + "b.v1.config.MongosConfig4_2\022H\n\013user_conf" + "ig\030\002 \001(\01323.yandex.cloud.mdb.mongodb.v1.c" + "onfig.MongosConfig4_2\022K\n\016default_config\030" + "\003 \001(\01323.yandex.cloud.mdb.mongodb.v1.conf" + "ig.MongosConfig4_2Bx\n&yandex.cloud.api.m" + "db.mongodb.v1.configZNgithub.com/yandex-" + "cloud/go-genproto/yandex/cloud/mdb/mongo" + "db/v1/config;mongodbb\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_mongodb_v1_config_MongodConfig4_2_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor, new java.lang.String[] { "Storage", "OperationProfiling", "Net", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor, new java.lang.String[] { "WiredTiger", "Journal", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor, new java.lang.String[] { "EngineConfig", "CollectionConfig", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_EngineConfig_descriptor, new java.lang.String[] { "CacheSizeGb", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_WiredTiger_CollectionConfig_descriptor, new java.lang.String[] { "BlockCompressor", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Storage_Journal_descriptor, new java.lang.String[] { "CommitInterval", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_OperationProfiling_descriptor, new java.lang.String[] { "Mode", "SlowOpThreshold", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_descriptor.getNestedTypes().get(2); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfig4_2_Network_descriptor, new java.lang.String[] { "MaxIncomingConnections", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor, new java.lang.String[] { "Storage", "OperationProfiling", "Net", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor, new java.lang.String[] { "WiredTiger", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor, new java.lang.String[] { "EngineConfig", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Storage_WiredTiger_EngineConfig_descriptor, new java.lang.String[] { "CacheSizeGb", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor.getNestedTypes().get(1); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_OperationProfiling_descriptor, new java.lang.String[] { "Mode", "SlowOpThreshold", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_descriptor.getNestedTypes().get(2); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfig4_2_Network_descriptor, new java.lang.String[] { "MaxIncomingConnections", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor, new java.lang.String[] { "Net", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor = internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_descriptor.getNestedTypes().get(0); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfig4_2_Network_descriptor, new java.lang.String[] { "MaxIncomingConnections", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongodConfigSet4_2_descriptor, new java.lang.String[] { "EffectiveConfig", "UserConfig", "DefaultConfig", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongoCfgConfigSet4_2_descriptor, new java.lang.String[] { "EffectiveConfig", "UserConfig", "DefaultConfig", }); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_mdb_mongodb_v1_config_MongosConfigSet4_2_descriptor, new java.lang.String[] { "EffectiveConfig", "UserConfig", "DefaultConfig", }); com.google.protobuf.ExtensionRegistry registry = com.google.protobuf.ExtensionRegistry.newInstance(); registry.add(yandex.cloud.api.Validation.value); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); com.google.protobuf.WrappersProto.getDescriptor(); yandex.cloud.api.Validation.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy