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 RouterOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.Router) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * BGP information specific to this router. 31 * </pre> 32 * 33 * <code>optional .google.cloud.compute.v1.RouterBgp bgp = 97483;</code> 34 * 35 * @return Whether the bgp field is set. 36 */ hasBgp()37 boolean hasBgp(); 38 /** 39 * 40 * 41 * <pre> 42 * BGP information specific to this router. 43 * </pre> 44 * 45 * <code>optional .google.cloud.compute.v1.RouterBgp bgp = 97483;</code> 46 * 47 * @return The bgp. 48 */ getBgp()49 com.google.cloud.compute.v1.RouterBgp getBgp(); 50 /** 51 * 52 * 53 * <pre> 54 * BGP information specific to this router. 55 * </pre> 56 * 57 * <code>optional .google.cloud.compute.v1.RouterBgp bgp = 97483;</code> 58 */ getBgpOrBuilder()59 com.google.cloud.compute.v1.RouterBgpOrBuilder getBgpOrBuilder(); 60 61 /** 62 * 63 * 64 * <pre> 65 * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. 66 * </pre> 67 * 68 * <code>repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;</code> 69 */ getBgpPeersList()70 java.util.List<com.google.cloud.compute.v1.RouterBgpPeer> getBgpPeersList(); 71 /** 72 * 73 * 74 * <pre> 75 * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. 76 * </pre> 77 * 78 * <code>repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;</code> 79 */ getBgpPeers(int index)80 com.google.cloud.compute.v1.RouterBgpPeer getBgpPeers(int index); 81 /** 82 * 83 * 84 * <pre> 85 * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. 86 * </pre> 87 * 88 * <code>repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;</code> 89 */ getBgpPeersCount()90 int getBgpPeersCount(); 91 /** 92 * 93 * 94 * <pre> 95 * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. 96 * </pre> 97 * 98 * <code>repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;</code> 99 */ 100 java.util.List<? extends com.google.cloud.compute.v1.RouterBgpPeerOrBuilder> getBgpPeersOrBuilderList()101 getBgpPeersOrBuilderList(); 102 /** 103 * 104 * 105 * <pre> 106 * BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. 107 * </pre> 108 * 109 * <code>repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;</code> 110 */ getBgpPeersOrBuilder(int index)111 com.google.cloud.compute.v1.RouterBgpPeerOrBuilder getBgpPeersOrBuilder(int index); 112 113 /** 114 * 115 * 116 * <pre> 117 * [Output Only] Creation timestamp in RFC3339 text format. 118 * </pre> 119 * 120 * <code>optional string creation_timestamp = 30525366;</code> 121 * 122 * @return Whether the creationTimestamp field is set. 123 */ hasCreationTimestamp()124 boolean hasCreationTimestamp(); 125 /** 126 * 127 * 128 * <pre> 129 * [Output Only] Creation timestamp in RFC3339 text format. 130 * </pre> 131 * 132 * <code>optional string creation_timestamp = 30525366;</code> 133 * 134 * @return The creationTimestamp. 135 */ getCreationTimestamp()136 java.lang.String getCreationTimestamp(); 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] Creation timestamp in RFC3339 text format. 142 * </pre> 143 * 144 * <code>optional string creation_timestamp = 30525366;</code> 145 * 146 * @return The bytes for creationTimestamp. 147 */ getCreationTimestampBytes()148 com.google.protobuf.ByteString getCreationTimestampBytes(); 149 150 /** 151 * 152 * 153 * <pre> 154 * An optional description of this resource. Provide this property when you create the resource. 155 * </pre> 156 * 157 * <code>optional string description = 422937596;</code> 158 * 159 * @return Whether the description field is set. 160 */ hasDescription()161 boolean hasDescription(); 162 /** 163 * 164 * 165 * <pre> 166 * An optional description of this resource. Provide this property when you create the resource. 167 * </pre> 168 * 169 * <code>optional string description = 422937596;</code> 170 * 171 * @return The description. 172 */ getDescription()173 java.lang.String getDescription(); 174 /** 175 * 176 * 177 * <pre> 178 * An optional description of this resource. Provide this property when you create the resource. 179 * </pre> 180 * 181 * <code>optional string description = 422937596;</code> 182 * 183 * @return The bytes for description. 184 */ getDescriptionBytes()185 com.google.protobuf.ByteString getDescriptionBytes(); 186 187 /** 188 * 189 * 190 * <pre> 191 * Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). 192 * </pre> 193 * 194 * <code>optional bool encrypted_interconnect_router = 297996575;</code> 195 * 196 * @return Whether the encryptedInterconnectRouter field is set. 197 */ hasEncryptedInterconnectRouter()198 boolean hasEncryptedInterconnectRouter(); 199 /** 200 * 201 * 202 * <pre> 203 * Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). 204 * </pre> 205 * 206 * <code>optional bool encrypted_interconnect_router = 297996575;</code> 207 * 208 * @return The encryptedInterconnectRouter. 209 */ getEncryptedInterconnectRouter()210 boolean getEncryptedInterconnectRouter(); 211 212 /** 213 * 214 * 215 * <pre> 216 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 217 * </pre> 218 * 219 * <code>optional uint64 id = 3355;</code> 220 * 221 * @return Whether the id field is set. 222 */ hasId()223 boolean hasId(); 224 /** 225 * 226 * 227 * <pre> 228 * [Output Only] The unique identifier for the resource. This identifier is defined by the server. 229 * </pre> 230 * 231 * <code>optional uint64 id = 3355;</code> 232 * 233 * @return The id. 234 */ getId()235 long getId(); 236 237 /** 238 * 239 * 240 * <pre> 241 * Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. 242 * </pre> 243 * 244 * <code>repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;</code> 245 */ getInterfacesList()246 java.util.List<com.google.cloud.compute.v1.RouterInterface> getInterfacesList(); 247 /** 248 * 249 * 250 * <pre> 251 * Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. 252 * </pre> 253 * 254 * <code>repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;</code> 255 */ getInterfaces(int index)256 com.google.cloud.compute.v1.RouterInterface getInterfaces(int index); 257 /** 258 * 259 * 260 * <pre> 261 * Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. 262 * </pre> 263 * 264 * <code>repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;</code> 265 */ getInterfacesCount()266 int getInterfacesCount(); 267 /** 268 * 269 * 270 * <pre> 271 * Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. 272 * </pre> 273 * 274 * <code>repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;</code> 275 */ 276 java.util.List<? extends com.google.cloud.compute.v1.RouterInterfaceOrBuilder> getInterfacesOrBuilderList()277 getInterfacesOrBuilderList(); 278 /** 279 * 280 * 281 * <pre> 282 * Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. 283 * </pre> 284 * 285 * <code>repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;</code> 286 */ getInterfacesOrBuilder(int index)287 com.google.cloud.compute.v1.RouterInterfaceOrBuilder getInterfacesOrBuilder(int index); 288 289 /** 290 * 291 * 292 * <pre> 293 * [Output Only] Type of resource. Always compute#router for routers. 294 * </pre> 295 * 296 * <code>optional string kind = 3292052;</code> 297 * 298 * @return Whether the kind field is set. 299 */ hasKind()300 boolean hasKind(); 301 /** 302 * 303 * 304 * <pre> 305 * [Output Only] Type of resource. Always compute#router for routers. 306 * </pre> 307 * 308 * <code>optional string kind = 3292052;</code> 309 * 310 * @return The kind. 311 */ getKind()312 java.lang.String getKind(); 313 /** 314 * 315 * 316 * <pre> 317 * [Output Only] Type of resource. Always compute#router for routers. 318 * </pre> 319 * 320 * <code>optional string kind = 3292052;</code> 321 * 322 * @return The bytes for kind. 323 */ getKindBytes()324 com.google.protobuf.ByteString getKindBytes(); 325 326 /** 327 * 328 * 329 * <pre> 330 * Keys used for MD5 authentication. 331 * </pre> 332 * 333 * <code> 334 * repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; 335 * </code> 336 */ 337 java.util.List<com.google.cloud.compute.v1.RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()338 getMd5AuthenticationKeysList(); 339 /** 340 * 341 * 342 * <pre> 343 * Keys used for MD5 authentication. 344 * </pre> 345 * 346 * <code> 347 * repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; 348 * </code> 349 */ getMd5AuthenticationKeys(int index)350 com.google.cloud.compute.v1.RouterMd5AuthenticationKey getMd5AuthenticationKeys(int index); 351 /** 352 * 353 * 354 * <pre> 355 * Keys used for MD5 authentication. 356 * </pre> 357 * 358 * <code> 359 * repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; 360 * </code> 361 */ getMd5AuthenticationKeysCount()362 int getMd5AuthenticationKeysCount(); 363 /** 364 * 365 * 366 * <pre> 367 * Keys used for MD5 authentication. 368 * </pre> 369 * 370 * <code> 371 * repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; 372 * </code> 373 */ 374 java.util.List<? extends com.google.cloud.compute.v1.RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()375 getMd5AuthenticationKeysOrBuilderList(); 376 /** 377 * 378 * 379 * <pre> 380 * Keys used for MD5 authentication. 381 * </pre> 382 * 383 * <code> 384 * repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; 385 * </code> 386 */ getMd5AuthenticationKeysOrBuilder( int index)387 com.google.cloud.compute.v1.RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder( 388 int index); 389 390 /** 391 * 392 * 393 * <pre> 394 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 395 * </pre> 396 * 397 * <code>optional string name = 3373707;</code> 398 * 399 * @return Whether the name field is set. 400 */ hasName()401 boolean hasName(); 402 /** 403 * 404 * 405 * <pre> 406 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 407 * </pre> 408 * 409 * <code>optional string name = 3373707;</code> 410 * 411 * @return The name. 412 */ getName()413 java.lang.String getName(); 414 /** 415 * 416 * 417 * <pre> 418 * Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. 419 * </pre> 420 * 421 * <code>optional string name = 3373707;</code> 422 * 423 * @return The bytes for name. 424 */ getNameBytes()425 com.google.protobuf.ByteString getNameBytes(); 426 427 /** 428 * 429 * 430 * <pre> 431 * A list of NAT services created in this router. 432 * </pre> 433 * 434 * <code>repeated .google.cloud.compute.v1.RouterNat nats = 3373938;</code> 435 */ getNatsList()436 java.util.List<com.google.cloud.compute.v1.RouterNat> getNatsList(); 437 /** 438 * 439 * 440 * <pre> 441 * A list of NAT services created in this router. 442 * </pre> 443 * 444 * <code>repeated .google.cloud.compute.v1.RouterNat nats = 3373938;</code> 445 */ getNats(int index)446 com.google.cloud.compute.v1.RouterNat getNats(int index); 447 /** 448 * 449 * 450 * <pre> 451 * A list of NAT services created in this router. 452 * </pre> 453 * 454 * <code>repeated .google.cloud.compute.v1.RouterNat nats = 3373938;</code> 455 */ getNatsCount()456 int getNatsCount(); 457 /** 458 * 459 * 460 * <pre> 461 * A list of NAT services created in this router. 462 * </pre> 463 * 464 * <code>repeated .google.cloud.compute.v1.RouterNat nats = 3373938;</code> 465 */ getNatsOrBuilderList()466 java.util.List<? extends com.google.cloud.compute.v1.RouterNatOrBuilder> getNatsOrBuilderList(); 467 /** 468 * 469 * 470 * <pre> 471 * A list of NAT services created in this router. 472 * </pre> 473 * 474 * <code>repeated .google.cloud.compute.v1.RouterNat nats = 3373938;</code> 475 */ getNatsOrBuilder(int index)476 com.google.cloud.compute.v1.RouterNatOrBuilder getNatsOrBuilder(int index); 477 478 /** 479 * 480 * 481 * <pre> 482 * URI of the network to which this router belongs. 483 * </pre> 484 * 485 * <code>optional string network = 232872494;</code> 486 * 487 * @return Whether the network field is set. 488 */ hasNetwork()489 boolean hasNetwork(); 490 /** 491 * 492 * 493 * <pre> 494 * URI of the network to which this router belongs. 495 * </pre> 496 * 497 * <code>optional string network = 232872494;</code> 498 * 499 * @return The network. 500 */ getNetwork()501 java.lang.String getNetwork(); 502 /** 503 * 504 * 505 * <pre> 506 * URI of the network to which this router belongs. 507 * </pre> 508 * 509 * <code>optional string network = 232872494;</code> 510 * 511 * @return The bytes for network. 512 */ getNetworkBytes()513 com.google.protobuf.ByteString getNetworkBytes(); 514 515 /** 516 * 517 * 518 * <pre> 519 * [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 520 * </pre> 521 * 522 * <code>optional string region = 138946292;</code> 523 * 524 * @return Whether the region field is set. 525 */ hasRegion()526 boolean hasRegion(); 527 /** 528 * 529 * 530 * <pre> 531 * [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 532 * </pre> 533 * 534 * <code>optional string region = 138946292;</code> 535 * 536 * @return The region. 537 */ getRegion()538 java.lang.String getRegion(); 539 /** 540 * 541 * 542 * <pre> 543 * [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. 544 * </pre> 545 * 546 * <code>optional string region = 138946292;</code> 547 * 548 * @return The bytes for region. 549 */ getRegionBytes()550 com.google.protobuf.ByteString getRegionBytes(); 551 552 /** 553 * 554 * 555 * <pre> 556 * [Output Only] Server-defined URL for the resource. 557 * </pre> 558 * 559 * <code>optional string self_link = 456214797;</code> 560 * 561 * @return Whether the selfLink field is set. 562 */ hasSelfLink()563 boolean hasSelfLink(); 564 /** 565 * 566 * 567 * <pre> 568 * [Output Only] Server-defined URL for the resource. 569 * </pre> 570 * 571 * <code>optional string self_link = 456214797;</code> 572 * 573 * @return The selfLink. 574 */ getSelfLink()575 java.lang.String getSelfLink(); 576 /** 577 * 578 * 579 * <pre> 580 * [Output Only] Server-defined URL for the resource. 581 * </pre> 582 * 583 * <code>optional string self_link = 456214797;</code> 584 * 585 * @return The bytes for selfLink. 586 */ getSelfLinkBytes()587 com.google.protobuf.ByteString getSelfLinkBytes(); 588 } 589