- 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 RouterStatusBgpPeerStatus.Builder extends GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder> implements RouterStatusBgpPeerStatusOrBuilder
Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RouterStatusBgpPeerStatus.BuilderImplements
RouterStatusBgpPeerStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
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;
Name | Description |
value | Route |
Type | Description |
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;
Name | Description |
builderForValue | Route.Builder |
Type | Description |
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;
Name | Description |
index | int |
value | Route |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | Route.Builder |
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.Route> |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusBgpPeerStatus.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
build()
public RouterStatusBgpPeerStatus build()
Type | Description |
RouterStatusBgpPeerStatus |
buildPartial()
public RouterStatusBgpPeerStatus buildPartial()
Type | Description |
RouterStatusBgpPeerStatus |
clear()
public RouterStatusBgpPeerStatus.Builder clear()
Type | Description |
RouterStatusBgpPeerStatus.Builder |
clearAdvertisedRoutes()
public RouterStatusBgpPeerStatus.Builder clearAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
Type | Description |
RouterStatusBgpPeerStatus.Builder |
clearBfdStatus()
public RouterStatusBgpPeerStatus.Builder clearBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Type | Description |
RouterStatusBgpPeerStatus.Builder |
clearField(Descriptors.FieldDescriptor field)
public RouterStatusBgpPeerStatus.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
clearIpAddress()
public RouterStatusBgpPeerStatus.Builder clearIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
RouterStatusBgpPeerStatus.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RouterStatusBgpPeerStatus.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
clearPeerIpAddress()
public RouterStatusBgpPeerStatus.Builder clearPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
RouterStatusBgpPeerStatus.Builder | This builder for chaining. |
clone()
public RouterStatusBgpPeerStatus.Builder clone()
Type | Description |
RouterStatusBgpPeerStatus.Builder |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<Builder> |
getAdvertisedRoutesCount()
public int getAdvertisedRoutesCount()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
Type | Description |
int |
getAdvertisedRoutesList()
public List<Route> getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<? extends com.google.cloud.compute.v1.RouteOrBuilder> |
getBfdStatus()
public BfdStatus getBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Type | Description |
BfdStatus | The bfdStatus. |
getBfdStatusBuilder()
public BfdStatus.Builder getBfdStatusBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Type | Description |
BfdStatus.Builder |
getBfdStatusOrBuilder()
public BfdStatusOrBuilder getBfdStatusOrBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Type | Description |
BfdStatusOrBuilder |
getDefaultInstanceForType()
public RouterStatusBgpPeerStatus getDefaultInstanceForType()
Type | Description |
RouterStatusBgpPeerStatus |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIpAddress()
public String getIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
Type | Description |
String | The ipAddress. |
getIpAddressBytes()
public ByteString getIpAddressBytes()
IP address of the local BGP interface.
optional string ip_address = 406272220;
Type | Description |
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;
Type | Description |
String | The linkedVpnTunnel. |
getLinkedVpnTunnelBytes()
public ByteString getLinkedVpnTunnelBytes()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
Type | Description |
ByteString | The bytes for linkedVpnTunnel. |
getName()
public String getName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
Type | Description |
ByteString | The bytes for name. |
getNumLearnedRoutes()
public int getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;
Type | Description |
int | The numLearnedRoutes. |
getPeerIpAddress()
public String getPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
Type | Description |
String | The peerIpAddress. |
getPeerIpAddressBytes()
public ByteString getPeerIpAddressBytes()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for uptime. |
getUptimeSeconds()
public String getUptimeSeconds()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
Type | Description |
String | The uptimeSeconds. |
getUptimeSecondsBytes()
public ByteString getUptimeSecondsBytes()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
Type | Description |
ByteString | The bytes for uptimeSeconds. |
hasBfdStatus()
public boolean hasBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Type | Description |
boolean | Whether the bfdStatus field is set. |
hasIpAddress()
public boolean hasIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
boolean | Whether the numLearnedRoutes field is set. |
hasPeerIpAddress()
public boolean hasPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
boolean | Whether the uptimeSeconds field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBfdStatus(BfdStatus value)
public RouterStatusBgpPeerStatus.Builder mergeBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Name | Description |
value | BfdStatus |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
mergeFrom(RouterStatusBgpPeerStatus other)
public RouterStatusBgpPeerStatus.Builder mergeFrom(RouterStatusBgpPeerStatus other)
Name | Description |
other | RouterStatusBgpPeerStatus |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterStatusBgpPeerStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RouterStatusBgpPeerStatus.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusBgpPeerStatus.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
index | int |
value | Route |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | Route.Builder |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
setBfdStatus(BfdStatus value)
public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Name | Description |
value | BfdStatus |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
setBfdStatus(BfdStatus.Builder builderForValue)
public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus.Builder builderForValue)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
Name | Description |
builderForValue | BfdStatus.Builder |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RouterStatusBgpPeerStatus.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
setIpAddress(String value)
public RouterStatusBgpPeerStatus.Builder setIpAddress(String value)
IP address of the local BGP interface.
optional string ip_address = 406272220;
Name | Description |
value | String The ipAddress to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for ipAddress to set. |
Type | Description |
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;
Name | Description |
value | String The linkedVpnTunnel to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for linkedVpnTunnel to set. |
Type | Description |
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;
Name | Description |
value | String The name to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
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;
Name | Description |
value | int The numLearnedRoutes to set. |
Type | Description |
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;
Name | Description |
value | String The peerIpAddress to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for peerIpAddress to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
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;
Name | Description |
value | String The routerApplianceInstance to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for routerApplianceInstance to set. |
Type | Description |
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;
Name | Description |
value | String The state to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for state to set. |
Type | Description |
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;
Name | Description |
value | String The status to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for status to set. |
Type | Description |
RouterStatusBgpPeerStatus.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RouterStatusBgpPeerStatus.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RouterStatusBgpPeerStatus.Builder |
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;
Name | Description |
value | String The uptime to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for uptime to set. |
Type | Description |
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;
Name | Description |
value | String The uptimeSeconds to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for uptimeSeconds to set. |
Type | Description |
RouterStatusBgpPeerStatus.Builder | This builder for chaining. |