Class RouterStatusBgpPeerStatus.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.Builder<RouterStatusBgpPeerStatus.Builder> implements RouterStatusBgpPeerStatusOrBuilder
 
Protobuf type google.cloud.compute.v1.RouterStatusBgpPeerStatus
  • Method Details

    • getDescriptor

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

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

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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
    • mergeFrom

      public RouterStatusBgpPeerStatus.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterStatusBgpPeerStatus.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.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
    • 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 interface RouterStatusBgpPeerStatusOrBuilder
    • 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 interface RouterStatusBgpPeerStatusOrBuilder
    • 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 interface RouterStatusBgpPeerStatusOrBuilder
    • 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 interface RouterStatusBgpPeerStatusOrBuilder
    • 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 interface RouterStatusBgpPeerStatusOrBuilder
    • 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.
    • getBfdStatus

      public BfdStatus getBfdStatus()
      optional .google.cloud.compute.v1.BfdStatus bfd_status = 395631729;
      Specified by:
      getBfdStatus in interface RouterStatusBgpPeerStatusOrBuilder
      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 interface RouterStatusBgpPeerStatusOrBuilder
    • hasEnableIpv4

      public boolean hasEnableIpv4()
       Output only. Enable IPv4 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 4.
       
      optional bool enable_ipv4 = 181467937;
      Specified by:
      hasEnableIpv4 in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      Whether the enableIpv4 field is set.
    • getEnableIpv4

      public boolean getEnableIpv4()
       Output only. Enable IPv4 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 4.
       
      optional bool enable_ipv4 = 181467937;
      Specified by:
      getEnableIpv4 in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The enableIpv4.
    • setEnableIpv4

      public RouterStatusBgpPeerStatus.Builder setEnableIpv4(boolean value)
       Output only. Enable IPv4 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 4.
       
      optional bool enable_ipv4 = 181467937;
      Parameters:
      value - The enableIpv4 to set.
      Returns:
      This builder for chaining.
    • clearEnableIpv4

      public RouterStatusBgpPeerStatus.Builder clearEnableIpv4()
       Output only. Enable IPv4 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 4.
       
      optional bool enable_ipv4 = 181467937;
      Returns:
      This builder for chaining.
    • hasEnableIpv6

      public boolean hasEnableIpv6()
       Output only. Enable IPv6 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 6.
       
      optional bool enable_ipv6 = 181467939;
      Specified by:
      hasEnableIpv6 in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      Whether the enableIpv6 field is set.
    • getEnableIpv6

      public boolean getEnableIpv6()
       Output only. Enable IPv6 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 6.
       
      optional bool enable_ipv6 = 181467939;
      Specified by:
      getEnableIpv6 in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The enableIpv6.
    • setEnableIpv6

      public RouterStatusBgpPeerStatus.Builder setEnableIpv6(boolean value)
       Output only. Enable IPv6 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 6.
       
      optional bool enable_ipv6 = 181467939;
      Parameters:
      value - The enableIpv6 to set.
      Returns:
      This builder for chaining.
    • clearEnableIpv6

      public RouterStatusBgpPeerStatus.Builder clearEnableIpv6()
       Output only. Enable IPv6 traffic over BGP Peer.
       It is enabled by default if the peerIpAddress is version 6.
       
      optional bool enable_ipv6 = 181467939;
      Returns:
      This builder for chaining.
    • hasIpAddress

      public boolean hasIpAddress()
       Output only. 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.
    • getIpAddress

      public String getIpAddress()
       Output only. IP address of the local BGP interface.
       
      optional string ip_address = 406272220;
      Specified by:
      getIpAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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.
    • hasIpv4NexthopAddress

      public boolean hasIpv4NexthopAddress()
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      hasIpv4NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      Whether the ipv4NexthopAddress field is set.
    • getIpv4NexthopAddress

      public String getIpv4NexthopAddress()
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      getIpv4NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The ipv4NexthopAddress.
    • getIpv4NexthopAddressBytes

      public com.google.protobuf.ByteString getIpv4NexthopAddressBytes()
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      getIpv4NexthopAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The bytes for ipv4NexthopAddress.
    • setIpv4NexthopAddress

      public RouterStatusBgpPeerStatus.Builder setIpv4NexthopAddress(String value)
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Parameters:
      value - The ipv4NexthopAddress to set.
      Returns:
      This builder for chaining.
    • clearIpv4NexthopAddress

      public RouterStatusBgpPeerStatus.Builder clearIpv4NexthopAddress()
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Returns:
      This builder for chaining.
    • setIpv4NexthopAddressBytes

      public RouterStatusBgpPeerStatus.Builder setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value)
       Output only. IPv4 address of the local BGP interface.
       
      optional string ipv4_nexthop_address = 5703377;
      Parameters:
      value - The bytes for ipv4NexthopAddress to set.
      Returns:
      This builder for chaining.
    • hasIpv6NexthopAddress

      public boolean hasIpv6NexthopAddress()
       Output only. 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.
    • getIpv6NexthopAddress

      public String getIpv6NexthopAddress()
       Output only. IPv6 address of the local BGP interface.
       
      optional string ipv6_nexthop_address = 27968211;
      Specified by:
      getIpv6NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The ipv6NexthopAddress.
    • getIpv6NexthopAddressBytes

      public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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.
    • getLinkedVpnTunnel

      public String getLinkedVpnTunnel()
       Output only. URL of the VPN tunnel that this BGP peer controls.
       
      optional string linked_vpn_tunnel = 352296953;
      Specified by:
      getLinkedVpnTunnel in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The linkedVpnTunnel.
    • getLinkedVpnTunnelBytes

      public com.google.protobuf.ByteString getLinkedVpnTunnelBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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.
    • getName

      public String getName()
       Output only. Name of this BGP peer. Unique within the Routers resource.
       
      optional string name = 3373707;
      Specified by:
      getName in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. 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)
       Output only. 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

       Output only. 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)
       Output only. 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()
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. Number of routes learned from the remote BGP Peer.
       
      optional uint32 num_learned_routes = 135457535;
      Returns:
      This builder for chaining.
    • hasPeerIpAddress

      public boolean hasPeerIpAddress()
       Output only. 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.
    • getPeerIpAddress

      public String getPeerIpAddress()
       Output only. IP address of the remote BGP interface.
       
      optional string peer_ip_address = 207735769;
      Specified by:
      getPeerIpAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The peerIpAddress.
    • getPeerIpAddressBytes

      public com.google.protobuf.ByteString getPeerIpAddressBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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.
    • hasPeerIpv4NexthopAddress

      public boolean hasPeerIpv4NexthopAddress()
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      hasPeerIpv4NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      Whether the peerIpv4NexthopAddress field is set.
    • getPeerIpv4NexthopAddress

      public String getPeerIpv4NexthopAddress()
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      getPeerIpv4NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The peerIpv4NexthopAddress.
    • getPeerIpv4NexthopAddressBytes

      public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes()
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      getPeerIpv4NexthopAddressBytes in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The bytes for peerIpv4NexthopAddress.
    • setPeerIpv4NexthopAddress

      public RouterStatusBgpPeerStatus.Builder setPeerIpv4NexthopAddress(String value)
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Parameters:
      value - The peerIpv4NexthopAddress to set.
      Returns:
      This builder for chaining.
    • clearPeerIpv4NexthopAddress

      public RouterStatusBgpPeerStatus.Builder clearPeerIpv4NexthopAddress()
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Returns:
      This builder for chaining.
    • setPeerIpv4NexthopAddressBytes

      public RouterStatusBgpPeerStatus.Builder setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value)
       Output only. IPv4 address of the remote BGP interface.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Parameters:
      value - The bytes for peerIpv4NexthopAddress to set.
      Returns:
      This builder for chaining.
    • hasPeerIpv6NexthopAddress

      public boolean hasPeerIpv6NexthopAddress()
       Output only. 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.
    • getPeerIpv6NexthopAddress

      public String getPeerIpv6NexthopAddress()
       Output only. IPv6 address of the remote BGP interface.
       
      optional string peer_ipv6_nexthop_address = 491486608;
      Specified by:
      getPeerIpv6NexthopAddress in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The peerIpv6NexthopAddress.
    • getPeerIpv6NexthopAddressBytes

      public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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. [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. [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. [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. [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. [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. [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()
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Specified by:
      hasState in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      Whether the state field is set.
    • getState

      public String getState()
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Specified by:
      getState in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The state.
    • getStateBytes

      public com.google.protobuf.ByteString getStateBytes()
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Specified by:
      getStateBytes in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The bytes for state.
    • setState

      public RouterStatusBgpPeerStatus.Builder setState(String value)
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public RouterStatusBgpPeerStatus.Builder clearState()
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Returns:
      This builder for chaining.
    • setStateBytes

      public RouterStatusBgpPeerStatus.Builder setStateBytes(com.google.protobuf.ByteString value)
       Output only. The state of the BGP session. For a list of possible values for this
       field, seeBGP session states.
       
      optional string state = 109757585;
      Parameters:
      value - The bytes for state to set.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       Output only. 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()
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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()
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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()
       Output only. 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.
    • getUptimeSeconds

      public String getUptimeSeconds()
       Output only. Time this session has been up, in seconds.
       Format:
       145
       
      optional string uptime_seconds = 104736040;
      Specified by:
      getUptimeSeconds in interface RouterStatusBgpPeerStatusOrBuilder
      Returns:
      The uptimeSeconds.
    • getUptimeSecondsBytes

      public com.google.protobuf.ByteString getUptimeSecondsBytes()
       Output only. 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)
       Output only. 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()
       Output only. 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)
       Output only. 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.