Interface RouterBgpOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RouterBgp, RouterBgp.Builder

@Generated public interface RouterBgpOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasAdvertiseMode

      boolean hasAdvertiseMode()
       User-specified flag to indicate which mode to use for advertisement.
       The options are DEFAULT or CUSTOM.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Returns:
      Whether the advertiseMode field is set.
    • getAdvertiseMode

      String getAdvertiseMode()
       User-specified flag to indicate which mode to use for advertisement.
       The options are DEFAULT or CUSTOM.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Returns:
      The advertiseMode.
    • getAdvertiseModeBytes

      com.google.protobuf.ByteString getAdvertiseModeBytes()
       User-specified flag to indicate which mode to use for advertisement.
       The options are DEFAULT or CUSTOM.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Returns:
      The bytes for advertiseMode.
    • getAdvertisedGroupsList

      List<String> getAdvertisedGroupsList()
       User-specified list of prefix groups to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These groups will be advertised in addition to any specified prefixes.
       Leave this field blank to advertise no custom groups.
       Check the AdvertisedGroups enum for the list of possible values.
       
      repeated string advertised_groups = 21065526;
      Returns:
      A list containing the advertisedGroups.
    • getAdvertisedGroupsCount

      int getAdvertisedGroupsCount()
       User-specified list of prefix groups to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These groups will be advertised in addition to any specified prefixes.
       Leave this field blank to advertise no custom groups.
       Check the AdvertisedGroups enum for the list of possible values.
       
      repeated string advertised_groups = 21065526;
      Returns:
      The count of advertisedGroups.
    • getAdvertisedGroups

      String getAdvertisedGroups(int index)
       User-specified list of prefix groups to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These groups will be advertised in addition to any specified prefixes.
       Leave this field blank to advertise no custom groups.
       Check the AdvertisedGroups enum for the list of possible values.
       
      repeated string advertised_groups = 21065526;
      Parameters:
      index - The index of the element to return.
      Returns:
      The advertisedGroups at the given index.
    • getAdvertisedGroupsBytes

      com.google.protobuf.ByteString getAdvertisedGroupsBytes(int index)
       User-specified list of prefix groups to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These groups will be advertised in addition to any specified prefixes.
       Leave this field blank to advertise no custom groups.
       Check the AdvertisedGroups enum for the list of possible values.
       
      repeated string advertised_groups = 21065526;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the advertisedGroups at the given index.
    • getAdvertisedIpRangesList

      List<RouterAdvertisedIpRange> getAdvertisedIpRangesList()
       User-specified list of individual IP ranges to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These IP ranges will be advertised in addition to any specified groups.
       Leave this field blank to advertise no custom IP ranges.
       
      repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
    • getAdvertisedIpRanges

      RouterAdvertisedIpRange getAdvertisedIpRanges(int index)
       User-specified list of individual IP ranges to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These IP ranges will be advertised in addition to any specified groups.
       Leave this field blank to advertise no custom IP ranges.
       
      repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
    • getAdvertisedIpRangesCount

      int getAdvertisedIpRangesCount()
       User-specified list of individual IP ranges to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These IP ranges will be advertised in addition to any specified groups.
       Leave this field blank to advertise no custom IP ranges.
       
      repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
    • getAdvertisedIpRangesOrBuilderList

      List<? extends RouterAdvertisedIpRangeOrBuilder> getAdvertisedIpRangesOrBuilderList()
       User-specified list of individual IP ranges to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These IP ranges will be advertised in addition to any specified groups.
       Leave this field blank to advertise no custom IP ranges.
       
      repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
    • getAdvertisedIpRangesOrBuilder

      RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRangesOrBuilder(int index)
       User-specified list of individual IP ranges to advertise in custom mode.
       This field can only be populated if advertise_mode is CUSTOM and
       is advertised to all peers of the router.
       These IP ranges will be advertised in addition to any specified groups.
       Leave this field blank to advertise no custom IP ranges.
       
      repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
    • hasAsn

      boolean hasAsn()
       Local BGP Autonomous System Number (ASN).
       Must be anRFC6996 private ASN, either 16-bit or 32-bit. The
       value will be fixed for this router resource. All VPN tunnels that link
       to this router will have the same local ASN.
       
      optional uint32 asn = 96892;
      Returns:
      Whether the asn field is set.
    • getAsn

      int getAsn()
       Local BGP Autonomous System Number (ASN).
       Must be anRFC6996 private ASN, either 16-bit or 32-bit. The
       value will be fixed for this router resource. All VPN tunnels that link
       to this router will have the same local ASN.
       
      optional uint32 asn = 96892;
      Returns:
      The asn.
    • hasIdentifierRange

      boolean hasIdentifierRange()
       Explicitly specifies a range of valid BGP Identifiers for this Router. It
       is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at
       least /30, even if the BGP sessions are over IPv6. It must not overlap
       with any IPv4 BGP session ranges.
      
      
       Other vendors commonly call this "router ID".
       
      optional string identifier_range = 501573159;
      Returns:
      Whether the identifierRange field is set.
    • getIdentifierRange

      String getIdentifierRange()
       Explicitly specifies a range of valid BGP Identifiers for this Router. It
       is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at
       least /30, even if the BGP sessions are over IPv6. It must not overlap
       with any IPv4 BGP session ranges.
      
      
       Other vendors commonly call this "router ID".
       
      optional string identifier_range = 501573159;
      Returns:
      The identifierRange.
    • getIdentifierRangeBytes

      com.google.protobuf.ByteString getIdentifierRangeBytes()
       Explicitly specifies a range of valid BGP Identifiers for this Router. It
       is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at
       least /30, even if the BGP sessions are over IPv6. It must not overlap
       with any IPv4 BGP session ranges.
      
      
       Other vendors commonly call this "router ID".
       
      optional string identifier_range = 501573159;
      Returns:
      The bytes for identifierRange.
    • hasKeepaliveInterval

      boolean hasKeepaliveInterval()
       The interval in seconds between BGP keepalive messages that are
       sent to the peer.
      
      
       Hold time is three times the interval at which keepalive messages are
       sent, and the hold time is the maximum number of seconds allowed to
       elapse between successive keepalive messages that BGP receives from a
       peer.
      
      
       BGP will use the smaller of either the local hold time value or the
       peer's hold time value as the hold time for the BGP connection between
       the two peers.
      
      
       If set, this value must be between 20 and 60. The default is 20.
       
      optional uint32 keepalive_interval = 276771516;
      Returns:
      Whether the keepaliveInterval field is set.
    • getKeepaliveInterval

      int getKeepaliveInterval()
       The interval in seconds between BGP keepalive messages that are
       sent to the peer.
      
      
       Hold time is three times the interval at which keepalive messages are
       sent, and the hold time is the maximum number of seconds allowed to
       elapse between successive keepalive messages that BGP receives from a
       peer.
      
      
       BGP will use the smaller of either the local hold time value or the
       peer's hold time value as the hold time for the BGP connection between
       the two peers.
      
      
       If set, this value must be between 20 and 60. The default is 20.
       
      optional uint32 keepalive_interval = 276771516;
      Returns:
      The keepaliveInterval.