Interface RouterOrBuilder (1.38.0)

public interface RouterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBgp()

public abstract RouterBgp getBgp()

BGP information specific to this router.

optional .google.cloud.compute.v1.RouterBgp bgp = 97483;

Returns
TypeDescription
RouterBgp

The bgp.

getBgpOrBuilder()

public abstract RouterBgpOrBuilder getBgpOrBuilder()

BGP information specific to this router.

optional .google.cloud.compute.v1.RouterBgp bgp = 97483;

Returns
TypeDescription
RouterBgpOrBuilder

getBgpPeers(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterBgpPeer

getBgpPeersCount()

public abstract 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;

Returns
TypeDescription
int

getBgpPeersList()

public abstract 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;

Returns
TypeDescription
List<RouterBgpPeer>

getBgpPeersOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterBgpPeerOrBuilder

getBgpPeersOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterBgpPeerOrBuilder>

getCreationTimestamp()

public abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

getEncryptedInterconnectRouter()

public abstract boolean getEncryptedInterconnectRouter()

Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).

optional bool encrypted_interconnect_router = 297996575;

Returns
TypeDescription
boolean

The encryptedInterconnectRouter.

getId()

public abstract long getId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
long

The id.

getInterfaces(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterInterface

getInterfacesCount()

public abstract 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;

Returns
TypeDescription
int

getInterfacesList()

public abstract 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;

Returns
TypeDescription
List<RouterInterface>

getInterfacesOrBuilder(int index)

public abstract 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;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterInterfaceOrBuilder

getInterfacesOrBuilderList()

public abstract 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;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterInterfaceOrBuilder>

getKind()

public abstract String getKind()

[Output Only] Type of resource. Always compute#router for routers.

optional string kind = 3292052;

Returns
TypeDescription
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of resource. Always compute#router for routers.

optional string kind = 3292052;

Returns
TypeDescription
ByteString

The bytes for kind.

getMd5AuthenticationKeys(int index)

public abstract RouterMd5AuthenticationKey getMd5AuthenticationKeys(int index)

Keys used for MD5 authentication.

repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterMd5AuthenticationKey

getMd5AuthenticationKeysCount()

public abstract int getMd5AuthenticationKeysCount()

Keys used for MD5 authentication.

repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;

Returns
TypeDescription
int

getMd5AuthenticationKeysList()

public abstract List<RouterMd5AuthenticationKey> getMd5AuthenticationKeysList()

Keys used for MD5 authentication.

repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;

Returns
TypeDescription
List<RouterMd5AuthenticationKey>

getMd5AuthenticationKeysOrBuilder(int index)

public abstract RouterMd5AuthenticationKeyOrBuilder getMd5AuthenticationKeysOrBuilder(int index)

Keys used for MD5 authentication.

repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterMd5AuthenticationKeyOrBuilder

getMd5AuthenticationKeysOrBuilderList()

public abstract List<? extends RouterMd5AuthenticationKeyOrBuilder> getMd5AuthenticationKeysOrBuilderList()

Keys used for MD5 authentication.

repeated .google.cloud.compute.v1.RouterMd5AuthenticationKey md5_authentication_keys = 71063322;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterMd5AuthenticationKeyOrBuilder>

getName()

public abstract 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;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract 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;

Returns
TypeDescription
ByteString

The bytes for name.

getNats(int index)

public abstract RouterNat getNats(int index)

A list of NAT services created in this router.

repeated .google.cloud.compute.v1.RouterNat nats = 3373938;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterNat

getNatsCount()

public abstract int getNatsCount()

A list of NAT services created in this router.

repeated .google.cloud.compute.v1.RouterNat nats = 3373938;

Returns
TypeDescription
int

getNatsList()

public abstract List<RouterNat> getNatsList()

A list of NAT services created in this router.

repeated .google.cloud.compute.v1.RouterNat nats = 3373938;

Returns
TypeDescription
List<RouterNat>

getNatsOrBuilder(int index)

public abstract RouterNatOrBuilder getNatsOrBuilder(int index)

A list of NAT services created in this router.

repeated .google.cloud.compute.v1.RouterNat nats = 3373938;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterNatOrBuilder

getNatsOrBuilderList()

public abstract List<? extends RouterNatOrBuilder> getNatsOrBuilderList()

A list of NAT services created in this router.

repeated .google.cloud.compute.v1.RouterNat nats = 3373938;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.RouterNatOrBuilder>

getNetwork()

public abstract String getNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
String

The network.

getNetworkBytes()

public abstract ByteString getNetworkBytes()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
ByteString

The bytes for network.

getRegion()

public abstract 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
TypeDescription
String

The region.

getRegionBytes()

public abstract 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
TypeDescription
ByteString

The bytes for region.

public abstract String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
ByteString

The bytes for selfLink.

hasBgp()

public abstract boolean hasBgp()

BGP information specific to this router.

optional .google.cloud.compute.v1.RouterBgp bgp = 97483;

Returns
TypeDescription
boolean

Whether the bgp field is set.

hasCreationTimestamp()

public abstract boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
boolean

Whether the creationTimestamp field is set.

hasDescription()

public abstract boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

hasEncryptedInterconnectRouter()

public abstract boolean hasEncryptedInterconnectRouter()

Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments).

optional bool encrypted_interconnect_router = 297996575;

Returns
TypeDescription
boolean

Whether the encryptedInterconnectRouter field is set.

hasId()

public abstract boolean hasId()

[Output Only] The unique identifier for the resource. This identifier is defined by the server.

optional uint64 id = 3355;

Returns
TypeDescription
boolean

Whether the id field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of resource. Always compute#router for routers.

optional string kind = 3292052;

Returns
TypeDescription
boolean

Whether the kind field is set.

hasName()

public abstract 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;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNetwork()

public abstract boolean hasNetwork()

URI of the network to which this router belongs.

optional string network = 232872494;

Returns
TypeDescription
boolean

Whether the network field is set.

hasRegion()

public abstract 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
TypeDescription
boolean

Whether the region field is set.

public abstract boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
TypeDescription
boolean

Whether the selfLink field is set.