Package com.google.cloud.compute.v1
Interface RouterOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Router,Router.Builder
@Generated
public interface RouterOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetBgp()BGP information specific to this router.BGP information specific to this router.getBgpPeers(int index) BGP information that must be configured into the routing stack to establish BGP peering.intBGP information that must be configured into the routing stack to establish BGP peering.BGP information that must be configured into the routing stack to establish BGP peering.getBgpPeersOrBuilder(int index) BGP information that must be configured into the routing stack to establish BGP peering.List<? extends RouterBgpPeerOrBuilder>BGP information that must be configured into the routing stack to establish BGP peering.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.booleanIndicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).longgetId()[Output Only] The unique identifier for the resource.getInterfaces(int index) Router interfaces.intRouter interfaces.Router interfaces.getInterfacesOrBuilder(int index) Router interfaces.List<? extends RouterInterfaceOrBuilder>Router interfaces.getKind()Output only.com.google.protobuf.ByteStringOutput only.getMd5AuthenticationKeys(int index) Keys used for MD5 authentication.intKeys used for MD5 authentication.Keys used for MD5 authentication.getMd5AuthenticationKeysOrBuilder(int index) Keys used for MD5 authentication.List<? extends RouterMd5AuthenticationKeyOrBuilder>Keys used for MD5 authentication.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.getNats(int index) A list of NAT services created in this router.intA list of NAT services created in this router.A list of NAT services created in this router.getNatsOrBuilder(int index) A list of NAT services created in this router.List<? extends RouterNatOrBuilder>A list of NAT services created in this router.URI of the network to which this router belongs.com.google.protobuf.ByteStringURI of the network to which this router belongs.Input only.Input only.[Output Only] URI of the region where the router resides.com.google.protobuf.ByteString[Output Only] URI of the region where the router resides.[Output Only] Server-defined URL for the resource.com.google.protobuf.ByteString[Output Only] Server-defined URL for the resource.booleanhasBgp()BGP information specific to this router.booleanOutput only.booleanAn optional description of this resource.booleanIndicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).booleanhasId()[Output Only] The unique identifier for the resource.booleanhasKind()Output only.booleanhasName()Name of the resource.booleanURI of the network to which this router belongs.booleanInput only.boolean[Output Only] URI of the region where the router resides.boolean[Output Only] Server-defined URL for the resource.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasBgp
boolean hasBgp()BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Returns:
- Whether the bgp field is set.
-
getBgp
RouterBgp getBgp()BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;- Returns:
- The bgp.
-
getBgpOrBuilder
RouterBgpOrBuilder getBgpOrBuilder()BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483; -
getBgpPeersList
List<RouterBgpPeer> getBgpPeersList()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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeers
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeersCount
int getBgpPeersCount()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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeersOrBuilderList
List<? extends RouterBgpPeerOrBuilder> getBgpPeersOrBuilderList()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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
getBgpPeersOrBuilder
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 toRFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773; -
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasEncryptedInterconnectRouter
boolean hasEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Returns:
- Whether the encryptedInterconnectRouter field is set.
-
getEncryptedInterconnectRouter
boolean getEncryptedInterconnectRouter()Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;- Returns:
- The encryptedInterconnectRouter.
-
hasId
boolean hasId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;- Returns:
- The id.
-
getInterfacesList
List<RouterInterface> getInterfacesList()Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfaces
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesCount
int getInterfacesCount()Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesOrBuilderList
List<? extends RouterInterfaceOrBuilder> getInterfacesOrBuilderList()Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
getInterfacesOrBuilder
Router interfaces. To create a BGP peer that uses a router interface, the interface must have one of the following fields specified: - linkedVpnTunnel - linkedInterconnectAttachment - subnetwork You can create a router interface without any of these fields specified. However, you cannot create a BGP peer that uses that interface.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562; -
hasKind
boolean hasKind()Output only. [Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
getMd5AuthenticationKeysList
List<RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeys
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeysCount
int getMd5AuthenticationKeysCount()Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeysOrBuilderList
List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
getMd5AuthenticationKeysOrBuilder
Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322; -
hasName
boolean hasName()Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Returns:
- Whether the name field is set.
-
getName
String getName()Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply withRFC1035. 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.
optional string name = 3373707;- Returns:
- The bytes for name.
-
getNatsList
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNats
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNatsCount
int getNatsCount()A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNatsOrBuilderList
List<? extends RouterNatOrBuilder> getNatsOrBuilderList()A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
getNatsOrBuilder
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938; -
hasNetwork
boolean hasNetwork()URI of the network to which this router belongs.
optional string network = 232872494;- Returns:
- Whether the network field is set.
-
getNetwork
String getNetwork()URI of the network to which this router belongs.
optional string network = 232872494;- Returns:
- The network.
-
getNetworkBytes
com.google.protobuf.ByteString getNetworkBytes()URI of the network to which this router belongs.
optional string network = 232872494;- Returns:
- The bytes for network.
-
hasParams
boolean hasParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862;- Returns:
- Whether the params field is set.
-
getParams
RouterParams getParams()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862;- Returns:
- The params.
-
getParamsOrBuilder
RouterParamsOrBuilder getParamsOrBuilder()Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload.
optional .google.cloud.compute.v1.RouterParams params = 78313862; -
hasRegion
boolean hasRegion()[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.
optional string region = 138946292;- Returns:
- Whether the region field is set.
-
getRegion
String getRegion()[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.
optional string region = 138946292;- Returns:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()[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.
optional string region = 138946292;- Returns:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-