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
Protobuf typegoogle.cloud.compute.v1.RouterStatusBgpPeerStatus
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterStatusBgpPeerStatus.BuilderaddAdvertisedRoutes(int index, Route value)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderaddAdvertisedRoutes(int index, Route.Builder builderForValue)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderaddAdvertisedRoutes(Route value)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderaddAdvertisedRoutes(Route.Builder builderForValue)Routes that were advertised to the remote BGP peerRoute.BuilderaddAdvertisedRoutesBuilder()Routes that were advertised to the remote BGP peerRoute.BuilderaddAdvertisedRoutesBuilder(int index)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderaddAllAdvertisedRoutes(Iterable<? extends Route> values)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterStatusBgpPeerStatusbuild()RouterStatusBgpPeerStatusbuildPartial()RouterStatusBgpPeerStatus.Builderclear()RouterStatusBgpPeerStatus.BuilderclearAdvertisedRoutes()Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuilderclearBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;RouterStatusBgpPeerStatus.BuilderclearEnableIpv6()Enable IPv6 traffic over BGP Peer.RouterStatusBgpPeerStatus.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouterStatusBgpPeerStatus.BuilderclearIpAddress()IP address of the local BGP interface.RouterStatusBgpPeerStatus.BuilderclearIpv6NexthopAddress()IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.BuilderclearLinkedVpnTunnel()URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.BuilderclearMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.RouterStatusBgpPeerStatus.BuilderclearName()Name of this BGP peer.RouterStatusBgpPeerStatus.BuilderclearNumLearnedRoutes()Number of routes learned from the remote BGP Peer.RouterStatusBgpPeerStatus.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouterStatusBgpPeerStatus.BuilderclearPeerIpAddress()IP address of the remote BGP interface.RouterStatusBgpPeerStatus.BuilderclearPeerIpv6NexthopAddress()IPv6 address of the remote BGP interface.RouterStatusBgpPeerStatus.BuilderclearRouterApplianceInstance()[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.BuilderclearState()The state of the BGP session.RouterStatusBgpPeerStatus.BuilderclearStatus()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.BuilderclearStatusReason()Indicates why particular status was returned.RouterStatusBgpPeerStatus.BuilderclearUptime()Time this session has been up.RouterStatusBgpPeerStatus.BuilderclearUptimeSeconds()Time this session has been up, in seconds.RouterStatusBgpPeerStatus.Builderclone()RoutegetAdvertisedRoutes(int index)Routes that were advertised to the remote BGP peerRoute.BuildergetAdvertisedRoutesBuilder(int index)Routes that were advertised to the remote BGP peerList<Route.Builder>getAdvertisedRoutesBuilderList()Routes that were advertised to the remote BGP peerintgetAdvertisedRoutesCount()Routes that were advertised to the remote BGP peerList<Route>getAdvertisedRoutesList()Routes that were advertised to the remote BGP peerRouteOrBuildergetAdvertisedRoutesOrBuilder(int index)Routes that were advertised to the remote BGP peerList<? extends RouteOrBuilder>getAdvertisedRoutesOrBuilderList()Routes that were advertised to the remote BGP peerBfdStatusgetBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;BfdStatus.BuildergetBfdStatusBuilder()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;BfdStatusOrBuildergetBfdStatusOrBuilder()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;RouterStatusBgpPeerStatusgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetEnableIpv6()Enable IPv6 traffic over BGP Peer.StringgetIpAddress()IP address of the local BGP interface.com.google.protobuf.ByteStringgetIpAddressBytes()IP address of the local BGP interface.StringgetIpv6NexthopAddress()IPv6 address of the local BGP interface.com.google.protobuf.ByteStringgetIpv6NexthopAddressBytes()IPv6 address of the local BGP interface.StringgetLinkedVpnTunnel()URL of the VPN tunnel that this BGP peer controls.com.google.protobuf.ByteStringgetLinkedVpnTunnelBytes()URL of the VPN tunnel that this BGP peer controls.booleangetMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.StringgetName()Name of this BGP peer.com.google.protobuf.ByteStringgetNameBytes()Name of this BGP peer.intgetNumLearnedRoutes()Number of routes learned from the remote BGP Peer.StringgetPeerIpAddress()IP address of the remote BGP interface.com.google.protobuf.ByteStringgetPeerIpAddressBytes()IP address of the remote BGP interface.StringgetPeerIpv6NexthopAddress()IPv6 address of the remote BGP interface.com.google.protobuf.ByteStringgetPeerIpv6NexthopAddressBytes()IPv6 address of the remote BGP interface.StringgetRouterApplianceInstance()[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.ByteStringgetRouterApplianceInstanceBytes()[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.StringgetState()The state of the BGP session.com.google.protobuf.ByteStringgetStateBytes()The state of the BGP session.StringgetStatus()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.com.google.protobuf.ByteStringgetStatusBytes()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.StringgetStatusReason()Indicates why particular status was returned.com.google.protobuf.ByteStringgetStatusReasonBytes()Indicates why particular status was returned.StringgetUptime()Time this session has been up.com.google.protobuf.ByteStringgetUptimeBytes()Time this session has been up.StringgetUptimeSeconds()Time this session has been up, in seconds.com.google.protobuf.ByteStringgetUptimeSecondsBytes()Time this session has been up, in seconds.booleanhasBfdStatus()optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;booleanhasEnableIpv6()Enable IPv6 traffic over BGP Peer.booleanhasIpAddress()IP address of the local BGP interface.booleanhasIpv6NexthopAddress()IPv6 address of the local BGP interface.booleanhasLinkedVpnTunnel()URL of the VPN tunnel that this BGP peer controls.booleanhasMd5AuthEnabled()Informs whether MD5 authentication is enabled on this BGP peer.booleanhasName()Name of this BGP peer.booleanhasNumLearnedRoutes()Number of routes learned from the remote BGP Peer.booleanhasPeerIpAddress()IP address of the remote BGP interface.booleanhasPeerIpv6NexthopAddress()IPv6 address of the remote BGP interface.booleanhasRouterApplianceInstance()[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.booleanhasState()The state of the BGP session.booleanhasStatus()Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.booleanhasStatusReason()Indicates why particular status was returned.booleanhasUptime()Time this session has been up.booleanhasUptimeSeconds()Time this session has been up, in seconds.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouterStatusBgpPeerStatus.BuildermergeBfdStatus(BfdStatus value)optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;RouterStatusBgpPeerStatus.BuildermergeFrom(RouterStatusBgpPeerStatus other)RouterStatusBgpPeerStatus.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouterStatusBgpPeerStatus.BuildermergeFrom(com.google.protobuf.Message other)RouterStatusBgpPeerStatus.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterStatusBgpPeerStatus.BuilderremoveAdvertisedRoutes(int index)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuildersetAdvertisedRoutes(int index, Route value)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuildersetAdvertisedRoutes(int index, Route.Builder builderForValue)Routes that were advertised to the remote BGP peerRouterStatusBgpPeerStatus.BuildersetBfdStatus(BfdStatus value)optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;RouterStatusBgpPeerStatus.BuildersetBfdStatus(BfdStatus.Builder builderForValue)optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;RouterStatusBgpPeerStatus.BuildersetEnableIpv6(boolean value)Enable IPv6 traffic over BGP Peer.RouterStatusBgpPeerStatus.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterStatusBgpPeerStatus.BuildersetIpAddress(String value)IP address of the local BGP interface.RouterStatusBgpPeerStatus.BuildersetIpAddressBytes(com.google.protobuf.ByteString value)IP address of the local BGP interface.RouterStatusBgpPeerStatus.BuildersetIpv6NexthopAddress(String value)IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.BuildersetIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)IPv6 address of the local BGP interface.RouterStatusBgpPeerStatus.BuildersetLinkedVpnTunnel(String value)URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.BuildersetLinkedVpnTunnelBytes(com.google.protobuf.ByteString value)URL of the VPN tunnel that this BGP peer controls.RouterStatusBgpPeerStatus.BuildersetMd5AuthEnabled(boolean value)Informs whether MD5 authentication is enabled on this BGP peer.RouterStatusBgpPeerStatus.BuildersetName(String value)Name of this BGP peer.RouterStatusBgpPeerStatus.BuildersetNameBytes(com.google.protobuf.ByteString value)Name of this BGP peer.RouterStatusBgpPeerStatus.BuildersetNumLearnedRoutes(int value)Number of routes learned from the remote BGP Peer.RouterStatusBgpPeerStatus.BuildersetPeerIpAddress(String value)IP address of the remote BGP interface.RouterStatusBgpPeerStatus.BuildersetPeerIpAddressBytes(com.google.protobuf.ByteString value)IP address of the remote BGP interface.RouterStatusBgpPeerStatus.BuildersetPeerIpv6NexthopAddress(String value)IPv6 address of the remote BGP interface.RouterStatusBgpPeerStatus.BuildersetPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)IPv6 address of the remote BGP interface.RouterStatusBgpPeerStatus.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouterStatusBgpPeerStatus.BuildersetRouterApplianceInstance(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.BuildersetRouterApplianceInstanceBytes(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.BuildersetState(String value)The state of the BGP session.RouterStatusBgpPeerStatus.BuildersetStateBytes(com.google.protobuf.ByteString value)The state of the BGP session.RouterStatusBgpPeerStatus.BuildersetStatus(String value)Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.BuildersetStatusBytes(com.google.protobuf.ByteString value)Status of the BGP peer: {UP, DOWN} Check the Status enum for the list of possible values.RouterStatusBgpPeerStatus.BuildersetStatusReason(String value)Indicates why particular status was returned.RouterStatusBgpPeerStatus.BuildersetStatusReasonBytes(com.google.protobuf.ByteString value)Indicates why particular status was returned.RouterStatusBgpPeerStatus.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterStatusBgpPeerStatus.BuildersetUptime(String value)Time this session has been up.RouterStatusBgpPeerStatus.BuildersetUptimeBytes(com.google.protobuf.ByteString value)Time this session has been up.RouterStatusBgpPeerStatus.BuildersetUptimeSeconds(String value)Time this session has been up, in seconds.RouterStatusBgpPeerStatus.BuildersetUptimeSecondsBytes(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clear
public RouterStatusBgpPeerStatus.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
getDefaultInstanceForType
public RouterStatusBgpPeerStatus getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterStatusBgpPeerStatus build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterStatusBgpPeerStatus buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterStatusBgpPeerStatus.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
setField
public RouterStatusBgpPeerStatus.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clearField
public RouterStatusBgpPeerStatus.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
clearOneof
public RouterStatusBgpPeerStatus.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
setRepeatedField
public RouterStatusBgpPeerStatus.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
addRepeatedField
public RouterStatusBgpPeerStatus.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeFrom
public RouterStatusBgpPeerStatus.Builder mergeFrom(RouterStatusBgpPeerStatus other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getAdvertisedRoutesListin 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:
getAdvertisedRoutesCountin 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:
getAdvertisedRoutesin 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:
getAdvertisedRoutesOrBuilderin 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:
getAdvertisedRoutesOrBuilderListin 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:
hasBfdStatusin interfaceRouterStatusBgpPeerStatusOrBuilder- Returns:
- Whether the bfdStatus field is set.
-
getBfdStatus
public BfdStatus getBfdStatus()
optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;- Specified by:
getBfdStatusin 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:
getBfdStatusOrBuilderin 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:
hasEnableIpv6in 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:
getEnableIpv6in 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:
hasIpAddressin 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:
getIpAddressin 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:
getIpAddressBytesin 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:
hasIpv6NexthopAddressin 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:
getIpv6NexthopAddressin 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:
getIpv6NexthopAddressBytesin 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:
hasLinkedVpnTunnelin 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:
getLinkedVpnTunnelin 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:
getLinkedVpnTunnelBytesin 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:
hasMd5AuthEnabledin 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:
getMd5AuthEnabledin 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:
hasNamein 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:
getNamein 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:
getNameBytesin 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:
hasNumLearnedRoutesin 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:
getNumLearnedRoutesin 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:
hasPeerIpAddressin 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:
getPeerIpAddressin 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:
getPeerIpAddressBytesin 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:
hasPeerIpv6NexthopAddressin 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:
getPeerIpv6NexthopAddressin 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:
getPeerIpv6NexthopAddressBytesin 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:
hasRouterApplianceInstancein 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:
getRouterApplianceInstancein 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:
getRouterApplianceInstanceBytesin 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:
hasStatein 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:
getStatein 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:
getStateBytesin 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:
hasStatusin 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:
getStatusin 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:
getStatusBytesin 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:
hasStatusReasonin 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:
getStatusReasonin 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:
getStatusReasonBytesin 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:
hasUptimein 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:
getUptimein 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:
getUptimeBytesin 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:
hasUptimeSecondsin 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:
getUptimeSecondsin 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:
getUptimeSecondsBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
mergeUnknownFields
public final RouterStatusBgpPeerStatus.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
-
-