Class RouterStatusBgpPeerStatus.Builder (1.15.0)

public static final class RouterStatusBgpPeerStatus.Builder extends GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder> implements RouterStatusBgpPeerStatusOrBuilder

Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAdvertisedRoutes(Route value)

public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(Route value)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
valueRoute
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addAdvertisedRoutes(Route.Builder builderForValue)

public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(Route.Builder builderForValue)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
builderForValueRoute.Builder
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addAdvertisedRoutes(int index, Route value)

public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(int index, Route value)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameters
NameDescription
indexint
valueRoute
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addAdvertisedRoutes(int index, Route.Builder builderForValue)

public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(int index, Route.Builder builderForValue)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameters
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addAdvertisedRoutesBuilder()

public Route.Builder addAdvertisedRoutesBuilder()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
Route.Builder

addAdvertisedRoutesBuilder(int index)

public Route.Builder addAdvertisedRoutesBuilder(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
Route.Builder

addAllAdvertisedRoutes(Iterable<? extends Route> values)

public RouterStatusBgpPeerStatus.Builder addAllAdvertisedRoutes(Iterable<? extends Route> values)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.Route>
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterStatusBgpPeerStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

build()

public RouterStatusBgpPeerStatus build()
Returns
TypeDescription
RouterStatusBgpPeerStatus

buildPartial()

public RouterStatusBgpPeerStatus buildPartial()
Returns
TypeDescription
RouterStatusBgpPeerStatus

clear()

public RouterStatusBgpPeerStatus.Builder clear()
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

clearAdvertisedRoutes()

public RouterStatusBgpPeerStatus.Builder clearAdvertisedRoutes()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

clearBfdStatus()

public RouterStatusBgpPeerStatus.Builder clearBfdStatus()

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

clearEnableIpv6()

public RouterStatusBgpPeerStatus.Builder clearEnableIpv6()

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

optional bool enable_ipv6 = 181467939;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public RouterStatusBgpPeerStatus.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

clearIpAddress()

public RouterStatusBgpPeerStatus.Builder clearIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearIpv6NexthopAddress()

public RouterStatusBgpPeerStatus.Builder clearIpv6NexthopAddress()

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearLinkedVpnTunnel()

public RouterStatusBgpPeerStatus.Builder clearLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearMd5AuthEnabled()

public RouterStatusBgpPeerStatus.Builder clearMd5AuthEnabled()

Informs whether MD5 authentication is enabled on this BGP peer.

optional bool md5_auth_enabled = 451152075;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearName()

public RouterStatusBgpPeerStatus.Builder clearName()

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

optional string name = 3373707;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearNumLearnedRoutes()

public RouterStatusBgpPeerStatus.Builder clearNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterStatusBgpPeerStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

clearPeerIpAddress()

public RouterStatusBgpPeerStatus.Builder clearPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearPeerIpv6NexthopAddress()

public RouterStatusBgpPeerStatus.Builder clearPeerIpv6NexthopAddress()

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearRouterApplianceInstance()

public RouterStatusBgpPeerStatus.Builder clearRouterApplianceInstance()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearState()

public RouterStatusBgpPeerStatus.Builder clearState()

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearStatus()

public RouterStatusBgpPeerStatus.Builder clearStatus()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearStatusReason()

public RouterStatusBgpPeerStatus.Builder clearStatusReason()

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearUptime()

public RouterStatusBgpPeerStatus.Builder clearUptime()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clearUptimeSeconds()

public RouterStatusBgpPeerStatus.Builder clearUptimeSeconds()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

clone()

public RouterStatusBgpPeerStatus.Builder clone()
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

getAdvertisedRoutes(int index)

public Route getAdvertisedRoutes(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
Route

getAdvertisedRoutesBuilder(int index)

public Route.Builder getAdvertisedRoutesBuilder(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
Route.Builder

getAdvertisedRoutesBuilderList()

public List<Route.Builder> getAdvertisedRoutesBuilderList()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
List<Builder>

getAdvertisedRoutesCount()

public int getAdvertisedRoutesCount()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
int

getAdvertisedRoutesList()

public List<Route> getAdvertisedRoutesList()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Returns
TypeDescription
List<Route>

getAdvertisedRoutesOrBuilder(int index)

public RouteOrBuilder getAdvertisedRoutesOrBuilder(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouteOrBuilder

getAdvertisedRoutesOrBuilderList()

public List<? extends RouteOrBuilder> getAdvertisedRoutesOrBuilderList()

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

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

getBfdStatus()

public BfdStatus getBfdStatus()

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
BfdStatus

The bfdStatus.

getBfdStatusBuilder()

public BfdStatus.Builder getBfdStatusBuilder()

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
BfdStatus.Builder

getBfdStatusOrBuilder()

public BfdStatusOrBuilder getBfdStatusOrBuilder()

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
BfdStatusOrBuilder

getDefaultInstanceForType()

public RouterStatusBgpPeerStatus getDefaultInstanceForType()
Returns
TypeDescription
RouterStatusBgpPeerStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEnableIpv6()

public boolean getEnableIpv6()

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

optional bool enable_ipv6 = 181467939;

Returns
TypeDescription
boolean

The enableIpv6.

getIpAddress()

public String getIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
String

The ipAddress.

getIpAddressBytes()

public ByteString getIpAddressBytes()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
ByteString

The bytes for ipAddress.

getIpv6NexthopAddress()

public String getIpv6NexthopAddress()

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Returns
TypeDescription
String

The ipv6NexthopAddress.

getIpv6NexthopAddressBytes()

public ByteString getIpv6NexthopAddressBytes()

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Returns
TypeDescription
ByteString

The bytes for ipv6NexthopAddress.

getLinkedVpnTunnel()

public String getLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
String

The linkedVpnTunnel.

getLinkedVpnTunnelBytes()

public ByteString getLinkedVpnTunnelBytes()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
ByteString

The bytes for linkedVpnTunnel.

getMd5AuthEnabled()

public boolean getMd5AuthEnabled()

Informs whether MD5 authentication is enabled on this BGP peer.

optional bool md5_auth_enabled = 451152075;

Returns
TypeDescription
boolean

The md5AuthEnabled.

getName()

public String getName()

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

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getNumLearnedRoutes()

public int getNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
TypeDescription
int

The numLearnedRoutes.

getPeerIpAddress()

public String getPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
String

The peerIpAddress.

getPeerIpAddressBytes()

public ByteString getPeerIpAddressBytes()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
ByteString

The bytes for peerIpAddress.

getPeerIpv6NexthopAddress()

public String getPeerIpv6NexthopAddress()

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Returns
TypeDescription
String

The peerIpv6NexthopAddress.

getPeerIpv6NexthopAddressBytes()

public ByteString getPeerIpv6NexthopAddressBytes()

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Returns
TypeDescription
ByteString

The bytes for peerIpv6NexthopAddress.

getRouterApplianceInstance()

public String getRouterApplianceInstance()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
String

The routerApplianceInstance.

getRouterApplianceInstanceBytes()

public ByteString getRouterApplianceInstanceBytes()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
ByteString

The bytes for routerApplianceInstance.

getState()

public String getState()

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Returns
TypeDescription
ByteString

The bytes for state.

getStatus()

public String getStatus()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

getStatusReason()

public String getStatusReason()

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Returns
TypeDescription
String

The statusReason.

getStatusReasonBytes()

public ByteString getStatusReasonBytes()

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Returns
TypeDescription
ByteString

The bytes for statusReason.

getUptime()

public String getUptime()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
String

The uptime.

getUptimeBytes()

public ByteString getUptimeBytes()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
ByteString

The bytes for uptime.

getUptimeSeconds()

public String getUptimeSeconds()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
String

The uptimeSeconds.

getUptimeSecondsBytes()

public ByteString getUptimeSecondsBytes()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
ByteString

The bytes for uptimeSeconds.

hasBfdStatus()

public boolean hasBfdStatus()

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Returns
TypeDescription
boolean

Whether the bfdStatus field is set.

hasEnableIpv6()

public boolean hasEnableIpv6()

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

optional bool enable_ipv6 = 181467939;

Returns
TypeDescription
boolean

Whether the enableIpv6 field is set.

hasIpAddress()

public boolean hasIpAddress()

IP address of the local BGP interface.

optional string ip_address = 406272220;

Returns
TypeDescription
boolean

Whether the ipAddress field is set.

hasIpv6NexthopAddress()

public boolean hasIpv6NexthopAddress()

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Returns
TypeDescription
boolean

Whether the ipv6NexthopAddress field is set.

hasLinkedVpnTunnel()

public boolean hasLinkedVpnTunnel()

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Returns
TypeDescription
boolean

Whether the linkedVpnTunnel field is set.

hasMd5AuthEnabled()

public boolean hasMd5AuthEnabled()

Informs whether MD5 authentication is enabled on this BGP peer.

optional bool md5_auth_enabled = 451152075;

Returns
TypeDescription
boolean

Whether the md5AuthEnabled field is set.

hasName()

public boolean hasName()

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

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasNumLearnedRoutes()

public boolean hasNumLearnedRoutes()

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Returns
TypeDescription
boolean

Whether the numLearnedRoutes field is set.

hasPeerIpAddress()

public boolean hasPeerIpAddress()

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Returns
TypeDescription
boolean

Whether the peerIpAddress field is set.

hasPeerIpv6NexthopAddress()

public boolean hasPeerIpv6NexthopAddress()

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Returns
TypeDescription
boolean

Whether the peerIpv6NexthopAddress field is set.

hasRouterApplianceInstance()

public boolean hasRouterApplianceInstance()

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Returns
TypeDescription
boolean

Whether the routerApplianceInstance field is set.

hasState()

public boolean hasState()

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Returns
TypeDescription
boolean

Whether the state field is set.

hasStatus()

public boolean hasStatus()

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
TypeDescription
boolean

Whether the status field is set.

hasStatusReason()

public boolean hasStatusReason()

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Returns
TypeDescription
boolean

Whether the statusReason field is set.

hasUptime()

public boolean hasUptime()

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Returns
TypeDescription
boolean

Whether the uptime field is set.

hasUptimeSeconds()

public boolean hasUptimeSeconds()

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Returns
TypeDescription
boolean

Whether the uptimeSeconds field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBfdStatus(BfdStatus value)

public RouterStatusBgpPeerStatus.Builder mergeBfdStatus(BfdStatus value)

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Parameter
NameDescription
valueBfdStatus
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

mergeFrom(RouterStatusBgpPeerStatus other)

public RouterStatusBgpPeerStatus.Builder mergeFrom(RouterStatusBgpPeerStatus other)
Parameter
NameDescription
otherRouterStatusBgpPeerStatus
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterStatusBgpPeerStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RouterStatusBgpPeerStatus.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatusBgpPeerStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

removeAdvertisedRoutes(int index)

public RouterStatusBgpPeerStatus.Builder removeAdvertisedRoutes(int index)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameter
NameDescription
indexint
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

setAdvertisedRoutes(int index, Route value)

public RouterStatusBgpPeerStatus.Builder setAdvertisedRoutes(int index, Route value)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameters
NameDescription
indexint
valueRoute
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

setAdvertisedRoutes(int index, Route.Builder builderForValue)

public RouterStatusBgpPeerStatus.Builder setAdvertisedRoutes(int index, Route.Builder builderForValue)

Routes that were advertised to the remote BGP peer

repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;

Parameters
NameDescription
indexint
builderForValueRoute.Builder
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

setBfdStatus(BfdStatus value)

public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus value)

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Parameter
NameDescription
valueBfdStatus
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

setBfdStatus(BfdStatus.Builder builderForValue)

public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus.Builder builderForValue)

optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;

Parameter
NameDescription
builderForValueBfdStatus.Builder
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

setEnableIpv6(boolean value)

public RouterStatusBgpPeerStatus.Builder setEnableIpv6(boolean value)

Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.

optional bool enable_ipv6 = 181467939;

Parameter
NameDescription
valueboolean

The enableIpv6 to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public RouterStatusBgpPeerStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

setIpAddress(String value)

public RouterStatusBgpPeerStatus.Builder setIpAddress(String value)

IP address of the local BGP interface.

optional string ip_address = 406272220;

Parameter
NameDescription
valueString

The ipAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setIpAddressBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setIpAddressBytes(ByteString value)

IP address of the local BGP interface.

optional string ip_address = 406272220;

Parameter
NameDescription
valueByteString

The bytes for ipAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setIpv6NexthopAddress(String value)

public RouterStatusBgpPeerStatus.Builder setIpv6NexthopAddress(String value)

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Parameter
NameDescription
valueString

The ipv6NexthopAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setIpv6NexthopAddressBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setIpv6NexthopAddressBytes(ByteString value)

IPv6 address of the local BGP interface.

optional string ipv6_nexthop_address = 27968211;

Parameter
NameDescription
valueByteString

The bytes for ipv6NexthopAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setLinkedVpnTunnel(String value)

public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnel(String value)

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Parameter
NameDescription
valueString

The linkedVpnTunnel to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setLinkedVpnTunnelBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnelBytes(ByteString value)

URL of the VPN tunnel that this BGP peer controls.

optional string linked_vpn_tunnel = 352296953;

Parameter
NameDescription
valueByteString

The bytes for linkedVpnTunnel to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setMd5AuthEnabled(boolean value)

public RouterStatusBgpPeerStatus.Builder setMd5AuthEnabled(boolean value)

Informs whether MD5 authentication is enabled on this BGP peer.

optional bool md5_auth_enabled = 451152075;

Parameter
NameDescription
valueboolean

The md5AuthEnabled to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setName(String value)

public RouterStatusBgpPeerStatus.Builder setName(String value)

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

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setNameBytes(ByteString value)

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

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setNumLearnedRoutes(int value)

public RouterStatusBgpPeerStatus.Builder setNumLearnedRoutes(int value)

Number of routes learned from the remote BGP Peer.

optional uint32 num_learned_routes = 135457535;

Parameter
NameDescription
valueint

The numLearnedRoutes to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setPeerIpAddress(String value)

public RouterStatusBgpPeerStatus.Builder setPeerIpAddress(String value)

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Parameter
NameDescription
valueString

The peerIpAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setPeerIpAddressBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setPeerIpAddressBytes(ByteString value)

IP address of the remote BGP interface.

optional string peer_ip_address = 207735769;

Parameter
NameDescription
valueByteString

The bytes for peerIpAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setPeerIpv6NexthopAddress(String value)

public RouterStatusBgpPeerStatus.Builder setPeerIpv6NexthopAddress(String value)

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Parameter
NameDescription
valueString

The peerIpv6NexthopAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setPeerIpv6NexthopAddressBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setPeerIpv6NexthopAddressBytes(ByteString value)

IPv6 address of the remote BGP interface.

optional string peer_ipv6_nexthop_address = 491486608;

Parameter
NameDescription
valueByteString

The bytes for peerIpv6NexthopAddress to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RouterStatusBgpPeerStatus.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

setRouterApplianceInstance(String value)

public RouterStatusBgpPeerStatus.Builder setRouterApplianceInstance(String value)

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Parameter
NameDescription
valueString

The routerApplianceInstance to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setRouterApplianceInstanceBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setRouterApplianceInstanceBytes(ByteString value)

[Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session.

optional string router_appliance_instance = 468312989;

Parameter
NameDescription
valueByteString

The bytes for routerApplianceInstance to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setState(String value)

public RouterStatusBgpPeerStatus.Builder setState(String value)

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Parameter
NameDescription
valueString

The state to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setStateBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setStateBytes(ByteString value)

The state of the BGP session. For a list of possible values for this field, see BGP session states.

optional string state = 109757585;

Parameter
NameDescription
valueByteString

The bytes for state to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setStatus(String value)

public RouterStatusBgpPeerStatus.Builder setStatus(String value)

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setStatusBytes(ByteString value)

Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.

optional string status = 181260274;

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setStatusReason(String value)

public RouterStatusBgpPeerStatus.Builder setStatusReason(String value)

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Parameter
NameDescription
valueString

The statusReason to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setStatusReasonBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setStatusReasonBytes(ByteString value)

Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.

optional string status_reason = 342706993;

Parameter
NameDescription
valueByteString

The bytes for statusReason to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterStatusBgpPeerStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder
Overrides

setUptime(String value)

public RouterStatusBgpPeerStatus.Builder setUptime(String value)

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Parameter
NameDescription
valueString

The uptime to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setUptimeBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setUptimeBytes(ByteString value)

Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds

optional string uptime = 235379688;

Parameter
NameDescription
valueByteString

The bytes for uptime to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setUptimeSeconds(String value)

public RouterStatusBgpPeerStatus.Builder setUptimeSeconds(String value)

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Parameter
NameDescription
valueString

The uptimeSeconds to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.

setUptimeSecondsBytes(ByteString value)

public RouterStatusBgpPeerStatus.Builder setUptimeSecondsBytes(ByteString value)

Time this session has been up, in seconds. Format: 145

optional string uptime_seconds = 104736040;

Parameter
NameDescription
valueByteString

The bytes for uptimeSeconds to set.

Returns
TypeDescription
RouterStatusBgpPeerStatus.Builder

This builder for chaining.