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 RegionOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Region) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * [Output Only] Creation timestamp in RFC3339 text format. 31 * </pre> 32 * 33 * <code>optional string creation_timestamp = 30525366;</code> 34 * 35 * @return Whether the creationTimestamp field is set. 36 */ hasCreationTimestamp()37 boolean hasCreationTimestamp(); 38 /** 39 * 40 * 41 * <pre> 42 * [Output Only] Creation timestamp in RFC3339 text format. 43 * </pre> 44 * 45 * <code>optional string creation_timestamp = 30525366;</code> 46 * 47 * @return The creationTimestamp. 48 */ getCreationTimestamp()49 java.lang.String getCreationTimestamp(); 50 /** 51 * 52 * 53 * <pre> 54 * [Output Only] Creation timestamp in RFC3339 text format. 55 * </pre> 56 * 57 * <code>optional string creation_timestamp = 30525366;</code> 58 * 59 * @return The bytes for creationTimestamp. 60 */ getCreationTimestampBytes()61 com.google.protobuf.ByteString getCreationTimestampBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * [Output Only] The deprecation status associated with this region. 68 * </pre> 69 * 70 * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code> 71 * 72 * @return Whether the deprecated field is set. 73 */ hasDeprecated()74 boolean hasDeprecated(); 75 /** 76 * 77 * 78 * <pre> 79 * [Output Only] The deprecation status associated with this region. 80 * </pre> 81 * 82 * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code> 83 * 84 * @return The deprecated. 85 */ getDeprecated()86 com.google.cloud.compute.v1.DeprecationStatus getDeprecated(); 87 /** 88 * 89 * 90 * <pre> 91 * [Output Only] The deprecation status associated with this region. 92 * </pre> 93 * 94 * <code>optional .google.cloud.compute.v1.DeprecationStatus deprecated = 515138995;</code> 95 */ getDeprecatedOrBuilder()96 com.google.cloud.compute.v1.DeprecationStatusOrBuilder getDeprecatedOrBuilder(); 97 98 /** 99 * 100 * 101 * <pre> 102 * [Output Only] Textual description of the resource. 103 * </pre> 104 * 105 * <code>optional string description = 422937596;</code> 106 * 107 * @return Whether the description field is set. 108 */ hasDescription()109 boolean hasDescription(); 110 /** 111 * 112 * 113 * <pre> 114 * [Output Only] Textual description of the resource. 115 * </pre> 116 * 117 * <code>optional string description = 422937596;</code> 118 * 119 * @return The description. 120 */ getDescription()121 java.lang.String getDescription(); 122 /** 123 * 124 * 125 * <pre> 126 * [Output Only] Textual description of the resource. 127 * </pre> 128 * 129 * <code>optional string description = 422937596;</code> 130 * 131 * @return The bytes for description. 132 */ getDescriptionBytes()133 com.google.protobuf.ByteString getDescriptionBytes(); 134 135 /** 136 * 137 * 138 * <pre> 139 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 140 * </pre> 141 * 142 * <code>optional uint64 id = 3355;</code> 143 * 144 * @return Whether the id field is set. 145 */ hasId()146 boolean hasId(); 147 /** 148 * 149 * 150 * <pre> 151 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 152 * </pre> 153 * 154 * <code>optional uint64 id = 3355;</code> 155 * 156 * @return The id. 157 */ getId()158 long getId(); 159 160 /** 161 * 162 * 163 * <pre> 164 * [Output Only] Type of the resource. Always compute#region for regions. 165 * </pre> 166 * 167 * <code>optional string kind = 3292052;</code> 168 * 169 * @return Whether the kind field is set. 170 */ hasKind()171 boolean hasKind(); 172 /** 173 * 174 * 175 * <pre> 176 * [Output Only] Type of the resource. Always compute#region for regions. 177 * </pre> 178 * 179 * <code>optional string kind = 3292052;</code> 180 * 181 * @return The kind. 182 */ getKind()183 java.lang.String getKind(); 184 /** 185 * 186 * 187 * <pre> 188 * [Output Only] Type of the resource. Always compute#region for regions. 189 * </pre> 190 * 191 * <code>optional string kind = 3292052;</code> 192 * 193 * @return The bytes for kind. 194 */ getKindBytes()195 com.google.protobuf.ByteString getKindBytes(); 196 197 /** 198 * 199 * 200 * <pre> 201 * [Output Only] Name of the resource. 202 * </pre> 203 * 204 * <code>optional string name = 3373707;</code> 205 * 206 * @return Whether the name field is set. 207 */ hasName()208 boolean hasName(); 209 /** 210 * 211 * 212 * <pre> 213 * [Output Only] Name of the resource. 214 * </pre> 215 * 216 * <code>optional string name = 3373707;</code> 217 * 218 * @return The name. 219 */ getName()220 java.lang.String getName(); 221 /** 222 * 223 * 224 * <pre> 225 * [Output Only] Name of the resource. 226 * </pre> 227 * 228 * <code>optional string name = 3373707;</code> 229 * 230 * @return The bytes for name. 231 */ getNameBytes()232 com.google.protobuf.ByteString getNameBytes(); 233 234 /** 235 * 236 * 237 * <pre> 238 * [Output Only] Quotas assigned to this region. 239 * </pre> 240 * 241 * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code> 242 */ getQuotasList()243 java.util.List<com.google.cloud.compute.v1.Quota> getQuotasList(); 244 /** 245 * 246 * 247 * <pre> 248 * [Output Only] Quotas assigned to this region. 249 * </pre> 250 * 251 * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code> 252 */ getQuotas(int index)253 com.google.cloud.compute.v1.Quota getQuotas(int index); 254 /** 255 * 256 * 257 * <pre> 258 * [Output Only] Quotas assigned to this region. 259 * </pre> 260 * 261 * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code> 262 */ getQuotasCount()263 int getQuotasCount(); 264 /** 265 * 266 * 267 * <pre> 268 * [Output Only] Quotas assigned to this region. 269 * </pre> 270 * 271 * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code> 272 */ getQuotasOrBuilderList()273 java.util.List<? extends com.google.cloud.compute.v1.QuotaOrBuilder> getQuotasOrBuilderList(); 274 /** 275 * 276 * 277 * <pre> 278 * [Output Only] Quotas assigned to this region. 279 * </pre> 280 * 281 * <code>repeated .google.cloud.compute.v1.Quota quotas = 125341947;</code> 282 */ getQuotasOrBuilder(int index)283 com.google.cloud.compute.v1.QuotaOrBuilder getQuotasOrBuilder(int index); 284 285 /** 286 * 287 * 288 * <pre> 289 * [Output Only] Server-defined URL for the resource. 290 * </pre> 291 * 292 * <code>optional string self_link = 456214797;</code> 293 * 294 * @return Whether the selfLink field is set. 295 */ hasSelfLink()296 boolean hasSelfLink(); 297 /** 298 * 299 * 300 * <pre> 301 * [Output Only] Server-defined URL for the resource. 302 * </pre> 303 * 304 * <code>optional string self_link = 456214797;</code> 305 * 306 * @return The selfLink. 307 */ getSelfLink()308 java.lang.String getSelfLink(); 309 /** 310 * 311 * 312 * <pre> 313 * [Output Only] Server-defined URL for the resource. 314 * </pre> 315 * 316 * <code>optional string self_link = 456214797;</code> 317 * 318 * @return The bytes for selfLink. 319 */ getSelfLinkBytes()320 com.google.protobuf.ByteString getSelfLinkBytes(); 321 322 /** 323 * 324 * 325 * <pre> 326 * [Output Only] Status of the region, either UP or DOWN. 327 * Check the Status enum for the list of possible values. 328 * </pre> 329 * 330 * <code>optional string status = 181260274;</code> 331 * 332 * @return Whether the status field is set. 333 */ hasStatus()334 boolean hasStatus(); 335 /** 336 * 337 * 338 * <pre> 339 * [Output Only] Status of the region, either UP or DOWN. 340 * Check the Status enum for the list of possible values. 341 * </pre> 342 * 343 * <code>optional string status = 181260274;</code> 344 * 345 * @return The status. 346 */ getStatus()347 java.lang.String getStatus(); 348 /** 349 * 350 * 351 * <pre> 352 * [Output Only] Status of the region, either UP or DOWN. 353 * Check the Status enum for the list of possible values. 354 * </pre> 355 * 356 * <code>optional string status = 181260274;</code> 357 * 358 * @return The bytes for status. 359 */ getStatusBytes()360 com.google.protobuf.ByteString getStatusBytes(); 361 362 /** 363 * 364 * 365 * <pre> 366 * [Output Only] Reserved for future use. 367 * </pre> 368 * 369 * <code>optional bool supports_pzs = 83983214;</code> 370 * 371 * @return Whether the supportsPzs field is set. 372 */ hasSupportsPzs()373 boolean hasSupportsPzs(); 374 /** 375 * 376 * 377 * <pre> 378 * [Output Only] Reserved for future use. 379 * </pre> 380 * 381 * <code>optional bool supports_pzs = 83983214;</code> 382 * 383 * @return The supportsPzs. 384 */ getSupportsPzs()385 boolean getSupportsPzs(); 386 387 /** 388 * 389 * 390 * <pre> 391 * [Output Only] A list of zones available in this region, in the form of resource URLs. 392 * </pre> 393 * 394 * <code>repeated string zones = 116085319;</code> 395 * 396 * @return A list containing the zones. 397 */ getZonesList()398 java.util.List<java.lang.String> getZonesList(); 399 /** 400 * 401 * 402 * <pre> 403 * [Output Only] A list of zones available in this region, in the form of resource URLs. 404 * </pre> 405 * 406 * <code>repeated string zones = 116085319;</code> 407 * 408 * @return The count of zones. 409 */ getZonesCount()410 int getZonesCount(); 411 /** 412 * 413 * 414 * <pre> 415 * [Output Only] A list of zones available in this region, in the form of resource URLs. 416 * </pre> 417 * 418 * <code>repeated string zones = 116085319;</code> 419 * 420 * @param index The index of the element to return. 421 * @return The zones at the given index. 422 */ getZones(int index)423 java.lang.String getZones(int index); 424 /** 425 * 426 * 427 * <pre> 428 * [Output Only] A list of zones available in this region, in the form of resource URLs. 429 * </pre> 430 * 431 * <code>repeated string zones = 116085319;</code> 432 * 433 * @param index The index of the value to return. 434 * @return The bytes of the zones at the given index. 435 */ getZonesBytes(int index)436 com.google.protobuf.ByteString getZonesBytes(int index); 437 } 438