yandex.cloud.api.dataproc.v1.ClusterOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yandex/cloud/dataproc/v1/cluster.proto
package yandex.cloud.api.dataproc.v1;
public final class ClusterOuterClass {
  private ClusterOuterClass() {}
  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 ClusterOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.dataproc.v1.Cluster)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * ID of the cluster. Generated at creation time.
     * 
     *
     * string id = 1;
     * @return The id.
     */
    java.lang.String getId();
    /**
     * 
     * ID of the cluster. Generated at creation time.
     * 
     *
     * string id = 1;
     * @return The bytes for id.
     */
    com.google.protobuf.ByteString
        getIdBytes();
    /**
     * 
     * ID of the folder that the cluster belongs to.
     * 
     *
     * string folder_id = 2;
     * @return The folderId.
     */
    java.lang.String getFolderId();
    /**
     * 
     * ID of the folder that the cluster belongs to.
     * 
     *
     * string folder_id = 2;
     * @return The bytes for folderId.
     */
    com.google.protobuf.ByteString
        getFolderIdBytes();
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     * @return Whether the createdAt field is set.
     */
    boolean hasCreatedAt();
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     * @return The createdAt.
     */
    com.google.protobuf.Timestamp getCreatedAt();
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     */
    com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder();
    /**
     * 
     * Name of the cluster. The name is unique within the folder.
     * 
     *
     * string name = 4 [(.yandex.cloud.length) = "1-63"];
     * @return The name.
     */
    java.lang.String getName();
    /**
     * 
     * Name of the cluster. The name is unique within the folder.
     * 
     *
     * string name = 4 [(.yandex.cloud.length) = "1-63"];
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();
    /**
     * 
     * Description of the cluster.
     * 
     *
     * string description = 5 [(.yandex.cloud.length) = "0-256"];
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * 
     * Description of the cluster.
     * 
     *
     * string description = 5 [(.yandex.cloud.length) = "0-256"];
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    int getLabelsCount();
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    boolean containsLabels(
        java.lang.String key);
    /**
     * Use {@link #getLabelsMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getLabels();
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    java.util.Map
    getLabelsMap();
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    java.lang.String getLabelsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    java.lang.String getLabelsOrThrow(
        java.lang.String key);
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    java.util.List 
        getMonitoringList();
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring getMonitoring(int index);
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    int getMonitoringCount();
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder> 
        getMonitoringOrBuilderList();
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder getMonitoringOrBuilder(
        int index);
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     * @return Whether the config field is set.
     */
    boolean hasConfig();
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     * @return The config.
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig getConfig();
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder getConfigOrBuilder();
    /**
     * 
     * Aggregated cluster health.
     * 
     *
     * .yandex.cloud.dataproc.v1.Health health = 9;
     * @return The enum numeric value on the wire for health.
     */
    int getHealthValue();
    /**
     * 
     * Aggregated cluster health.
     * 
     *
     * .yandex.cloud.dataproc.v1.Health health = 9;
     * @return The health.
     */
    yandex.cloud.api.dataproc.v1.Common.Health getHealth();
    /**
     * 
     * Cluster status.
     * 
     *
     * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
     * @return The enum numeric value on the wire for status.
     */
    int getStatusValue();
    /**
     * 
     * Cluster status.
     * 
     *
     * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
     * @return The status.
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status getStatus();
    /**
     * 
     * ID of the availability zone where the cluster resides.
     * 
     *
     * string zone_id = 11;
     * @return The zoneId.
     */
    java.lang.String getZoneId();
    /**
     * 
     * ID of the availability zone where the cluster resides.
     * 
     *
     * string zone_id = 11;
     * @return The bytes for zoneId.
     */
    com.google.protobuf.ByteString
        getZoneIdBytes();
    /**
     * 
     * ID of service account for the Data Proc manager agent.
     * 
     *
     * string service_account_id = 12;
     * @return The serviceAccountId.
     */
    java.lang.String getServiceAccountId();
    /**
     * 
     * ID of service account for the Data Proc manager agent.
     * 
     *
     * string service_account_id = 12;
     * @return The bytes for serviceAccountId.
     */
    com.google.protobuf.ByteString
        getServiceAccountIdBytes();
    /**
     * 
     * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
     * 
     *
     * string bucket = 13;
     * @return The bucket.
     */
    java.lang.String getBucket();
    /**
     * 
     * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
     * 
     *
     * string bucket = 13;
     * @return The bytes for bucket.
     */
    com.google.protobuf.ByteString
        getBucketBytes();
    /**
     * 
     * Whether UI Proxy feature is enabled.
     * 
     *
     * bool ui_proxy = 14;
     * @return The uiProxy.
     */
    boolean getUiProxy();
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @return A list containing the securityGroupIds.
     */
    java.util.List
        getSecurityGroupIdsList();
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @return The count of securityGroupIds.
     */
    int getSecurityGroupIdsCount();
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @param index The index of the element to return.
     * @return The securityGroupIds at the given index.
     */
    java.lang.String getSecurityGroupIds(int index);
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @param index The index of the value to return.
     * @return The bytes of the securityGroupIds at the given index.
     */
    com.google.protobuf.ByteString
        getSecurityGroupIdsBytes(int index);
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @return A list containing the hostGroupIds.
     */
    java.util.List
        getHostGroupIdsList();
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @return The count of hostGroupIds.
     */
    int getHostGroupIdsCount();
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @param index The index of the element to return.
     * @return The hostGroupIds at the given index.
     */
    java.lang.String getHostGroupIds(int index);
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @param index The index of the value to return.
     * @return The bytes of the hostGroupIds at the given index.
     */
    com.google.protobuf.ByteString
        getHostGroupIdsBytes(int index);
    /**
     * 
     * Deletion Protection inhibits deletion of the cluster
     * 
     *
     * bool deletion_protection = 17;
     * @return The deletionProtection.
     */
    boolean getDeletionProtection();
    /**
     * 
     * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
     * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
     * 
     *
     * string log_group_id = 18;
     * @return The logGroupId.
     */
    java.lang.String getLogGroupId();
    /**
     * 
     * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
     * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
     * 
     *
     * string log_group_id = 18;
     * @return The bytes for logGroupId.
     */
    com.google.protobuf.ByteString
        getLogGroupIdBytes();
  }
  /**
   * 
   * A Data Proc cluster. For details about the concept, see [documentation](/docs/data-proc/concepts/).
   * 
   *
   * Protobuf type {@code yandex.cloud.dataproc.v1.Cluster}
   */
  public static final class Cluster extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yandex.cloud.dataproc.v1.Cluster)
      ClusterOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Cluster.newBuilder() to construct.
    private Cluster(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private Cluster() {
      id_ = "";
      folderId_ = "";
      name_ = "";
      description_ = "";
      monitoring_ = java.util.Collections.emptyList();
      health_ = 0;
      status_ = 0;
      zoneId_ = "";
      serviceAccountId_ = "";
      bucket_ = "";
      securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      hostGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      logGroupId_ = "";
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Cluster();
    }
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Cluster(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              id_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              folderId_ = s;
              break;
            }
            case 26: {
              com.google.protobuf.Timestamp.Builder subBuilder = null;
              if (createdAt_ != null) {
                subBuilder = createdAt_.toBuilder();
              }
              createdAt_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(createdAt_);
                createdAt_ = subBuilder.buildPartial();
              }
              break;
            }
            case 34: {
              java.lang.String s = input.readStringRequireUtf8();
              name_ = s;
              break;
            }
            case 42: {
              java.lang.String s = input.readStringRequireUtf8();
              description_ = s;
              break;
            }
            case 50: {
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                labels_ = com.google.protobuf.MapField.newMapField(
                    LabelsDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000001;
              }
              com.google.protobuf.MapEntry
              labels__ = input.readMessage(
                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              labels_.getMutableMap().put(
                  labels__.getKey(), labels__.getValue());
              break;
            }
            case 58: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                monitoring_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000002;
              }
              monitoring_.add(
                  input.readMessage(yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.parser(), extensionRegistry));
              break;
            }
            case 66: {
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder subBuilder = null;
              if (config_ != null) {
                subBuilder = config_.toBuilder();
              }
              config_ = input.readMessage(yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(config_);
                config_ = subBuilder.buildPartial();
              }
              break;
            }
            case 72: {
              int rawValue = input.readEnum();
              health_ = rawValue;
              break;
            }
            case 80: {
              int rawValue = input.readEnum();
              status_ = rawValue;
              break;
            }
            case 90: {
              java.lang.String s = input.readStringRequireUtf8();
              zoneId_ = s;
              break;
            }
            case 98: {
              java.lang.String s = input.readStringRequireUtf8();
              serviceAccountId_ = s;
              break;
            }
            case 106: {
              java.lang.String s = input.readStringRequireUtf8();
              bucket_ = s;
              break;
            }
            case 112: {
              uiProxy_ = input.readBool();
              break;
            }
            case 122: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                securityGroupIds_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              securityGroupIds_.add(s);
              break;
            }
            case 130: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                hostGroupIds_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              hostGroupIds_.add(s);
              break;
            }
            case 136: {
              deletionProtection_ = input.readBool();
              break;
            }
            case 146: {
              java.lang.String s = input.readStringRequireUtf8();
              logGroupId_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000002) != 0)) {
          monitoring_ = java.util.Collections.unmodifiableList(monitoring_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          securityGroupIds_ = securityGroupIds_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          hostGroupIds_ = hostGroupIds_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor;
    }
    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 6:
          return internalGetLabels();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Builder.class);
    }
    /**
     * Protobuf enum {@code yandex.cloud.dataproc.v1.Cluster.Status}
     */
    public enum Status
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * 
       * Cluster state is unknown.
       * 
       *
       * STATUS_UNKNOWN = 0;
       */
      STATUS_UNKNOWN(0),
      /**
       * 
       * Cluster is being created.
       * 
       *
       * CREATING = 1;
       */
      CREATING(1),
      /**
       * 
       * Cluster is running normally.
       * 
       *
       * RUNNING = 2;
       */
      RUNNING(2),
      /**
       * 
       * Cluster encountered a problem and cannot operate.
       * 
       *
       * ERROR = 3;
       */
      ERROR(3),
      /**
       * 
       * Cluster is stopping.
       * 
       *
       * STOPPING = 4;
       */
      STOPPING(4),
      /**
       * 
       * Cluster stopped.
       * 
       *
       * STOPPED = 5;
       */
      STOPPED(5),
      /**
       * 
       * Cluster is starting.
       * 
       *
       * STARTING = 6;
       */
      STARTING(6),
      UNRECOGNIZED(-1),
      ;
      /**
       * 
       * Cluster state is unknown.
       * 
       *
       * STATUS_UNKNOWN = 0;
       */
      public static final int STATUS_UNKNOWN_VALUE = 0;
      /**
       * 
       * Cluster is being created.
       * 
       *
       * CREATING = 1;
       */
      public static final int CREATING_VALUE = 1;
      /**
       * 
       * Cluster is running normally.
       * 
       *
       * RUNNING = 2;
       */
      public static final int RUNNING_VALUE = 2;
      /**
       * 
       * Cluster encountered a problem and cannot operate.
       * 
       *
       * ERROR = 3;
       */
      public static final int ERROR_VALUE = 3;
      /**
       * 
       * Cluster is stopping.
       * 
       *
       * STOPPING = 4;
       */
      public static final int STOPPING_VALUE = 4;
      /**
       * 
       * Cluster stopped.
       * 
       *
       * STOPPED = 5;
       */
      public static final int STOPPED_VALUE = 5;
      /**
       * 
       * Cluster is starting.
       * 
       *
       * STARTING = 6;
       */
      public static final int STARTING_VALUE = 6;
      public final int getNumber() {
        if (this == UNRECOGNIZED) {
          throw new java.lang.IllegalArgumentException(
              "Can't get the number of an unknown enum value.");
        }
        return value;
      }
      /**
       * @param value The numeric wire value of the corresponding enum entry.
       * @return The enum associated with the given numeric wire value.
       * @deprecated Use {@link #forNumber(int)} instead.
       */
      @java.lang.Deprecated
      public static Status 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 Status forNumber(int value) {
        switch (value) {
          case 0: return STATUS_UNKNOWN;
          case 1: return CREATING;
          case 2: return RUNNING;
          case 3: return ERROR;
          case 4: return STOPPING;
          case 5: return STOPPED;
          case 6: return STARTING;
          default: return null;
        }
      }
      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Status> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Status findValueByNumber(int number) {
                return Status.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.dataproc.v1.ClusterOuterClass.Cluster.getDescriptor().getEnumTypes().get(0);
      }
      private static final Status[] VALUES = values();
      public static Status 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 Status(int value) {
        this.value = value;
      }
      // @@protoc_insertion_point(enum_scope:yandex.cloud.dataproc.v1.Cluster.Status)
    }
    public static final int ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object id_;
    /**
     * 
     * ID of the cluster. Generated at creation time.
     * 
     *
     * string id = 1;
     * @return The id.
     */
    @java.lang.Override
    public java.lang.String getId() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        id_ = s;
        return s;
      }
    }
    /**
     * 
     * ID of the cluster. Generated at creation time.
     * 
     *
     * string id = 1;
     * @return The bytes for id.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getIdBytes() {
      java.lang.Object ref = id_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        id_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int FOLDER_ID_FIELD_NUMBER = 2;
    private volatile java.lang.Object folderId_;
    /**
     * 
     * ID of the folder that the cluster belongs to.
     * 
     *
     * string folder_id = 2;
     * @return The folderId.
     */
    @java.lang.Override
    public java.lang.String getFolderId() {
      java.lang.Object ref = folderId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        folderId_ = s;
        return s;
      }
    }
    /**
     * 
     * ID of the folder that the cluster belongs to.
     * 
     *
     * string folder_id = 2;
     * @return The bytes for folderId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getFolderIdBytes() {
      java.lang.Object ref = folderId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        folderId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int CREATED_AT_FIELD_NUMBER = 3;
    private com.google.protobuf.Timestamp createdAt_;
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     * @return Whether the createdAt field is set.
     */
    @java.lang.Override
    public boolean hasCreatedAt() {
      return createdAt_ != null;
    }
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     * @return The createdAt.
     */
    @java.lang.Override
    public com.google.protobuf.Timestamp getCreatedAt() {
      return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
    }
    /**
     * 
     * Creation timestamp.
     * 
     *
     * .google.protobuf.Timestamp created_at = 3;
     */
    @java.lang.Override
    public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
      return getCreatedAt();
    }
    public static final int NAME_FIELD_NUMBER = 4;
    private volatile java.lang.Object name_;
    /**
     * 
     * Name of the cluster. The name is unique within the folder.
     * 
     *
     * string name = 4 [(.yandex.cloud.length) = "1-63"];
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * 
     * Name of the cluster. The name is unique within the folder.
     * 
     *
     * string name = 4 [(.yandex.cloud.length) = "1-63"];
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int DESCRIPTION_FIELD_NUMBER = 5;
    private volatile java.lang.Object description_;
    /**
     * 
     * Description of the cluster.
     * 
     *
     * string description = 5 [(.yandex.cloud.length) = "0-256"];
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      }
    }
    /**
     * 
     * Description of the cluster.
     * 
     *
     * string description = 5 [(.yandex.cloud.length) = "0-256"];
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int LABELS_FIELD_NUMBER = 6;
    private static final class LabelsDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> labels_;
    private com.google.protobuf.MapField
    internalGetLabels() {
      if (labels_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            LabelsDefaultEntryHolder.defaultEntry);
      }
      return labels_;
    }
    public int getLabelsCount() {
      return internalGetLabels().getMap().size();
    }
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    @java.lang.Override
    public boolean containsLabels(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetLabels().getMap().containsKey(key);
    }
    /**
     * Use {@link #getLabelsMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getLabels() {
      return getLabelsMap();
    }
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    @java.lang.Override
    public java.util.Map getLabelsMap() {
      return internalGetLabels().getMap();
    }
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    @java.lang.Override
    public java.lang.String getLabelsOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetLabels().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * 
     * Cluster labels as `key:value` pairs.
     * 
     *
     * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
     */
    @java.lang.Override
    public java.lang.String getLabelsOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetLabels().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public static final int MONITORING_FIELD_NUMBER = 7;
    private java.util.List monitoring_;
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    @java.lang.Override
    public java.util.List getMonitoringList() {
      return monitoring_;
    }
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    @java.lang.Override
    public java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder> 
        getMonitoringOrBuilderList() {
      return monitoring_;
    }
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    @java.lang.Override
    public int getMonitoringCount() {
      return monitoring_.size();
    }
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring getMonitoring(int index) {
      return monitoring_.get(index);
    }
    /**
     * 
     * Monitoring systems relevant to the cluster.
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder getMonitoringOrBuilder(
        int index) {
      return monitoring_.get(index);
    }
    public static final int CONFIG_FIELD_NUMBER = 8;
    private yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig config_;
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     * @return Whether the config field is set.
     */
    @java.lang.Override
    public boolean hasConfig() {
      return config_ != null;
    }
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     * @return The config.
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig getConfig() {
      return config_ == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.getDefaultInstance() : config_;
    }
    /**
     * 
     * Configuration of the cluster.
     * 
     *
     * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder getConfigOrBuilder() {
      return getConfig();
    }
    public static final int HEALTH_FIELD_NUMBER = 9;
    private int health_;
    /**
     * 
     * Aggregated cluster health.
     * 
     *
     * .yandex.cloud.dataproc.v1.Health health = 9;
     * @return The enum numeric value on the wire for health.
     */
    @java.lang.Override public int getHealthValue() {
      return health_;
    }
    /**
     * 
     * Aggregated cluster health.
     * 
     *
     * .yandex.cloud.dataproc.v1.Health health = 9;
     * @return The health.
     */
    @java.lang.Override public yandex.cloud.api.dataproc.v1.Common.Health getHealth() {
      @SuppressWarnings("deprecation")
      yandex.cloud.api.dataproc.v1.Common.Health result = yandex.cloud.api.dataproc.v1.Common.Health.valueOf(health_);
      return result == null ? yandex.cloud.api.dataproc.v1.Common.Health.UNRECOGNIZED : result;
    }
    public static final int STATUS_FIELD_NUMBER = 10;
    private int status_;
    /**
     * 
     * Cluster status.
     * 
     *
     * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
     * @return The enum numeric value on the wire for status.
     */
    @java.lang.Override public int getStatusValue() {
      return status_;
    }
    /**
     * 
     * Cluster status.
     * 
     *
     * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
     * @return The status.
     */
    @java.lang.Override public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status getStatus() {
      @SuppressWarnings("deprecation")
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status result = yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.valueOf(status_);
      return result == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.UNRECOGNIZED : result;
    }
    public static final int ZONE_ID_FIELD_NUMBER = 11;
    private volatile java.lang.Object zoneId_;
    /**
     * 
     * ID of the availability zone where the cluster resides.
     * 
     *
     * string zone_id = 11;
     * @return The zoneId.
     */
    @java.lang.Override
    public java.lang.String getZoneId() {
      java.lang.Object ref = zoneId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        zoneId_ = s;
        return s;
      }
    }
    /**
     * 
     * ID of the availability zone where the cluster resides.
     * 
     *
     * string zone_id = 11;
     * @return The bytes for zoneId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getZoneIdBytes() {
      java.lang.Object ref = zoneId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        zoneId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int SERVICE_ACCOUNT_ID_FIELD_NUMBER = 12;
    private volatile java.lang.Object serviceAccountId_;
    /**
     * 
     * ID of service account for the Data Proc manager agent.
     * 
     *
     * string service_account_id = 12;
     * @return The serviceAccountId.
     */
    @java.lang.Override
    public java.lang.String getServiceAccountId() {
      java.lang.Object ref = serviceAccountId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        serviceAccountId_ = s;
        return s;
      }
    }
    /**
     * 
     * ID of service account for the Data Proc manager agent.
     * 
     *
     * string service_account_id = 12;
     * @return The bytes for serviceAccountId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getServiceAccountIdBytes() {
      java.lang.Object ref = serviceAccountId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        serviceAccountId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int BUCKET_FIELD_NUMBER = 13;
    private volatile java.lang.Object bucket_;
    /**
     * 
     * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
     * 
     *
     * string bucket = 13;
     * @return The bucket.
     */
    @java.lang.Override
    public java.lang.String getBucket() {
      java.lang.Object ref = bucket_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        bucket_ = s;
        return s;
      }
    }
    /**
     * 
     * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
     * 
     *
     * string bucket = 13;
     * @return The bytes for bucket.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getBucketBytes() {
      java.lang.Object ref = bucket_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        bucket_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int UI_PROXY_FIELD_NUMBER = 14;
    private boolean uiProxy_;
    /**
     * 
     * Whether UI Proxy feature is enabled.
     * 
     *
     * bool ui_proxy = 14;
     * @return The uiProxy.
     */
    @java.lang.Override
    public boolean getUiProxy() {
      return uiProxy_;
    }
    public static final int SECURITY_GROUP_IDS_FIELD_NUMBER = 15;
    private com.google.protobuf.LazyStringList securityGroupIds_;
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @return A list containing the securityGroupIds.
     */
    public com.google.protobuf.ProtocolStringList
        getSecurityGroupIdsList() {
      return securityGroupIds_;
    }
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @return The count of securityGroupIds.
     */
    public int getSecurityGroupIdsCount() {
      return securityGroupIds_.size();
    }
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @param index The index of the element to return.
     * @return The securityGroupIds at the given index.
     */
    public java.lang.String getSecurityGroupIds(int index) {
      return securityGroupIds_.get(index);
    }
    /**
     * 
     * User security groups.
     * 
     *
     * repeated string security_group_ids = 15;
     * @param index The index of the value to return.
     * @return The bytes of the securityGroupIds at the given index.
     */
    public com.google.protobuf.ByteString
        getSecurityGroupIdsBytes(int index) {
      return securityGroupIds_.getByteString(index);
    }
    public static final int HOST_GROUP_IDS_FIELD_NUMBER = 16;
    private com.google.protobuf.LazyStringList hostGroupIds_;
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @return A list containing the hostGroupIds.
     */
    public com.google.protobuf.ProtocolStringList
        getHostGroupIdsList() {
      return hostGroupIds_;
    }
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @return The count of hostGroupIds.
     */
    public int getHostGroupIdsCount() {
      return hostGroupIds_.size();
    }
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @param index The index of the element to return.
     * @return The hostGroupIds at the given index.
     */
    public java.lang.String getHostGroupIds(int index) {
      return hostGroupIds_.get(index);
    }
    /**
     * 
     * Host groups hosting VMs of the cluster.
     * 
     *
     * repeated string host_group_ids = 16;
     * @param index The index of the value to return.
     * @return The bytes of the hostGroupIds at the given index.
     */
    public com.google.protobuf.ByteString
        getHostGroupIdsBytes(int index) {
      return hostGroupIds_.getByteString(index);
    }
    public static final int DELETION_PROTECTION_FIELD_NUMBER = 17;
    private boolean deletionProtection_;
    /**
     * 
     * Deletion Protection inhibits deletion of the cluster
     * 
     *
     * bool deletion_protection = 17;
     * @return The deletionProtection.
     */
    @java.lang.Override
    public boolean getDeletionProtection() {
      return deletionProtection_;
    }
    public static final int LOG_GROUP_ID_FIELD_NUMBER = 18;
    private volatile java.lang.Object logGroupId_;
    /**
     * 
     * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
     * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
     * 
     *
     * string log_group_id = 18;
     * @return The logGroupId.
     */
    @java.lang.Override
    public java.lang.String getLogGroupId() {
      java.lang.Object ref = logGroupId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        logGroupId_ = s;
        return s;
      }
    }
    /**
     * 
     * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
     * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
     * 
     *
     * string log_group_id = 18;
     * @return The bytes for logGroupId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLogGroupIdBytes() {
      java.lang.Object ref = logGroupId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        logGroupId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;
      memoizedIsInitialized = 1;
      return true;
    }
    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, folderId_);
      }
      if (createdAt_ != null) {
        output.writeMessage(3, getCreatedAt());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 4, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_);
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetLabels(),
          LabelsDefaultEntryHolder.defaultEntry,
          6);
      for (int i = 0; i < monitoring_.size(); i++) {
        output.writeMessage(7, monitoring_.get(i));
      }
      if (config_ != null) {
        output.writeMessage(8, getConfig());
      }
      if (health_ != yandex.cloud.api.dataproc.v1.Common.Health.HEALTH_UNKNOWN.getNumber()) {
        output.writeEnum(9, health_);
      }
      if (status_ != yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.STATUS_UNKNOWN.getNumber()) {
        output.writeEnum(10, status_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 11, zoneId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 12, serviceAccountId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 13, bucket_);
      }
      if (uiProxy_ != false) {
        output.writeBool(14, uiProxy_);
      }
      for (int i = 0; i < securityGroupIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 15, securityGroupIds_.getRaw(i));
      }
      for (int i = 0; i < hostGroupIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 16, hostGroupIds_.getRaw(i));
      }
      if (deletionProtection_ != false) {
        output.writeBool(17, deletionProtection_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logGroupId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 18, logGroupId_);
      }
      unknownFields.writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, id_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(folderId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, folderId_);
      }
      if (createdAt_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(3, getCreatedAt());
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_);
      }
      for (java.util.Map.Entry entry
           : internalGetLabels().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(6, labels__);
      }
      for (int i = 0; i < monitoring_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(7, monitoring_.get(i));
      }
      if (config_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(8, getConfig());
      }
      if (health_ != yandex.cloud.api.dataproc.v1.Common.Health.HEALTH_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(9, health_);
      }
      if (status_ != yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.STATUS_UNKNOWN.getNumber()) {
        size += com.google.protobuf.CodedOutputStream
          .computeEnumSize(10, status_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(zoneId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, zoneId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(serviceAccountId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, serviceAccountId_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, bucket_);
      }
      if (uiProxy_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(14, uiProxy_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < securityGroupIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(securityGroupIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getSecurityGroupIdsList().size();
      }
      {
        int dataSize = 0;
        for (int i = 0; i < hostGroupIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(hostGroupIds_.getRaw(i));
        }
        size += dataSize;
        size += 2 * getHostGroupIdsList().size();
      }
      if (deletionProtection_ != false) {
        size += com.google.protobuf.CodedOutputStream
          .computeBoolSize(17, deletionProtection_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(logGroupId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(18, logGroupId_);
      }
      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.dataproc.v1.ClusterOuterClass.Cluster)) {
        return super.equals(obj);
      }
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster other = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster) obj;
      if (!getId()
          .equals(other.getId())) return false;
      if (!getFolderId()
          .equals(other.getFolderId())) return false;
      if (hasCreatedAt() != other.hasCreatedAt()) return false;
      if (hasCreatedAt()) {
        if (!getCreatedAt()
            .equals(other.getCreatedAt())) return false;
      }
      if (!getName()
          .equals(other.getName())) return false;
      if (!getDescription()
          .equals(other.getDescription())) return false;
      if (!internalGetLabels().equals(
          other.internalGetLabels())) return false;
      if (!getMonitoringList()
          .equals(other.getMonitoringList())) return false;
      if (hasConfig() != other.hasConfig()) return false;
      if (hasConfig()) {
        if (!getConfig()
            .equals(other.getConfig())) return false;
      }
      if (health_ != other.health_) return false;
      if (status_ != other.status_) return false;
      if (!getZoneId()
          .equals(other.getZoneId())) return false;
      if (!getServiceAccountId()
          .equals(other.getServiceAccountId())) return false;
      if (!getBucket()
          .equals(other.getBucket())) return false;
      if (getUiProxy()
          != other.getUiProxy()) return false;
      if (!getSecurityGroupIdsList()
          .equals(other.getSecurityGroupIdsList())) return false;
      if (!getHostGroupIdsList()
          .equals(other.getHostGroupIdsList())) return false;
      if (getDeletionProtection()
          != other.getDeletionProtection()) return false;
      if (!getLogGroupId()
          .equals(other.getLogGroupId())) 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) + ID_FIELD_NUMBER;
      hash = (53 * hash) + getId().hashCode();
      hash = (37 * hash) + FOLDER_ID_FIELD_NUMBER;
      hash = (53 * hash) + getFolderId().hashCode();
      if (hasCreatedAt()) {
        hash = (37 * hash) + CREATED_AT_FIELD_NUMBER;
        hash = (53 * hash) + getCreatedAt().hashCode();
      }
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
      if (!internalGetLabels().getMap().isEmpty()) {
        hash = (37 * hash) + LABELS_FIELD_NUMBER;
        hash = (53 * hash) + internalGetLabels().hashCode();
      }
      if (getMonitoringCount() > 0) {
        hash = (37 * hash) + MONITORING_FIELD_NUMBER;
        hash = (53 * hash) + getMonitoringList().hashCode();
      }
      if (hasConfig()) {
        hash = (37 * hash) + CONFIG_FIELD_NUMBER;
        hash = (53 * hash) + getConfig().hashCode();
      }
      hash = (37 * hash) + HEALTH_FIELD_NUMBER;
      hash = (53 * hash) + health_;
      hash = (37 * hash) + STATUS_FIELD_NUMBER;
      hash = (53 * hash) + status_;
      hash = (37 * hash) + ZONE_ID_FIELD_NUMBER;
      hash = (53 * hash) + getZoneId().hashCode();
      hash = (37 * hash) + SERVICE_ACCOUNT_ID_FIELD_NUMBER;
      hash = (53 * hash) + getServiceAccountId().hashCode();
      hash = (37 * hash) + BUCKET_FIELD_NUMBER;
      hash = (53 * hash) + getBucket().hashCode();
      hash = (37 * hash) + UI_PROXY_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getUiProxy());
      if (getSecurityGroupIdsCount() > 0) {
        hash = (37 * hash) + SECURITY_GROUP_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getSecurityGroupIdsList().hashCode();
      }
      if (getHostGroupIdsCount() > 0) {
        hash = (37 * hash) + HOST_GROUP_IDS_FIELD_NUMBER;
        hash = (53 * hash) + getHostGroupIdsList().hashCode();
      }
      hash = (37 * hash) + DELETION_PROTECTION_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
          getDeletionProtection());
      hash = (37 * hash) + LOG_GROUP_ID_FIELD_NUMBER;
      hash = (53 * hash) + getLogGroupId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster 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.dataproc.v1.ClusterOuterClass.Cluster parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster 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.dataproc.v1.ClusterOuterClass.Cluster parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster 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.dataproc.v1.ClusterOuterClass.Cluster parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster 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.dataproc.v1.ClusterOuterClass.Cluster parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster 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.dataproc.v1.ClusterOuterClass.Cluster prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }
    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * 
     * A Data Proc cluster. For details about the concept, see [documentation](/docs/data-proc/concepts/).
     * 
     *
     * Protobuf type {@code yandex.cloud.dataproc.v1.Cluster}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yandex.cloud.dataproc.v1.Cluster)
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor;
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 6:
            return internalGetLabels();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 6:
            return internalGetMutableLabels();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Builder.class);
      }
      // Construct using yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getMonitoringFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        id_ = "";
        folderId_ = "";
        if (createdAtBuilder_ == null) {
          createdAt_ = null;
        } else {
          createdAt_ = null;
          createdAtBuilder_ = null;
        }
        name_ = "";
        description_ = "";
        internalGetMutableLabels().clear();
        if (monitoringBuilder_ == null) {
          monitoring_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
        } else {
          monitoringBuilder_.clear();
        }
        if (configBuilder_ == null) {
          config_ = null;
        } else {
          config_ = null;
          configBuilder_ = null;
        }
        health_ = 0;
        status_ = 0;
        zoneId_ = "";
        serviceAccountId_ = "";
        bucket_ = "";
        uiProxy_ = false;
        securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        hostGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        deletionProtection_ = false;
        logGroupId_ = "";
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster getDefaultInstanceForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.getDefaultInstance();
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster build() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster buildPartial() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster result = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster(this);
        int from_bitField0_ = bitField0_;
        result.id_ = id_;
        result.folderId_ = folderId_;
        if (createdAtBuilder_ == null) {
          result.createdAt_ = createdAt_;
        } else {
          result.createdAt_ = createdAtBuilder_.build();
        }
        result.name_ = name_;
        result.description_ = description_;
        result.labels_ = internalGetLabels();
        result.labels_.makeImmutable();
        if (monitoringBuilder_ == null) {
          if (((bitField0_ & 0x00000002) != 0)) {
            monitoring_ = java.util.Collections.unmodifiableList(monitoring_);
            bitField0_ = (bitField0_ & ~0x00000002);
          }
          result.monitoring_ = monitoring_;
        } else {
          result.monitoring_ = monitoringBuilder_.build();
        }
        if (configBuilder_ == null) {
          result.config_ = config_;
        } else {
          result.config_ = configBuilder_.build();
        }
        result.health_ = health_;
        result.status_ = status_;
        result.zoneId_ = zoneId_;
        result.serviceAccountId_ = serviceAccountId_;
        result.bucket_ = bucket_;
        result.uiProxy_ = uiProxy_;
        if (((bitField0_ & 0x00000004) != 0)) {
          securityGroupIds_ = securityGroupIds_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.securityGroupIds_ = securityGroupIds_;
        if (((bitField0_ & 0x00000008) != 0)) {
          hostGroupIds_ = hostGroupIds_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000008);
        }
        result.hostGroupIds_ = hostGroupIds_;
        result.deletionProtection_ = deletionProtection_;
        result.logGroupId_ = logGroupId_;
        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.dataproc.v1.ClusterOuterClass.Cluster) {
          return mergeFrom((yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster other) {
        if (other == yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.getDefaultInstance()) return this;
        if (!other.getId().isEmpty()) {
          id_ = other.id_;
          onChanged();
        }
        if (!other.getFolderId().isEmpty()) {
          folderId_ = other.folderId_;
          onChanged();
        }
        if (other.hasCreatedAt()) {
          mergeCreatedAt(other.getCreatedAt());
        }
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          onChanged();
        }
        internalGetMutableLabels().mergeFrom(
            other.internalGetLabels());
        if (monitoringBuilder_ == null) {
          if (!other.monitoring_.isEmpty()) {
            if (monitoring_.isEmpty()) {
              monitoring_ = other.monitoring_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureMonitoringIsMutable();
              monitoring_.addAll(other.monitoring_);
            }
            onChanged();
          }
        } else {
          if (!other.monitoring_.isEmpty()) {
            if (monitoringBuilder_.isEmpty()) {
              monitoringBuilder_.dispose();
              monitoringBuilder_ = null;
              monitoring_ = other.monitoring_;
              bitField0_ = (bitField0_ & ~0x00000002);
              monitoringBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getMonitoringFieldBuilder() : null;
            } else {
              monitoringBuilder_.addAllMessages(other.monitoring_);
            }
          }
        }
        if (other.hasConfig()) {
          mergeConfig(other.getConfig());
        }
        if (other.health_ != 0) {
          setHealthValue(other.getHealthValue());
        }
        if (other.status_ != 0) {
          setStatusValue(other.getStatusValue());
        }
        if (!other.getZoneId().isEmpty()) {
          zoneId_ = other.zoneId_;
          onChanged();
        }
        if (!other.getServiceAccountId().isEmpty()) {
          serviceAccountId_ = other.serviceAccountId_;
          onChanged();
        }
        if (!other.getBucket().isEmpty()) {
          bucket_ = other.bucket_;
          onChanged();
        }
        if (other.getUiProxy() != false) {
          setUiProxy(other.getUiProxy());
        }
        if (!other.securityGroupIds_.isEmpty()) {
          if (securityGroupIds_.isEmpty()) {
            securityGroupIds_ = other.securityGroupIds_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureSecurityGroupIdsIsMutable();
            securityGroupIds_.addAll(other.securityGroupIds_);
          }
          onChanged();
        }
        if (!other.hostGroupIds_.isEmpty()) {
          if (hostGroupIds_.isEmpty()) {
            hostGroupIds_ = other.hostGroupIds_;
            bitField0_ = (bitField0_ & ~0x00000008);
          } else {
            ensureHostGroupIdsIsMutable();
            hostGroupIds_.addAll(other.hostGroupIds_);
          }
          onChanged();
        }
        if (other.getDeletionProtection() != false) {
          setDeletionProtection(other.getDeletionProtection());
        }
        if (!other.getLogGroupId().isEmpty()) {
          logGroupId_ = other.logGroupId_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }
      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;
      private java.lang.Object id_ = "";
      /**
       * 
       * ID of the cluster. Generated at creation time.
       * 
       *
       * string id = 1;
       * @return The id.
       */
      public java.lang.String getId() {
        java.lang.Object ref = id_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          id_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * ID of the cluster. Generated at creation time.
       * 
       *
       * string id = 1;
       * @return The bytes for id.
       */
      public com.google.protobuf.ByteString
          getIdBytes() {
        java.lang.Object ref = id_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          id_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * ID of the cluster. Generated at creation time.
       * 
       *
       * string id = 1;
       * @param value The id to set.
       * @return This builder for chaining.
       */
      public Builder setId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        id_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the cluster. Generated at creation time.
       * 
       *
       * string id = 1;
       * @return This builder for chaining.
       */
      public Builder clearId() {
        
        id_ = getDefaultInstance().getId();
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the cluster. Generated at creation time.
       * 
       *
       * string id = 1;
       * @param value The bytes for id to set.
       * @return This builder for chaining.
       */
      public Builder setIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        id_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object folderId_ = "";
      /**
       * 
       * ID of the folder that the cluster belongs to.
       * 
       *
       * string folder_id = 2;
       * @return The folderId.
       */
      public java.lang.String getFolderId() {
        java.lang.Object ref = folderId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          folderId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * ID of the folder that the cluster belongs to.
       * 
       *
       * string folder_id = 2;
       * @return The bytes for folderId.
       */
      public com.google.protobuf.ByteString
          getFolderIdBytes() {
        java.lang.Object ref = folderId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          folderId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * ID of the folder that the cluster belongs to.
       * 
       *
       * string folder_id = 2;
       * @param value The folderId to set.
       * @return This builder for chaining.
       */
      public Builder setFolderId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        folderId_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the folder that the cluster belongs to.
       * 
       *
       * string folder_id = 2;
       * @return This builder for chaining.
       */
      public Builder clearFolderId() {
        
        folderId_ = getDefaultInstance().getFolderId();
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the folder that the cluster belongs to.
       * 
       *
       * string folder_id = 2;
       * @param value The bytes for folderId to set.
       * @return This builder for chaining.
       */
      public Builder setFolderIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        folderId_ = value;
        onChanged();
        return this;
      }
      private com.google.protobuf.Timestamp createdAt_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createdAtBuilder_;
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       * @return Whether the createdAt field is set.
       */
      public boolean hasCreatedAt() {
        return createdAtBuilder_ != null || createdAt_ != null;
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       * @return The createdAt.
       */
      public com.google.protobuf.Timestamp getCreatedAt() {
        if (createdAtBuilder_ == null) {
          return createdAt_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
        } else {
          return createdAtBuilder_.getMessage();
        }
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public Builder setCreatedAt(com.google.protobuf.Timestamp value) {
        if (createdAtBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          createdAt_ = value;
          onChanged();
        } else {
          createdAtBuilder_.setMessage(value);
        }
        return this;
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public Builder setCreatedAt(
          com.google.protobuf.Timestamp.Builder builderForValue) {
        if (createdAtBuilder_ == null) {
          createdAt_ = builderForValue.build();
          onChanged();
        } else {
          createdAtBuilder_.setMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public Builder mergeCreatedAt(com.google.protobuf.Timestamp value) {
        if (createdAtBuilder_ == null) {
          if (createdAt_ != null) {
            createdAt_ =
              com.google.protobuf.Timestamp.newBuilder(createdAt_).mergeFrom(value).buildPartial();
          } else {
            createdAt_ = value;
          }
          onChanged();
        } else {
          createdAtBuilder_.mergeFrom(value);
        }
        return this;
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public Builder clearCreatedAt() {
        if (createdAtBuilder_ == null) {
          createdAt_ = null;
          onChanged();
        } else {
          createdAt_ = null;
          createdAtBuilder_ = null;
        }
        return this;
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public com.google.protobuf.Timestamp.Builder getCreatedAtBuilder() {
        
        onChanged();
        return getCreatedAtFieldBuilder().getBuilder();
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      public com.google.protobuf.TimestampOrBuilder getCreatedAtOrBuilder() {
        if (createdAtBuilder_ != null) {
          return createdAtBuilder_.getMessageOrBuilder();
        } else {
          return createdAt_ == null ?
              com.google.protobuf.Timestamp.getDefaultInstance() : createdAt_;
        }
      }
      /**
       * 
       * Creation timestamp.
       * 
       *
       * .google.protobuf.Timestamp created_at = 3;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
          getCreatedAtFieldBuilder() {
        if (createdAtBuilder_ == null) {
          createdAtBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                  getCreatedAt(),
                  getParentForChildren(),
                  isClean());
          createdAt_ = null;
        }
        return createdAtBuilder_;
      }
      private java.lang.Object name_ = "";
      /**
       * 
       * Name of the cluster. The name is unique within the folder.
       * 
       *
       * string name = 4 [(.yandex.cloud.length) = "1-63"];
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Name of the cluster. The name is unique within the folder.
       * 
       *
       * string name = 4 [(.yandex.cloud.length) = "1-63"];
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Name of the cluster. The name is unique within the folder.
       * 
       *
       * string name = 4 [(.yandex.cloud.length) = "1-63"];
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Name of the cluster. The name is unique within the folder.
       * 
       *
       * string name = 4 [(.yandex.cloud.length) = "1-63"];
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * 
       * Name of the cluster. The name is unique within the folder.
       * 
       *
       * string name = 4 [(.yandex.cloud.length) = "1-63"];
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object description_ = "";
      /**
       * 
       * Description of the cluster.
       * 
       *
       * string description = 5 [(.yandex.cloud.length) = "0-256"];
       * @return The description.
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Description of the cluster.
       * 
       *
       * string description = 5 [(.yandex.cloud.length) = "0-256"];
       * @return The bytes for description.
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Description of the cluster.
       * 
       *
       * string description = 5 [(.yandex.cloud.length) = "0-256"];
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        description_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Description of the cluster.
       * 
       *
       * string description = 5 [(.yandex.cloud.length) = "0-256"];
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        
        description_ = getDefaultInstance().getDescription();
        onChanged();
        return this;
      }
      /**
       * 
       * Description of the cluster.
       * 
       *
       * string description = 5 [(.yandex.cloud.length) = "0-256"];
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        description_ = value;
        onChanged();
        return this;
      }
      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> labels_;
      private com.google.protobuf.MapField
      internalGetLabels() {
        if (labels_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              LabelsDefaultEntryHolder.defaultEntry);
        }
        return labels_;
      }
      private com.google.protobuf.MapField
      internalGetMutableLabels() {
        onChanged();;
        if (labels_ == null) {
          labels_ = com.google.protobuf.MapField.newMapField(
              LabelsDefaultEntryHolder.defaultEntry);
        }
        if (!labels_.isMutable()) {
          labels_ = labels_.copy();
        }
        return labels_;
      }
      public int getLabelsCount() {
        return internalGetLabels().getMap().size();
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      @java.lang.Override
      public boolean containsLabels(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        return internalGetLabels().getMap().containsKey(key);
      }
      /**
       * Use {@link #getLabelsMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map getLabels() {
        return getLabelsMap();
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      @java.lang.Override
      public java.util.Map getLabelsMap() {
        return internalGetLabels().getMap();
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      @java.lang.Override
      public java.lang.String getLabelsOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetLabels().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      @java.lang.Override
      public java.lang.String getLabelsOrThrow(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetLabels().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
      public Builder clearLabels() {
        internalGetMutableLabels().getMutableMap()
            .clear();
        return this;
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      public Builder removeLabels(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        internalGetMutableLabels().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map
      getMutableLabels() {
        return internalGetMutableLabels().getMutableMap();
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      public Builder putLabels(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new NullPointerException("map key"); }
        if (value == null) {
  throw new NullPointerException("map value");
}
        internalGetMutableLabels().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * 
       * Cluster labels as `key:value` pairs.
       * 
       *
       * map<string, string> labels = 6 [(.yandex.cloud.size) = "<=64"];
       */
      public Builder putAllLabels(
          java.util.Map values) {
        internalGetMutableLabels().getMutableMap()
            .putAll(values);
        return this;
      }
      private java.util.List monitoring_ =
        java.util.Collections.emptyList();
      private void ensureMonitoringIsMutable() {
        if (!((bitField0_ & 0x00000002) != 0)) {
          monitoring_ = new java.util.ArrayList(monitoring_);
          bitField0_ |= 0x00000002;
         }
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder> monitoringBuilder_;
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public java.util.List getMonitoringList() {
        if (monitoringBuilder_ == null) {
          return java.util.Collections.unmodifiableList(monitoring_);
        } else {
          return monitoringBuilder_.getMessageList();
        }
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public int getMonitoringCount() {
        if (monitoringBuilder_ == null) {
          return monitoring_.size();
        } else {
          return monitoringBuilder_.getCount();
        }
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring getMonitoring(int index) {
        if (monitoringBuilder_ == null) {
          return monitoring_.get(index);
        } else {
          return monitoringBuilder_.getMessage(index);
        }
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder setMonitoring(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring value) {
        if (monitoringBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonitoringIsMutable();
          monitoring_.set(index, value);
          onChanged();
        } else {
          monitoringBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder setMonitoring(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder builderForValue) {
        if (monitoringBuilder_ == null) {
          ensureMonitoringIsMutable();
          monitoring_.set(index, builderForValue.build());
          onChanged();
        } else {
          monitoringBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder addMonitoring(yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring value) {
        if (monitoringBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonitoringIsMutable();
          monitoring_.add(value);
          onChanged();
        } else {
          monitoringBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder addMonitoring(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring value) {
        if (monitoringBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureMonitoringIsMutable();
          monitoring_.add(index, value);
          onChanged();
        } else {
          monitoringBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder addMonitoring(
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder builderForValue) {
        if (monitoringBuilder_ == null) {
          ensureMonitoringIsMutable();
          monitoring_.add(builderForValue.build());
          onChanged();
        } else {
          monitoringBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder addMonitoring(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder builderForValue) {
        if (monitoringBuilder_ == null) {
          ensureMonitoringIsMutable();
          monitoring_.add(index, builderForValue.build());
          onChanged();
        } else {
          monitoringBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder addAllMonitoring(
          java.lang.Iterable extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring> values) {
        if (monitoringBuilder_ == null) {
          ensureMonitoringIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, monitoring_);
          onChanged();
        } else {
          monitoringBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder clearMonitoring() {
        if (monitoringBuilder_ == null) {
          monitoring_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          monitoringBuilder_.clear();
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public Builder removeMonitoring(int index) {
        if (monitoringBuilder_ == null) {
          ensureMonitoringIsMutable();
          monitoring_.remove(index);
          onChanged();
        } else {
          monitoringBuilder_.remove(index);
        }
        return this;
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder getMonitoringBuilder(
          int index) {
        return getMonitoringFieldBuilder().getBuilder(index);
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder getMonitoringOrBuilder(
          int index) {
        if (monitoringBuilder_ == null) {
          return monitoring_.get(index);  } else {
          return monitoringBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder> 
           getMonitoringOrBuilderList() {
        if (monitoringBuilder_ != null) {
          return monitoringBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(monitoring_);
        }
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder addMonitoringBuilder() {
        return getMonitoringFieldBuilder().addBuilder(
            yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.getDefaultInstance());
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder addMonitoringBuilder(
          int index) {
        return getMonitoringFieldBuilder().addBuilder(
            index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.getDefaultInstance());
      }
      /**
       * 
       * Monitoring systems relevant to the cluster.
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.Monitoring monitoring = 7;
       */
      public java.util.List 
           getMonitoringBuilderList() {
        return getMonitoringFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder> 
          getMonitoringFieldBuilder() {
        if (monitoringBuilder_ == null) {
          monitoringBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder>(
                  monitoring_,
                  ((bitField0_ & 0x00000002) != 0),
                  getParentForChildren(),
                  isClean());
          monitoring_ = null;
        }
        return monitoringBuilder_;
      }
      private yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig config_;
      private com.google.protobuf.SingleFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder> configBuilder_;
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       * @return Whether the config field is set.
       */
      public boolean hasConfig() {
        return configBuilder_ != null || config_ != null;
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       * @return The config.
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig getConfig() {
        if (configBuilder_ == null) {
          return config_ == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.getDefaultInstance() : config_;
        } else {
          return configBuilder_.getMessage();
        }
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public Builder setConfig(yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig value) {
        if (configBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          config_ = value;
          onChanged();
        } else {
          configBuilder_.setMessage(value);
        }
        return this;
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public Builder setConfig(
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder builderForValue) {
        if (configBuilder_ == null) {
          config_ = builderForValue.build();
          onChanged();
        } else {
          configBuilder_.setMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public Builder mergeConfig(yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig value) {
        if (configBuilder_ == null) {
          if (config_ != null) {
            config_ =
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.newBuilder(config_).mergeFrom(value).buildPartial();
          } else {
            config_ = value;
          }
          onChanged();
        } else {
          configBuilder_.mergeFrom(value);
        }
        return this;
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public Builder clearConfig() {
        if (configBuilder_ == null) {
          config_ = null;
          onChanged();
        } else {
          config_ = null;
          configBuilder_ = null;
        }
        return this;
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder getConfigBuilder() {
        
        onChanged();
        return getConfigFieldBuilder().getBuilder();
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder getConfigOrBuilder() {
        if (configBuilder_ != null) {
          return configBuilder_.getMessageOrBuilder();
        } else {
          return config_ == null ?
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.getDefaultInstance() : config_;
        }
      }
      /**
       * 
       * Configuration of the cluster.
       * 
       *
       * .yandex.cloud.dataproc.v1.ClusterConfig config = 8;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder> 
          getConfigFieldBuilder() {
        if (configBuilder_ == null) {
          configBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder>(
                  getConfig(),
                  getParentForChildren(),
                  isClean());
          config_ = null;
        }
        return configBuilder_;
      }
      private int health_ = 0;
      /**
       * 
       * Aggregated cluster health.
       * 
       *
       * .yandex.cloud.dataproc.v1.Health health = 9;
       * @return The enum numeric value on the wire for health.
       */
      @java.lang.Override public int getHealthValue() {
        return health_;
      }
      /**
       * 
       * Aggregated cluster health.
       * 
       *
       * .yandex.cloud.dataproc.v1.Health health = 9;
       * @param value The enum numeric value on the wire for health to set.
       * @return This builder for chaining.
       */
      public Builder setHealthValue(int value) {
        
        health_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Aggregated cluster health.
       * 
       *
       * .yandex.cloud.dataproc.v1.Health health = 9;
       * @return The health.
       */
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.Common.Health getHealth() {
        @SuppressWarnings("deprecation")
        yandex.cloud.api.dataproc.v1.Common.Health result = yandex.cloud.api.dataproc.v1.Common.Health.valueOf(health_);
        return result == null ? yandex.cloud.api.dataproc.v1.Common.Health.UNRECOGNIZED : result;
      }
      /**
       * 
       * Aggregated cluster health.
       * 
       *
       * .yandex.cloud.dataproc.v1.Health health = 9;
       * @param value The health to set.
       * @return This builder for chaining.
       */
      public Builder setHealth(yandex.cloud.api.dataproc.v1.Common.Health value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        health_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * 
       * Aggregated cluster health.
       * 
       *
       * .yandex.cloud.dataproc.v1.Health health = 9;
       * @return This builder for chaining.
       */
      public Builder clearHealth() {
        
        health_ = 0;
        onChanged();
        return this;
      }
      private int status_ = 0;
      /**
       * 
       * Cluster status.
       * 
       *
       * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
       * @return The enum numeric value on the wire for status.
       */
      @java.lang.Override public int getStatusValue() {
        return status_;
      }
      /**
       * 
       * Cluster status.
       * 
       *
       * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
       * @param value The enum numeric value on the wire for status to set.
       * @return This builder for chaining.
       */
      public Builder setStatusValue(int value) {
        
        status_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Cluster status.
       * 
       *
       * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
       * @return The status.
       */
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status getStatus() {
        @SuppressWarnings("deprecation")
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status result = yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.valueOf(status_);
        return result == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status.UNRECOGNIZED : result;
      }
      /**
       * 
       * Cluster status.
       * 
       *
       * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
       * @param value The status to set.
       * @return This builder for chaining.
       */
      public Builder setStatus(yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster.Status value) {
        if (value == null) {
          throw new NullPointerException();
        }
        
        status_ = value.getNumber();
        onChanged();
        return this;
      }
      /**
       * 
       * Cluster status.
       * 
       *
       * .yandex.cloud.dataproc.v1.Cluster.Status status = 10;
       * @return This builder for chaining.
       */
      public Builder clearStatus() {
        
        status_ = 0;
        onChanged();
        return this;
      }
      private java.lang.Object zoneId_ = "";
      /**
       * 
       * ID of the availability zone where the cluster resides.
       * 
       *
       * string zone_id = 11;
       * @return The zoneId.
       */
      public java.lang.String getZoneId() {
        java.lang.Object ref = zoneId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          zoneId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * ID of the availability zone where the cluster resides.
       * 
       *
       * string zone_id = 11;
       * @return The bytes for zoneId.
       */
      public com.google.protobuf.ByteString
          getZoneIdBytes() {
        java.lang.Object ref = zoneId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          zoneId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * ID of the availability zone where the cluster resides.
       * 
       *
       * string zone_id = 11;
       * @param value The zoneId to set.
       * @return This builder for chaining.
       */
      public Builder setZoneId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        zoneId_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the availability zone where the cluster resides.
       * 
       *
       * string zone_id = 11;
       * @return This builder for chaining.
       */
      public Builder clearZoneId() {
        
        zoneId_ = getDefaultInstance().getZoneId();
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the availability zone where the cluster resides.
       * 
       *
       * string zone_id = 11;
       * @param value The bytes for zoneId to set.
       * @return This builder for chaining.
       */
      public Builder setZoneIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        zoneId_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object serviceAccountId_ = "";
      /**
       * 
       * ID of service account for the Data Proc manager agent.
       * 
       *
       * string service_account_id = 12;
       * @return The serviceAccountId.
       */
      public java.lang.String getServiceAccountId() {
        java.lang.Object ref = serviceAccountId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          serviceAccountId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * ID of service account for the Data Proc manager agent.
       * 
       *
       * string service_account_id = 12;
       * @return The bytes for serviceAccountId.
       */
      public com.google.protobuf.ByteString
          getServiceAccountIdBytes() {
        java.lang.Object ref = serviceAccountId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          serviceAccountId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * ID of service account for the Data Proc manager agent.
       * 
       *
       * string service_account_id = 12;
       * @param value The serviceAccountId to set.
       * @return This builder for chaining.
       */
      public Builder setServiceAccountId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        serviceAccountId_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * ID of service account for the Data Proc manager agent.
       * 
       *
       * string service_account_id = 12;
       * @return This builder for chaining.
       */
      public Builder clearServiceAccountId() {
        
        serviceAccountId_ = getDefaultInstance().getServiceAccountId();
        onChanged();
        return this;
      }
      /**
       * 
       * ID of service account for the Data Proc manager agent.
       * 
       *
       * string service_account_id = 12;
       * @param value The bytes for serviceAccountId to set.
       * @return This builder for chaining.
       */
      public Builder setServiceAccountIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        serviceAccountId_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object bucket_ = "";
      /**
       * 
       * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
       * 
       *
       * string bucket = 13;
       * @return The bucket.
       */
      public java.lang.String getBucket() {
        java.lang.Object ref = bucket_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          bucket_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
       * 
       *
       * string bucket = 13;
       * @return The bytes for bucket.
       */
      public com.google.protobuf.ByteString
          getBucketBytes() {
        java.lang.Object ref = bucket_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          bucket_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
       * 
       *
       * string bucket = 13;
       * @param value The bucket to set.
       * @return This builder for chaining.
       */
      public Builder setBucket(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        bucket_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
       * 
       *
       * string bucket = 13;
       * @return This builder for chaining.
       */
      public Builder clearBucket() {
        
        bucket_ = getDefaultInstance().getBucket();
        onChanged();
        return this;
      }
      /**
       * 
       * Object Storage bucket to be used for Data Proc jobs that are run in the cluster.
       * 
       *
       * string bucket = 13;
       * @param value The bytes for bucket to set.
       * @return This builder for chaining.
       */
      public Builder setBucketBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        bucket_ = value;
        onChanged();
        return this;
      }
      private boolean uiProxy_ ;
      /**
       * 
       * Whether UI Proxy feature is enabled.
       * 
       *
       * bool ui_proxy = 14;
       * @return The uiProxy.
       */
      @java.lang.Override
      public boolean getUiProxy() {
        return uiProxy_;
      }
      /**
       * 
       * Whether UI Proxy feature is enabled.
       * 
       *
       * bool ui_proxy = 14;
       * @param value The uiProxy to set.
       * @return This builder for chaining.
       */
      public Builder setUiProxy(boolean value) {
        
        uiProxy_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Whether UI Proxy feature is enabled.
       * 
       *
       * bool ui_proxy = 14;
       * @return This builder for chaining.
       */
      public Builder clearUiProxy() {
        
        uiProxy_ = false;
        onChanged();
        return this;
      }
      private com.google.protobuf.LazyStringList securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureSecurityGroupIdsIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          securityGroupIds_ = new com.google.protobuf.LazyStringArrayList(securityGroupIds_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @return A list containing the securityGroupIds.
       */
      public com.google.protobuf.ProtocolStringList
          getSecurityGroupIdsList() {
        return securityGroupIds_.getUnmodifiableView();
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @return The count of securityGroupIds.
       */
      public int getSecurityGroupIdsCount() {
        return securityGroupIds_.size();
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param index The index of the element to return.
       * @return The securityGroupIds at the given index.
       */
      public java.lang.String getSecurityGroupIds(int index) {
        return securityGroupIds_.get(index);
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param index The index of the value to return.
       * @return The bytes of the securityGroupIds at the given index.
       */
      public com.google.protobuf.ByteString
          getSecurityGroupIdsBytes(int index) {
        return securityGroupIds_.getByteString(index);
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param index The index to set the value at.
       * @param value The securityGroupIds to set.
       * @return This builder for chaining.
       */
      public Builder setSecurityGroupIds(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSecurityGroupIdsIsMutable();
        securityGroupIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param value The securityGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addSecurityGroupIds(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSecurityGroupIdsIsMutable();
        securityGroupIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param values The securityGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllSecurityGroupIds(
          java.lang.Iterable values) {
        ensureSecurityGroupIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, securityGroupIds_);
        onChanged();
        return this;
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @return This builder for chaining.
       */
      public Builder clearSecurityGroupIds() {
        securityGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * 
       * User security groups.
       * 
       *
       * repeated string security_group_ids = 15;
       * @param value The bytes of the securityGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addSecurityGroupIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureSecurityGroupIdsIsMutable();
        securityGroupIds_.add(value);
        onChanged();
        return this;
      }
      private com.google.protobuf.LazyStringList hostGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureHostGroupIdsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          hostGroupIds_ = new com.google.protobuf.LazyStringArrayList(hostGroupIds_);
          bitField0_ |= 0x00000008;
         }
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @return A list containing the hostGroupIds.
       */
      public com.google.protobuf.ProtocolStringList
          getHostGroupIdsList() {
        return hostGroupIds_.getUnmodifiableView();
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @return The count of hostGroupIds.
       */
      public int getHostGroupIdsCount() {
        return hostGroupIds_.size();
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param index The index of the element to return.
       * @return The hostGroupIds at the given index.
       */
      public java.lang.String getHostGroupIds(int index) {
        return hostGroupIds_.get(index);
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param index The index of the value to return.
       * @return The bytes of the hostGroupIds at the given index.
       */
      public com.google.protobuf.ByteString
          getHostGroupIdsBytes(int index) {
        return hostGroupIds_.getByteString(index);
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param index The index to set the value at.
       * @param value The hostGroupIds to set.
       * @return This builder for chaining.
       */
      public Builder setHostGroupIds(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHostGroupIdsIsMutable();
        hostGroupIds_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param value The hostGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addHostGroupIds(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureHostGroupIdsIsMutable();
        hostGroupIds_.add(value);
        onChanged();
        return this;
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param values The hostGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addAllHostGroupIds(
          java.lang.Iterable values) {
        ensureHostGroupIdsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, hostGroupIds_);
        onChanged();
        return this;
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @return This builder for chaining.
       */
      public Builder clearHostGroupIds() {
        hostGroupIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000008);
        onChanged();
        return this;
      }
      /**
       * 
       * Host groups hosting VMs of the cluster.
       * 
       *
       * repeated string host_group_ids = 16;
       * @param value The bytes of the hostGroupIds to add.
       * @return This builder for chaining.
       */
      public Builder addHostGroupIdsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureHostGroupIdsIsMutable();
        hostGroupIds_.add(value);
        onChanged();
        return this;
      }
      private boolean deletionProtection_ ;
      /**
       * 
       * Deletion Protection inhibits deletion of the cluster
       * 
       *
       * bool deletion_protection = 17;
       * @return The deletionProtection.
       */
      @java.lang.Override
      public boolean getDeletionProtection() {
        return deletionProtection_;
      }
      /**
       * 
       * Deletion Protection inhibits deletion of the cluster
       * 
       *
       * bool deletion_protection = 17;
       * @param value The deletionProtection to set.
       * @return This builder for chaining.
       */
      public Builder setDeletionProtection(boolean value) {
        
        deletionProtection_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Deletion Protection inhibits deletion of the cluster
       * 
       *
       * bool deletion_protection = 17;
       * @return This builder for chaining.
       */
      public Builder clearDeletionProtection() {
        
        deletionProtection_ = false;
        onChanged();
        return this;
      }
      private java.lang.Object logGroupId_ = "";
      /**
       * 
       * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
       * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
       * 
       *
       * string log_group_id = 18;
       * @return The logGroupId.
       */
      public java.lang.String getLogGroupId() {
        java.lang.Object ref = logGroupId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          logGroupId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
       * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
       * 
       *
       * string log_group_id = 18;
       * @return The bytes for logGroupId.
       */
      public com.google.protobuf.ByteString
          getLogGroupIdBytes() {
        java.lang.Object ref = logGroupId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          logGroupId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
       * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
       * 
       *
       * string log_group_id = 18;
       * @param value The logGroupId to set.
       * @return This builder for chaining.
       */
      public Builder setLogGroupId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        logGroupId_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
       * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
       * 
       *
       * string log_group_id = 18;
       * @return This builder for chaining.
       */
      public Builder clearLogGroupId() {
        
        logGroupId_ = getDefaultInstance().getLogGroupId();
        onChanged();
        return this;
      }
      /**
       * 
       * ID of the cloud logging log group to write logs. If not set, default log group for the folder will be used.
       * To prevent logs from being sent to the cloud set cluster property dataproc:disable_cloud_logging = true
       * 
       *
       * string log_group_id = 18;
       * @param value The bytes for logGroupId to set.
       * @return This builder for chaining.
       */
      public Builder setLogGroupIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        logGroupId_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }
      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }
      // @@protoc_insertion_point(builder_scope:yandex.cloud.dataproc.v1.Cluster)
    }
    // @@protoc_insertion_point(class_scope:yandex.cloud.dataproc.v1.Cluster)
    private static final yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster();
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Cluster getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Cluster parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Cluster(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.dataproc.v1.ClusterOuterClass.Cluster getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface MonitoringOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.dataproc.v1.Monitoring)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * Name of the monitoring system.
     * 
     *
     * string name = 1;
     * @return The name.
     */
    java.lang.String getName();
    /**
     * 
     * Name of the monitoring system.
     * 
     *
     * string name = 1;
     * @return The bytes for name.
     */
    com.google.protobuf.ByteString
        getNameBytes();
    /**
     * 
     * Description of the monitoring system.
     * 
     *
     * string description = 2;
     * @return The description.
     */
    java.lang.String getDescription();
    /**
     * 
     * Description of the monitoring system.
     * 
     *
     * string description = 2;
     * @return The bytes for description.
     */
    com.google.protobuf.ByteString
        getDescriptionBytes();
    /**
     * 
     * Link to the monitoring system.
     * 
     *
     * string link = 3;
     * @return The link.
     */
    java.lang.String getLink();
    /**
     * 
     * Link to the monitoring system.
     * 
     *
     * string link = 3;
     * @return The bytes for link.
     */
    com.google.protobuf.ByteString
        getLinkBytes();
  }
  /**
   * 
   * Metadata of a monitoring system for a Data Proc cluster.
   * 
   *
   * Protobuf type {@code yandex.cloud.dataproc.v1.Monitoring}
   */
  public static final class Monitoring extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yandex.cloud.dataproc.v1.Monitoring)
      MonitoringOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use Monitoring.newBuilder() to construct.
    private Monitoring(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private Monitoring() {
      name_ = "";
      description_ = "";
      link_ = "";
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new Monitoring();
    }
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private Monitoring(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              name_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              description_ = s;
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              link_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Monitoring_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder.class);
    }
    public static final int NAME_FIELD_NUMBER = 1;
    private volatile java.lang.Object name_;
    /**
     * 
     * Name of the monitoring system.
     * 
     *
     * string name = 1;
     * @return The name.
     */
    @java.lang.Override
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      }
    }
    /**
     * 
     * Name of the monitoring system.
     * 
     *
     * string name = 1;
     * @return The bytes for name.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int DESCRIPTION_FIELD_NUMBER = 2;
    private volatile java.lang.Object description_;
    /**
     * 
     * Description of the monitoring system.
     * 
     *
     * string description = 2;
     * @return The description.
     */
    @java.lang.Override
    public java.lang.String getDescription() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        description_ = s;
        return s;
      }
    }
    /**
     * 
     * Description of the monitoring system.
     * 
     *
     * string description = 2;
     * @return The bytes for description.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getDescriptionBytes() {
      java.lang.Object ref = description_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        description_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int LINK_FIELD_NUMBER = 3;
    private volatile java.lang.Object link_;
    /**
     * 
     * Link to the monitoring system.
     * 
     *
     * string link = 3;
     * @return The link.
     */
    @java.lang.Override
    public java.lang.String getLink() {
      java.lang.Object ref = link_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        link_ = s;
        return s;
      }
    }
    /**
     * 
     * Link to the monitoring system.
     * 
     *
     * string link = 3;
     * @return The bytes for link.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getLinkBytes() {
      java.lang.Object ref = link_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        link_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;
      memoizedIsInitialized = 1;
      return true;
    }
    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, description_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(link_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, link_);
      }
      unknownFields.writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, description_);
      }
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(link_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, link_);
      }
      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.dataproc.v1.ClusterOuterClass.Monitoring)) {
        return super.equals(obj);
      }
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring other = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring) obj;
      if (!getName()
          .equals(other.getName())) return false;
      if (!getDescription()
          .equals(other.getDescription())) return false;
      if (!getLink()
          .equals(other.getLink())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }
    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + NAME_FIELD_NUMBER;
      hash = (53 * hash) + getName().hashCode();
      hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
      hash = (53 * hash) + getDescription().hashCode();
      hash = (37 * hash) + LINK_FIELD_NUMBER;
      hash = (53 * hash) + getLink().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring 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.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring 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.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring 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.dataproc.v1.ClusterOuterClass.Monitoring parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring 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.dataproc.v1.ClusterOuterClass.Monitoring parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring 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.dataproc.v1.ClusterOuterClass.Monitoring 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;
    }
    /**
     * 
     * Metadata of a monitoring system for a Data Proc cluster.
     * 
     *
     * Protobuf type {@code yandex.cloud.dataproc.v1.Monitoring}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yandex.cloud.dataproc.v1.Monitoring)
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.MonitoringOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Monitoring_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.Builder.class);
      }
      // Construct using yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        name_ = "";
        description_ = "";
        link_ = "";
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring getDefaultInstanceForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.getDefaultInstance();
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring build() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring buildPartial() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring result = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring(this);
        result.name_ = name_;
        result.description_ = description_;
        result.link_ = link_;
        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.dataproc.v1.ClusterOuterClass.Monitoring) {
          return mergeFrom((yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring other) {
        if (other == yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring.getDefaultInstance()) return this;
        if (!other.getName().isEmpty()) {
          name_ = other.name_;
          onChanged();
        }
        if (!other.getDescription().isEmpty()) {
          description_ = other.description_;
          onChanged();
        }
        if (!other.getLink().isEmpty()) {
          link_ = other.link_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }
      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }
      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private java.lang.Object name_ = "";
      /**
       * 
       * Name of the monitoring system.
       * 
       *
       * string name = 1;
       * @return The name.
       */
      public java.lang.String getName() {
        java.lang.Object ref = name_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          name_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Name of the monitoring system.
       * 
       *
       * string name = 1;
       * @return The bytes for name.
       */
      public com.google.protobuf.ByteString
          getNameBytes() {
        java.lang.Object ref = name_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          name_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Name of the monitoring system.
       * 
       *
       * string name = 1;
       * @param value The name to set.
       * @return This builder for chaining.
       */
      public Builder setName(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        name_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Name of the monitoring system.
       * 
       *
       * string name = 1;
       * @return This builder for chaining.
       */
      public Builder clearName() {
        
        name_ = getDefaultInstance().getName();
        onChanged();
        return this;
      }
      /**
       * 
       * Name of the monitoring system.
       * 
       *
       * string name = 1;
       * @param value The bytes for name to set.
       * @return This builder for chaining.
       */
      public Builder setNameBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        name_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object description_ = "";
      /**
       * 
       * Description of the monitoring system.
       * 
       *
       * string description = 2;
       * @return The description.
       */
      public java.lang.String getDescription() {
        java.lang.Object ref = description_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          description_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Description of the monitoring system.
       * 
       *
       * string description = 2;
       * @return The bytes for description.
       */
      public com.google.protobuf.ByteString
          getDescriptionBytes() {
        java.lang.Object ref = description_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          description_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Description of the monitoring system.
       * 
       *
       * string description = 2;
       * @param value The description to set.
       * @return This builder for chaining.
       */
      public Builder setDescription(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        description_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Description of the monitoring system.
       * 
       *
       * string description = 2;
       * @return This builder for chaining.
       */
      public Builder clearDescription() {
        
        description_ = getDefaultInstance().getDescription();
        onChanged();
        return this;
      }
      /**
       * 
       * Description of the monitoring system.
       * 
       *
       * string description = 2;
       * @param value The bytes for description to set.
       * @return This builder for chaining.
       */
      public Builder setDescriptionBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        description_ = value;
        onChanged();
        return this;
      }
      private java.lang.Object link_ = "";
      /**
       * 
       * Link to the monitoring system.
       * 
       *
       * string link = 3;
       * @return The link.
       */
      public java.lang.String getLink() {
        java.lang.Object ref = link_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          link_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Link to the monitoring system.
       * 
       *
       * string link = 3;
       * @return The bytes for link.
       */
      public com.google.protobuf.ByteString
          getLinkBytes() {
        java.lang.Object ref = link_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          link_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Link to the monitoring system.
       * 
       *
       * string link = 3;
       * @param value The link to set.
       * @return This builder for chaining.
       */
      public Builder setLink(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        link_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Link to the monitoring system.
       * 
       *
       * string link = 3;
       * @return This builder for chaining.
       */
      public Builder clearLink() {
        
        link_ = getDefaultInstance().getLink();
        onChanged();
        return this;
      }
      /**
       * 
       * Link to the monitoring system.
       * 
       *
       * string link = 3;
       * @param value The bytes for link to set.
       * @return This builder for chaining.
       */
      public Builder setLinkBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        link_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }
      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }
      // @@protoc_insertion_point(builder_scope:yandex.cloud.dataproc.v1.Monitoring)
    }
    // @@protoc_insertion_point(class_scope:yandex.cloud.dataproc.v1.Monitoring)
    private static final yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring();
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.Monitoring getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public Monitoring parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new Monitoring(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.dataproc.v1.ClusterOuterClass.Monitoring getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface HadoopConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.dataproc.v1.HadoopConfig)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return A list containing the services.
     */
    java.util.List getServicesList();
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return The count of services.
     */
    int getServicesCount();
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @param index The index of the element to return.
     * @return The services at the given index.
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service getServices(int index);
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return A list containing the enum numeric values on the wire for services.
     */
    java.util.List
    getServicesValueList();
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of services at the given index.
     */
    int getServicesValue(int index);
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    int getPropertiesCount();
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    boolean containsProperties(
        java.lang.String key);
    /**
     * Use {@link #getPropertiesMap()} instead.
     */
    @java.lang.Deprecated
    java.util.Map
    getProperties();
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    java.util.Map
    getPropertiesMap();
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    java.lang.String getPropertiesOrDefault(
        java.lang.String key,
        java.lang.String defaultValue);
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    java.lang.String getPropertiesOrThrow(
        java.lang.String key);
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @return A list containing the sshPublicKeys.
     */
    java.util.List
        getSshPublicKeysList();
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @return The count of sshPublicKeys.
     */
    int getSshPublicKeysCount();
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @param index The index of the element to return.
     * @return The sshPublicKeys at the given index.
     */
    java.lang.String getSshPublicKeys(int index);
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @param index The index of the value to return.
     * @return The bytes of the sshPublicKeys at the given index.
     */
    com.google.protobuf.ByteString
        getSshPublicKeysBytes(int index);
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    java.util.List 
        getInitializationActionsList();
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction getInitializationActions(int index);
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    int getInitializationActionsCount();
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder> 
        getInitializationActionsOrBuilderList();
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder getInitializationActionsOrBuilder(
        int index);
  }
  /**
   * 
   * Hadoop configuration that describes services installed in a cluster,
   * their properties and settings.
   * 
   *
   * Protobuf type {@code yandex.cloud.dataproc.v1.HadoopConfig}
   */
  public static final class HadoopConfig extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yandex.cloud.dataproc.v1.HadoopConfig)
      HadoopConfigOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use HadoopConfig.newBuilder() to construct.
    private HadoopConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private HadoopConfig() {
      services_ = java.util.Collections.emptyList();
      sshPublicKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      initializationActions_ = java.util.Collections.emptyList();
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new HadoopConfig();
    }
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private HadoopConfig(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 8: {
              int rawValue = input.readEnum();
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                services_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              services_.add(rawValue);
              break;
            }
            case 10: {
              int length = input.readRawVarint32();
              int oldLimit = input.pushLimit(length);
              while(input.getBytesUntilLimit() > 0) {
                int rawValue = input.readEnum();
                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                  services_ = new java.util.ArrayList();
                  mutable_bitField0_ |= 0x00000001;
                }
                services_.add(rawValue);
              }
              input.popLimit(oldLimit);
              break;
            }
            case 18: {
              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
                properties_ = com.google.protobuf.MapField.newMapField(
                    PropertiesDefaultEntryHolder.defaultEntry);
                mutable_bitField0_ |= 0x00000002;
              }
              com.google.protobuf.MapEntry
              properties__ = input.readMessage(
                  PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
              properties_.getMutableMap().put(
                  properties__.getKey(), properties__.getValue());
              break;
            }
            case 26: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
                sshPublicKeys_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000004;
              }
              sshPublicKeys_.add(s);
              break;
            }
            case 34: {
              if (!((mutable_bitField0_ & 0x00000008) != 0)) {
                initializationActions_ = new java.util.ArrayList();
                mutable_bitField0_ |= 0x00000008;
              }
              initializationActions_.add(
                  input.readMessage(yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.parser(), extensionRegistry));
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          services_ = java.util.Collections.unmodifiableList(services_);
        }
        if (((mutable_bitField0_ & 0x00000004) != 0)) {
          sshPublicKeys_ = sshPublicKeys_.getUnmodifiableView();
        }
        if (((mutable_bitField0_ & 0x00000008) != 0)) {
          initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_);
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor;
    }
    @SuppressWarnings({"rawtypes"})
    @java.lang.Override
    protected com.google.protobuf.MapField internalGetMapField(
        int number) {
      switch (number) {
        case 2:
          return internalGetProperties();
        default:
          throw new RuntimeException(
              "Invalid map field number: " + number);
      }
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder.class);
    }
    /**
     * Protobuf enum {@code yandex.cloud.dataproc.v1.HadoopConfig.Service}
     */
    public enum Service
        implements com.google.protobuf.ProtocolMessageEnum {
      /**
       * SERVICE_UNSPECIFIED = 0;
       */
      SERVICE_UNSPECIFIED(0),
      /**
       * HDFS = 1;
       */
      HDFS(1),
      /**
       * YARN = 2;
       */
      YARN(2),
      /**
       * MAPREDUCE = 3;
       */
      MAPREDUCE(3),
      /**
       * HIVE = 4;
       */
      HIVE(4),
      /**
       * TEZ = 5;
       */
      TEZ(5),
      /**
       * ZOOKEEPER = 6;
       */
      ZOOKEEPER(6),
      /**
       * HBASE = 7;
       */
      HBASE(7),
      /**
       * SQOOP = 8;
       */
      SQOOP(8),
      /**
       * FLUME = 9;
       */
      FLUME(9),
      /**
       * SPARK = 10;
       */
      SPARK(10),
      /**
       * ZEPPELIN = 11;
       */
      ZEPPELIN(11),
      /**
       * OOZIE = 12;
       */
      OOZIE(12),
      /**
       * LIVY = 13;
       */
      LIVY(13),
      UNRECOGNIZED(-1),
      ;
      /**
       * SERVICE_UNSPECIFIED = 0;
       */
      public static final int SERVICE_UNSPECIFIED_VALUE = 0;
      /**
       * HDFS = 1;
       */
      public static final int HDFS_VALUE = 1;
      /**
       * YARN = 2;
       */
      public static final int YARN_VALUE = 2;
      /**
       * MAPREDUCE = 3;
       */
      public static final int MAPREDUCE_VALUE = 3;
      /**
       * HIVE = 4;
       */
      public static final int HIVE_VALUE = 4;
      /**
       * TEZ = 5;
       */
      public static final int TEZ_VALUE = 5;
      /**
       * ZOOKEEPER = 6;
       */
      public static final int ZOOKEEPER_VALUE = 6;
      /**
       * HBASE = 7;
       */
      public static final int HBASE_VALUE = 7;
      /**
       * SQOOP = 8;
       */
      public static final int SQOOP_VALUE = 8;
      /**
       * FLUME = 9;
       */
      public static final int FLUME_VALUE = 9;
      /**
       * SPARK = 10;
       */
      public static final int SPARK_VALUE = 10;
      /**
       * ZEPPELIN = 11;
       */
      public static final int ZEPPELIN_VALUE = 11;
      /**
       * OOZIE = 12;
       */
      public static final int OOZIE_VALUE = 12;
      /**
       * LIVY = 13;
       */
      public static final int LIVY_VALUE = 13;
      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 Service 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 Service forNumber(int value) {
        switch (value) {
          case 0: return SERVICE_UNSPECIFIED;
          case 1: return HDFS;
          case 2: return YARN;
          case 3: return MAPREDUCE;
          case 4: return HIVE;
          case 5: return TEZ;
          case 6: return ZOOKEEPER;
          case 7: return HBASE;
          case 8: return SQOOP;
          case 9: return FLUME;
          case 10: return SPARK;
          case 11: return ZEPPELIN;
          case 12: return OOZIE;
          case 13: return LIVY;
          default: return null;
        }
      }
      public static com.google.protobuf.Internal.EnumLiteMap
          internalGetValueMap() {
        return internalValueMap;
      }
      private static final com.google.protobuf.Internal.EnumLiteMap<
          Service> internalValueMap =
            new com.google.protobuf.Internal.EnumLiteMap() {
              public Service findValueByNumber(int number) {
                return Service.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.dataproc.v1.ClusterOuterClass.HadoopConfig.getDescriptor().getEnumTypes().get(0);
      }
      private static final Service[] VALUES = values();
      public static Service 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 Service(int value) {
        this.value = value;
      }
      // @@protoc_insertion_point(enum_scope:yandex.cloud.dataproc.v1.HadoopConfig.Service)
    }
    public static final int SERVICES_FIELD_NUMBER = 1;
    private java.util.List services_;
    private static final com.google.protobuf.Internal.ListAdapter.Converter<
        java.lang.Integer, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service> services_converter_ =
            new com.google.protobuf.Internal.ListAdapter.Converter<
                java.lang.Integer, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service>() {
              public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service convert(java.lang.Integer from) {
                @SuppressWarnings("deprecation")
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service result = yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service.valueOf(from);
                return result == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service.UNRECOGNIZED : result;
              }
            };
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return A list containing the services.
     */
    @java.lang.Override
    public java.util.List getServicesList() {
      return new com.google.protobuf.Internal.ListAdapter<
          java.lang.Integer, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service>(services_, services_converter_);
    }
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return The count of services.
     */
    @java.lang.Override
    public int getServicesCount() {
      return services_.size();
    }
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @param index The index of the element to return.
     * @return The services at the given index.
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service getServices(int index) {
      return services_converter_.convert(services_.get(index));
    }
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @return A list containing the enum numeric values on the wire for services.
     */
    @java.lang.Override
    public java.util.List
    getServicesValueList() {
      return services_;
    }
    /**
     * 
     * Set of services used in the cluster (if empty, the default set is used).
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
     * @param index The index of the value to return.
     * @return The enum numeric value on the wire of services at the given index.
     */
    @java.lang.Override
    public int getServicesValue(int index) {
      return services_.get(index);
    }
    private int servicesMemoizedSerializedSize;
    public static final int PROPERTIES_FIELD_NUMBER = 2;
    private static final class PropertiesDefaultEntryHolder {
      static final com.google.protobuf.MapEntry<
          java.lang.String, java.lang.String> defaultEntry =
              com.google.protobuf.MapEntry
              .newDefaultInstance(
                  yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_descriptor, 
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "",
                  com.google.protobuf.WireFormat.FieldType.STRING,
                  "");
    }
    private com.google.protobuf.MapField<
        java.lang.String, java.lang.String> properties_;
    private com.google.protobuf.MapField
    internalGetProperties() {
      if (properties_ == null) {
        return com.google.protobuf.MapField.emptyMapField(
            PropertiesDefaultEntryHolder.defaultEntry);
      }
      return properties_;
    }
    public int getPropertiesCount() {
      return internalGetProperties().getMap().size();
    }
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    @java.lang.Override
    public boolean containsProperties(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      return internalGetProperties().getMap().containsKey(key);
    }
    /**
     * Use {@link #getPropertiesMap()} instead.
     */
    @java.lang.Override
    @java.lang.Deprecated
    public java.util.Map getProperties() {
      return getPropertiesMap();
    }
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    @java.lang.Override
    public java.util.Map getPropertiesMap() {
      return internalGetProperties().getMap();
    }
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    @java.lang.Override
    public java.lang.String getPropertiesOrDefault(
        java.lang.String key,
        java.lang.String defaultValue) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetProperties().getMap();
      return map.containsKey(key) ? map.get(key) : defaultValue;
    }
    /**
     * 
     * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
     * the service and the property.
     * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
     * in the file `/etc/hadoop/conf/hdfs-site.xml`.
     * 
     *
     * map<string, string> properties = 2;
     */
    @java.lang.Override
    public java.lang.String getPropertiesOrThrow(
        java.lang.String key) {
      if (key == null) { throw new NullPointerException("map key"); }
      java.util.Map map =
          internalGetProperties().getMap();
      if (!map.containsKey(key)) {
        throw new java.lang.IllegalArgumentException();
      }
      return map.get(key);
    }
    public static final int SSH_PUBLIC_KEYS_FIELD_NUMBER = 3;
    private com.google.protobuf.LazyStringList sshPublicKeys_;
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @return A list containing the sshPublicKeys.
     */
    public com.google.protobuf.ProtocolStringList
        getSshPublicKeysList() {
      return sshPublicKeys_;
    }
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @return The count of sshPublicKeys.
     */
    public int getSshPublicKeysCount() {
      return sshPublicKeys_.size();
    }
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @param index The index of the element to return.
     * @return The sshPublicKeys at the given index.
     */
    public java.lang.String getSshPublicKeys(int index) {
      return sshPublicKeys_.get(index);
    }
    /**
     * 
     * List of public SSH keys to access to cluster hosts.
     * 
     *
     * repeated string ssh_public_keys = 3;
     * @param index The index of the value to return.
     * @return The bytes of the sshPublicKeys at the given index.
     */
    public com.google.protobuf.ByteString
        getSshPublicKeysBytes(int index) {
      return sshPublicKeys_.getByteString(index);
    }
    public static final int INITIALIZATION_ACTIONS_FIELD_NUMBER = 4;
    private java.util.List initializationActions_;
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    @java.lang.Override
    public java.util.List getInitializationActionsList() {
      return initializationActions_;
    }
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    @java.lang.Override
    public java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder> 
        getInitializationActionsOrBuilderList() {
      return initializationActions_;
    }
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    @java.lang.Override
    public int getInitializationActionsCount() {
      return initializationActions_.size();
    }
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction getInitializationActions(int index) {
      return initializationActions_.get(index);
    }
    /**
     * 
     * Set of init-actions
     * 
     *
     * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder getInitializationActionsOrBuilder(
        int index) {
      return initializationActions_.get(index);
    }
    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;
      memoizedIsInitialized = 1;
      return true;
    }
    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (getServicesList().size() > 0) {
        output.writeUInt32NoTag(10);
        output.writeUInt32NoTag(servicesMemoizedSerializedSize);
      }
      for (int i = 0; i < services_.size(); i++) {
        output.writeEnumNoTag(services_.get(i));
      }
      com.google.protobuf.GeneratedMessageV3
        .serializeStringMapTo(
          output,
          internalGetProperties(),
          PropertiesDefaultEntryHolder.defaultEntry,
          2);
      for (int i = 0; i < sshPublicKeys_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 3, sshPublicKeys_.getRaw(i));
      }
      for (int i = 0; i < initializationActions_.size(); i++) {
        output.writeMessage(4, initializationActions_.get(i));
      }
      unknownFields.writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      {
        int dataSize = 0;
        for (int i = 0; i < services_.size(); i++) {
          dataSize += com.google.protobuf.CodedOutputStream
            .computeEnumSizeNoTag(services_.get(i));
        }
        size += dataSize;
        if (!getServicesList().isEmpty()) {  size += 1;
          size += com.google.protobuf.CodedOutputStream
            .computeUInt32SizeNoTag(dataSize);
        }servicesMemoizedSerializedSize = dataSize;
      }
      for (java.util.Map.Entry entry
           : internalGetProperties().getMap().entrySet()) {
        com.google.protobuf.MapEntry
        properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
            .setKey(entry.getKey())
            .setValue(entry.getValue())
            .build();
        size += com.google.protobuf.CodedOutputStream
            .computeMessageSize(2, properties__);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < sshPublicKeys_.size(); i++) {
          dataSize += computeStringSizeNoTag(sshPublicKeys_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getSshPublicKeysList().size();
      }
      for (int i = 0; i < initializationActions_.size(); i++) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(4, initializationActions_.get(i));
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig)) {
        return super.equals(obj);
      }
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig other = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig) obj;
      if (!services_.equals(other.services_)) return false;
      if (!internalGetProperties().equals(
          other.internalGetProperties())) return false;
      if (!getSshPublicKeysList()
          .equals(other.getSshPublicKeysList())) return false;
      if (!getInitializationActionsList()
          .equals(other.getInitializationActionsList())) 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 (getServicesCount() > 0) {
        hash = (37 * hash) + SERVICES_FIELD_NUMBER;
        hash = (53 * hash) + services_.hashCode();
      }
      if (!internalGetProperties().getMap().isEmpty()) {
        hash = (37 * hash) + PROPERTIES_FIELD_NUMBER;
        hash = (53 * hash) + internalGetProperties().hashCode();
      }
      if (getSshPublicKeysCount() > 0) {
        hash = (37 * hash) + SSH_PUBLIC_KEYS_FIELD_NUMBER;
        hash = (53 * hash) + getSshPublicKeysList().hashCode();
      }
      if (getInitializationActionsCount() > 0) {
        hash = (37 * hash) + INITIALIZATION_ACTIONS_FIELD_NUMBER;
        hash = (53 * hash) + getInitializationActionsList().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig 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.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig 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.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig 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.dataproc.v1.ClusterOuterClass.HadoopConfig parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig 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.dataproc.v1.ClusterOuterClass.HadoopConfig parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig 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.dataproc.v1.ClusterOuterClass.HadoopConfig 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;
    }
    /**
     * 
     * Hadoop configuration that describes services installed in a cluster,
     * their properties and settings.
     * 
     *
     * Protobuf type {@code yandex.cloud.dataproc.v1.HadoopConfig}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yandex.cloud.dataproc.v1.HadoopConfig)
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor;
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMapField(
          int number) {
        switch (number) {
          case 2:
            return internalGetProperties();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @SuppressWarnings({"rawtypes"})
      protected com.google.protobuf.MapField internalGetMutableMapField(
          int number) {
        switch (number) {
          case 2:
            return internalGetMutableProperties();
          default:
            throw new RuntimeException(
                "Invalid map field number: " + number);
        }
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder.class);
      }
      // Construct using yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }
      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getInitializationActionsFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        services_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        internalGetMutableProperties().clear();
        sshPublicKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        if (initializationActionsBuilder_ == null) {
          initializationActions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
        } else {
          initializationActionsBuilder_.clear();
        }
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig getDefaultInstanceForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.getDefaultInstance();
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig build() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig buildPartial() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig result = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig(this);
        int from_bitField0_ = bitField0_;
        if (((bitField0_ & 0x00000001) != 0)) {
          services_ = java.util.Collections.unmodifiableList(services_);
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.services_ = services_;
        result.properties_ = internalGetProperties();
        result.properties_.makeImmutable();
        if (((bitField0_ & 0x00000004) != 0)) {
          sshPublicKeys_ = sshPublicKeys_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.sshPublicKeys_ = sshPublicKeys_;
        if (initializationActionsBuilder_ == null) {
          if (((bitField0_ & 0x00000008) != 0)) {
            initializationActions_ = java.util.Collections.unmodifiableList(initializationActions_);
            bitField0_ = (bitField0_ & ~0x00000008);
          }
          result.initializationActions_ = initializationActions_;
        } else {
          result.initializationActions_ = initializationActionsBuilder_.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.dataproc.v1.ClusterOuterClass.HadoopConfig) {
          return mergeFrom((yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig other) {
        if (other == yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.getDefaultInstance()) return this;
        if (!other.services_.isEmpty()) {
          if (services_.isEmpty()) {
            services_ = other.services_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureServicesIsMutable();
            services_.addAll(other.services_);
          }
          onChanged();
        }
        internalGetMutableProperties().mergeFrom(
            other.internalGetProperties());
        if (!other.sshPublicKeys_.isEmpty()) {
          if (sshPublicKeys_.isEmpty()) {
            sshPublicKeys_ = other.sshPublicKeys_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureSshPublicKeysIsMutable();
            sshPublicKeys_.addAll(other.sshPublicKeys_);
          }
          onChanged();
        }
        if (initializationActionsBuilder_ == null) {
          if (!other.initializationActions_.isEmpty()) {
            if (initializationActions_.isEmpty()) {
              initializationActions_ = other.initializationActions_;
              bitField0_ = (bitField0_ & ~0x00000008);
            } else {
              ensureInitializationActionsIsMutable();
              initializationActions_.addAll(other.initializationActions_);
            }
            onChanged();
          }
        } else {
          if (!other.initializationActions_.isEmpty()) {
            if (initializationActionsBuilder_.isEmpty()) {
              initializationActionsBuilder_.dispose();
              initializationActionsBuilder_ = null;
              initializationActions_ = other.initializationActions_;
              bitField0_ = (bitField0_ & ~0x00000008);
              initializationActionsBuilder_ = 
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
                   getInitializationActionsFieldBuilder() : null;
            } else {
              initializationActionsBuilder_.addAllMessages(other.initializationActions_);
            }
          }
        }
        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.dataproc.v1.ClusterOuterClass.HadoopConfig parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;
      private java.util.List services_ =
        java.util.Collections.emptyList();
      private void ensureServicesIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          services_ = new java.util.ArrayList(services_);
          bitField0_ |= 0x00000001;
        }
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @return A list containing the services.
       */
      public java.util.List getServicesList() {
        return new com.google.protobuf.Internal.ListAdapter<
            java.lang.Integer, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service>(services_, services_converter_);
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @return The count of services.
       */
      public int getServicesCount() {
        return services_.size();
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param index The index of the element to return.
       * @return The services at the given index.
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service getServices(int index) {
        return services_converter_.convert(services_.get(index));
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param index The index to set the value at.
       * @param value The services to set.
       * @return This builder for chaining.
       */
      public Builder setServices(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureServicesIsMutable();
        services_.set(index, value.getNumber());
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param value The services to add.
       * @return This builder for chaining.
       */
      public Builder addServices(yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service value) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureServicesIsMutable();
        services_.add(value.getNumber());
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param values The services to add.
       * @return This builder for chaining.
       */
      public Builder addAllServices(
          java.lang.Iterable extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service> values) {
        ensureServicesIsMutable();
        for (yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Service value : values) {
          services_.add(value.getNumber());
        }
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @return This builder for chaining.
       */
      public Builder clearServices() {
        services_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @return A list containing the enum numeric values on the wire for services.
       */
      public java.util.List
      getServicesValueList() {
        return java.util.Collections.unmodifiableList(services_);
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of services at the given index.
       */
      public int getServicesValue(int index) {
        return services_.get(index);
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param index The index of the value to return.
       * @return The enum numeric value on the wire of services at the given index.
       * @return This builder for chaining.
       */
      public Builder setServicesValue(
          int index, int value) {
        ensureServicesIsMutable();
        services_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param value The enum numeric value on the wire for services to add.
       * @return This builder for chaining.
       */
      public Builder addServicesValue(int value) {
        ensureServicesIsMutable();
        services_.add(value);
        onChanged();
        return this;
      }
      /**
       * 
       * Set of services used in the cluster (if empty, the default set is used).
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.HadoopConfig.Service services = 1;
       * @param values The enum numeric values on the wire for services to add.
       * @return This builder for chaining.
       */
      public Builder addAllServicesValue(
          java.lang.Iterable values) {
        ensureServicesIsMutable();
        for (int value : values) {
          services_.add(value);
        }
        onChanged();
        return this;
      }
      private com.google.protobuf.MapField<
          java.lang.String, java.lang.String> properties_;
      private com.google.protobuf.MapField
      internalGetProperties() {
        if (properties_ == null) {
          return com.google.protobuf.MapField.emptyMapField(
              PropertiesDefaultEntryHolder.defaultEntry);
        }
        return properties_;
      }
      private com.google.protobuf.MapField
      internalGetMutableProperties() {
        onChanged();;
        if (properties_ == null) {
          properties_ = com.google.protobuf.MapField.newMapField(
              PropertiesDefaultEntryHolder.defaultEntry);
        }
        if (!properties_.isMutable()) {
          properties_ = properties_.copy();
        }
        return properties_;
      }
      public int getPropertiesCount() {
        return internalGetProperties().getMap().size();
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      @java.lang.Override
      public boolean containsProperties(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        return internalGetProperties().getMap().containsKey(key);
      }
      /**
       * Use {@link #getPropertiesMap()} instead.
       */
      @java.lang.Override
      @java.lang.Deprecated
      public java.util.Map getProperties() {
        return getPropertiesMap();
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      @java.lang.Override
      public java.util.Map getPropertiesMap() {
        return internalGetProperties().getMap();
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      @java.lang.Override
      public java.lang.String getPropertiesOrDefault(
          java.lang.String key,
          java.lang.String defaultValue) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetProperties().getMap();
        return map.containsKey(key) ? map.get(key) : defaultValue;
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      @java.lang.Override
      public java.lang.String getPropertiesOrThrow(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        java.util.Map map =
            internalGetProperties().getMap();
        if (!map.containsKey(key)) {
          throw new java.lang.IllegalArgumentException();
        }
        return map.get(key);
      }
      public Builder clearProperties() {
        internalGetMutableProperties().getMutableMap()
            .clear();
        return this;
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      public Builder removeProperties(
          java.lang.String key) {
        if (key == null) { throw new NullPointerException("map key"); }
        internalGetMutableProperties().getMutableMap()
            .remove(key);
        return this;
      }
      /**
       * Use alternate mutation accessors instead.
       */
      @java.lang.Deprecated
      public java.util.Map
      getMutableProperties() {
        return internalGetMutableProperties().getMutableMap();
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      public Builder putProperties(
          java.lang.String key,
          java.lang.String value) {
        if (key == null) { throw new NullPointerException("map key"); }
        if (value == null) {
  throw new NullPointerException("map value");
}
        internalGetMutableProperties().getMutableMap()
            .put(key, value);
        return this;
      }
      /**
       * 
       * Properties set for all hosts in `*-site.xml` configurations. The key should indicate
       * the service and the property.
       * For example, use the key 'hdfs:dfs.replication' to set the `dfs.replication` property
       * in the file `/etc/hadoop/conf/hdfs-site.xml`.
       * 
       *
       * map<string, string> properties = 2;
       */
      public Builder putAllProperties(
          java.util.Map values) {
        internalGetMutableProperties().getMutableMap()
            .putAll(values);
        return this;
      }
      private com.google.protobuf.LazyStringList sshPublicKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureSshPublicKeysIsMutable() {
        if (!((bitField0_ & 0x00000004) != 0)) {
          sshPublicKeys_ = new com.google.protobuf.LazyStringArrayList(sshPublicKeys_);
          bitField0_ |= 0x00000004;
         }
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @return A list containing the sshPublicKeys.
       */
      public com.google.protobuf.ProtocolStringList
          getSshPublicKeysList() {
        return sshPublicKeys_.getUnmodifiableView();
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @return The count of sshPublicKeys.
       */
      public int getSshPublicKeysCount() {
        return sshPublicKeys_.size();
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param index The index of the element to return.
       * @return The sshPublicKeys at the given index.
       */
      public java.lang.String getSshPublicKeys(int index) {
        return sshPublicKeys_.get(index);
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param index The index of the value to return.
       * @return The bytes of the sshPublicKeys at the given index.
       */
      public com.google.protobuf.ByteString
          getSshPublicKeysBytes(int index) {
        return sshPublicKeys_.getByteString(index);
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param index The index to set the value at.
       * @param value The sshPublicKeys to set.
       * @return This builder for chaining.
       */
      public Builder setSshPublicKeys(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSshPublicKeysIsMutable();
        sshPublicKeys_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param value The sshPublicKeys to add.
       * @return This builder for chaining.
       */
      public Builder addSshPublicKeys(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureSshPublicKeysIsMutable();
        sshPublicKeys_.add(value);
        onChanged();
        return this;
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param values The sshPublicKeys to add.
       * @return This builder for chaining.
       */
      public Builder addAllSshPublicKeys(
          java.lang.Iterable values) {
        ensureSshPublicKeysIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, sshPublicKeys_);
        onChanged();
        return this;
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @return This builder for chaining.
       */
      public Builder clearSshPublicKeys() {
        sshPublicKeys_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000004);
        onChanged();
        return this;
      }
      /**
       * 
       * List of public SSH keys to access to cluster hosts.
       * 
       *
       * repeated string ssh_public_keys = 3;
       * @param value The bytes of the sshPublicKeys to add.
       * @return This builder for chaining.
       */
      public Builder addSshPublicKeysBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureSshPublicKeysIsMutable();
        sshPublicKeys_.add(value);
        onChanged();
        return this;
      }
      private java.util.List initializationActions_ =
        java.util.Collections.emptyList();
      private void ensureInitializationActionsIsMutable() {
        if (!((bitField0_ & 0x00000008) != 0)) {
          initializationActions_ = new java.util.ArrayList(initializationActions_);
          bitField0_ |= 0x00000008;
         }
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder> initializationActionsBuilder_;
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public java.util.List getInitializationActionsList() {
        if (initializationActionsBuilder_ == null) {
          return java.util.Collections.unmodifiableList(initializationActions_);
        } else {
          return initializationActionsBuilder_.getMessageList();
        }
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public int getInitializationActionsCount() {
        if (initializationActionsBuilder_ == null) {
          return initializationActions_.size();
        } else {
          return initializationActionsBuilder_.getCount();
        }
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction getInitializationActions(int index) {
        if (initializationActionsBuilder_ == null) {
          return initializationActions_.get(index);
        } else {
          return initializationActionsBuilder_.getMessage(index);
        }
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder setInitializationActions(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction value) {
        if (initializationActionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInitializationActionsIsMutable();
          initializationActions_.set(index, value);
          onChanged();
        } else {
          initializationActionsBuilder_.setMessage(index, value);
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder setInitializationActions(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder builderForValue) {
        if (initializationActionsBuilder_ == null) {
          ensureInitializationActionsIsMutable();
          initializationActions_.set(index, builderForValue.build());
          onChanged();
        } else {
          initializationActionsBuilder_.setMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder addInitializationActions(yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction value) {
        if (initializationActionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInitializationActionsIsMutable();
          initializationActions_.add(value);
          onChanged();
        } else {
          initializationActionsBuilder_.addMessage(value);
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder addInitializationActions(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction value) {
        if (initializationActionsBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          ensureInitializationActionsIsMutable();
          initializationActions_.add(index, value);
          onChanged();
        } else {
          initializationActionsBuilder_.addMessage(index, value);
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder addInitializationActions(
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder builderForValue) {
        if (initializationActionsBuilder_ == null) {
          ensureInitializationActionsIsMutable();
          initializationActions_.add(builderForValue.build());
          onChanged();
        } else {
          initializationActionsBuilder_.addMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder addInitializationActions(
          int index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder builderForValue) {
        if (initializationActionsBuilder_ == null) {
          ensureInitializationActionsIsMutable();
          initializationActions_.add(index, builderForValue.build());
          onChanged();
        } else {
          initializationActionsBuilder_.addMessage(index, builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder addAllInitializationActions(
          java.lang.Iterable extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction> values) {
        if (initializationActionsBuilder_ == null) {
          ensureInitializationActionsIsMutable();
          com.google.protobuf.AbstractMessageLite.Builder.addAll(
              values, initializationActions_);
          onChanged();
        } else {
          initializationActionsBuilder_.addAllMessages(values);
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder clearInitializationActions() {
        if (initializationActionsBuilder_ == null) {
          initializationActions_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000008);
          onChanged();
        } else {
          initializationActionsBuilder_.clear();
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public Builder removeInitializationActions(int index) {
        if (initializationActionsBuilder_ == null) {
          ensureInitializationActionsIsMutable();
          initializationActions_.remove(index);
          onChanged();
        } else {
          initializationActionsBuilder_.remove(index);
        }
        return this;
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder getInitializationActionsBuilder(
          int index) {
        return getInitializationActionsFieldBuilder().getBuilder(index);
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder getInitializationActionsOrBuilder(
          int index) {
        if (initializationActionsBuilder_ == null) {
          return initializationActions_.get(index);  } else {
          return initializationActionsBuilder_.getMessageOrBuilder(index);
        }
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public java.util.List extends yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder> 
           getInitializationActionsOrBuilderList() {
        if (initializationActionsBuilder_ != null) {
          return initializationActionsBuilder_.getMessageOrBuilderList();
        } else {
          return java.util.Collections.unmodifiableList(initializationActions_);
        }
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder addInitializationActionsBuilder() {
        return getInitializationActionsFieldBuilder().addBuilder(
            yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.getDefaultInstance());
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder addInitializationActionsBuilder(
          int index) {
        return getInitializationActionsFieldBuilder().addBuilder(
            index, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.getDefaultInstance());
      }
      /**
       * 
       * Set of init-actions
       * 
       *
       * repeated .yandex.cloud.dataproc.v1.InitializationAction initialization_actions = 4;
       */
      public java.util.List 
           getInitializationActionsBuilderList() {
        return getInitializationActionsFieldBuilder().getBuilderList();
      }
      private com.google.protobuf.RepeatedFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder> 
          getInitializationActionsFieldBuilder() {
        if (initializationActionsBuilder_ == null) {
          initializationActionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder>(
                  initializationActions_,
                  ((bitField0_ & 0x00000008) != 0),
                  getParentForChildren(),
                  isClean());
          initializationActions_ = null;
        }
        return initializationActionsBuilder_;
      }
      @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.dataproc.v1.HadoopConfig)
    }
    // @@protoc_insertion_point(class_scope:yandex.cloud.dataproc.v1.HadoopConfig)
    private static final yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig();
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public HadoopConfig parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new HadoopConfig(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.dataproc.v1.ClusterOuterClass.HadoopConfig getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface ClusterConfigOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.dataproc.v1.ClusterConfig)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * Image version for cluster provisioning.
     * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
     * 
     *
     * string version_id = 1;
     * @return The versionId.
     */
    java.lang.String getVersionId();
    /**
     * 
     * Image version for cluster provisioning.
     * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
     * 
     *
     * string version_id = 1;
     * @return The bytes for versionId.
     */
    com.google.protobuf.ByteString
        getVersionIdBytes();
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     * @return Whether the hadoop field is set.
     */
    boolean hasHadoop();
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     * @return The hadoop.
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig getHadoop();
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     */
    yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder getHadoopOrBuilder();
  }
  /**
   * Protobuf type {@code yandex.cloud.dataproc.v1.ClusterConfig}
   */
  public static final class ClusterConfig extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yandex.cloud.dataproc.v1.ClusterConfig)
      ClusterConfigOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use ClusterConfig.newBuilder() to construct.
    private ClusterConfig(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private ClusterConfig() {
      versionId_ = "";
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new ClusterConfig();
    }
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private ClusterConfig(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              versionId_ = s;
              break;
            }
            case 18: {
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder subBuilder = null;
              if (hadoop_ != null) {
                subBuilder = hadoop_.toBuilder();
              }
              hadoop_ = input.readMessage(yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(hadoop_);
                hadoop_ = 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.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder.class);
    }
    public static final int VERSION_ID_FIELD_NUMBER = 1;
    private volatile java.lang.Object versionId_;
    /**
     * 
     * Image version for cluster provisioning.
     * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
     * 
     *
     * string version_id = 1;
     * @return The versionId.
     */
    @java.lang.Override
    public java.lang.String getVersionId() {
      java.lang.Object ref = versionId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        versionId_ = s;
        return s;
      }
    }
    /**
     * 
     * Image version for cluster provisioning.
     * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
     * 
     *
     * string version_id = 1;
     * @return The bytes for versionId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getVersionIdBytes() {
      java.lang.Object ref = versionId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        versionId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int HADOOP_FIELD_NUMBER = 2;
    private yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig hadoop_;
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     * @return Whether the hadoop field is set.
     */
    @java.lang.Override
    public boolean hasHadoop() {
      return hadoop_ != null;
    }
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     * @return The hadoop.
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig getHadoop() {
      return hadoop_ == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.getDefaultInstance() : hadoop_;
    }
    /**
     * 
     * Data Proc specific configuration options.
     * 
     *
     * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
     */
    @java.lang.Override
    public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder getHadoopOrBuilder() {
      return getHadoop();
    }
    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;
      memoizedIsInitialized = 1;
      return true;
    }
    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionId_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, versionId_);
      }
      if (hadoop_ != null) {
        output.writeMessage(2, getHadoop());
      }
      unknownFields.writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(versionId_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, versionId_);
      }
      if (hadoop_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(2, getHadoop());
      }
      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.dataproc.v1.ClusterOuterClass.ClusterConfig)) {
        return super.equals(obj);
      }
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig other = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig) obj;
      if (!getVersionId()
          .equals(other.getVersionId())) return false;
      if (hasHadoop() != other.hasHadoop()) return false;
      if (hasHadoop()) {
        if (!getHadoop()
            .equals(other.getHadoop())) 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) + VERSION_ID_FIELD_NUMBER;
      hash = (53 * hash) + getVersionId().hashCode();
      if (hasHadoop()) {
        hash = (37 * hash) + HADOOP_FIELD_NUMBER;
        hash = (53 * hash) + getHadoop().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterOuterClass.ClusterConfig parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterOuterClass.ClusterConfig parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterOuterClass.ClusterConfig 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.dataproc.v1.ClusterConfig}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yandex.cloud.dataproc.v1.ClusterConfig)
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfigOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.Builder.class);
      }
      // Construct using yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.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();
        versionId_ = "";
        if (hadoopBuilder_ == null) {
          hadoop_ = null;
        } else {
          hadoop_ = null;
          hadoopBuilder_ = null;
        }
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig getDefaultInstanceForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.getDefaultInstance();
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig build() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig buildPartial() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig result = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig(this);
        result.versionId_ = versionId_;
        if (hadoopBuilder_ == null) {
          result.hadoop_ = hadoop_;
        } else {
          result.hadoop_ = hadoopBuilder_.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.dataproc.v1.ClusterOuterClass.ClusterConfig) {
          return mergeFrom((yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig other) {
        if (other == yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig.getDefaultInstance()) return this;
        if (!other.getVersionId().isEmpty()) {
          versionId_ = other.versionId_;
          onChanged();
        }
        if (other.hasHadoop()) {
          mergeHadoop(other.getHadoop());
        }
        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.dataproc.v1.ClusterOuterClass.ClusterConfig parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private java.lang.Object versionId_ = "";
      /**
       * 
       * Image version for cluster provisioning.
       * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
       * 
       *
       * string version_id = 1;
       * @return The versionId.
       */
      public java.lang.String getVersionId() {
        java.lang.Object ref = versionId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          versionId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * Image version for cluster provisioning.
       * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
       * 
       *
       * string version_id = 1;
       * @return The bytes for versionId.
       */
      public com.google.protobuf.ByteString
          getVersionIdBytes() {
        java.lang.Object ref = versionId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          versionId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * Image version for cluster provisioning.
       * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
       * 
       *
       * string version_id = 1;
       * @param value The versionId to set.
       * @return This builder for chaining.
       */
      public Builder setVersionId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        versionId_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Image version for cluster provisioning.
       * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
       * 
       *
       * string version_id = 1;
       * @return This builder for chaining.
       */
      public Builder clearVersionId() {
        
        versionId_ = getDefaultInstance().getVersionId();
        onChanged();
        return this;
      }
      /**
       * 
       * Image version for cluster provisioning.
       * All available versions are listed in the [documentation](/docs/data-proc/concepts/environment).
       * 
       *
       * string version_id = 1;
       * @param value The bytes for versionId to set.
       * @return This builder for chaining.
       */
      public Builder setVersionIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        versionId_ = value;
        onChanged();
        return this;
      }
      private yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig hadoop_;
      private com.google.protobuf.SingleFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder> hadoopBuilder_;
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       * @return Whether the hadoop field is set.
       */
      public boolean hasHadoop() {
        return hadoopBuilder_ != null || hadoop_ != null;
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       * @return The hadoop.
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig getHadoop() {
        if (hadoopBuilder_ == null) {
          return hadoop_ == null ? yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.getDefaultInstance() : hadoop_;
        } else {
          return hadoopBuilder_.getMessage();
        }
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public Builder setHadoop(yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig value) {
        if (hadoopBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          hadoop_ = value;
          onChanged();
        } else {
          hadoopBuilder_.setMessage(value);
        }
        return this;
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public Builder setHadoop(
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder builderForValue) {
        if (hadoopBuilder_ == null) {
          hadoop_ = builderForValue.build();
          onChanged();
        } else {
          hadoopBuilder_.setMessage(builderForValue.build());
        }
        return this;
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public Builder mergeHadoop(yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig value) {
        if (hadoopBuilder_ == null) {
          if (hadoop_ != null) {
            hadoop_ =
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.newBuilder(hadoop_).mergeFrom(value).buildPartial();
          } else {
            hadoop_ = value;
          }
          onChanged();
        } else {
          hadoopBuilder_.mergeFrom(value);
        }
        return this;
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public Builder clearHadoop() {
        if (hadoopBuilder_ == null) {
          hadoop_ = null;
          onChanged();
        } else {
          hadoop_ = null;
          hadoopBuilder_ = null;
        }
        return this;
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder getHadoopBuilder() {
        
        onChanged();
        return getHadoopFieldBuilder().getBuilder();
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder getHadoopOrBuilder() {
        if (hadoopBuilder_ != null) {
          return hadoopBuilder_.getMessageOrBuilder();
        } else {
          return hadoop_ == null ?
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.getDefaultInstance() : hadoop_;
        }
      }
      /**
       * 
       * Data Proc specific configuration options.
       * 
       *
       * .yandex.cloud.dataproc.v1.HadoopConfig hadoop = 2;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder> 
          getHadoopFieldBuilder() {
        if (hadoopBuilder_ == null) {
          hadoopBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfig.Builder, yandex.cloud.api.dataproc.v1.ClusterOuterClass.HadoopConfigOrBuilder>(
                  getHadoop(),
                  getParentForChildren(),
                  isClean());
          hadoop_ = null;
        }
        return hadoopBuilder_;
      }
      @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.dataproc.v1.ClusterConfig)
    }
    // @@protoc_insertion_point(class_scope:yandex.cloud.dataproc.v1.ClusterConfig)
    private static final yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig();
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.ClusterConfig getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public ClusterConfig parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new ClusterConfig(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.dataproc.v1.ClusterOuterClass.ClusterConfig getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  public interface InitializationActionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.dataproc.v1.InitializationAction)
      com.google.protobuf.MessageOrBuilder {
    /**
     * 
     * URI of the executable file
     * 
     *
     * string uri = 1;
     * @return The uri.
     */
    java.lang.String getUri();
    /**
     * 
     * URI of the executable file
     * 
     *
     * string uri = 1;
     * @return The bytes for uri.
     */
    com.google.protobuf.ByteString
        getUriBytes();
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @return A list containing the args.
     */
    java.util.List
        getArgsList();
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @return The count of args.
     */
    int getArgsCount();
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @param index The index of the element to return.
     * @return The args at the given index.
     */
    java.lang.String getArgs(int index);
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @param index The index of the value to return.
     * @return The bytes of the args at the given index.
     */
    com.google.protobuf.ByteString
        getArgsBytes(int index);
    /**
     * 
     * Execution timeout
     * 
     *
     * int64 timeout = 3;
     * @return The timeout.
     */
    long getTimeout();
  }
  /**
   * Protobuf type {@code yandex.cloud.dataproc.v1.InitializationAction}
   */
  public static final class InitializationAction extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:yandex.cloud.dataproc.v1.InitializationAction)
      InitializationActionOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use InitializationAction.newBuilder() to construct.
    private InitializationAction(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
      super(builder);
    }
    private InitializationAction() {
      uri_ = "";
      args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
    }
    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new InitializationAction();
    }
    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private InitializationAction(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      int mutable_bitField0_ = 0;
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();
              uri_ = s;
              break;
            }
            case 18: {
              java.lang.String s = input.readStringRequireUtf8();
              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
                args_ = new com.google.protobuf.LazyStringArrayList();
                mutable_bitField0_ |= 0x00000001;
              }
              args_.add(s);
              break;
            }
            case 24: {
              timeout_ = input.readInt64();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        if (((mutable_bitField0_ & 0x00000001) != 0)) {
          args_ = args_.getUnmodifiableView();
        }
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor;
    }
    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_InitializationAction_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder.class);
    }
    public static final int URI_FIELD_NUMBER = 1;
    private volatile java.lang.Object uri_;
    /**
     * 
     * URI of the executable file
     * 
     *
     * string uri = 1;
     * @return The uri.
     */
    @java.lang.Override
    public java.lang.String getUri() {
      java.lang.Object ref = uri_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        uri_ = s;
        return s;
      }
    }
    /**
     * 
     * URI of the executable file
     * 
     *
     * string uri = 1;
     * @return The bytes for uri.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getUriBytes() {
      java.lang.Object ref = uri_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        uri_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    public static final int ARGS_FIELD_NUMBER = 2;
    private com.google.protobuf.LazyStringList args_;
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @return A list containing the args.
     */
    public com.google.protobuf.ProtocolStringList
        getArgsList() {
      return args_;
    }
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @return The count of args.
     */
    public int getArgsCount() {
      return args_.size();
    }
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @param index The index of the element to return.
     * @return The args at the given index.
     */
    public java.lang.String getArgs(int index) {
      return args_.get(index);
    }
    /**
     * 
     * Arguments to the initialization action
     * 
     *
     * repeated string args = 2;
     * @param index The index of the value to return.
     * @return The bytes of the args at the given index.
     */
    public com.google.protobuf.ByteString
        getArgsBytes(int index) {
      return args_.getByteString(index);
    }
    public static final int TIMEOUT_FIELD_NUMBER = 3;
    private long timeout_;
    /**
     * 
     * Execution timeout
     * 
     *
     * int64 timeout = 3;
     * @return The timeout.
     */
    @java.lang.Override
    public long getTimeout() {
      return timeout_;
    }
    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;
      memoizedIsInitialized = 1;
      return true;
    }
    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, uri_);
      }
      for (int i = 0; i < args_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, args_.getRaw(i));
      }
      if (timeout_ != 0L) {
        output.writeInt64(3, timeout_);
      }
      unknownFields.writeTo(output);
    }
    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;
      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, uri_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < args_.size(); i++) {
          dataSize += computeStringSizeNoTag(args_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getArgsList().size();
      }
      if (timeout_ != 0L) {
        size += com.google.protobuf.CodedOutputStream
          .computeInt64Size(3, timeout_);
      }
      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.dataproc.v1.ClusterOuterClass.InitializationAction)) {
        return super.equals(obj);
      }
      yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction other = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction) obj;
      if (!getUri()
          .equals(other.getUri())) return false;
      if (!getArgsList()
          .equals(other.getArgsList())) return false;
      if (getTimeout()
          != other.getTimeout()) 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) + URI_FIELD_NUMBER;
      hash = (53 * hash) + getUri().hashCode();
      if (getArgsCount() > 0) {
        hash = (37 * hash) + ARGS_FIELD_NUMBER;
        hash = (53 * hash) + getArgsList().hashCode();
      }
      hash = (37 * hash) + TIMEOUT_FIELD_NUMBER;
      hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
          getTimeout());
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.ClusterOuterClass.InitializationAction parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.ClusterOuterClass.InitializationAction parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.ClusterOuterClass.InitializationAction 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.dataproc.v1.InitializationAction}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:yandex.cloud.dataproc.v1.InitializationAction)
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationActionOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor;
      }
      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_InitializationAction_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.class, yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.Builder.class);
      }
      // Construct using yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.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();
        uri_ = "";
        args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        timeout_ = 0L;
        return this;
      }
      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction getDefaultInstanceForType() {
        return yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.getDefaultInstance();
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction build() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }
      @java.lang.Override
      public yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction buildPartial() {
        yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction result = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction(this);
        int from_bitField0_ = bitField0_;
        result.uri_ = uri_;
        if (((bitField0_ & 0x00000001) != 0)) {
          args_ = args_.getUnmodifiableView();
          bitField0_ = (bitField0_ & ~0x00000001);
        }
        result.args_ = args_;
        result.timeout_ = timeout_;
        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.dataproc.v1.ClusterOuterClass.InitializationAction) {
          return mergeFrom((yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }
      public Builder mergeFrom(yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction other) {
        if (other == yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction.getDefaultInstance()) return this;
        if (!other.getUri().isEmpty()) {
          uri_ = other.uri_;
          onChanged();
        }
        if (!other.args_.isEmpty()) {
          if (args_.isEmpty()) {
            args_ = other.args_;
            bitField0_ = (bitField0_ & ~0x00000001);
          } else {
            ensureArgsIsMutable();
            args_.addAll(other.args_);
          }
          onChanged();
        }
        if (other.getTimeout() != 0L) {
          setTimeout(other.getTimeout());
        }
        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.dataproc.v1.ClusterOuterClass.InitializationAction parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;
      private java.lang.Object uri_ = "";
      /**
       * 
       * URI of the executable file
       * 
       *
       * string uri = 1;
       * @return The uri.
       */
      public java.lang.String getUri() {
        java.lang.Object ref = uri_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          uri_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * 
       * URI of the executable file
       * 
       *
       * string uri = 1;
       * @return The bytes for uri.
       */
      public com.google.protobuf.ByteString
          getUriBytes() {
        java.lang.Object ref = uri_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          uri_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * 
       * URI of the executable file
       * 
       *
       * string uri = 1;
       * @param value The uri to set.
       * @return This builder for chaining.
       */
      public Builder setUri(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        uri_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * URI of the executable file
       * 
       *
       * string uri = 1;
       * @return This builder for chaining.
       */
      public Builder clearUri() {
        
        uri_ = getDefaultInstance().getUri();
        onChanged();
        return this;
      }
      /**
       * 
       * URI of the executable file
       * 
       *
       * string uri = 1;
       * @param value The bytes for uri to set.
       * @return This builder for chaining.
       */
      public Builder setUriBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        uri_ = value;
        onChanged();
        return this;
      }
      private com.google.protobuf.LazyStringList args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
      private void ensureArgsIsMutable() {
        if (!((bitField0_ & 0x00000001) != 0)) {
          args_ = new com.google.protobuf.LazyStringArrayList(args_);
          bitField0_ |= 0x00000001;
         }
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @return A list containing the args.
       */
      public com.google.protobuf.ProtocolStringList
          getArgsList() {
        return args_.getUnmodifiableView();
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @return The count of args.
       */
      public int getArgsCount() {
        return args_.size();
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param index The index of the element to return.
       * @return The args at the given index.
       */
      public java.lang.String getArgs(int index) {
        return args_.get(index);
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param index The index of the value to return.
       * @return The bytes of the args at the given index.
       */
      public com.google.protobuf.ByteString
          getArgsBytes(int index) {
        return args_.getByteString(index);
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param index The index to set the value at.
       * @param value The args to set.
       * @return This builder for chaining.
       */
      public Builder setArgs(
          int index, java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgsIsMutable();
        args_.set(index, value);
        onChanged();
        return this;
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param value The args to add.
       * @return This builder for chaining.
       */
      public Builder addArgs(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  ensureArgsIsMutable();
        args_.add(value);
        onChanged();
        return this;
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param values The args to add.
       * @return This builder for chaining.
       */
      public Builder addAllArgs(
          java.lang.Iterable values) {
        ensureArgsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, args_);
        onChanged();
        return this;
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @return This builder for chaining.
       */
      public Builder clearArgs() {
        args_ = com.google.protobuf.LazyStringArrayList.EMPTY;
        bitField0_ = (bitField0_ & ~0x00000001);
        onChanged();
        return this;
      }
      /**
       * 
       * Arguments to the initialization action
       * 
       *
       * repeated string args = 2;
       * @param value The bytes of the args to add.
       * @return This builder for chaining.
       */
      public Builder addArgsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        ensureArgsIsMutable();
        args_.add(value);
        onChanged();
        return this;
      }
      private long timeout_ ;
      /**
       * 
       * Execution timeout
       * 
       *
       * int64 timeout = 3;
       * @return The timeout.
       */
      @java.lang.Override
      public long getTimeout() {
        return timeout_;
      }
      /**
       * 
       * Execution timeout
       * 
       *
       * int64 timeout = 3;
       * @param value The timeout to set.
       * @return This builder for chaining.
       */
      public Builder setTimeout(long value) {
        
        timeout_ = value;
        onChanged();
        return this;
      }
      /**
       * 
       * Execution timeout
       * 
       *
       * int64 timeout = 3;
       * @return This builder for chaining.
       */
      public Builder clearTimeout() {
        
        timeout_ = 0L;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }
      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }
      // @@protoc_insertion_point(builder_scope:yandex.cloud.dataproc.v1.InitializationAction)
    }
    // @@protoc_insertion_point(class_scope:yandex.cloud.dataproc.v1.InitializationAction)
    private static final yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction();
    }
    public static yandex.cloud.api.dataproc.v1.ClusterOuterClass.InitializationAction getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }
    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public InitializationAction parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new InitializationAction(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.dataproc.v1.ClusterOuterClass.InitializationAction getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }
  }
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_Cluster_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_Monitoring_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_HadoopConfig_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_yandex_cloud_dataproc_v1_InitializationAction_fieldAccessorTable;
  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n&yandex/cloud/dataproc/v1/cluster.proto" +
      "\022\030yandex.cloud.dataproc.v1\032\037google/proto" +
      "buf/timestamp.proto\032%yandex/cloud/datapr" +
      "oc/v1/common.proto\032\035yandex/cloud/validat" +
      "ion.proto\"\212\006\n\007Cluster\022\n\n\002id\030\001 \001(\t\022\021\n\tfol" +
      "der_id\030\002 \001(\t\022.\n\ncreated_at\030\003 \001(\0132\032.googl" +
      "e.protobuf.Timestamp\022\026\n\004name\030\004 \001(\tB\010\212\3101\004" +
      "1-63\022\036\n\013description\030\005 \001(\tB\t\212\3101\0050-256\022G\n\006" +
      "labels\030\006 \003(\0132-.yandex.cloud.dataproc.v1." +
      "Cluster.LabelsEntryB\010\202\3101\004<=64\0228\n\nmonitor" +
      "ing\030\007 \003(\0132$.yandex.cloud.dataproc.v1.Mon" +
      "itoring\0227\n\006config\030\010 \001(\0132\'.yandex.cloud.d" +
      "ataproc.v1.ClusterConfig\0220\n\006health\030\t \001(\016" +
      "2 .yandex.cloud.dataproc.v1.Health\0228\n\006st" +
      "atus\030\n \001(\0162(.yandex.cloud.dataproc.v1.Cl" +
      "uster.Status\022\017\n\007zone_id\030\013 \001(\t\022\032\n\022service" +
      "_account_id\030\014 \001(\t\022\016\n\006bucket\030\r \001(\t\022\020\n\010ui_" +
      "proxy\030\016 \001(\010\022\032\n\022security_group_ids\030\017 \003(\t\022" +
      "\026\n\016host_group_ids\030\020 \003(\t\022\033\n\023deletion_prot" +
      "ection\030\021 \001(\010\022\024\n\014log_group_id\030\022 \001(\t\032-\n\013La" +
      "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" +
      "\001\"k\n\006Status\022\022\n\016STATUS_UNKNOWN\020\000\022\014\n\010CREAT" +
      "ING\020\001\022\013\n\007RUNNING\020\002\022\t\n\005ERROR\020\003\022\014\n\010STOPPIN" +
      "G\020\004\022\013\n\007STOPPED\020\005\022\014\n\010STARTING\020\006\"=\n\nMonito" +
      "ring\022\014\n\004name\030\001 \001(\t\022\023\n\013description\030\002 \001(\t\022" +
      "\014\n\004link\030\003 \001(\t\"\361\003\n\014HadoopConfig\022@\n\010servic" +
      "es\030\001 \003(\0162..yandex.cloud.dataproc.v1.Hado" +
      "opConfig.Service\022J\n\nproperties\030\002 \003(\01326.y" +
      "andex.cloud.dataproc.v1.HadoopConfig.Pro" +
      "pertiesEntry\022\027\n\017ssh_public_keys\030\003 \003(\t\022N\n" +
      "\026initialization_actions\030\004 \003(\0132..yandex.c" +
      "loud.dataproc.v1.InitializationAction\0321\n" +
      "\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002" +
      " \001(\t:\0028\001\"\266\001\n\007Service\022\027\n\023SERVICE_UNSPECIF" +
      "IED\020\000\022\010\n\004HDFS\020\001\022\010\n\004YARN\020\002\022\r\n\tMAPREDUCE\020\003" +
      "\022\010\n\004HIVE\020\004\022\007\n\003TEZ\020\005\022\r\n\tZOOKEEPER\020\006\022\t\n\005HB" +
      "ASE\020\007\022\t\n\005SQOOP\020\010\022\t\n\005FLUME\020\t\022\t\n\005SPARK\020\n\022\014" +
      "\n\010ZEPPELIN\020\013\022\t\n\005OOZIE\020\014\022\010\n\004LIVY\020\r\"[\n\rClu" +
      "sterConfig\022\022\n\nversion_id\030\001 \001(\t\0226\n\006hadoop" +
      "\030\002 \001(\0132&.yandex.cloud.dataproc.v1.Hadoop" +
      "Config\"B\n\024InitializationAction\022\013\n\003uri\030\001 " +
      "\001(\t\022\014\n\004args\030\002 \003(\t\022\017\n\007timeout\030\003 \001(\003Be\n\034ya" +
      "ndex.cloud.api.dataproc.v1ZEgithub.com/y" +
      "andex-cloud/go-genproto/yandex/cloud/dat" +
      "aproc/v1;dataprocb\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.TimestampProto.getDescriptor(),
          yandex.cloud.api.dataproc.v1.Common.getDescriptor(),
          yandex.cloud.api.Validation.getDescriptor(),
        });
    internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_yandex_cloud_dataproc_v1_Cluster_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor,
        new java.lang.String[] { "Id", "FolderId", "CreatedAt", "Name", "Description", "Labels", "Monitoring", "Config", "Health", "Status", "ZoneId", "ServiceAccountId", "Bucket", "UiProxy", "SecurityGroupIds", "HostGroupIds", "DeletionProtection", "LogGroupId", });
    internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_descriptor =
      internal_static_yandex_cloud_dataproc_v1_Cluster_descriptor.getNestedTypes().get(0);
    internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_Cluster_LabelsEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_yandex_cloud_dataproc_v1_Monitoring_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_Monitoring_descriptor,
        new java.lang.String[] { "Name", "Description", "Link", });
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor,
        new java.lang.String[] { "Services", "Properties", "SshPublicKeys", "InitializationActions", });
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_descriptor =
      internal_static_yandex_cloud_dataproc_v1_HadoopConfig_descriptor.getNestedTypes().get(0);
    internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_HadoopConfig_PropertiesEntry_descriptor,
        new java.lang.String[] { "Key", "Value", });
    internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_yandex_cloud_dataproc_v1_ClusterConfig_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_ClusterConfig_descriptor,
        new java.lang.String[] { "VersionId", "Hadoop", });
    internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_yandex_cloud_dataproc_v1_InitializationAction_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_yandex_cloud_dataproc_v1_InitializationAction_descriptor,
        new java.lang.String[] { "Uri", "Args", "Timeout", });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(yandex.cloud.api.Validation.length);
    registry.add(yandex.cloud.api.Validation.size);
    com.google.protobuf.Descriptors.FileDescriptor
        .internalUpdateFileDescriptor(descriptor, registry);
    com.google.protobuf.TimestampProto.getDescriptor();
    yandex.cloud.api.dataproc.v1.Common.getDescriptor();
    yandex.cloud.api.Validation.getDescriptor();
  }
  // @@protoc_insertion_point(outer_class_scope)
}
                                                                                                           © 2015 - 2025 Weber Informatics LLC | Privacy Policy