- 1.91.0 (latest)
- 1.90.0
- 1.88.0
- 1.86.0
- 1.85.0
- 1.84.0
- 1.83.0
- 1.82.0
- 1.80.0
- 1.78.0
- 1.77.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class Router.Builder extends GeneratedMessageV3.Builder<Router.Builder> implements RouterOrBuilderRepresents a Cloud Router resource.
For more information about Cloud Router, read theCloud Router overview.
Protobuf type google.cloud.compute.v1.Router
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Router.BuilderImplements
RouterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBgpPeers(Iterable<? extends RouterBgpPeer> values)
public Router.Builder addAllBgpPeers(Iterable<? extends RouterBgpPeer> values)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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterBgpPeer> |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addAllInterfaces(Iterable<? extends RouterInterface> values)
public Router.Builder addAllInterfaces(Iterable<? extends RouterInterface> values)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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterInterface> |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addAllMd5AuthenticationKeys(Iterable<? extends RouterMd5AuthenticationKey> values)
public Router.Builder addAllMd5AuthenticationKeys(Iterable<? extends RouterMd5AuthenticationKey> values)Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterMd5AuthenticationKey> |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addAllNats(Iterable<? extends RouterNat> values)
public Router.Builder addAllNats(Iterable<? extends RouterNat> values)A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.RouterNat> |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addBgpPeers(RouterBgpPeer value)
public Router.Builder addBgpPeers(RouterBgpPeer value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
RouterBgpPeer |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addBgpPeers(RouterBgpPeer.Builder builderForValue)
public Router.Builder addBgpPeers(RouterBgpPeer.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouterBgpPeer.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addBgpPeers(int index, RouterBgpPeer value)
public Router.Builder addBgpPeers(int index, RouterBgpPeer value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouterBgpPeer |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addBgpPeers(int index, RouterBgpPeer.Builder builderForValue)
public Router.Builder addBgpPeers(int index, RouterBgpPeer.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouterBgpPeer.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addBgpPeersBuilder()
public RouterBgpPeer.Builder addBgpPeersBuilder()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;
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addBgpPeersBuilder(int index)
public RouterBgpPeer.Builder addBgpPeersBuilder(int index)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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RouterBgpPeer.Builder |
|
addInterfaces(RouterInterface value)
public Router.Builder addInterfaces(RouterInterface value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
RouterInterface |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addInterfaces(RouterInterface.Builder builderForValue)
public Router.Builder addInterfaces(RouterInterface.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouterInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addInterfaces(int index, RouterInterface value)
public Router.Builder addInterfaces(int index, RouterInterface value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouterInterface |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addInterfaces(int index, RouterInterface.Builder builderForValue)
public Router.Builder addInterfaces(int index, RouterInterface.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouterInterface.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addInterfacesBuilder()
public RouterInterface.Builder addInterfacesBuilder()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;
| Returns | |
|---|---|
| Type | Description |
RouterInterface.Builder |
|
addInterfacesBuilder(int index)
public RouterInterface.Builder addInterfacesBuilder(int index)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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
RouterInterface.Builder |
|
addMd5AuthenticationKeys(RouterMd5AuthenticationKey value)
public Router.Builder addMd5AuthenticationKeys(RouterMd5AuthenticationKey value)Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Parameter | |
|---|---|
| Name | Description |
value |
RouterMd5AuthenticationKey |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addMd5AuthenticationKeys(RouterMd5AuthenticationKey.Builder builderForValue)
public Router.Builder addMd5AuthenticationKeys(RouterMd5AuthenticationKey.Builder builderForValue)Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RouterMd5AuthenticationKey.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)
public Router.Builder addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey value)Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RouterMd5AuthenticationKey |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)
public Router.Builder addMd5AuthenticationKeys(int index, RouterMd5AuthenticationKey.Builder builderForValue)Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RouterMd5AuthenticationKey.Builder |
| Returns | |
|---|---|
| Type | Description |
Router.Builder |
|
addMd5AuthenticationKeysBuilder()
public RouterMd5AuthenticationKey.Builder addMd5AuthenticationKeysBuilder()Keys used for MD5 authentication.
repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;
| Returns | |
|---|---|
| Type | Description |
RouterMd5AuthenticationKey.Builder |
|
addMd5AuthenticationKeysBuilder(int index)
public