Package com.google.cloud.compute.v1
Class RouterStatusBgpPeerStatus.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
- com.google.cloud.compute.v1.RouterStatusBgpPeerStatus.Builder
-
- All Implemented Interfaces:
RouterStatusBgpPeerStatusOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- RouterStatusBgpPeerStatus
public static final class RouterStatusBgpPeerStatus.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder> implements RouterStatusBgpPeerStatusOrBuilder
google.cloud.compute.v1.RouterStatusBgpPeerStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterStatusBgpPeerStatus.Builder
addAdvertisedRoutes(int index, Route value)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
addAdvertisedRoutes(int index, Route.Builder builderForValue)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
addAdvertisedRoutes(Route value)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
addAdvertisedRoutes(Route.Builder builderForValue)
Routes that were advertised to the remote BGP peerRoute.Builder
addAdvertisedRoutesBuilder()
Routes that were advertised to the remote BGP peerRoute.Builder
addAdvertisedRoutesBuilder(int index)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
addAllAdvertisedRoutes(Iterable<? extends Route> values)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterStatusBgpPeerStatus
build()
RouterStatusBgpPeerStatus
buildPartial()
RouterStatusBgpPeerStatus.Builder
clear()
RouterStatusBgpPeerStatus.Builder
clearAdvertisedRoutes()
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
clearBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
RouterStatusBgpPeerStatus.Builder
clearEnableIpv6()
Enable IPv6 traffic over BGP Peer.RouterStatusBgpPeerStatus.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouterStatusBgpPeerStatus.Builder
clearIpAddress()
IP address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
clearIpv6NexthopAddress()
IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
clearLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.Builder
clearMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.RouterStatusBgpPeerStatus.Builder
clearName()
Name of this BGP peer.RouterStatusBgpPeerStatus.Builder
clearNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.RouterStatusBgpPeerStatus.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouterStatusBgpPeerStatus.Builder
clearPeerIpAddress()
IP address of the remote BGP interface.RouterStatusBgpPeerStatus.Builder
clearPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.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.RouterStatusBgpPeerStatus.Builder
clearState()
The state of the BGP session.RouterStatusBgpPeerStatus.Builder
clearStatus()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.Builder
clearStatusReason()
Indicates why particular status was returned.RouterStatusBgpPeerStatus.Builder
clearUptime()
Time this session has been up.RouterStatusBgpPeerStatus.Builder
clearUptimeSeconds()
Time this session has been up, in seconds.RouterStatusBgpPeerStatus.Builder
clone()
Route
getAdvertisedRoutes(int index)
Routes that were advertised to the remote BGP peerRoute.Builder
getAdvertisedRoutesBuilder(int index)
Routes that were advertised to the remote BGP peerList<Route.Builder>
getAdvertisedRoutesBuilderList()
Routes that were advertised to the remote BGP peerint
getAdvertisedRoutesCount()
Routes that were advertised to the remote BGP peerList<Route>
getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peerRouteOrBuilder
getAdvertisedRoutesOrBuilder(int index)
Routes that were advertised to the remote BGP peerList<? extends RouteOrBuilder>
getAdvertisedRoutesOrBuilderList()
Routes that were advertised to the remote BGP peerBfdStatus
getBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
BfdStatus.Builder
getBfdStatusBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
BfdStatusOrBuilder
getBfdStatusOrBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
RouterStatusBgpPeerStatus
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
getEnableIpv6()
Enable IPv6 traffic over BGP Peer.String
getIpAddress()
IP address of the local BGP interface.com.google.protobuf.ByteString
getIpAddressBytes()
IP address of the local BGP interface.String
getIpv6NexthopAddress()
IPv6 address of the local BGP interface.com.google.protobuf.ByteString
getIpv6NexthopAddressBytes()
IPv6 address of the local BGP interface.String
getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.com.google.protobuf.ByteString
getLinkedVpnTunnelBytes()
URL of the VPN tunnel that this BGP peer controls.boolean
getMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.String
getName()
Name of this BGP peer.com.google.protobuf.ByteString
getNameBytes()
Name of this BGP peer.int
getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.String
getPeerIpAddress()
IP address of the remote BGP interface.com.google.protobuf.ByteString
getPeerIpAddressBytes()
IP address of the remote BGP interface.String
getPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.com.google.protobuf.ByteString
getPeerIpv6NexthopAddressBytes()
IPv6 address of the remote BGP interface.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.com.google.protobuf.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.String
getState()
The state of the BGP session.com.google.protobuf.ByteString
getStateBytes()
The state of the BGP session.String
getStatus()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.com.google.protobuf.ByteString
getStatusBytes()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.String
getStatusReason()
Indicates why particular status was returned.com.google.protobuf.ByteString
getStatusReasonBytes()
Indicates why particular status was returned.String
getUptime()
Time this session has been up.com.google.protobuf.ByteString
getUptimeBytes()
Time this session has been up.String
getUptimeSeconds()
Time this session has been up, in seconds.com.google.protobuf.ByteString
getUptimeSecondsBytes()
Time this session has been up, in seconds.boolean
hasBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
boolean
hasEnableIpv6()
Enable IPv6 traffic over BGP Peer.boolean
hasIpAddress()
IP address of the local BGP interface.boolean
hasIpv6NexthopAddress()
IPv6 address of the local BGP interface.boolean
hasLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.boolean
hasMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.boolean
hasName()
Name of this BGP peer.boolean
hasNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.boolean
hasPeerIpAddress()
IP address of the remote BGP interface.boolean
hasPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.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.boolean
hasState()
The state of the BGP session.boolean
hasStatus()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.boolean
hasStatusReason()
Indicates why particular status was returned.boolean
hasUptime()
Time this session has been up.boolean
hasUptimeSeconds()
Time this session has been up, in seconds.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouterStatusBgpPeerStatus.Builder
mergeBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
RouterStatusBgpPeerStatus.Builder
mergeFrom(RouterStatusBgpPeerStatus other)
RouterStatusBgpPeerStatus.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouterStatusBgpPeerStatus.Builder
mergeFrom(com.google.protobuf.Message other)
RouterStatusBgpPeerStatus.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterStatusBgpPeerStatus.Builder
removeAdvertisedRoutes(int index)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
setAdvertisedRoutes(int index, Route value)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
setAdvertisedRoutes(int index, Route.Builder builderForValue)
Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.Builder
setBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
RouterStatusBgpPeerStatus.Builder
setBfdStatus(BfdStatus.Builder builderForValue)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
RouterStatusBgpPeerStatus.Builder
setEnableIpv6(boolean value)
Enable IPv6 traffic over BGP Peer.RouterStatusBgpPeerStatus.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterStatusBgpPeerStatus.Builder
setIpAddress(String value)
IP address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
setIpv6NexthopAddress(String value)
IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.Builder
setLinkedVpnTunnel(String value)
URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.Builder
setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value)
URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.Builder
setMd5AuthEnabled(boolean value)
Informs whether MD5 authentication is enabled on this BGP peer.RouterStatusBgpPeerStatus.Builder
setName(String value)
Name of this BGP peer.RouterStatusBgpPeerStatus.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of this BGP peer.RouterStatusBgpPeerStatus.Builder
setNumLearnedRoutes(int value)
Number of routes learned from the remote BGP Peer.RouterStatusBgpPeerStatus.Builder
setPeerIpAddress(String value)
IP address of the remote BGP interface.RouterStatusBgpPeerStatus.Builder
setPeerIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the remote BGP interface.RouterStatusBgpPeerStatus.Builder
setPeerIpv6NexthopAddress(String value)
IPv6 address of the remote BGP interface.RouterStatusBgpPeerStatus.Builder
setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the remote BGP interface.RouterStatusBgpPeerStatus.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.RouterStatusBgpPeerStatus.Builder
setRouterApplianceInstanceBytes(com.google.protobuf.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.RouterStatusBgpPeerStatus.Builder
setState(String value)
The state of the BGP session.RouterStatusBgpPeerStatus.Builder
setStateBytes(com.google.protobuf.ByteString value)
The state of the BGP session.RouterStatusBgpPeerStatus.Builder
setStatus(String value)
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.Builder
setStatusBytes(com.google.protobuf.ByteString value)
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.Builder
setStatusReason(String value)
Indicates why particular status was returned.RouterStatusBgpPeerStatus.Builder
setStatusReasonBytes(com.google.protobuf.ByteString value)
Indicates why particular status was returned.RouterStatusBgpPeerStatus.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterStatusBgpPeerStatus.Builder
setUptime(String value)
Time this session has been up.RouterStatusBgpPeerStatus.Builder
setUptimeBytes(com.google.protobuf.ByteString value)
Time this session has been up.RouterStatusBgpPeerStatus.Builder
setUptimeSeconds(String value)
Time this session has been up, in seconds.RouterStatusBgpPeerStatus.Builder
setUptimeSecondsBytes(com.google.protobuf.ByteString value)
Time this session has been up, in seconds.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clear
public RouterStatusBgpPeerStatus.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDefaultInstanceForType
public RouterStatusBgpPeerStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterStatusBgpPeerStatus build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterStatusBgpPeerStatus buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterStatusBgpPeerStatus.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
setField
public RouterStatusBgpPeerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clearField
public RouterStatusBgpPeerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clearOneof
public RouterStatusBgpPeerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
setRepeatedField
public RouterStatusBgpPeerStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
addRepeatedField
public RouterStatusBgpPeerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(RouterStatusBgpPeerStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
- Throws:
IOException
-
getAdvertisedRoutesList
public List<Route> getAdvertisedRoutesList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
- Specified by:
getAdvertisedRoutesList
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesCount
public int getAdvertisedRoutesCount()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
- Specified by:
getAdvertisedRoutesCount
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutes
public Route getAdvertisedRoutes(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
- Specified by:
getAdvertisedRoutes
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
setAdvertisedRoutes
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;
-
setAdvertisedRoutes
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;
-
addAdvertisedRoutes
public RouterStatusBgpPeerStatus.Builder addAdvertisedRoutes(Route value)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
addAdvertisedRoutes
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;
-
addAdvertisedRoutes
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;
-
addAdvertisedRoutes
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;
-
addAllAdvertisedRoutes
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;
-
clearAdvertisedRoutes
public RouterStatusBgpPeerStatus.Builder clearAdvertisedRoutes()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
removeAdvertisedRoutes
public RouterStatusBgpPeerStatus.Builder removeAdvertisedRoutes(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
getAdvertisedRoutesBuilder
public Route.Builder getAdvertisedRoutesBuilder(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
getAdvertisedRoutesOrBuilder
public RouteOrBuilder getAdvertisedRoutesOrBuilder(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
- Specified by:
getAdvertisedRoutesOrBuilder
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
getAdvertisedRoutesOrBuilderList
public List<? extends RouteOrBuilder> getAdvertisedRoutesOrBuilderList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
- Specified by:
getAdvertisedRoutesOrBuilderList
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
addAdvertisedRoutesBuilder
public Route.Builder addAdvertisedRoutesBuilder()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
addAdvertisedRoutesBuilder
public Route.Builder addAdvertisedRoutesBuilder(int index)
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
getAdvertisedRoutesBuilderList
public List<Route.Builder> getAdvertisedRoutesBuilderList()
Routes that were advertised to the remote BGP peer
repeated .google.cloud.compute.v1.Route advertised_routes = 333393068;
-
hasBfdStatus
public boolean hasBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
- Specified by:
hasBfdStatus
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the bfdStatus field is set.
-
getBfdStatus
public BfdStatus getBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
- Specified by:
getBfdStatus
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bfdStatus.
-
setBfdStatus
public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
-
setBfdStatus
public RouterStatusBgpPeerStatus.Builder setBfdStatus(BfdStatus.Builder builderForValue)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
-
mergeBfdStatus
public RouterStatusBgpPeerStatus.Builder mergeBfdStatus(BfdStatus value)
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
-
clearBfdStatus
public RouterStatusBgpPeerStatus.Builder clearBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
-
getBfdStatusBuilder
public BfdStatus.Builder getBfdStatusBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
-
getBfdStatusOrBuilder
public BfdStatusOrBuilder getBfdStatusOrBuilder()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
- Specified by:
getBfdStatusOrBuilder
in interfaceRouterStatusBgpPeerStatusOrBuilder
-
hasEnableIpv6
public boolean hasEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;
- Specified by:
hasEnableIpv6
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the enableIpv6 field is set.
-
getEnableIpv6
public boolean getEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;
- Specified by:
getEnableIpv6
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The enableIpv6.
-
setEnableIpv6
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;
- Parameters:
value
- The enableIpv6 to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
hasIpAddress
public boolean hasIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Specified by:
hasIpAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
public String getIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Specified by:
getIpAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Specified by:
getIpAddressBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for ipAddress.
-
setIpAddress
public RouterStatusBgpPeerStatus.Builder setIpAddress(String value)
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public RouterStatusBgpPeerStatus.Builder clearIpAddress()
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Returns:
- This builder for chaining.
-
setIpAddressBytes
public RouterStatusBgpPeerStatus.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the local BGP interface.
optional string ip_address = 406272220;
- Parameters:
value
- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
hasIpv6NexthopAddress
public boolean hasIpv6NexthopAddress()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Specified by:
hasIpv6NexthopAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the ipv6NexthopAddress field is set.
-
getIpv6NexthopAddress
public String getIpv6NexthopAddress()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Specified by:
getIpv6NexthopAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The ipv6NexthopAddress.
-
getIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Specified by:
getIpv6NexthopAddressBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for ipv6NexthopAddress.
-
setIpv6NexthopAddress
public RouterStatusBgpPeerStatus.Builder setIpv6NexthopAddress(String value)
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Parameters:
value
- The ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearIpv6NexthopAddress
public RouterStatusBgpPeerStatus.Builder clearIpv6NexthopAddress()
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Returns:
- This builder for chaining.
-
setIpv6NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the local BGP interface.
optional string ipv6_nexthop_address = 27968211;
- Parameters:
value
- The bytes for ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
hasLinkedVpnTunnel
public boolean hasLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
- Specified by:
hasLinkedVpnTunnel
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the linkedVpnTunnel field is set.
-
getLinkedVpnTunnel
public String getLinkedVpnTunnel()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
- Specified by:
getLinkedVpnTunnel
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The linkedVpnTunnel.
-
getLinkedVpnTunnelBytes
public com.google.protobuf.ByteString getLinkedVpnTunnelBytes()
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
- Specified by:
getLinkedVpnTunnelBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for linkedVpnTunnel.
-
setLinkedVpnTunnel
public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnel(String value)
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
- Parameters:
value
- The linkedVpnTunnel to set.- Returns:
- 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:
- This builder for chaining.
-
setLinkedVpnTunnelBytes
public RouterStatusBgpPeerStatus.Builder setLinkedVpnTunnelBytes(com.google.protobuf.ByteString value)
URL of the VPN tunnel that this BGP peer controls.
optional string linked_vpn_tunnel = 352296953;
- Parameters:
value
- The bytes for linkedVpnTunnel to set.- Returns:
- This builder for chaining.
-
hasMd5AuthEnabled
public boolean hasMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;
- Specified by:
hasMd5AuthEnabled
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the md5AuthEnabled field is set.
-
getMd5AuthEnabled
public boolean getMd5AuthEnabled()
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;
- Specified by:
getMd5AuthEnabled
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The md5AuthEnabled.
-
setMd5AuthEnabled
public RouterStatusBgpPeerStatus.Builder setMd5AuthEnabled(boolean value)
Informs whether MD5 authentication is enabled on this BGP peer.
optional bool md5_auth_enabled = 451152075;
- Parameters:
value
- The md5AuthEnabled to set.- Returns:
- 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:
- This builder for chaining.
-
hasName
public boolean hasName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Specified by:
hasName
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the name field is set.
-
getName
public String getName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Specified by:
getName
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Specified by:
getNameBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for name.
-
setName
public RouterStatusBgpPeerStatus.Builder setName(String value)
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public RouterStatusBgpPeerStatus.Builder clearName()
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Returns:
- This builder for chaining.
-
setNameBytes
public RouterStatusBgpPeerStatus.Builder setNameBytes(com.google.protobuf.ByteString value)
Name of this BGP peer. Unique within the Routers resource.
optional string name = 3373707;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasNumLearnedRoutes
public boolean hasNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;
- Specified by:
hasNumLearnedRoutes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the numLearnedRoutes field is set.
-
getNumLearnedRoutes
public int getNumLearnedRoutes()
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;
- Specified by:
getNumLearnedRoutes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The numLearnedRoutes.
-
setNumLearnedRoutes
public RouterStatusBgpPeerStatus.Builder setNumLearnedRoutes(int value)
Number of routes learned from the remote BGP Peer.
optional uint32 num_learned_routes = 135457535;
- Parameters:
value
- The numLearnedRoutes to set.- Returns:
- 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:
- This builder for chaining.
-
hasPeerIpAddress
public boolean hasPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Specified by:
hasPeerIpAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the peerIpAddress field is set.
-
getPeerIpAddress
public String getPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Specified by:
getPeerIpAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The peerIpAddress.
-
getPeerIpAddressBytes
public com.google.protobuf.ByteString getPeerIpAddressBytes()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Specified by:
getPeerIpAddressBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for peerIpAddress.
-
setPeerIpAddress
public RouterStatusBgpPeerStatus.Builder setPeerIpAddress(String value)
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Parameters:
value
- The peerIpAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpAddress
public RouterStatusBgpPeerStatus.Builder clearPeerIpAddress()
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Returns:
- This builder for chaining.
-
setPeerIpAddressBytes
public RouterStatusBgpPeerStatus.Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the remote BGP interface.
optional string peer_ip_address = 207735769;
- Parameters:
value
- The bytes for peerIpAddress to set.- Returns:
- This builder for chaining.
-
hasPeerIpv6NexthopAddress
public boolean hasPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Specified by:
hasPeerIpv6NexthopAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the peerIpv6NexthopAddress field is set.
-
getPeerIpv6NexthopAddress
public String getPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Specified by:
getPeerIpv6NexthopAddress
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The peerIpv6NexthopAddress.
-
getPeerIpv6NexthopAddressBytes
public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Specified by:
getPeerIpv6NexthopAddressBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for peerIpv6NexthopAddress.
-
setPeerIpv6NexthopAddress
public RouterStatusBgpPeerStatus.Builder setPeerIpv6NexthopAddress(String value)
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Parameters:
value
- The peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpv6NexthopAddress
public RouterStatusBgpPeerStatus.Builder clearPeerIpv6NexthopAddress()
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Returns:
- This builder for chaining.
-
setPeerIpv6NexthopAddressBytes
public RouterStatusBgpPeerStatus.Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the remote BGP interface.
optional string peer_ipv6_nexthop_address = 491486608;
- Parameters:
value
- The bytes for peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasRouterApplianceInstance
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the routerApplianceInstance field is set.
-
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;
- Specified by:
getRouterApplianceInstance
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The routerApplianceInstance.
-
getRouterApplianceInstanceBytes
public com.google.protobuf.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;
- Specified by:
getRouterApplianceInstanceBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for routerApplianceInstance.
-
setRouterApplianceInstance
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;
- Parameters:
value
- The routerApplianceInstance to set.- Returns:
- 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:
- This builder for chaining.
-
setRouterApplianceInstanceBytes
public RouterStatusBgpPeerStatus.Builder setRouterApplianceInstanceBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for routerApplianceInstance to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasState
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the state field is set.
-
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;
- Specified by:
getState
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The state.
-
getStateBytes
public com.google.protobuf.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;
- Specified by:
getStateBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for state.
-
setState
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;
- Parameters:
value
- The state to set.- Returns:
- 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:
- This builder for chaining.
-
setStateBytes
public RouterStatusBgpPeerStatus.Builder setStateBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for state to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasStatus
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the status field is set.
-
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;
- Specified by:
getStatus
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The status.
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
optional string status = 181260274;
- Specified by:
getStatusBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for status.
-
setStatus
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;
- Parameters:
value
- The status to set.- Returns:
- 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:
- This builder for chaining.
-
setStatusBytes
public RouterStatusBgpPeerStatus.Builder setStatusBytes(com.google.protobuf.ByteString value)
Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.
optional string status = 181260274;
- Parameters:
value
- The bytes for status to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasStatusReason
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the statusReason field is set.
-
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;
- Specified by:
getStatusReason
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The statusReason.
-
getStatusReasonBytes
public com.google.protobuf.ByteString getStatusReasonBytes()
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;
- Specified by:
getStatusReasonBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for statusReason.
-
setStatusReason
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;
- Parameters:
value
- The statusReason to set.- Returns:
- 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:
- This builder for chaining.
-
setStatusReasonBytes
public RouterStatusBgpPeerStatus.Builder setStatusReasonBytes(com.google.protobuf.ByteString value)
Indicates why particular status was returned. Check the StatusReason enum for the list of possible values.
optional string status_reason = 342706993;
- Parameters:
value
- The bytes for statusReason to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
hasUptime
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the uptime field is set.
-
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;
- Specified by:
getUptime
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The uptime.
-
getUptimeBytes
public com.google.protobuf.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;
- Specified by:
getUptimeBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for uptime.
-
setUptime
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;
- Parameters:
value
- The uptime to set.- Returns:
- 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:
- This builder for chaining.
-
setUptimeBytes
public RouterStatusBgpPeerStatus.Builder setUptimeBytes(com.google.protobuf.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;
- Parameters:
value
- The bytes for uptime to set.- Returns:
- This builder for chaining.
-
hasUptimeSeconds
public boolean hasUptimeSeconds()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
- Specified by:
hasUptimeSeconds
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- Whether the uptimeSeconds field is set.
-
getUptimeSeconds
public String getUptimeSeconds()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
- Specified by:
getUptimeSeconds
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The uptimeSeconds.
-
getUptimeSecondsBytes
public com.google.protobuf.ByteString getUptimeSecondsBytes()
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
- Specified by:
getUptimeSecondsBytes
in interfaceRouterStatusBgpPeerStatusOrBuilder
- Returns:
- The bytes for uptimeSeconds.
-
setUptimeSeconds
public RouterStatusBgpPeerStatus.Builder setUptimeSeconds(String value)
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
- Parameters:
value
- The uptimeSeconds to set.- Returns:
- 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:
- This builder for chaining.
-
setUptimeSecondsBytes
public RouterStatusBgpPeerStatus.Builder setUptimeSecondsBytes(com.google.protobuf.ByteString value)
Time this session has been up, in seconds. Format: 145
optional string uptime_seconds = 104736040;
- Parameters:
value
- The bytes for uptimeSeconds to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final RouterStatusBgpPeerStatus.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeUnknownFields
public final RouterStatusBgpPeerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
-