Interface Router.BgpPeerOrBuilder (0.14.0)

public static interface Router.BgpPeerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInterface()

public abstract String getInterface()

Name of the RouterInterface the BGP peer is associated with.

string interface = 2;

Returns
Type Description
String

The interface.

getInterfaceBytes()

public abstract ByteString getInterfaceBytes()

Name of the RouterInterface the BGP peer is associated with.

string interface = 2;

Returns
Type Description
ByteString

The bytes for interface.

getInterfaceIpv4Cidr()

public abstract String getInterfaceIpv4Cidr()

IP range of the interface within Google.

string interface_ipv4_cidr = 3;

Returns
Type Description
String

The interfaceIpv4Cidr.

getInterfaceIpv4CidrBytes()

public abstract ByteString getInterfaceIpv4CidrBytes()

IP range of the interface within Google.

string interface_ipv4_cidr = 3;

Returns
Type Description
ByteString

The bytes for interfaceIpv4Cidr.

getInterfaceIpv6Cidr()

public abstract String getInterfaceIpv6Cidr()

IPv6 range of the interface within Google.

string interface_ipv6_cidr = 7;

Returns
Type Description
String

The interfaceIpv6Cidr.

getInterfaceIpv6CidrBytes()

public abstract ByteString getInterfaceIpv6CidrBytes()

IPv6 range of the interface within Google.

string interface_ipv6_cidr = 7;

Returns
Type Description
ByteString

The bytes for interfaceIpv6Cidr.

getLocalAsn()

public abstract int getLocalAsn()

Output only. Local BGP Autonomous System Number (ASN). This field is ST_NOT_REQUIRED because it stores private ASNs, which are meaningless outside the zone in which they are being used.

uint32 local_asn = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The localAsn.

getName()

public abstract String getName()

Name of this BGP peer. Unique within the Zones resource.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of this BGP peer. Unique within the Zones resource.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getPeerAsn()

public abstract int getPeerAsn()

Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.

uint32 peer_asn = 5;

Returns
Type Description
int

The peerAsn.

getPeerIpv4Cidr()

public abstract String getPeerIpv4Cidr()

IP range of the BGP interface outside Google.

string peer_ipv4_cidr = 4;

Returns
Type Description
String

The peerIpv4Cidr.

getPeerIpv4CidrBytes()

public abstract ByteString getPeerIpv4CidrBytes()

IP range of the BGP interface outside Google.

string peer_ipv4_cidr = 4;

Returns
Type Description
ByteString

The bytes for peerIpv4Cidr.

getPeerIpv6Cidr()

public abstract String getPeerIpv6Cidr()

IPv6 range of the BGP interface outside Google.

string peer_ipv6_cidr = 6;

Returns
Type Description
String

The peerIpv6Cidr.

getPeerIpv6CidrBytes()

public abstract ByteString getPeerIpv6CidrBytes()

IPv6 range of the BGP interface outside Google.

string peer_ipv6_cidr = 6;

Returns
Type Description
ByteString

The bytes for peerIpv6Cidr.