Class RouterStatusBgpPeerStatus.Builder (1.7.2)

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

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.

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.

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.

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()

BGP state as specified in RFC1771.

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.

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>

getDefaultInstanceForType()

public RouterStatusBgpPeerStatus getDefaultInstanceForType()
Returns
TypeDescription
RouterStatusBgpPeerStatus

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

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.

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()

BGP state as specified in RFC1771.

optional string state = 109757585;

Returns
TypeDescription
String

The state.

getStateBytes()

public ByteString getStateBytes()

BGP state as specified in RFC1771.

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.

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.

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.

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.

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.

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()

BGP state as specified in RFC1771.

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.

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

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

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.

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.

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.

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)

BGP state as specified in RFC1771.

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)

BGP state as specified in RFC1771.

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.

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.