public final class RouterBgpPeer extends com.google.protobuf.GeneratedMessageV3 implements RouterBgpPeerOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgpPeer| Modifier and Type | Class and Description |
|---|---|
static class |
RouterBgpPeer.AdvertisedGroups
Protobuf enum
google.cloud.compute.v1.RouterBgpPeer.AdvertisedGroups |
static class |
RouterBgpPeer.AdvertiseMode
User-specified flag to indicate which mode to use for advertisement.
|
static class |
RouterBgpPeer.Builder
Protobuf type
google.cloud.compute.v1.RouterBgpPeer |
static class |
RouterBgpPeer.Enable
The status of the BGP peer connection.
|
static class |
RouterBgpPeer.ManagementType
[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.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
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.
|
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.
|
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.
|
RouterAdvertisedIpRange |
getAdvertisedIpRanges(int index)
User-specified list of individual IP ranges to advertise in custom mode.
|
int |
getAdvertisedIpRangesCount()
User-specified list of individual IP ranges to advertise in custom mode.
|
List<RouterAdvertisedIpRange> |
getAdvertisedIpRangesList()
User-specified list of individual IP ranges to advertise in custom mode.
|
RouterAdvertisedIpRangeOrBuilder |
getAdvertisedIpRangesOrBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode.
|
List<? extends RouterAdvertisedIpRangeOrBuilder> |
getAdvertisedIpRangesOrBuilderList()
User-specified list of individual IP ranges to advertise in custom mode.
|
int |
getAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.
|
String |
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.
|
com.google.protobuf.ByteString |
getAdvertiseModeBytes()
User-specified flag to indicate which mode to use for advertisement.
|
RouterBgpPeerBfd |
getBfd()
BFD configuration for the BGP peering.
|
RouterBgpPeerBfdOrBuilder |
getBfdOrBuilder()
BFD configuration for the BGP peering.
|
RouterBgpPeerCustomLearnedIpRange |
getCustomLearnedIpRanges(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.
|
int |
getCustomLearnedIpRangesCount()
A list of user-defined custom learned route IP address ranges for a BGP session.
|
List<RouterBgpPeerCustomLearnedIpRange> |
getCustomLearnedIpRangesList()
A list of user-defined custom learned route IP address ranges for a BGP session.
|
RouterBgpPeerCustomLearnedIpRangeOrBuilder |
getCustomLearnedIpRangesOrBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.
|
List<? extends RouterBgpPeerCustomLearnedIpRangeOrBuilder> |
getCustomLearnedIpRangesOrBuilderList()
A list of user-defined custom learned route IP address ranges for a BGP session.
|
int |
getCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.
|
static RouterBgpPeer |
getDefaultInstance() |
RouterBgpPeer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getEnable()
The status of the BGP peer connection.
|
com.google.protobuf.ByteString |
getEnableBytes()
The status of the BGP peer connection.
|
boolean |
getEnableIpv4()
Enable IPv4 traffic over BGP Peer.
|
boolean |
getEnableIpv6()
Enable IPv6 traffic over BGP Peer.
|
String |
getExportPolicies(int index)
List of export policies applied to this peer, in the order they must be evaluated.
|
com.google.protobuf.ByteString |
getExportPoliciesBytes(int index)
List of export policies applied to this peer, in the order they must be evaluated.
|
int |
getExportPoliciesCount()
List of export policies applied to this peer, in the order they must be evaluated.
|
com.google.protobuf.ProtocolStringList |
getExportPoliciesList()
List of export policies applied to this peer, in the order they must be evaluated.
|
String |
getImportPolicies(int index)
List of import policies applied to this peer, in the order they must be evaluated.
|
com.google.protobuf.ByteString |
getImportPoliciesBytes(int index)
List of import policies applied to this peer, in the order they must be evaluated.
|
int |
getImportPoliciesCount()
List of import policies applied to this peer, in the order they must be evaluated.
|
com.google.protobuf.ProtocolStringList |
getImportPoliciesList()
List of import policies applied to this peer, in the order they must be evaluated.
|
String |
getInterfaceName()
Name of the interface the BGP peer is associated with.
|
com.google.protobuf.ByteString |
getInterfaceNameBytes()
Name of the interface the BGP peer is associated with.
|
String |
getIpAddress()
IP address of the interface inside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getIpAddressBytes()
IP address of the interface inside Google Cloud Platform.
|
String |
getIpv4NexthopAddress()
IPv4 address of the interface inside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getIpv4NexthopAddressBytes()
IPv4 address of the interface inside Google Cloud Platform.
|
String |
getIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getIpv6NexthopAddressBytes()
IPv6 address of the interface inside Google Cloud Platform.
|
String |
getManagementType()
[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.
|
com.google.protobuf.ByteString |
getManagementTypeBytes()
[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.
|
String |
getMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.
|
com.google.protobuf.ByteString |
getMd5AuthenticationKeyNameBytes()
Present if MD5 authentication is enabled for the peering.
|
String |
getName()
Name of this BGP peer.
|
com.google.protobuf.ByteString |
getNameBytes()
Name of this BGP peer.
|
com.google.protobuf.Parser<RouterBgpPeer> |
getParserForType() |
int |
getPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
String |
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getPeerIpAddressBytes()
IP address of the BGP interface outside Google Cloud Platform.
|
String |
getPeerIpv4NexthopAddress()
IPv4 address of the BGP interface outside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getPeerIpv4NexthopAddressBytes()
IPv4 address of the BGP interface outside Google Cloud Platform.
|
String |
getPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
|
com.google.protobuf.ByteString |
getPeerIpv6NexthopAddressBytes()
IPv6 address of the BGP interface outside Google Cloud Platform.
|
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.
|
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.
|
int |
getSerializedSize() |
boolean |
hasAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.
|
boolean |
hasAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.
|
boolean |
hasBfd()
BFD configuration for the BGP peering.
|
boolean |
hasCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.
|
boolean |
hasEnable()
The status of the BGP peer connection.
|
boolean |
hasEnableIpv4()
Enable IPv4 traffic over BGP Peer.
|
boolean |
hasEnableIpv6()
Enable IPv6 traffic over BGP Peer.
|
int |
hashCode() |
boolean |
hasInterfaceName()
Name of the interface the BGP peer is associated with.
|
boolean |
hasIpAddress()
IP address of the interface inside Google Cloud Platform.
|
boolean |
hasIpv4NexthopAddress()
IPv4 address of the interface inside Google Cloud Platform.
|
boolean |
hasIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
|
boolean |
hasManagementType()
[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.
|
boolean |
hasMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.
|
boolean |
hasName()
Name of this BGP peer.
|
boolean |
hasPeerAsn()
Peer BGP Autonomous System Number (ASN).
|
boolean |
hasPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
|
boolean |
hasPeerIpv4NexthopAddress()
IPv4 address of the BGP interface outside Google Cloud Platform.
|
boolean |
hasPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RouterBgpPeer.Builder |
newBuilder() |
static RouterBgpPeer.Builder |
newBuilder(RouterBgpPeer prototype) |
RouterBgpPeer.Builder |
newBuilderForType() |
protected RouterBgpPeer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RouterBgpPeer |
parseDelimitedFrom(InputStream input) |
static RouterBgpPeer |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterBgpPeer |
parseFrom(byte[] data) |
static RouterBgpPeer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterBgpPeer |
parseFrom(ByteBuffer data) |
static RouterBgpPeer |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterBgpPeer |
parseFrom(com.google.protobuf.ByteString data) |
static RouterBgpPeer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterBgpPeer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RouterBgpPeer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RouterBgpPeer |
parseFrom(InputStream input) |
static RouterBgpPeer |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RouterBgpPeer> |
parser() |
RouterBgpPeer.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ADVERTISE_MODE_FIELD_NUMBER
public static final int ADVERTISED_GROUPS_FIELD_NUMBER
public static final int ADVERTISED_IP_RANGES_FIELD_NUMBER
public static final int ADVERTISED_ROUTE_PRIORITY_FIELD_NUMBER
public static final int BFD_FIELD_NUMBER
public static final int CUSTOM_LEARNED_IP_RANGES_FIELD_NUMBER
public static final int CUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBER
public static final int ENABLE_FIELD_NUMBER
public static final int ENABLE_IPV4_FIELD_NUMBER
public static final int ENABLE_IPV6_FIELD_NUMBER
public static final int EXPORT_POLICIES_FIELD_NUMBER
public static final int IMPORT_POLICIES_FIELD_NUMBER
public static final int INTERFACE_NAME_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
public static final int IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int MANAGEMENT_TYPE_FIELD_NUMBER
public static final int MD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int PEER_ASN_FIELD_NUMBER
public static final int PEER_IP_ADDRESS_FIELD_NUMBER
public static final int PEER_IPV4_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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;hasAdvertiseMode in interface RouterBgpPeerOrBuilderpublic 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;getAdvertiseMode in interface RouterBgpPeerOrBuilderpublic 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;getAdvertiseModeBytes in interface RouterBgpPeerOrBuilderpublic 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;getAdvertisedGroupsList in interface RouterBgpPeerOrBuilderpublic 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;getAdvertisedGroupsCount in interface RouterBgpPeerOrBuilderpublic 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;getAdvertisedGroups in interface RouterBgpPeerOrBuilderindex - The index of the element to return.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;getAdvertisedGroupsBytes in interface RouterBgpPeerOrBuilderindex - The index of the value to return.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;
getAdvertisedIpRangesList in interface RouterBgpPeerOrBuilderpublic 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;
getAdvertisedIpRangesOrBuilderList in interface RouterBgpPeerOrBuilderpublic 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;
getAdvertisedIpRangesCount in interface RouterBgpPeerOrBuilderpublic 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;
getAdvertisedIpRanges in interface RouterBgpPeerOrBuilderpublic 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;
getAdvertisedIpRangesOrBuilder in interface RouterBgpPeerOrBuilderpublic 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;hasAdvertisedRoutePriority in interface RouterBgpPeerOrBuilderpublic 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;getAdvertisedRoutePriority in interface RouterBgpPeerOrBuilderpublic boolean hasBfd()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;hasBfd in interface RouterBgpPeerOrBuilderpublic RouterBgpPeerBfd getBfd()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;getBfd in interface RouterBgpPeerOrBuilderpublic RouterBgpPeerBfdOrBuilder getBfdOrBuilder()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;getBfdOrBuilder in interface RouterBgpPeerOrBuilderpublic 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;
getCustomLearnedIpRangesList in interface RouterBgpPeerOrBuilderpublic 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;
getCustomLearnedIpRangesOrBuilderList in interface RouterBgpPeerOrBuilderpublic 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;
getCustomLearnedIpRangesCount in interface RouterBgpPeerOrBuilderpublic 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;
getCustomLearnedIpRanges in interface RouterBgpPeerOrBuilderpublic 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;
getCustomLearnedIpRangesOrBuilder in interface RouterBgpPeerOrBuilderpublic 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;hasCustomLearnedRoutePriority in interface RouterBgpPeerOrBuilderpublic 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;getCustomLearnedRoutePriority in interface RouterBgpPeerOrBuilderpublic 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;hasEnable in interface RouterBgpPeerOrBuilderpublic 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;getEnable in interface RouterBgpPeerOrBuilderpublic 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;getEnableBytes in interface RouterBgpPeerOrBuilderpublic boolean hasEnableIpv4()
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;hasEnableIpv4 in interface RouterBgpPeerOrBuilderpublic boolean getEnableIpv4()
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;getEnableIpv4 in interface RouterBgpPeerOrBuilderpublic boolean hasEnableIpv6()
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;hasEnableIpv6 in interface RouterBgpPeerOrBuilderpublic boolean getEnableIpv6()
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;getEnableIpv6 in interface RouterBgpPeerOrBuilderpublic 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;getExportPoliciesList in interface RouterBgpPeerOrBuilderpublic 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;getExportPoliciesCount in interface RouterBgpPeerOrBuilderpublic 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;getExportPolicies in interface RouterBgpPeerOrBuilderindex - The index of the element to return.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;getExportPoliciesBytes in interface RouterBgpPeerOrBuilderindex - The index of the value to return.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;getImportPoliciesList in interface RouterBgpPeerOrBuilderpublic 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;getImportPoliciesCount in interface RouterBgpPeerOrBuilderpublic 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;getImportPolicies in interface RouterBgpPeerOrBuilderindex - The index of the element to return.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;getImportPoliciesBytes in interface RouterBgpPeerOrBuilderindex - The index of the value to return.public boolean hasInterfaceName()
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;hasInterfaceName in interface RouterBgpPeerOrBuilderpublic String getInterfaceName()
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;getInterfaceName in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getInterfaceNameBytes()
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;getInterfaceNameBytes in interface RouterBgpPeerOrBuilderpublic boolean hasIpAddress()
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;hasIpAddress in interface RouterBgpPeerOrBuilderpublic String getIpAddress()
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;getIpAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getIpAddressBytes()
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;getIpAddressBytes in interface RouterBgpPeerOrBuilderpublic boolean hasIpv4NexthopAddress()
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;hasIpv4NexthopAddress in interface RouterBgpPeerOrBuilderpublic String getIpv4NexthopAddress()
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;getIpv4NexthopAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getIpv4NexthopAddressBytes()
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;getIpv4NexthopAddressBytes in interface RouterBgpPeerOrBuilderpublic boolean hasIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;hasIpv6NexthopAddress in interface RouterBgpPeerOrBuilderpublic String getIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;getIpv6NexthopAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getIpv6NexthopAddressBytes()
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;getIpv6NexthopAddressBytes in interface RouterBgpPeerOrBuilderpublic boolean hasManagementType()
[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;hasManagementType in interface RouterBgpPeerOrBuilderpublic String getManagementType()
[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;getManagementType in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getManagementTypeBytes()
[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;getManagementTypeBytes in interface RouterBgpPeerOrBuilderpublic 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;hasMd5AuthenticationKeyName in interface RouterBgpPeerOrBuilderpublic 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;getMd5AuthenticationKeyName in interface RouterBgpPeerOrBuilderpublic 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;getMd5AuthenticationKeyNameBytes in interface RouterBgpPeerOrBuilderpublic boolean hasName()
Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. 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;hasName in interface RouterBgpPeerOrBuilderpublic String getName()
Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. 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;getName in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. 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;getNameBytes in interface RouterBgpPeerOrBuilderpublic boolean hasPeerAsn()
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
optional uint32 peer_asn = 69573151;hasPeerAsn in interface RouterBgpPeerOrBuilderpublic int getPeerAsn()
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
optional uint32 peer_asn = 69573151;getPeerAsn in interface RouterBgpPeerOrBuilderpublic boolean hasPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;hasPeerIpAddress in interface RouterBgpPeerOrBuilderpublic String getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;getPeerIpAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getPeerIpAddressBytes()
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;getPeerIpAddressBytes in interface RouterBgpPeerOrBuilderpublic boolean hasPeerIpv4NexthopAddress()
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;hasPeerIpv4NexthopAddress in interface RouterBgpPeerOrBuilderpublic String getPeerIpv4NexthopAddress()
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;getPeerIpv4NexthopAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getPeerIpv4NexthopAddressBytes()
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;getPeerIpv4NexthopAddressBytes in interface RouterBgpPeerOrBuilderpublic boolean hasPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;hasPeerIpv6NexthopAddress in interface RouterBgpPeerOrBuilderpublic String getPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;getPeerIpv6NexthopAddress in interface RouterBgpPeerOrBuilderpublic com.google.protobuf.ByteString getPeerIpv6NexthopAddressBytes()
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;getPeerIpv6NexthopAddressBytes in interface RouterBgpPeerOrBuilderpublic 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;hasRouterApplianceInstance in interface RouterBgpPeerOrBuilderpublic 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;getRouterApplianceInstance in interface RouterBgpPeerOrBuilderpublic 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;getRouterApplianceInstanceBytes in interface RouterBgpPeerOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RouterBgpPeer parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RouterBgpPeer parseFrom(InputStream input) throws IOException
IOExceptionpublic static RouterBgpPeer parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterBgpPeer parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RouterBgpPeer parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RouterBgpPeer parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RouterBgpPeer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RouterBgpPeer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RouterBgpPeer.Builder newBuilder()
public static RouterBgpPeer.Builder newBuilder(RouterBgpPeer prototype)
public RouterBgpPeer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RouterBgpPeer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RouterBgpPeer getDefaultInstance()
public static com.google.protobuf.Parser<RouterBgpPeer> parser()
public com.google.protobuf.Parser<RouterBgpPeer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RouterBgpPeer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.