- 1.65.0 (latest)
- 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 RouterOrBuilder
Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud 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()
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.RouterBgpPeer> |
Type | Description |
Router.Builder |
addAllInterfaces(Iterable<? extends RouterInterface> values)
public Router.Builder addAllInterfaces(Iterable<? extends RouterInterface> values)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.RouterInterface> |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.RouterNat> |
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
value | RouterBgpPeer |
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
builderForValue | RouterBgpPeer.Builder |
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
value | RouterBgpPeer |
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
builderForValue | RouterBgpPeer.Builder |
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
Type | Description |
RouterBgpPeer.Builder |
addInterfaces(RouterInterface value)
public Router.Builder addInterfaces(RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
value | RouterInterface |
Type | Description |
Router.Builder |
addInterfaces(RouterInterface.Builder builderForValue)
public Router.Builder addInterfaces(RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
builderForValue | RouterInterface.Builder |
Type | Description |
Router.Builder |
addInterfaces(int index, RouterInterface value)
public Router.Builder addInterfaces(int index, RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
value | RouterInterface |
Type | Description |
Router.Builder |
addInterfaces(int index, RouterInterface.Builder builderForValue)
public Router.Builder addInterfaces(int index, RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
builderForValue | RouterInterface.Builder |
Type | Description |
Router.Builder |
addInterfacesBuilder()
public RouterInterface.Builder addInterfacesBuilder()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
RouterInterface.Builder |
addInterfacesBuilder(int index)
public RouterInterface.Builder addInterfacesBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
Type | Description |
RouterInterface.Builder |
addNats(RouterNat value)
public Router.Builder addNats(RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
value | RouterNat |
Type | Description |
Router.Builder |
addNats(RouterNat.Builder builderForValue)
public Router.Builder addNats(RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
builderForValue | RouterNat.Builder |
Type | Description |
Router.Builder |
addNats(int index, RouterNat value)
public Router.Builder addNats(int index, RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
value | RouterNat |
Type | Description |
Router.Builder |
addNats(int index, RouterNat.Builder builderForValue)
public Router.Builder addNats(int index, RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
builderForValue | RouterNat.Builder |
Type | Description |
Router.Builder |
addNatsBuilder()
public RouterNat.Builder addNatsBuilder()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
RouterNat.Builder |
addNatsBuilder(int index)
public RouterNat.Builder addNatsBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
Type | Description |
RouterNat.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Router.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Router.Builder |
build()
public Router build()
Type | Description |
Router |
buildPartial()
public Router buildPartial()
Type | Description |
Router |
clear()
public Router.Builder clear()
Type | Description |
Router.Builder |
clearBgp()
public Router.Builder clearBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Type | Description |
Router.Builder |
clearBgpPeers()
public Router.Builder clearBgpPeers()
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.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Type | Description |
Router.Builder |
clearCreationTimestamp()
public Router.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
Router.Builder | This builder for chaining. |
clearDescription()
public Router.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
Router.Builder | This builder for chaining. |
clearEncryptedInterconnectRouter()
public Router.Builder clearEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;
Type | Description |
Router.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Router.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Router.Builder |
clearId()
public Router.Builder clearId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
Router.Builder | This builder for chaining. |
clearInterfaces()
public Router.Builder clearInterfaces()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
Router.Builder |
clearKind()
public Router.Builder clearKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Type | Description |
Router.Builder | This builder for chaining. |
clearName()
public Router.Builder clearName()
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?
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;
Type | Description |
Router.Builder | This builder for chaining. |
clearNats()
public Router.Builder clearNats()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
Router.Builder |
clearNetwork()
public Router.Builder clearNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
Type | Description |
Router.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Router.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Router.Builder |
clearRegion()
public Router.Builder clearRegion()
[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;
Type | Description |
Router.Builder | This builder for chaining. |
clearSelfLink()
public Router.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
Router.Builder | This builder for chaining. |
clone()
public Router.Builder clone()
Type | Description |
Router.Builder |
getBgp()
public RouterBgp getBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Type | Description |
RouterBgp | The bgp. |
getBgpBuilder()
public RouterBgp.Builder getBgpBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Type | Description |
RouterBgp.Builder |
getBgpOrBuilder()
public RouterBgpOrBuilder getBgpOrBuilder()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Type | Description |
RouterBgpOrBuilder |
getBgpPeers(int index)
public RouterBgpPeer getBgpPeers(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
Type | Description |
RouterBgpPeer |
getBgpPeersBuilder(int index)
public RouterBgpPeer.Builder getBgpPeersBuilder(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
Type | Description |
RouterBgpPeer.Builder |
getBgpPeersBuilderList()
public List<RouterBgpPeer.Builder> getBgpPeersBuilderList()
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.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Type | Description |
List<Builder> |
getBgpPeersCount()
public 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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Type | Description |
int |
getBgpPeersList()
public 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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Type | Description |
List<RouterBgpPeer> |
getBgpPeersOrBuilder(int index)
public RouterBgpPeerOrBuilder getBgpPeersOrBuilder(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
Type | Description |
RouterBgpPeerOrBuilder |
getBgpPeersOrBuilderList()
public 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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Type | Description |
List<? extends com.google.cloud.compute.v1.RouterBgpPeerOrBuilder> |
getCreationTimestamp()
public String getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
String | The creationTimestamp. |
getCreationTimestampBytes()
public ByteString getCreationTimestampBytes()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
ByteString | The bytes for creationTimestamp. |
getDefaultInstanceForType()
public Router getDefaultInstanceForType()
Type | Description |
Router |
getDescription()
public String getDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
String | The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
ByteString | The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncryptedInterconnectRouter()
public boolean getEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;
Type | Description |
boolean | The encryptedInterconnectRouter. |
getId()
public long getId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
long | The id. |
getInterfaces(int index)
public RouterInterface getInterfaces(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
Type | Description |
RouterInterface |
getInterfacesBuilder(int index)
public RouterInterface.Builder getInterfacesBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
Type | Description |
RouterInterface.Builder |
getInterfacesBuilderList()
public List<RouterInterface.Builder> getInterfacesBuilderList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
List<Builder> |
getInterfacesCount()
public int getInterfacesCount()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
int |
getInterfacesList()
public List<RouterInterface> getInterfacesList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
List<RouterInterface> |
getInterfacesOrBuilder(int index)
public RouterInterfaceOrBuilder getInterfacesOrBuilder(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
Type | Description |
RouterInterfaceOrBuilder |
getInterfacesOrBuilderList()
public List<? extends RouterInterfaceOrBuilder> getInterfacesOrBuilderList()
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Type | Description |
List<? extends com.google.cloud.compute.v1.RouterInterfaceOrBuilder> |
getKind()
public String getKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Type | Description |
String | The kind. |
getKindBytes()
public ByteString getKindBytes()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Type | Description |
ByteString | The bytes for kind. |
getName()
public 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
String | The name. |
getNameBytes()
public 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
ByteString | The bytes for name. |
getNats(int index)
public RouterNat getNats(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
Type | Description |
RouterNat |
getNatsBuilder(int index)
public RouterNat.Builder getNatsBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
Type | Description |
RouterNat.Builder |
getNatsBuilderList()
public List<RouterNat.Builder> getNatsBuilderList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
List<Builder> |
getNatsCount()
public int getNatsCount()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
int |
getNatsList()
public List<RouterNat> getNatsList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
List<RouterNat> |
getNatsOrBuilder(int index)
public RouterNatOrBuilder getNatsOrBuilder(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
Type | Description |
RouterNatOrBuilder |
getNatsOrBuilderList()
public List<? extends RouterNatOrBuilder> getNatsOrBuilderList()
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Type | Description |
List<? extends com.google.cloud.compute.v1.RouterNatOrBuilder> |
getNetwork()
public String getNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
Type | Description |
String | The network. |
getNetworkBytes()
public ByteString getNetworkBytes()
URI of the network to which this router belongs.
optional string network = 232872494;
Type | Description |
ByteString | The bytes for network. |
getRegion()
public 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;
Type | Description |
String | The region. |
getRegionBytes()
public 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;
Type | Description |
ByteString | The bytes for region. |
getSelfLink()
public String getSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
String | The selfLink. |
getSelfLinkBytes()
public ByteString getSelfLinkBytes()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
ByteString | The bytes for selfLink. |
hasBgp()
public boolean hasBgp()
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Type | Description |
boolean | Whether the bgp field is set. |
hasCreationTimestamp()
public boolean hasCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Type | Description |
boolean | Whether the creationTimestamp field is set. |
hasDescription()
public boolean hasDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Type | Description |
boolean | Whether the description field is set. |
hasEncryptedInterconnectRouter()
public boolean hasEncryptedInterconnectRouter()
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;
Type | Description |
boolean | Whether the encryptedInterconnectRouter field is set. |
hasId()
public boolean hasId()
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Type | Description |
boolean | Whether the id field is set. |
hasKind()
public boolean hasKind()
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Type | Description |
boolean | Whether the kind field is set. |
hasName()
public 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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z?
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;
Type | Description |
boolean | Whether the name field is set. |
hasNetwork()
public boolean hasNetwork()
URI of the network to which this router belongs.
optional string network = 232872494;
Type | Description |
boolean | Whether the network field is set. |
hasRegion()
public 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;
Type | Description |
boolean | Whether the region field is set. |
hasSelfLink()
public boolean hasSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Type | Description |
boolean | Whether the selfLink field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBgp(RouterBgp value)
public Router.Builder mergeBgp(RouterBgp value)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Name | Description |
value | RouterBgp |
Type | Description |
Router.Builder |
mergeFrom(Router other)
public Router.Builder mergeFrom(Router other)
Name | Description |
other | Router |
Type | Description |
Router.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Router.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Router.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Router.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Router.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Router.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Router.Builder |
removeBgpPeers(int index)
public Router.Builder removeBgpPeers(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
Type | Description |
Router.Builder |
removeInterfaces(int index)
public Router.Builder removeInterfaces(int index)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
Type | Description |
Router.Builder |
removeNats(int index)
public Router.Builder removeNats(int index)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
Type | Description |
Router.Builder |
setBgp(RouterBgp value)
public Router.Builder setBgp(RouterBgp value)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Name | Description |
value | RouterBgp |
Type | Description |
Router.Builder |
setBgp(RouterBgp.Builder builderForValue)
public Router.Builder setBgp(RouterBgp.Builder builderForValue)
BGP information specific to this router.
optional .google.cloud.compute.v1.RouterBgp bgp = 97483;
Name | Description |
builderForValue | RouterBgp.Builder |
Type | Description |
Router.Builder |
setBgpPeers(int index, RouterBgpPeer value)
public Router.Builder setBgpPeers(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
value | RouterBgpPeer |
Type | Description |
Router.Builder |
setBgpPeers(int index, RouterBgpPeer.Builder builderForValue)
public Router.Builder setBgpPeers(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 to RFC4273.
repeated .google.cloud.compute.v1.RouterBgpPeer bgp_peers = 452695773;
Name | Description |
index | int |
builderForValue | RouterBgpPeer.Builder |
Type | Description |
Router.Builder |
setCreationTimestamp(String value)
public Router.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | String The creationTimestamp to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public Router.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Name | Description |
value | ByteString The bytes for creationTimestamp to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setDescription(String value)
public Router.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | String The description to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setDescriptionBytes(ByteString value)
public Router.Builder setDescriptionBytes(ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Name | Description |
value | ByteString The bytes for description to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setEncryptedInterconnectRouter(boolean value)
public Router.Builder setEncryptedInterconnectRouter(boolean value)
Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).
optional bool encrypted_interconnect_router = 297996575;
Name | Description |
value | boolean The encryptedInterconnectRouter to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Router.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Router.Builder |
setId(long value)
public Router.Builder setId(long value)
[Output Only] The unique identifier for the resource. This identifier is defined by the server.
optional uint64 id = 3355;
Name | Description |
value | long The id to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setInterfaces(int index, RouterInterface value)
public Router.Builder setInterfaces(int index, RouterInterface value)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
value | RouterInterface |
Type | Description |
Router.Builder |
setInterfaces(int index, RouterInterface.Builder builderForValue)
public Router.Builder setInterfaces(int index, RouterInterface.Builder builderForValue)
Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both.
repeated .google.cloud.compute.v1.RouterInterface interfaces = 12073562;
Name | Description |
index | int |
builderForValue | RouterInterface.Builder |
Type | Description |
Router.Builder |
setKind(String value)
public Router.Builder setKind(String value)
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Name | Description |
value | String The kind to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setKindBytes(ByteString value)
public Router.Builder setKindBytes(ByteString value)
[Output Only] Type of resource. Always compute#router for routers.
optional string kind = 3292052;
Name | Description |
value | ByteString The bytes for kind to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setName(String value)
public Router.Builder setName(String value)
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?
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;
Name | Description |
value | String The name to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Router.Builder setNameBytes(ByteString value)
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?
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setNats(int index, RouterNat value)
public Router.Builder setNats(int index, RouterNat value)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
value | RouterNat |
Type | Description |
Router.Builder |
setNats(int index, RouterNat.Builder builderForValue)
public Router.Builder setNats(int index, RouterNat.Builder builderForValue)
A list of NAT services created in this router.
repeated .google.cloud.compute.v1.RouterNat nats = 3373938;
Name | Description |
index | int |
builderForValue | RouterNat.Builder |
Type | Description |
Router.Builder |
setNetwork(String value)
public Router.Builder setNetwork(String value)
URI of the network to which this router belongs.
optional string network = 232872494;
Name | Description |
value | String The network to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setNetworkBytes(ByteString value)
public Router.Builder setNetworkBytes(ByteString value)
URI of the network to which this router belongs.
optional string network = 232872494;
Name | Description |
value | ByteString The bytes for network to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setRegion(String value)
public Router.Builder setRegion(String value)
[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;
Name | Description |
value | String The region to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setRegionBytes(ByteString value)
public Router.Builder setRegionBytes(ByteString value)
[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;
Name | Description |
value | ByteString The bytes for region to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Router.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Router.Builder |
setSelfLink(String value)
public Router.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | String The selfLink to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setSelfLinkBytes(ByteString value)
public Router.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Name | Description |
value | ByteString The bytes for selfLink to set. |
Type | Description |
Router.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Router.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Router.Builder |