Package com.google.cloud.compute.v1
Class RouterBgpPeer
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- 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
public final class RouterBgpPeer extends com.google.protobuf.GeneratedMessageV3 implements RouterBgpPeerOrBuilder
Protobuf typegoogle.cloud.compute.v1.RouterBgpPeer- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRouterBgpPeer.AdvertisedGroupsstatic classRouterBgpPeer.AdvertiseModeUser-specified flag to indicate which mode to use for advertisement.static classRouterBgpPeer.Builderstatic classRouterBgpPeer.EnableThe status of the BGP peer connection.static classRouterBgpPeer.ManagementType[Output Only] The resource that configures and manages this BGP peer.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intADVERTISE_MODE_FIELD_NUMBERstatic intADVERTISED_GROUPS_FIELD_NUMBERstatic intADVERTISED_IP_RANGES_FIELD_NUMBERstatic intADVERTISED_ROUTE_PRIORITY_FIELD_NUMBERstatic intBFD_FIELD_NUMBERstatic intCUSTOM_LEARNED_IP_RANGES_FIELD_NUMBERstatic intCUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBERstatic intENABLE_FIELD_NUMBERstatic intENABLE_IPV6_FIELD_NUMBERstatic intINTERFACE_NAME_FIELD_NUMBERstatic intIP_ADDRESS_FIELD_NUMBERstatic intIPV6_NEXTHOP_ADDRESS_FIELD_NUMBERstatic intMANAGEMENT_TYPE_FIELD_NUMBERstatic intMD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPEER_ASN_FIELD_NUMBERstatic intPEER_IP_ADDRESS_FIELD_NUMBERstatic intPEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBERstatic intROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAdvertisedGroups(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.ByteStringgetAdvertisedGroupsBytes(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.intgetAdvertisedGroupsCount()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.ProtocolStringListgetAdvertisedGroupsList()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.RouterAdvertisedIpRangegetAdvertisedIpRanges(int index)User-specified list of individual IP ranges to advertise in custom mode.intgetAdvertisedIpRangesCount()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.RouterAdvertisedIpRangeOrBuildergetAdvertisedIpRangesOrBuilder(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.intgetAdvertisedRoutePriority()The priority of routes advertised to this BGP peer.StringgetAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteStringgetAdvertiseModeBytes()User-specified flag to indicate which mode to use for advertisement.RouterBgpPeerBfdgetBfd()BFD configuration for the BGP peering.RouterBgpPeerBfdOrBuildergetBfdOrBuilder()BFD configuration for the BGP peering.RouterBgpPeerCustomLearnedIpRangegetCustomLearnedIpRanges(int index)A list of user-defined custom learned route IP address ranges for a BGP session.intgetCustomLearnedIpRangesCount()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.RouterBgpPeerCustomLearnedIpRangeOrBuildergetCustomLearnedIpRangesOrBuilder(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.intgetCustomLearnedRoutePriority()The user-defined custom learned route priority for a BGP session.static RouterBgpPeergetDefaultInstance()RouterBgpPeergetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEnable()The status of the BGP peer connection.com.google.protobuf.ByteStringgetEnableBytes()The status of the BGP peer connection.booleangetEnableIpv6()Enable IPv6 traffic over BGP Peer.StringgetInterfaceName()Name of the interface the BGP peer is associated with.com.google.protobuf.ByteStringgetInterfaceNameBytes()Name of the interface the BGP peer is associated with.StringgetIpAddress()IP address of the interface inside Google Cloud Platform.com.google.protobuf.ByteStringgetIpAddressBytes()IP address of the interface inside Google Cloud Platform.StringgetIpv6NexthopAddress()IPv6 address of the interface inside Google Cloud Platform.com.google.protobuf.ByteStringgetIpv6NexthopAddressBytes()IPv6 address of the interface inside Google Cloud Platform.StringgetManagementType()[Output Only] The resource that configures and manages this BGP peer.com.google.protobuf.ByteStringgetManagementTypeBytes()[Output Only] The resource that configures and manages this BGP peer.StringgetMd5AuthenticationKeyName()Present if MD5 authentication is enabled for the peering.com.google.protobuf.ByteStringgetMd5AuthenticationKeyNameBytes()Present if MD5 authentication is enabled for the peering.StringgetName()Name of this BGP peer.com.google.protobuf.ByteStringgetNameBytes()Name of this BGP peer.com.google.protobuf.Parser<RouterBgpPeer>getParserForType()intgetPeerAsn()Peer BGP Autonomous System Number (ASN).StringgetPeerIpAddress()IP address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteStringgetPeerIpAddressBytes()IP address of the BGP interface outside Google Cloud Platform.StringgetPeerIpv6NexthopAddress()IPv6 address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteStringgetPeerIpv6NexthopAddressBytes()IPv6 address of the BGP interface outside Google Cloud Platform.StringgetRouterApplianceInstance()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.ByteStringgetRouterApplianceInstanceBytes()URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.intgetSerializedSize()booleanhasAdvertisedRoutePriority()The priority of routes advertised to this BGP peer.booleanhasAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.booleanhasBfd()BFD configuration for the BGP peering.booleanhasCustomLearnedRoutePriority()The user-defined custom learned route priority for a BGP session.booleanhasEnable()The status of the BGP peer connection.booleanhasEnableIpv6()Enable IPv6 traffic over BGP Peer.inthashCode()booleanhasInterfaceName()Name of the interface the BGP peer is associated with.booleanhasIpAddress()IP address of the interface inside Google Cloud Platform.booleanhasIpv6NexthopAddress()IPv6 address of the interface inside Google Cloud Platform.booleanhasManagementType()[Output Only] The resource that configures and manages this BGP peer.booleanhasMd5AuthenticationKeyName()Present if MD5 authentication is enabled for the peering.booleanhasName()Name of this BGP peer.booleanhasPeerAsn()Peer BGP Autonomous System Number (ASN).booleanhasPeerIpAddress()IP address of the BGP interface outside Google Cloud Platform.booleanhasPeerIpv6NexthopAddress()IPv6 address of the BGP interface outside Google Cloud Platform.booleanhasRouterApplianceInstance()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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static RouterBgpPeer.BuildernewBuilder()static RouterBgpPeer.BuildernewBuilder(RouterBgpPeer prototype)RouterBgpPeer.BuildernewBuilderForType()protected RouterBgpPeer.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static RouterBgpPeerparseDelimitedFrom(InputStream input)static RouterBgpPeerparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterBgpPeerparseFrom(byte[] data)static RouterBgpPeerparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterBgpPeerparseFrom(com.google.protobuf.ByteString data)static RouterBgpPeerparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterBgpPeerparseFrom(com.google.protobuf.CodedInputStream input)static RouterBgpPeerparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterBgpPeerparseFrom(InputStream input)static RouterBgpPeerparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static RouterBgpPeerparseFrom(ByteBuffer data)static RouterBgpPeerparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<RouterBgpPeer>parser()RouterBgpPeer.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ADVERTISE_MODE_FIELD_NUMBER
public static final int ADVERTISE_MODE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISED_GROUPS_FIELD_NUMBER
public static final int ADVERTISED_GROUPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISED_IP_RANGES_FIELD_NUMBER
public static final int ADVERTISED_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ADVERTISED_ROUTE_PRIORITY_FIELD_NUMBER
public static final int ADVERTISED_ROUTE_PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BFD_FIELD_NUMBER
public static final int BFD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_LEARNED_IP_RANGES_FIELD_NUMBER
public static final int CUSTOM_LEARNED_IP_RANGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBER
public static final int CUSTOM_LEARNED_ROUTE_PRIORITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_FIELD_NUMBER
public static final int ENABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENABLE_IPV6_FIELD_NUMBER
public static final int ENABLE_IPV6_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERFACE_NAME_FIELD_NUMBER
public static final int INTERFACE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IP_ADDRESS_FIELD_NUMBER
public static final int IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MANAGEMENT_TYPE_FIELD_NUMBER
public static final int MANAGEMENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBER
public static final int MD5_AUTHENTICATION_KEY_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_ASN_FIELD_NUMBER
public static final int PEER_ASN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_IP_ADDRESS_FIELD_NUMBER
public static final int PEER_IP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
public static final int PEER_IPV6_NEXTHOP_ADDRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
public static final int ROUTER_APPLIANCE_INSTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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:
hasAdvertiseModein interfaceRouterBgpPeerOrBuilder- 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:
getAdvertiseModein interfaceRouterBgpPeerOrBuilder- 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:
getAdvertiseModeBytesin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedGroupsListin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedGroupsCountin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedGroupsin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedGroupsBytesin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedIpRangesListin interfaceRouterBgpPeerOrBuilder
-
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:
getAdvertisedIpRangesOrBuilderListin interfaceRouterBgpPeerOrBuilder
-
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:
getAdvertisedIpRangesCountin interfaceRouterBgpPeerOrBuilder
-
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:
getAdvertisedIpRangesin interfaceRouterBgpPeerOrBuilder
-
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:
getAdvertisedIpRangesOrBuilderin interfaceRouterBgpPeerOrBuilder
-
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:
hasAdvertisedRoutePriorityin interfaceRouterBgpPeerOrBuilder- 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:
getAdvertisedRoutePriorityin interfaceRouterBgpPeerOrBuilder- Returns:
- The advertisedRoutePriority.
-
hasBfd
public boolean hasBfd()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;- Specified by:
hasBfdin interfaceRouterBgpPeerOrBuilder- 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:
getBfdin interfaceRouterBgpPeerOrBuilder- Returns:
- The bfd.
-
getBfdOrBuilder
public RouterBgpPeerBfdOrBuilder getBfdOrBuilder()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;- Specified by:
getBfdOrBuilderin interfaceRouterBgpPeerOrBuilder
-
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:
getCustomLearnedIpRangesListin interfaceRouterBgpPeerOrBuilder
-
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:
getCustomLearnedIpRangesOrBuilderListin interfaceRouterBgpPeerOrBuilder
-
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:
getCustomLearnedIpRangesCountin interfaceRouterBgpPeerOrBuilder
-
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:
getCustomLearnedIpRangesin interfaceRouterBgpPeerOrBuilder
-
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:
getCustomLearnedIpRangesOrBuilderin interfaceRouterBgpPeerOrBuilder
-
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:
hasCustomLearnedRoutePriorityin interfaceRouterBgpPeerOrBuilder- 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:
getCustomLearnedRoutePriorityin interfaceRouterBgpPeerOrBuilder- 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:
hasEnablein interfaceRouterBgpPeerOrBuilder- 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:
getEnablein interfaceRouterBgpPeerOrBuilder- 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:
getEnableBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for enable.
-
hasEnableIpv6
public boolean hasEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;- Specified by:
hasEnableIpv6in interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the enableIpv6 field is set.
-
getEnableIpv6
public boolean getEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;- Specified by:
getEnableIpv6in interfaceRouterBgpPeerOrBuilder- Returns:
- The enableIpv6.
-
hasInterfaceName
public boolean hasInterfaceName()
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;- Specified by:
hasInterfaceNamein interfaceRouterBgpPeerOrBuilder- 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:
getInterfaceNamein interfaceRouterBgpPeerOrBuilder- 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:
getInterfaceNameBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for interfaceName.
-
hasIpAddress
public boolean hasIpAddress()
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;- Specified by:
hasIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
public String getIpAddress()
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;- Specified by:
getIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- The ipAddress.
-
getIpAddressBytes
public com.google.protobuf.ByteString getIpAddressBytes()
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;- Specified by:
getIpAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for ipAddress.
-
hasIpv6NexthopAddress
public boolean hasIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;- Specified by:
hasIpv6NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getIpv6NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getIpv6NexthopAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for ipv6NexthopAddress.
-
hasManagementType
public 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;- Specified by:
hasManagementTypein interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the managementType field is set.
-
getManagementType
public 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;- Specified by:
getManagementTypein interfaceRouterBgpPeerOrBuilder- Returns:
- The managementType.
-
getManagementTypeBytes
public 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;- Specified by:
getManagementTypeBytesin interfaceRouterBgpPeerOrBuilder- 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:
hasMd5AuthenticationKeyNamein interfaceRouterBgpPeerOrBuilder- 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:
getMd5AuthenticationKeyNamein interfaceRouterBgpPeerOrBuilder- 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:
getMd5AuthenticationKeyNameBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for md5AuthenticationKeyName.
-
hasName
public 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;- Specified by:
hasNamein interfaceRouterBgpPeerOrBuilder- 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 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;- Specified by:
getNamein interfaceRouterBgpPeerOrBuilder- 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 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;- Specified by:
getNameBytesin interfaceRouterBgpPeerOrBuilder- 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:
hasPeerAsnin interfaceRouterBgpPeerOrBuilder- 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:
getPeerAsnin interfaceRouterBgpPeerOrBuilder- Returns:
- The peerAsn.
-
hasPeerIpAddress
public boolean hasPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;- Specified by:
hasPeerIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the peerIpAddress field is set.
-
getPeerIpAddress
public String getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- The peerIpAddress.
-
getPeerIpAddressBytes
public com.google.protobuf.ByteString getPeerIpAddressBytes()
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for peerIpAddress.
-
hasPeerIpv6NexthopAddress
public boolean hasPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;- Specified by:
hasPeerIpv6NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getPeerIpv6NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getPeerIpv6NexthopAddressBytesin interfaceRouterBgpPeerOrBuilder- 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:
hasRouterApplianceInstancein interfaceRouterBgpPeerOrBuilder- 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:
getRouterApplianceInstancein interfaceRouterBgpPeerOrBuilder- 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:
getRouterApplianceInstanceBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for routerApplianceInstance.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static RouterBgpPeer.Builder newBuilder()
-
newBuilder
public static RouterBgpPeer.Builder newBuilder(RouterBgpPeer prototype)
-
toBuilder
public RouterBgpPeer.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RouterBgpPeer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static RouterBgpPeer getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<RouterBgpPeer> parser()
-
getParserForType
public com.google.protobuf.Parser<RouterBgpPeer> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public RouterBgpPeer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-