Class RouterStatusBgpPeerStatus.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
      • getDefaultInstanceForType

        public RouterStatusBgpPeerStatus getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RouterStatusBgpPeerStatus build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RouterStatusBgpPeerStatus buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • setRepeatedField

        public RouterStatusBgpPeerStatus.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
        Throws:
        IOException
      • 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;
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the bfdStatus field is set.
      • getBfdStatusBuilder

        public BfdStatus.Builder getBfdStatusBuilder()
        optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the ipAddress field is set.
      • getIpAddressBytes

        public com.google.protobuf.ByteString getIpAddressBytes()
         IP address of the local BGP interface.
         
        optional string ip_address = 406272220;
        Specified by:
        getIpAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the ipv6NexthopAddress field is set.
      • getIpv6NexthopAddressBytes

        public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
         IPv6 address of the local BGP interface.
         
        optional string ipv6_nexthop_address = 27968211;
        Specified by:
        getIpv6NexthopAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the linkedVpnTunnel field is set.
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the name field is set.
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the peerIpAddress field is set.
      • getPeerIpAddressBytes

        public com.google.protobuf.ByteString getPeerIpAddressBytes()
         IP address of the remote BGP interface.
         
        optional string peer_ip_address = 207735769;
        Specified by:
        getPeerIpAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the peerIpv6NexthopAddress field is set.
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface RouterStatusBgpPeerStatusOrBuilder
        Returns:
        Whether the uptimeSeconds field is set.
      • 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 interface RouterStatusBgpPeerStatusOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>
      • mergeUnknownFields

        public final RouterStatusBgpPeerStatus.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterStatusBgpPeerStatus.Builder>