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 SourceInstanceParamsOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.SourceInstanceParams) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. 31 * </pre> 32 * 33 * <code>repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623; 34 * </code> 35 */ getDiskConfigsList()36 java.util.List<com.google.cloud.compute.v1.DiskInstantiationConfig> getDiskConfigsList(); 37 /** 38 * 39 * 40 * <pre> 41 * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. 42 * </pre> 43 * 44 * <code>repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623; 45 * </code> 46 */ getDiskConfigs(int index)47 com.google.cloud.compute.v1.DiskInstantiationConfig getDiskConfigs(int index); 48 /** 49 * 50 * 51 * <pre> 52 * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. 53 * </pre> 54 * 55 * <code>repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623; 56 * </code> 57 */ getDiskConfigsCount()58 int getDiskConfigsCount(); 59 /** 60 * 61 * 62 * <pre> 63 * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. 64 * </pre> 65 * 66 * <code>repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623; 67 * </code> 68 */ 69 java.util.List<? extends com.google.cloud.compute.v1.DiskInstantiationConfigOrBuilder> getDiskConfigsOrBuilderList()70 getDiskConfigsOrBuilderList(); 71 /** 72 * 73 * 74 * <pre> 75 * Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, the source images for each disk will be used. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. 76 * </pre> 77 * 78 * <code>repeated .google.cloud.compute.v1.DiskInstantiationConfig disk_configs = 235580623; 79 * </code> 80 */ getDiskConfigsOrBuilder(int index)81 com.google.cloud.compute.v1.DiskInstantiationConfigOrBuilder getDiskConfigsOrBuilder(int index); 82 } 83