1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/dataproc/v1/clusters.proto 18 19 package com.google.cloud.dataproc.v1; 20 21 public interface DiskConfigOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.dataproc.v1.DiskConfig) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Optional. Type of the boot disk (default is "pd-standard"). 31 * Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), 32 * "pd-ssd" (Persistent Disk Solid State Drive), 33 * or "pd-standard" (Persistent Disk Hard Disk Drive). 34 * See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types). 35 * </pre> 36 * 37 * <code>string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code> 38 * 39 * @return The bootDiskType. 40 */ getBootDiskType()41 java.lang.String getBootDiskType(); 42 /** 43 * 44 * 45 * <pre> 46 * Optional. Type of the boot disk (default is "pd-standard"). 47 * Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), 48 * "pd-ssd" (Persistent Disk Solid State Drive), 49 * or "pd-standard" (Persistent Disk Hard Disk Drive). 50 * See [Disk types](https://cloud.google.com/compute/docs/disks#disk-types). 51 * </pre> 52 * 53 * <code>string boot_disk_type = 3 [(.google.api.field_behavior) = OPTIONAL];</code> 54 * 55 * @return The bytes for bootDiskType. 56 */ getBootDiskTypeBytes()57 com.google.protobuf.ByteString getBootDiskTypeBytes(); 58 59 /** 60 * 61 * 62 * <pre> 63 * Optional. Size in GB of the boot disk (default is 500GB). 64 * </pre> 65 * 66 * <code>int32 boot_disk_size_gb = 1 [(.google.api.field_behavior) = OPTIONAL];</code> 67 * 68 * @return The bootDiskSizeGb. 69 */ getBootDiskSizeGb()70 int getBootDiskSizeGb(); 71 72 /** 73 * 74 * 75 * <pre> 76 * Optional. Number of attached SSDs, from 0 to 8 (default is 0). 77 * If SSDs are not attached, the boot disk is used to store runtime logs and 78 * [HDFS](https://hadoop.apache.org/docs/r1.2.1/hdfs_user_guide.html) data. 79 * If one or more SSDs are attached, this runtime bulk 80 * data is spread across them, and the boot disk contains only basic 81 * config and installed binaries. 82 * Note: Local SSD options may vary by machine type and number of vCPUs 83 * selected. 84 * </pre> 85 * 86 * <code>int32 num_local_ssds = 2 [(.google.api.field_behavior) = OPTIONAL];</code> 87 * 88 * @return The numLocalSsds. 89 */ getNumLocalSsds()90 int getNumLocalSsds(); 91 92 /** 93 * 94 * 95 * <pre> 96 * Optional. Interface type of local SSDs (default is "scsi"). 97 * Valid values: "scsi" (Small Computer System Interface), 98 * "nvme" (Non-Volatile Memory Express). 99 * See [local SSD 100 * performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance). 101 * </pre> 102 * 103 * <code>string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 104 * 105 * @return The localSsdInterface. 106 */ getLocalSsdInterface()107 java.lang.String getLocalSsdInterface(); 108 /** 109 * 110 * 111 * <pre> 112 * Optional. Interface type of local SSDs (default is "scsi"). 113 * Valid values: "scsi" (Small Computer System Interface), 114 * "nvme" (Non-Volatile Memory Express). 115 * See [local SSD 116 * performance](https://cloud.google.com/compute/docs/disks/local-ssd#performance). 117 * </pre> 118 * 119 * <code>string local_ssd_interface = 4 [(.google.api.field_behavior) = OPTIONAL];</code> 120 * 121 * @return The bytes for localSsdInterface. 122 */ getLocalSsdInterfaceBytes()123 com.google.protobuf.ByteString getLocalSsdInterfaceBytes(); 124 } 125