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 RouterInterfaceOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.compute.v1.RouterInterface) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. 31 * </pre> 32 * 33 * <code>optional string ip_range = 145092645;</code> 34 * 35 * @return Whether the ipRange field is set. 36 */ hasIpRange()37 boolean hasIpRange(); 38 /** 39 * 40 * 41 * <pre> 42 * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. 43 * </pre> 44 * 45 * <code>optional string ip_range = 145092645;</code> 46 * 47 * @return The ipRange. 48 */ getIpRange()49 java.lang.String getIpRange(); 50 /** 51 * 52 * 53 * <pre> 54 * IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. 55 * </pre> 56 * 57 * <code>optional string ip_range = 145092645;</code> 58 * 59 * @return The bytes for ipRange. 60 */ getIpRangeBytes()61 com.google.protobuf.ByteString getIpRangeBytes(); 62 63 /** 64 * 65 * 66 * <pre> 67 * URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 68 * </pre> 69 * 70 * <code>optional string linked_interconnect_attachment = 501085518;</code> 71 * 72 * @return Whether the linkedInterconnectAttachment field is set. 73 */ hasLinkedInterconnectAttachment()74 boolean hasLinkedInterconnectAttachment(); 75 /** 76 * 77 * 78 * <pre> 79 * URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 80 * </pre> 81 * 82 * <code>optional string linked_interconnect_attachment = 501085518;</code> 83 * 84 * @return The linkedInterconnectAttachment. 85 */ getLinkedInterconnectAttachment()86 java.lang.String getLinkedInterconnectAttachment(); 87 /** 88 * 89 * 90 * <pre> 91 * URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 92 * </pre> 93 * 94 * <code>optional string linked_interconnect_attachment = 501085518;</code> 95 * 96 * @return The bytes for linkedInterconnectAttachment. 97 */ getLinkedInterconnectAttachmentBytes()98 com.google.protobuf.ByteString getLinkedInterconnectAttachmentBytes(); 99 100 /** 101 * 102 * 103 * <pre> 104 * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 105 * </pre> 106 * 107 * <code>optional string linked_vpn_tunnel = 352296953;</code> 108 * 109 * @return Whether the linkedVpnTunnel field is set. 110 */ hasLinkedVpnTunnel()111 boolean hasLinkedVpnTunnel(); 112 /** 113 * 114 * 115 * <pre> 116 * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 117 * </pre> 118 * 119 * <code>optional string linked_vpn_tunnel = 352296953;</code> 120 * 121 * @return The linkedVpnTunnel. 122 */ getLinkedVpnTunnel()123 java.lang.String getLinkedVpnTunnel(); 124 /** 125 * 126 * 127 * <pre> 128 * URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. 129 * </pre> 130 * 131 * <code>optional string linked_vpn_tunnel = 352296953;</code> 132 * 133 * @return The bytes for linkedVpnTunnel. 134 */ getLinkedVpnTunnelBytes()135 com.google.protobuf.ByteString getLinkedVpnTunnelBytes(); 136 137 /** 138 * 139 * 140 * <pre> 141 * [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. 142 * Check the ManagementType enum for the list of possible values. 143 * </pre> 144 * 145 * <code>optional string management_type = 173703606;</code> 146 * 147 * @return Whether the managementType field is set. 148 */ hasManagementType()149 boolean hasManagementType(); 150 /** 151 * 152 * 153 * <pre> 154 * [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. 155 * Check the ManagementType enum for the list of possible values. 156 * </pre> 157 * 158 * <code>optional string management_type = 173703606;</code> 159 * 160 * @return The managementType. 161 */ getManagementType()162 java.lang.String getManagementType(); 163 /** 164 * 165 * 166 * <pre> 167 * [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. 168 * Check the ManagementType enum for the list of possible values. 169 * </pre> 170 * 171 * <code>optional string management_type = 173703606;</code> 172 * 173 * @return The bytes for managementType. 174 */ getManagementTypeBytes()175 com.google.protobuf.ByteString getManagementTypeBytes(); 176 177 /** 178 * 179 * 180 * <pre> 181 * Name of this interface entry. 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. 182 * </pre> 183 * 184 * <code>optional string name = 3373707;</code> 185 * 186 * @return Whether the name field is set. 187 */ hasName()188 boolean hasName(); 189 /** 190 * 191 * 192 * <pre> 193 * Name of this interface entry. 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. 194 * </pre> 195 * 196 * <code>optional string name = 3373707;</code> 197 * 198 * @return The name. 199 */ getName()200 java.lang.String getName(); 201 /** 202 * 203 * 204 * <pre> 205 * Name of this interface entry. 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. 206 * </pre> 207 * 208 * <code>optional string name = 3373707;</code> 209 * 210 * @return The bytes for name. 211 */ getNameBytes()212 com.google.protobuf.ByteString getNameBytes(); 213 214 /** 215 * 216 * 217 * <pre> 218 * The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM. 219 * </pre> 220 * 221 * <code>optional string private_ip_address = 100854040;</code> 222 * 223 * @return Whether the privateIpAddress field is set. 224 */ hasPrivateIpAddress()225 boolean hasPrivateIpAddress(); 226 /** 227 * 228 * 229 * <pre> 230 * The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM. 231 * </pre> 232 * 233 * <code>optional string private_ip_address = 100854040;</code> 234 * 235 * @return The privateIpAddress. 236 */ getPrivateIpAddress()237 java.lang.String getPrivateIpAddress(); 238 /** 239 * 240 * 241 * <pre> 242 * The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM. 243 * </pre> 244 * 245 * <code>optional string private_ip_address = 100854040;</code> 246 * 247 * @return The bytes for privateIpAddress. 248 */ getPrivateIpAddressBytes()249 com.google.protobuf.ByteString getPrivateIpAddressBytes(); 250 251 /** 252 * 253 * 254 * <pre> 255 * Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface 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. 256 * </pre> 257 * 258 * <code>optional string redundant_interface = 523187303;</code> 259 * 260 * @return Whether the redundantInterface field is set. 261 */ hasRedundantInterface()262 boolean hasRedundantInterface(); 263 /** 264 * 265 * 266 * <pre> 267 * Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface 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. 268 * </pre> 269 * 270 * <code>optional string redundant_interface = 523187303;</code> 271 * 272 * @return The redundantInterface. 273 */ getRedundantInterface()274 java.lang.String getRedundantInterface(); 275 /** 276 * 277 * 278 * <pre> 279 * Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface 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. 280 * </pre> 281 * 282 * <code>optional string redundant_interface = 523187303;</code> 283 * 284 * @return The bytes for redundantInterface. 285 */ getRedundantInterfaceBytes()286 com.google.protobuf.ByteString getRedundantInterfaceBytes(); 287 288 /** 289 * 290 * 291 * <pre> 292 * The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. 293 * </pre> 294 * 295 * <code>optional string subnetwork = 307827694;</code> 296 * 297 * @return Whether the subnetwork field is set. 298 */ hasSubnetwork()299 boolean hasSubnetwork(); 300 /** 301 * 302 * 303 * <pre> 304 * The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. 305 * </pre> 306 * 307 * <code>optional string subnetwork = 307827694;</code> 308 * 309 * @return The subnetwork. 310 */ getSubnetwork()311 java.lang.String getSubnetwork(); 312 /** 313 * 314 * 315 * <pre> 316 * The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. 317 * </pre> 318 * 319 * <code>optional string subnetwork = 307827694;</code> 320 * 321 * @return The bytes for subnetwork. 322 */ getSubnetworkBytes()323 com.google.protobuf.ByteString getSubnetworkBytes(); 324 } 325