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/compute/v1/compute.proto 18 19 package com.google.cloud.compute.v1; 20 21 public interface LocalDiskOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.LocalDisk) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Specifies the number of such disks. 31 * </pre> 32 * 33 * <code>optional int32 disk_count = 182933485;</code> 34 * 35 * @return Whether the diskCount field is set. 36 */ hasDiskCount()37 boolean hasDiskCount(); 38 /** 39 * 40 * 41 * <pre> 42 * Specifies the number of such disks. 43 * </pre> 44 * 45 * <code>optional int32 disk_count = 182933485;</code> 46 * 47 * @return The diskCount. 48 */ getDiskCount()49 int getDiskCount(); 50 51 /** 52 * 53 * 54 * <pre> 55 * Specifies the size of the disk in base-2 GB. 56 * </pre> 57 * 58 * <code>optional int32 disk_size_gb = 316263735;</code> 59 * 60 * @return Whether the diskSizeGb field is set. 61 */ hasDiskSizeGb()62 boolean hasDiskSizeGb(); 63 /** 64 * 65 * 66 * <pre> 67 * Specifies the size of the disk in base-2 GB. 68 * </pre> 69 * 70 * <code>optional int32 disk_size_gb = 316263735;</code> 71 * 72 * @return The diskSizeGb. 73 */ getDiskSizeGb()74 int getDiskSizeGb(); 75 76 /** 77 * 78 * 79 * <pre> 80 * Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. 81 * </pre> 82 * 83 * <code>optional string disk_type = 93009052;</code> 84 * 85 * @return Whether the diskType field is set. 86 */ hasDiskType()87 boolean hasDiskType(); 88 /** 89 * 90 * 91 * <pre> 92 * Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. 93 * </pre> 94 * 95 * <code>optional string disk_type = 93009052;</code> 96 * 97 * @return The diskType. 98 */ getDiskType()99 java.lang.String getDiskType(); 100 /** 101 * 102 * 103 * <pre> 104 * Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. 105 * </pre> 106 * 107 * <code>optional string disk_type = 93009052;</code> 108 * 109 * @return The bytes for diskType. 110 */ getDiskTypeBytes()111 com.google.protobuf.ByteString getDiskTypeBytes(); 112 } 113