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 DiskListOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.DiskList) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Unique identifier for the resource; defined by the server. 31 * </pre> 32 * 33 * <code>optional string id = 3355;</code> 34 * 35 * @return Whether the id field is set. 36 */ hasId()37 boolean hasId(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Unique identifier for the resource; defined by the server. 43 * </pre> 44 * 45 * <code>optional string id = 3355;</code> 46 * 47 * @return The id. 48 */ getId()49 java.lang.String getId(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Unique identifier for the resource; defined by the server. 55 * </pre> 56 * 57 * <code>optional string id = 3355;</code> 58 * 59 * @return The bytes for id. 60 */ getIdBytes()61 com.google.protobuf.ByteString getIdBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * A list of Disk resources. 68 * </pre> 69 * 70 * <code>repeated .google.cloud.compute.v1.Disk items = 100526016;</code> 71 */ getItemsList()72 java.util.List<com.google.cloud.compute.v1.Disk> getItemsList(); 73 /** 74 * 75 * 76 * <pre> 77 * A list of Disk resources. 78 * </pre> 79 * 80 * <code>repeated .google.cloud.compute.v1.Disk items = 100526016;</code> 81 */ getItems(int index)82 com.google.cloud.compute.v1.Disk getItems(int index); 83 /** 84 * 85 * 86 * <pre> 87 * A list of Disk resources. 88 * </pre> 89 * 90 * <code>repeated .google.cloud.compute.v1.Disk items = 100526016;</code> 91 */ getItemsCount()92 int getItemsCount(); 93 /** 94 * 95 * 96 * <pre> 97 * A list of Disk resources. 98 * </pre> 99 * 100 * <code>repeated .google.cloud.compute.v1.Disk items = 100526016;</code> 101 */ getItemsOrBuilderList()102 java.util.List<? extends com.google.cloud.compute.v1.DiskOrBuilder> getItemsOrBuilderList(); 103 /** 104 * 105 * 106 * <pre> 107 * A list of Disk resources. 108 * </pre> 109 * 110 * <code>repeated .google.cloud.compute.v1.Disk items = 100526016;</code> 111 */ getItemsOrBuilder(int index)112 com.google.cloud.compute.v1.DiskOrBuilder getItemsOrBuilder(int index); 113 114 /** 115 * 116 * 117 * <pre> 118 * [Output Only] Type of resource. Always compute#diskList for lists of disks. 119 * </pre> 120 * 121 * <code>optional string kind = 3292052;</code> 122 * 123 * @return Whether the kind field is set. 124 */ hasKind()125 boolean hasKind(); 126 /** 127 * 128 * 129 * <pre> 130 * [Output Only] Type of resource. Always compute#diskList for lists of disks. 131 * </pre> 132 * 133 * <code>optional string kind = 3292052;</code> 134 * 135 * @return The kind. 136 */ getKind()137 java.lang.String getKind(); 138 /** 139 * 140 * 141 * <pre> 142 * [Output Only] Type of resource. Always compute#diskList for lists of disks. 143 * </pre> 144 * 145 * <code>optional string kind = 3292052;</code> 146 * 147 * @return The bytes for kind. 148 */ getKindBytes()149 com.google.protobuf.ByteString getKindBytes(); 150 151 /** 152 * 153 * 154 * <pre> 155 * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. 156 * </pre> 157 * 158 * <code>optional string next_page_token = 79797525;</code> 159 * 160 * @return Whether the nextPageToken field is set. 161 */ hasNextPageToken()162 boolean hasNextPageToken(); 163 /** 164 * 165 * 166 * <pre> 167 * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. 168 * </pre> 169 * 170 * <code>optional string next_page_token = 79797525;</code> 171 * 172 * @return The nextPageToken. 173 */ getNextPageToken()174 java.lang.String getNextPageToken(); 175 /** 176 * 177 * 178 * <pre> 179 * [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. 180 * </pre> 181 * 182 * <code>optional string next_page_token = 79797525;</code> 183 * 184 * @return The bytes for nextPageToken. 185 */ getNextPageTokenBytes()186 com.google.protobuf.ByteString getNextPageTokenBytes(); 187 188 /** 189 * 190 * 191 * <pre> 192 * [Output Only] Server-defined URL for this resource. 193 * </pre> 194 * 195 * <code>optional string self_link = 456214797;</code> 196 * 197 * @return Whether the selfLink field is set. 198 */ hasSelfLink()199 boolean hasSelfLink(); 200 /** 201 * 202 * 203 * <pre> 204 * [Output Only] Server-defined URL for this resource. 205 * </pre> 206 * 207 * <code>optional string self_link = 456214797;</code> 208 * 209 * @return The selfLink. 210 */ getSelfLink()211 java.lang.String getSelfLink(); 212 /** 213 * 214 * 215 * <pre> 216 * [Output Only] Server-defined URL for this resource. 217 * </pre> 218 * 219 * <code>optional string self_link = 456214797;</code> 220 * 221 * @return The bytes for selfLink. 222 */ getSelfLinkBytes()223 com.google.protobuf.ByteString getSelfLinkBytes(); 224 225 /** 226 * 227 * 228 * <pre> 229 * [Output Only] Informational warning message. 230 * </pre> 231 * 232 * <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code> 233 * 234 * @return Whether the warning field is set. 235 */ hasWarning()236 boolean hasWarning(); 237 /** 238 * 239 * 240 * <pre> 241 * [Output Only] Informational warning message. 242 * </pre> 243 * 244 * <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code> 245 * 246 * @return The warning. 247 */ getWarning()248 com.google.cloud.compute.v1.Warning getWarning(); 249 /** 250 * 251 * 252 * <pre> 253 * [Output Only] Informational warning message. 254 * </pre> 255 * 256 * <code>optional .google.cloud.compute.v1.Warning warning = 50704284;</code> 257 */ getWarningOrBuilder()258 com.google.cloud.compute.v1.WarningOrBuilder getWarningOrBuilder(); 259 } 260