/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/lifesciences/v2beta/workflows.proto

package com.google.cloud.lifesciences.v2beta;

public interface ExistingDiskOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.lifesciences.v2beta.ExistingDisk)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * If `disk` contains slashes, the Cloud Life Sciences API assumes that it is
   * a complete URL for the disk.  If `disk` does not contain slashes, the Cloud
   * Life Sciences API assumes that the disk is a zonal disk and a URL will be
   * generated of the form `zones/&lt;zone&gt;/disks/&lt;disk&gt;`, where `&lt;zone&gt;` is the
   * zone in which the instance is allocated. The disk must be ext4 formatted.
   *
   * If all `Mount` references to this disk have the `read_only` flag set to
   * true, the disk will be attached in `read-only` mode and can be shared with
   * other instances. Otherwise, the disk will be available for writing but
   * cannot be shared.
   * </pre>
   *
   * <code>string disk = 1;</code>
   *
   * @return The disk.
   */
  java.lang.String getDisk();
  /**
   *
   *
   * <pre>
   * If `disk` contains slashes, the Cloud Life Sciences API assumes that it is
   * a complete URL for the disk.  If `disk` does not contain slashes, the Cloud
   * Life Sciences API assumes that the disk is a zonal disk and a URL will be
   * generated of the form `zones/&lt;zone&gt;/disks/&lt;disk&gt;`, where `&lt;zone&gt;` is the
   * zone in which the instance is allocated. The disk must be ext4 formatted.
   *
   * If all `Mount` references to this disk have the `read_only` flag set to
   * true, the disk will be attached in `read-only` mode and can be shared with
   * other instances. Otherwise, the disk will be available for writing but
   * cannot be shared.
   * </pre>
   *
   * <code>string disk = 1;</code>
   *
   * @return The bytes for disk.
   */
  com.google.protobuf.ByteString getDiskBytes();
}
