Class RouterBgpPeer

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.RouterBgpPeer
All Implemented Interfaces:
RouterBgpPeerOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class RouterBgpPeer extends com.google.protobuf.GeneratedMessage implements RouterBgpPeerOrBuilder
 
Protobuf type google.cloud.compute.v1.RouterBgpPeer
See Also:
  • Field Details

    • ADVERTISED_GROUPS_FIELD_NUMBER

      public static final int ADVERTISED_GROUPS_FIELD_NUMBER
      See Also:
    • ADVERTISED_IP_RANGES_FIELD_NUMBER

      public static final int ADVERTISED_IP_RANGES_FIELD_NUMBER
      See Also:
    • ADVERTISED_ROUTE_PRIORITY_FIELD_NUMBER

      public static final int ADVERTISED_ROUTE_PRIORITY_FIELD_NUMBER
      See Also:
    • BFD_FIELD_NUMBER

      public static final int BFD_FIELD_NUMBER
      See Also:
    • CUSTOM_LEARNED_IP_RANGES_FIELD_NUMBER

      public static final int CUSTOM_LEARNED_IP_RANGES_FIELD_NUMBER
      See Also:
    • CUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBER

      public static final int CUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBER
      See Also:
    • ENABLE_FIELD_NUMBER

      public static final int ENABLE_FIELD_NUMBER
      See Also:
    • ENABLE_IPV4_FIELD_NUMBER

      public static final int ENABLE_IPV4_FIELD_NUMBER
      See Also:
    • ENABLE_IPV6_FIELD_NUMBER

      public static final int ENABLE_IPV6_FIELD_NUMBER
      See Also:
    • EXPORT_POLICIES_FIELD_NUMBER

      public static final int EXPORT_POLICIES_FIELD_NUMBER
      See Also:
    • IMPORT_POLICIES_FIELD_NUMBER

      public static final int IMPORT_POLICIES_FIELD_NUMBER
      See Also:
    • INTERFACE_NAME_FIELD_NUMBER

      public static final int INTERFACE_NAME_FIELD_NUMBER
      See Also:
    • IP_ADDRESS_FIELD_NUMBER

      public static final int IP_ADDRESS_FIELD_NUMBER
      See Also:
    • IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER

      public static final int IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER
      See Also:
    • IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER

      public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
      See Also:
    • MANAGEMENT_TYPE_FIELD_NUMBER

      public static final int MANAGEMENT_TYPE_FIELD_NUMBER
      See Also:
    • MD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBER

      public static final int MD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBER
      See Also:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • PEER_ASN_FIELD_NUMBER

      public static final int PEER_ASN_FIELD_NUMBER
      See Also:
    • PEER_IP_ADDRESS_FIELD_NUMBER

      public static final int PEER_IP_ADDRESS_FIELD_NUMBER
      See Also:
    • PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER

      public static final int PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER
      See Also:
    • PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER

      public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
      See Also:
    • ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER

      public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
      See Also:
  • 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
    • hasAdvertiseMode

      public boolean hasAdvertiseMode()
       User-specified flag to indicate which mode to use for advertisement.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Specified by:
      hasAdvertiseMode in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the advertiseMode field is set.
    • getAdvertiseMode

      public String getAdvertiseMode()
       User-specified flag to indicate which mode to use for advertisement.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Specified by:
      getAdvertiseMode in interface RouterBgpPeerOrBuilder
      Returns:
      The advertiseMode.
    • getAdvertiseModeBytes

      public com.google.protobuf.ByteString getAdvertiseModeBytes()
       User-specified flag to indicate which mode to use for advertisement.
       Check the AdvertiseMode enum for the list of possible values.
       
      optional string advertise_mode = 312134331;
      Specified by:
      getAdvertiseModeBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for advertiseMode.
    • getAdvertisedGroupsList

      public com.google.protobuf.ProtocolStringList getAdvertisedGroupsList()
       User-specified list of prefix groups to advertise in custom mode,
       which currently supports the following option:
      
       - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
       excludes any routes learned for subnets that use
       VPC Network Peering.
      
      
       Note that this field can only be populated if advertise_mode is CUSTOM
       and overrides the list defined for the router (in the "bgp" message).
       These groups are 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;
      Specified by:
      getAdvertisedGroupsList in interface RouterBgpPeerOrBuilder
      Returns:
      A list containing the advertisedGroups.
    • getAdvertisedGroupsCount

      public int getAdvertisedGroupsCount()
       User-specified list of prefix groups to advertise in custom mode,
       which currently supports the following option:
      
       - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
       excludes any routes learned for subnets that use
       VPC Network Peering.
      
      
       Note that this field can only be populated if advertise_mode is CUSTOM
       and overrides the list defined for the router (in the "bgp" message).
       These groups are 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;
      Specified by:
      getAdvertisedGroupsCount in interface RouterBgpPeerOrBuilder
      Returns:
      The count of advertisedGroups.
    • getAdvertisedGroups

      public String getAdvertisedGroups(int index)
       User-specified list of prefix groups to advertise in custom mode,
       which currently supports the following option:
      
       - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
       excludes any routes learned for subnets that use
       VPC Network Peering.
      
      
       Note that this field can only be populated if advertise_mode is CUSTOM
       and overrides the list defined for the router (in the "bgp" message).
       These groups are 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;
      Specified by:
      getAdvertisedGroups in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The advertisedGroups at the given index.
    • getAdvertisedGroupsBytes

      public com.google.protobuf.ByteString getAdvertisedGroupsBytes(int index)
       User-specified list of prefix groups to advertise in custom mode,
       which currently supports the following option:
      
       - ALL_SUBNETS: Advertises all of the router's own VPC subnets. This
       excludes any routes learned for subnets that use
       VPC Network Peering.
      
      
       Note that this field can only be populated if advertise_mode is CUSTOM
       and overrides the list defined for the router (in the "bgp" message).
       These groups are 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;
      Specified by:
      getAdvertisedGroupsBytes in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the advertisedGroups at the given index.
    • getAdvertisedIpRangesList

      public 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
       overrides the list defined for the router (in the "bgp" message).
       These IP ranges are 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;
      Specified by:
      getAdvertisedIpRangesList in interface RouterBgpPeerOrBuilder
    • getAdvertisedIpRangesOrBuilderList

      public 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
       overrides the list defined for the router (in the "bgp" message).
       These IP ranges are 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;
      Specified by:
      getAdvertisedIpRangesOrBuilderList in interface RouterBgpPeerOrBuilder
    • getAdvertisedIpRangesCount

      public 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
       overrides the list defined for the router (in the "bgp" message).
       These IP ranges are 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;
      Specified by:
      getAdvertisedIpRangesCount in interface RouterBgpPeerOrBuilder
    • getAdvertisedIpRanges

      public 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
       overrides the list defined for the router (in the "bgp" message).
       These IP ranges are 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;
      Specified by:
      getAdvertisedIpRanges in interface RouterBgpPeerOrBuilder
    • getAdvertisedIpRangesOrBuilder

      public 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
       overrides the list defined for the router (in the "bgp" message).
       These IP ranges are 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;
      Specified by:
      getAdvertisedIpRangesOrBuilder in interface RouterBgpPeerOrBuilder
    • hasAdvertisedRoutePriority

      public boolean hasAdvertisedRoutePriority()
       The priority of routes advertised to this BGP peer. Where there is more
       than one matching route of maximum length, the routes with the lowest
       priority value win.
       
      optional uint32 advertised_route_priority = 186486332;
      Specified by:
      hasAdvertisedRoutePriority in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the advertisedRoutePriority field is set.
    • getAdvertisedRoutePriority

      public int getAdvertisedRoutePriority()
       The priority of routes advertised to this BGP peer. Where there is more
       than one matching route of maximum length, the routes with the lowest
       priority value win.
       
      optional uint32 advertised_route_priority = 186486332;
      Specified by:
      getAdvertisedRoutePriority in interface RouterBgpPeerOrBuilder
      Returns:
      The advertisedRoutePriority.
    • hasBfd

      public boolean hasBfd()
       BFD configuration for the BGP peering.
       
      optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
      Specified by:
      hasBfd in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the bfd field is set.
    • getBfd

      public RouterBgpPeerBfd getBfd()
       BFD configuration for the BGP peering.
       
      optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
      Specified by:
      getBfd in interface RouterBgpPeerOrBuilder
      Returns:
      The bfd.
    • getBfdOrBuilder

      public RouterBgpPeerBfdOrBuilder getBfdOrBuilder()
       BFD configuration for the BGP peering.
       
      optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
      Specified by:
      getBfdOrBuilder in interface RouterBgpPeerOrBuilder
    • getCustomLearnedIpRangesList

      public List<RouterBgpPeerCustomLearnedIpRange> getCustomLearnedIpRangesList()
       A list of user-defined custom learned route IP address ranges for a BGP
       session.
       
      repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
      Specified by:
      getCustomLearnedIpRangesList in interface RouterBgpPeerOrBuilder
    • getCustomLearnedIpRangesOrBuilderList

      public List<? extends RouterBgpPeerCustomLearnedIpRangeOrBuilder> getCustomLearnedIpRangesOrBuilderList()
       A list of user-defined custom learned route IP address ranges for a BGP
       session.
       
      repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
      Specified by:
      getCustomLearnedIpRangesOrBuilderList in interface RouterBgpPeerOrBuilder
    • getCustomLearnedIpRangesCount

      public int getCustomLearnedIpRangesCount()
       A list of user-defined custom learned route IP address ranges for a BGP
       session.
       
      repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
      Specified by:
      getCustomLearnedIpRangesCount in interface RouterBgpPeerOrBuilder
    • getCustomLearnedIpRanges

      public RouterBgpPeerCustomLearnedIpRange getCustomLearnedIpRanges(int index)
       A list of user-defined custom learned route IP address ranges for a BGP
       session.
       
      repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
      Specified by:
      getCustomLearnedIpRanges in interface RouterBgpPeerOrBuilder
    • getCustomLearnedIpRangesOrBuilder

      public RouterBgpPeerCustomLearnedIpRangeOrBuilder getCustomLearnedIpRangesOrBuilder(int index)
       A list of user-defined custom learned route IP address ranges for a BGP
       session.
       
      repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
      Specified by:
      getCustomLearnedIpRangesOrBuilder in interface RouterBgpPeerOrBuilder
    • hasCustomLearnedRoutePriority

      public boolean hasCustomLearnedRoutePriority()
       The user-defined custom learned route priority for a BGP session. This
       value is applied to all custom learned route ranges for the session.
       You can choose a value from `0` to `65335`. If you don't provide a
       value, Google Cloud assigns a priority of `100` to the ranges.
       
      optional int32 custom_learned_route_priority = 330412356;
      Specified by:
      hasCustomLearnedRoutePriority in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the customLearnedRoutePriority field is set.
    • getCustomLearnedRoutePriority

      public int getCustomLearnedRoutePriority()
       The user-defined custom learned route priority for a BGP session. This
       value is applied to all custom learned route ranges for the session.
       You can choose a value from `0` to `65335`. If you don't provide a
       value, Google Cloud assigns a priority of `100` to the ranges.
       
      optional int32 custom_learned_route_priority = 330412356;
      Specified by:
      getCustomLearnedRoutePriority in interface RouterBgpPeerOrBuilder
      Returns:
      The customLearnedRoutePriority.
    • hasEnable

      public boolean hasEnable()
       The status of the BGP peer connection.
      
      
       If set to FALSE, any active session with the peer is terminated and
       all associated routing information is removed. If set to TRUE, the
       peer connection can be established with routing information. The default
       is TRUE.
       Check the Enable enum for the list of possible values.
       
      optional string enable = 311764355;
      Specified by:
      hasEnable in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the enable field is set.
    • getEnable

      public String getEnable()
       The status of the BGP peer connection.
      
      
       If set to FALSE, any active session with the peer is terminated and
       all associated routing information is removed. If set to TRUE, the
       peer connection can be established with routing information. The default
       is TRUE.
       Check the Enable enum for the list of possible values.
       
      optional string enable = 311764355;
      Specified by:
      getEnable in interface RouterBgpPeerOrBuilder
      Returns:
      The enable.
    • getEnableBytes

      public com.google.protobuf.ByteString getEnableBytes()
       The status of the BGP peer connection.
      
      
       If set to FALSE, any active session with the peer is terminated and
       all associated routing information is removed. If set to TRUE, the
       peer connection can be established with routing information. The default
       is TRUE.
       Check the Enable enum for the list of possible values.
       
      optional string enable = 311764355;
      Specified by:
      getEnableBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for enable.
    • hasEnableIpv4

      public boolean hasEnableIpv4()
       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 RouterBgpPeerOrBuilder
      Returns:
      Whether the enableIpv4 field is set.
    • getEnableIpv4

      public boolean getEnableIpv4()
       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 RouterBgpPeerOrBuilder
      Returns:
      The enableIpv4.
    • hasEnableIpv6

      public boolean hasEnableIpv6()
       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 RouterBgpPeerOrBuilder
      Returns:
      Whether the enableIpv6 field is set.
    • getEnableIpv6

      public boolean getEnableIpv6()
       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 RouterBgpPeerOrBuilder
      Returns:
      The enableIpv6.
    • getExportPoliciesList

      public com.google.protobuf.ProtocolStringList getExportPoliciesList()
       List of export policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_EXPORT type.
       
      repeated string export_policies = 134084987;
      Specified by:
      getExportPoliciesList in interface RouterBgpPeerOrBuilder
      Returns:
      A list containing the exportPolicies.
    • getExportPoliciesCount

      public int getExportPoliciesCount()
       List of export policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_EXPORT type.
       
      repeated string export_policies = 134084987;
      Specified by:
      getExportPoliciesCount in interface RouterBgpPeerOrBuilder
      Returns:
      The count of exportPolicies.
    • getExportPolicies

      public String getExportPolicies(int index)
       List of export policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_EXPORT type.
       
      repeated string export_policies = 134084987;
      Specified by:
      getExportPolicies in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The exportPolicies at the given index.
    • getExportPoliciesBytes

      public com.google.protobuf.ByteString getExportPoliciesBytes(int index)
       List of export policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_EXPORT type.
       
      repeated string export_policies = 134084987;
      Specified by:
      getExportPoliciesBytes in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the exportPolicies at the given index.
    • getImportPoliciesList

      public com.google.protobuf.ProtocolStringList getImportPoliciesList()
       List of import policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_IMPORT type.
       
      repeated string import_policies = 451147946;
      Specified by:
      getImportPoliciesList in interface RouterBgpPeerOrBuilder
      Returns:
      A list containing the importPolicies.
    • getImportPoliciesCount

      public int getImportPoliciesCount()
       List of import policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_IMPORT type.
       
      repeated string import_policies = 451147946;
      Specified by:
      getImportPoliciesCount in interface RouterBgpPeerOrBuilder
      Returns:
      The count of importPolicies.
    • getImportPolicies

      public String getImportPolicies(int index)
       List of import policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_IMPORT type.
       
      repeated string import_policies = 451147946;
      Specified by:
      getImportPolicies in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The importPolicies at the given index.
    • getImportPoliciesBytes

      public com.google.protobuf.ByteString getImportPoliciesBytes(int index)
       List of import policies applied to this peer, in the order they must be
       evaluated. The name must correspond to an existing policy that has
       ROUTE_POLICY_TYPE_IMPORT type.
       
      repeated string import_policies = 451147946;
      Specified by:
      getImportPoliciesBytes in interface RouterBgpPeerOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the importPolicies at the given index.
    • hasInterfaceName

      public boolean hasInterfaceName()
       Name of the interface the BGP peer is associated with.
       
      optional string interface_name = 437854673;
      Specified by:
      hasInterfaceName in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the interfaceName field is set.
    • getInterfaceName

      public String getInterfaceName()
       Name of the interface the BGP peer is associated with.
       
      optional string interface_name = 437854673;
      Specified by:
      getInterfaceName in interface RouterBgpPeerOrBuilder
      Returns:
      The interfaceName.
    • getInterfaceNameBytes

      public com.google.protobuf.ByteString getInterfaceNameBytes()
       Name of the interface the BGP peer is associated with.
       
      optional string interface_name = 437854673;
      Specified by:
      getInterfaceNameBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for interfaceName.
    • hasIpAddress

      public boolean hasIpAddress()
       IP address of the interface inside Google Cloud Platform.
       
      optional string ip_address = 406272220;
      Specified by:
      hasIpAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the ipAddress field is set.
    • getIpAddress

      public String getIpAddress()
       IP address of the interface inside Google Cloud Platform.
       
      optional string ip_address = 406272220;
      Specified by:
      getIpAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The ipAddress.
    • getIpAddressBytes

      public com.google.protobuf.ByteString getIpAddressBytes()
       IP address of the interface inside Google Cloud Platform.
       
      optional string ip_address = 406272220;
      Specified by:
      getIpAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for ipAddress.
    • hasIpv4NexthopAddress

      public boolean hasIpv4NexthopAddress()
       IPv4 address of the interface inside Google Cloud Platform.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      hasIpv4NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the ipv4NexthopAddress field is set.
    • getIpv4NexthopAddress

      public String getIpv4NexthopAddress()
       IPv4 address of the interface inside Google Cloud Platform.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      getIpv4NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The ipv4NexthopAddress.
    • getIpv4NexthopAddressBytes

      public com.google.protobuf.ByteString getIpv4NexthopAddressBytes()
       IPv4 address of the interface inside Google Cloud Platform.
       
      optional string ipv4_nexthop_address = 5703377;
      Specified by:
      getIpv4NexthopAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for ipv4NexthopAddress.
    • hasIpv6NexthopAddress

      public boolean hasIpv6NexthopAddress()
       IPv6 address of the interface inside Google Cloud Platform.
       
      optional string ipv6_nexthop_address = 27968211;
      Specified by:
      hasIpv6NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the ipv6NexthopAddress field is set.
    • getIpv6NexthopAddress

      public String getIpv6NexthopAddress()
       IPv6 address of the interface inside Google Cloud Platform.
       
      optional string ipv6_nexthop_address = 27968211;
      Specified by:
      getIpv6NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The ipv6NexthopAddress.
    • getIpv6NexthopAddressBytes

      public com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
       IPv6 address of the interface inside Google Cloud Platform.
       
      optional string ipv6_nexthop_address = 27968211;
      Specified by:
      getIpv6NexthopAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for ipv6NexthopAddress.
    • hasManagementType

      public boolean hasManagementType()
       Output only. [Output Only] The resource that configures and manages this BGP peer.
      
       -  MANAGED_BY_USER is the default value and can be managed by you
       or other users
       - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed
       by Cloud Interconnect, specifically by an InterconnectAttachment of type
       PARTNER. Google automatically creates, updates, and deletes this type of
       BGP peer when the PARTNER InterconnectAttachment is created, updated,
       or deleted.
       Check the ManagementType enum for the list of possible values.
       
      optional string management_type = 173703606;
      Specified by:
      hasManagementType in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the managementType field is set.
    • getManagementType

      public String getManagementType()
       Output only. [Output Only] The resource that configures and manages this BGP peer.
      
       -  MANAGED_BY_USER is the default value and can be managed by you
       or other users
       - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed
       by Cloud Interconnect, specifically by an InterconnectAttachment of type
       PARTNER. Google automatically creates, updates, and deletes this type of
       BGP peer when the PARTNER InterconnectAttachment is created, updated,
       or deleted.
       Check the ManagementType enum for the list of possible values.
       
      optional string management_type = 173703606;
      Specified by:
      getManagementType in interface RouterBgpPeerOrBuilder
      Returns:
      The managementType.
    • getManagementTypeBytes

      public com.google.protobuf.ByteString getManagementTypeBytes()
       Output only. [Output Only] The resource that configures and manages this BGP peer.
      
       -  MANAGED_BY_USER is the default value and can be managed by you
       or other users
       - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed
       by Cloud Interconnect, specifically by an InterconnectAttachment of type
       PARTNER. Google automatically creates, updates, and deletes this type of
       BGP peer when the PARTNER InterconnectAttachment is created, updated,
       or deleted.
       Check the ManagementType enum for the list of possible values.
       
      optional string management_type = 173703606;
      Specified by:
      getManagementTypeBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for managementType.
    • hasMd5AuthenticationKeyName

      public boolean hasMd5AuthenticationKeyName()
       Present if MD5 authentication is enabled for the peering. Must be the
       name of one of the entries in the Router.md5_authentication_keys. The
       field must comply with RFC1035.
       
      optional string md5_authentication_key_name = 281075345;
      Specified by:
      hasMd5AuthenticationKeyName in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the md5AuthenticationKeyName field is set.
    • getMd5AuthenticationKeyName

      public String getMd5AuthenticationKeyName()
       Present if MD5 authentication is enabled for the peering. Must be the
       name of one of the entries in the Router.md5_authentication_keys. The
       field must comply with RFC1035.
       
      optional string md5_authentication_key_name = 281075345;
      Specified by:
      getMd5AuthenticationKeyName in interface RouterBgpPeerOrBuilder
      Returns:
      The md5AuthenticationKeyName.
    • getMd5AuthenticationKeyNameBytes

      public com.google.protobuf.ByteString getMd5AuthenticationKeyNameBytes()
       Present if MD5 authentication is enabled for the peering. Must be the
       name of one of the entries in the Router.md5_authentication_keys. The
       field must comply with RFC1035.
       
      optional string md5_authentication_key_name = 281075345;
      Specified by:
      getMd5AuthenticationKeyNameBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for md5AuthenticationKeyName.
    • hasName

      public boolean hasName()
       Name of this BGP peer.
       The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
       characters long and match the regular expression
       `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a
       lowercase letter, and all following characters must be a dash, lowercase
       letter, or digit, except the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of this BGP peer.
       The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
       characters long and match the regular expression
       `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a
       lowercase letter, and all following characters must be a dash, lowercase
       letter, or digit, except the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface RouterBgpPeerOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of this BGP peer.
       The name must be 1-63 characters long, and comply withRFC1035. Specifically, the name must be 1-63
       characters long and match the regular expression
       `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first character must be a
       lowercase letter, and all following characters must be a dash, lowercase
       letter, or digit, except the last character, which cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for name.
    • hasPeerAsn

      public boolean hasPeerAsn()
       Peer BGP Autonomous System Number (ASN). Each BGP interface may use
       a different value.
       
      optional uint32 peer_asn = 69573151;
      Specified by:
      hasPeerAsn in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the peerAsn field is set.
    • getPeerAsn

      public int getPeerAsn()
       Peer BGP Autonomous System Number (ASN). Each BGP interface may use
       a different value.
       
      optional uint32 peer_asn = 69573151;
      Specified by:
      getPeerAsn in interface RouterBgpPeerOrBuilder
      Returns:
      The peerAsn.
    • hasPeerIpAddress

      public boolean hasPeerIpAddress()
       IP address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ip_address = 207735769;
      Specified by:
      hasPeerIpAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the peerIpAddress field is set.
    • getPeerIpAddress

      public String getPeerIpAddress()
       IP address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ip_address = 207735769;
      Specified by:
      getPeerIpAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The peerIpAddress.
    • getPeerIpAddressBytes

      public com.google.protobuf.ByteString getPeerIpAddressBytes()
       IP address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ip_address = 207735769;
      Specified by:
      getPeerIpAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for peerIpAddress.
    • hasPeerIpv4NexthopAddress

      public boolean hasPeerIpv4NexthopAddress()
       IPv4 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      hasPeerIpv4NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the peerIpv4NexthopAddress field is set.
    • getPeerIpv4NexthopAddress

      public String getPeerIpv4NexthopAddress()
       IPv4 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      getPeerIpv4NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The peerIpv4NexthopAddress.
    • getPeerIpv4NexthopAddressBytes

      public com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes()
       IPv4 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv4_nexthop_address = 469221774;
      Specified by:
      getPeerIpv4NexthopAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for peerIpv4NexthopAddress.
    • hasPeerIpv6NexthopAddress

      public boolean hasPeerIpv6NexthopAddress()
       IPv6 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv6_nexthop_address = 491486608;
      Specified by:
      hasPeerIpv6NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the peerIpv6NexthopAddress field is set.
    • getPeerIpv6NexthopAddress

      public String getPeerIpv6NexthopAddress()
       IPv6 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv6_nexthop_address = 491486608;
      Specified by:
      getPeerIpv6NexthopAddress in interface RouterBgpPeerOrBuilder
      Returns:
      The peerIpv6NexthopAddress.
    • getPeerIpv6NexthopAddressBytes

      public com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
       IPv6 address of the BGP interface outside Google Cloud Platform.
       
      optional string peer_ipv6_nexthop_address = 491486608;
      Specified by:
      getPeerIpv6NexthopAddressBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for peerIpv6NexthopAddress.
    • hasRouterApplianceInstance

      public boolean hasRouterApplianceInstance()
       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 must be located in zones contained in the
       same region as this Cloud Router.
       The VM instance is the peer side of the BGP session.
       
      optional string router_appliance_instance = 468312989;
      Specified by:
      hasRouterApplianceInstance in interface RouterBgpPeerOrBuilder
      Returns:
      Whether the routerApplianceInstance field is set.
    • getRouterApplianceInstance

      public String getRouterApplianceInstance()
       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 must be located in zones contained in the
       same region as this Cloud Router.
       The VM instance is the peer side of the BGP session.
       
      optional string router_appliance_instance = 468312989;
      Specified by:
      getRouterApplianceInstance in interface RouterBgpPeerOrBuilder
      Returns:
      The routerApplianceInstance.
    • getRouterApplianceInstanceBytes

      public com.google.protobuf.ByteString getRouterApplianceInstanceBytes()
       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 must be located in zones contained in the
       same region as this Cloud Router.
       The VM instance is the peer side of the BGP session.
       
      optional string router_appliance_instance = 468312989;
      Specified by:
      getRouterApplianceInstanceBytes in interface RouterBgpPeerOrBuilder
      Returns:
      The bytes for routerApplianceInstance.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static RouterBgpPeer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static RouterBgpPeer parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterBgpPeer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RouterBgpPeer parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static RouterBgpPeer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterBgpPeer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static RouterBgpPeer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public RouterBgpPeer.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static RouterBgpPeer.Builder newBuilder()
    • newBuilder

      public static RouterBgpPeer.Builder newBuilder(RouterBgpPeer prototype)
    • toBuilder

      public RouterBgpPeer.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected RouterBgpPeer.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static RouterBgpPeer getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<RouterBgpPeer> parser()
    • getParserForType

      public com.google.protobuf.Parser<RouterBgpPeer> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public RouterBgpPeer getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder