Package com.google.cloud.compute.v1
Class RouterBgpPeer.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
com.google.cloud.compute.v1.RouterBgpPeer.Builder
- All Implemented Interfaces:
RouterBgpPeerOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterBgpPeer
public static final class RouterBgpPeer.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
implements RouterBgpPeerOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgpPeer-
Method Summary
Modifier and TypeMethodDescriptionaddAdvertisedGroups(String value) 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.addAdvertisedGroupsBytes(com.google.protobuf.ByteString value) 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.addAdvertisedIpRanges(int index, RouterAdvertisedIpRange value) User-specified list of individual IP ranges to advertise in custom mode.addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue) User-specified list of individual IP ranges to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.addAdvertisedIpRanges(RouterAdvertisedIpRange.Builder builderForValue) User-specified list of individual IP ranges to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.addAdvertisedIpRangesBuilder(int index) User-specified list of individual IP ranges to advertise in custom mode.addAllAdvertisedGroups(Iterable<String> values) 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.addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values) User-specified list of individual IP ranges to advertise in custom mode.addAllCustomLearnedIpRanges(Iterable<? extends RouterBgpPeerCustomLearnedIpRange> values) A list of user-defined custom learned route IP address ranges for a BGP session.addAllExportPolicies(Iterable<String> values) List of export policies applied to this peer, in the order they must be evaluated.addAllImportPolicies(Iterable<String> values) List of import policies applied to this peer, in the order they must be evaluated.addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value) A list of user-defined custom learned route IP address ranges for a BGP session.addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) A list of user-defined custom learned route IP address ranges for a BGP session.A list of user-defined custom learned route IP address ranges for a BGP session.addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) A list of user-defined custom learned route IP address ranges for a BGP session.A list of user-defined custom learned route IP address ranges for a BGP session.addCustomLearnedIpRangesBuilder(int index) A list of user-defined custom learned route IP address ranges for a BGP session.addExportPolicies(String value) List of export policies applied to this peer, in the order they must be evaluated.addExportPoliciesBytes(com.google.protobuf.ByteString value) List of export policies applied to this peer, in the order they must be evaluated.addImportPolicies(String value) List of import policies applied to this peer, in the order they must be evaluated.addImportPoliciesBytes(com.google.protobuf.ByteString value) List of import policies applied to this peer, in the order they must be evaluated.build()clear()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.User-specified list of individual IP ranges to advertise in custom mode.The priority of routes advertised to this BGP peer.User-specified flag to indicate which mode to use for advertisement.clearBfd()BFD configuration for the BGP peering.A list of user-defined custom learned route IP address ranges for a BGP session.The user-defined custom learned route priority for a BGP session.The status of the BGP peer connection.Enable IPv4 traffic over BGP Peer.Enable IPv6 traffic over BGP Peer.List of export policies applied to this peer, in the order they must be evaluated.List of import policies applied to this peer, in the order they must be evaluated.Name of the interface the BGP peer is associated with.IP address of the interface inside Google Cloud Platform.IPv4 address of the interface inside Google Cloud Platform.IPv6 address of the interface inside Google Cloud Platform.Output only.Present if MD5 authentication is enabled for the peering.Name of this BGP peer.Peer BGP Autonomous System Number (ASN).IP address of the BGP interface outside Google Cloud Platform.IPv4 address of the BGP interface outside Google Cloud Platform.IPv6 address of the BGP interface outside Google Cloud Platform.URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.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.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.intUser-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.ProtocolStringListUser-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.getAdvertisedIpRanges(int index) User-specified list of individual IP ranges to advertise in custom mode.getAdvertisedIpRangesBuilder(int index) User-specified list of individual IP ranges to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.intUser-specified list of individual IP ranges to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.getAdvertisedIpRangesOrBuilder(int index) User-specified list of individual IP ranges to advertise in custom mode.List<? extends RouterAdvertisedIpRangeOrBuilder>User-specified list of individual IP ranges to advertise in custom mode.intThe priority of routes advertised to this BGP peer.User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteStringUser-specified flag to indicate which mode to use for advertisement.getBfd()BFD configuration for the BGP peering.BFD configuration for the BGP peering.BFD configuration for the BGP peering.getCustomLearnedIpRanges(int index) A list of user-defined custom learned route IP address ranges for a BGP session.getCustomLearnedIpRangesBuilder(int index) A list of user-defined custom learned route IP address ranges for a BGP session.A list of user-defined custom learned route IP address ranges for a BGP session.intA list of user-defined custom learned route IP address ranges for a BGP session.A list of user-defined custom learned route IP address ranges for a BGP session.getCustomLearnedIpRangesOrBuilder(int index) A list of user-defined custom learned route IP address ranges for a BGP session.List<? extends RouterBgpPeerCustomLearnedIpRangeOrBuilder>A list of user-defined custom learned route IP address ranges for a BGP session.intThe user-defined custom learned route priority for a BGP session.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe status of the BGP peer connection.com.google.protobuf.ByteStringThe status of the BGP peer connection.booleanEnable IPv4 traffic over BGP Peer.booleanEnable IPv6 traffic over BGP Peer.getExportPolicies(int index) List of export policies applied to this peer, in the order they must be evaluated.com.google.protobuf.ByteStringgetExportPoliciesBytes(int index) List of export policies applied to this peer, in the order they must be evaluated.intList of export policies applied to this peer, in the order they must be evaluated.com.google.protobuf.ProtocolStringListList of export policies applied to this peer, in the order they must be evaluated.getImportPolicies(int index) List of import policies applied to this peer, in the order they must be evaluated.com.google.protobuf.ByteStringgetImportPoliciesBytes(int index) List of import policies applied to this peer, in the order they must be evaluated.intList of import policies applied to this peer, in the order they must be evaluated.com.google.protobuf.ProtocolStringListList of import policies applied to this peer, in the order they must be evaluated.Name of the interface the BGP peer is associated with.com.google.protobuf.ByteStringName of the interface the BGP peer is associated with.IP address of the interface inside Google Cloud Platform.com.google.protobuf.ByteStringIP address of the interface inside Google Cloud Platform.IPv4 address of the interface inside Google Cloud Platform.com.google.protobuf.ByteStringIPv4 address of the interface inside Google Cloud Platform.IPv6 address of the interface inside Google Cloud Platform.com.google.protobuf.ByteStringIPv6 address of the interface inside Google Cloud Platform.Output only.com.google.protobuf.ByteStringOutput only.Present if MD5 authentication is enabled for the peering.com.google.protobuf.ByteStringPresent if MD5 authentication is enabled for the peering.getName()Name of this BGP peer.com.google.protobuf.ByteStringName of this BGP peer.intPeer BGP Autonomous System Number (ASN).IP address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteStringIP address of the BGP interface outside Google Cloud Platform.IPv4 address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteStringIPv4 address of the BGP interface outside Google Cloud Platform.IPv6 address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteStringIPv6 address of the BGP interface outside Google Cloud Platform.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.ByteStringURI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.booleanThe priority of routes advertised to this BGP peer.booleanUser-specified flag to indicate which mode to use for advertisement.booleanhasBfd()BFD configuration for the BGP peering.booleanThe user-defined custom learned route priority for a BGP session.booleanThe status of the BGP peer connection.booleanEnable IPv4 traffic over BGP Peer.booleanEnable IPv6 traffic over BGP Peer.booleanName of the interface the BGP peer is associated with.booleanIP address of the interface inside Google Cloud Platform.booleanIPv4 address of the interface inside Google Cloud Platform.booleanIPv6 address of the interface inside Google Cloud Platform.booleanOutput only.booleanPresent if MD5 authentication is enabled for the peering.booleanhasName()Name of this BGP peer.booleanPeer BGP Autonomous System Number (ASN).booleanIP address of the BGP interface outside Google Cloud Platform.booleanIPv4 address of the BGP interface outside Google Cloud Platform.booleanIPv6 address of the BGP interface outside Google Cloud Platform.booleanURI 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.GeneratedMessage.FieldAccessorTablefinal booleanmergeBfd(RouterBgpPeerBfd value) BFD configuration for the BGP peering.mergeFrom(RouterBgpPeer other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAdvertisedIpRanges(int index) User-specified list of individual IP ranges to advertise in custom mode.removeCustomLearnedIpRanges(int index) A list of user-defined custom learned route IP address ranges for a BGP session.setAdvertisedGroups(int index, String value) 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.setAdvertisedIpRanges(int index, RouterAdvertisedIpRange value) User-specified list of individual IP ranges to advertise in custom mode.setAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue) User-specified list of individual IP ranges to advertise in custom mode.setAdvertisedRoutePriority(int value) The priority of routes advertised to this BGP peer.setAdvertiseMode(String value) User-specified flag to indicate which mode to use for advertisement.setAdvertiseModeBytes(com.google.protobuf.ByteString value) User-specified flag to indicate which mode to use for advertisement.setBfd(RouterBgpPeerBfd value) BFD configuration for the BGP peering.setBfd(RouterBgpPeerBfd.Builder builderForValue) BFD configuration for the BGP peering.setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value) A list of user-defined custom learned route IP address ranges for a BGP session.setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) A list of user-defined custom learned route IP address ranges for a BGP session.setCustomLearnedRoutePriority(int value) The user-defined custom learned route priority for a BGP session.The status of the BGP peer connection.setEnableBytes(com.google.protobuf.ByteString value) The status of the BGP peer connection.setEnableIpv4(boolean value) Enable IPv4 traffic over BGP Peer.setEnableIpv6(boolean value) Enable IPv6 traffic over BGP Peer.setExportPolicies(int index, String value) List of export policies applied to this peer, in the order they must be evaluated.setImportPolicies(int index, String value) List of import policies applied to this peer, in the order they must be evaluated.setInterfaceName(String value) Name of the interface the BGP peer is associated with.setInterfaceNameBytes(com.google.protobuf.ByteString value) Name of the interface the BGP peer is associated with.setIpAddress(String value) IP address of the interface inside Google Cloud Platform.setIpAddressBytes(com.google.protobuf.ByteString value) IP address of the interface inside Google Cloud Platform.setIpv4NexthopAddress(String value) IPv4 address of the interface inside Google Cloud Platform.setIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) IPv4 address of the interface inside Google Cloud Platform.setIpv6NexthopAddress(String value) IPv6 address of the interface inside Google Cloud Platform.setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) IPv6 address of the interface inside Google Cloud Platform.setManagementType(String value) Output only.setManagementTypeBytes(com.google.protobuf.ByteString value) Output only.Present if MD5 authentication is enabled for the peering.setMd5AuthenticationKeyNameBytes(com.google.protobuf.ByteString value) Present if MD5 authentication is enabled for the peering.Name of this BGP peer.setNameBytes(com.google.protobuf.ByteString value) Name of this BGP peer.setPeerAsn(int value) Peer BGP Autonomous System Number (ASN).setPeerIpAddress(String value) IP address of the BGP interface outside Google Cloud Platform.setPeerIpAddressBytes(com.google.protobuf.ByteString value) IP address of the BGP interface outside Google Cloud Platform.setPeerIpv4NexthopAddress(String value) IPv4 address of the BGP interface outside Google Cloud Platform.setPeerIpv4NexthopAddressBytes(com.google.protobuf.ByteString value) IPv4 address of the BGP interface outside Google Cloud Platform.setPeerIpv6NexthopAddress(String value) IPv6 address of the BGP interface outside Google Cloud Platform.setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value) IPv6 address of the BGP interface outside Google Cloud Platform.setRouterApplianceInstance(String value) URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.setRouterApplianceInstanceBytes(com.google.protobuf.ByteString value) URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeer.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeer.Builder>
-
mergeFrom
public RouterBgpPeer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeer.Builder>- Throws:
IOException
-
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
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.
-
setAdvertiseMode
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;- Parameters:
value- The advertiseMode to set.- Returns:
- This builder for chaining.
-
clearAdvertiseMode
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;- Returns:
- This builder for chaining.
-
setAdvertiseModeBytes
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;- Parameters:
value- The bytes for advertiseMode to set.- Returns:
- This builder for chaining.
-
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
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.
-
setAdvertisedGroups
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;- Parameters:
index- The index to set the value at.value- The advertisedGroups to set.- Returns:
- This builder for chaining.
-
addAdvertisedGroups
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;- Parameters:
value- The advertisedGroups to add.- Returns:
- This builder for chaining.
-
addAllAdvertisedGroups
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;- Parameters:
values- The advertisedGroups to add.- Returns:
- This builder for chaining.
-
clearAdvertisedGroups
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;- Returns:
- This builder for chaining.
-
addAdvertisedGroupsBytes
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;- Parameters:
value- The bytes of the advertisedGroups to add.- Returns:
- This builder for chaining.
-
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
-
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
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
-
setAdvertisedIpRanges
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; -
setAdvertisedIpRanges
public RouterBgpPeer.Builder setAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue) 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; -
addAdvertisedIpRanges
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; -
addAdvertisedIpRanges
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; -
addAdvertisedIpRanges
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; -
addAdvertisedIpRanges
public RouterBgpPeer.Builder addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue) 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; -
addAllAdvertisedIpRanges
public RouterBgpPeer.Builder addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values) 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; -
clearAdvertisedIpRanges
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; -
removeAdvertisedIpRanges
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; -
getAdvertisedIpRangesBuilder
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
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
-
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
-
addAdvertisedIpRangesBuilder
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; -
addAdvertisedIpRangesBuilder
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; -
getAdvertisedIpRangesBuilderList
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; -
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.
-
setAdvertisedRoutePriority
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;- Parameters:
value- The advertisedRoutePriority to set.- Returns:
- This builder for chaining.
-
clearAdvertisedRoutePriority
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;- Returns:
- This builder for chaining.
-
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
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;- Specified by:
getBfdin interfaceRouterBgpPeerOrBuilder- Returns:
- The bfd.
-
setBfd
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440; -
setBfd
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440; -
mergeBfd
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440; -
clearBfd
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440; -
getBfdBuilder
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440; -
getBfdOrBuilder
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;- Specified by:
getBfdOrBuilderin interfaceRouterBgpPeerOrBuilder
-
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
-
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
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
-
setCustomLearnedIpRanges
public RouterBgpPeer.Builder setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value) 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; -
setCustomLearnedIpRanges
public RouterBgpPeer.Builder setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) 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; -
addCustomLearnedIpRanges
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; -
addCustomLearnedIpRanges
public RouterBgpPeer.Builder addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value) 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; -
addCustomLearnedIpRanges
public RouterBgpPeer.Builder addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) 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; -
addCustomLearnedIpRanges
public RouterBgpPeer.Builder addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue) 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; -
addAllCustomLearnedIpRanges
public RouterBgpPeer.Builder addAllCustomLearnedIpRanges(Iterable<? extends RouterBgpPeerCustomLearnedIpRange> values) 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; -
clearCustomLearnedIpRanges
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; -
removeCustomLearnedIpRanges
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; -
getCustomLearnedIpRangesBuilder
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
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
-
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
-
addCustomLearnedIpRangesBuilder
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; -
addCustomLearnedIpRangesBuilder
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; -
getCustomLearnedIpRangesBuilderList
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; -
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.
-
setCustomLearnedRoutePriority
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;- Parameters:
value- The customLearnedRoutePriority to set.- Returns:
- This builder for chaining.
-
clearCustomLearnedRoutePriority
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;- Returns:
- This builder for chaining.
-
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
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.
-
setEnable
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;- Parameters:
value- The enable to set.- Returns:
- This builder for chaining.
-
clearEnable
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;- Returns:
- This builder for chaining.
-
setEnableBytes
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;- Parameters:
value- The bytes for enable to set.- Returns:
- This builder for chaining.
-
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:
hasEnableIpv4in interfaceRouterBgpPeerOrBuilder- 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:
getEnableIpv4in interfaceRouterBgpPeerOrBuilder- Returns:
- The enableIpv4.
-
setEnableIpv4
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Parameters:
value- The enableIpv4 to set.- Returns:
- This builder for chaining.
-
clearEnableIpv4
Enable IPv4 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 4.
optional bool enable_ipv4 = 181467937;- Returns:
- This builder for chaining.
-
hasEnableIpv6
public boolean hasEnableIpv6()Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
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. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Specified by:
getEnableIpv6in interfaceRouterBgpPeerOrBuilder- Returns:
- The enableIpv6.
-
setEnableIpv6
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Parameters:
value- The enableIpv6 to set.- Returns:
- This builder for chaining.
-
clearEnableIpv6
Enable IPv6 traffic over BGP Peer. It is enabled by default if the peerIpAddress is version 6.
optional bool enable_ipv6 = 181467939;- Returns:
- This builder for chaining.
-
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:
getExportPoliciesListin interfaceRouterBgpPeerOrBuilder- 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:
getExportPoliciesCountin interfaceRouterBgpPeerOrBuilder- Returns:
- The count of exportPolicies.
-
getExportPolicies
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:
getExportPoliciesin interfaceRouterBgpPeerOrBuilder- 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:
getExportPoliciesBytesin interfaceRouterBgpPeerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exportPolicies at the given index.
-
setExportPolicies
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;- Parameters:
index- The index to set the value at.value- The exportPolicies to set.- Returns:
- This builder for chaining.
-
addExportPolicies
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;- Parameters:
value- The exportPolicies to add.- Returns:
- This builder for chaining.
-
addAllExportPolicies
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;- Parameters:
values- The exportPolicies to add.- Returns:
- This builder for chaining.
-
clearExportPolicies
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;- Returns:
- This builder for chaining.
-
addExportPoliciesBytes
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;- Parameters:
value- The bytes of the exportPolicies to add.- Returns:
- This builder for chaining.
-
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:
getImportPoliciesListin interfaceRouterBgpPeerOrBuilder- 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:
getImportPoliciesCountin interfaceRouterBgpPeerOrBuilder- Returns:
- The count of importPolicies.
-
getImportPolicies
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:
getImportPoliciesin interfaceRouterBgpPeerOrBuilder- 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:
getImportPoliciesBytesin interfaceRouterBgpPeerOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the importPolicies at the given index.
-
setImportPolicies
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;- Parameters:
index- The index to set the value at.value- The importPolicies to set.- Returns:
- This builder for chaining.
-
addImportPolicies
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;- Parameters:
value- The importPolicies to add.- Returns:
- This builder for chaining.
-
addAllImportPolicies
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;- Parameters:
values- The importPolicies to add.- Returns:
- This builder for chaining.
-
clearImportPolicies
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;- Returns:
- This builder for chaining.
-
addImportPoliciesBytes
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;- Parameters:
value- The bytes of the importPolicies to add.- Returns:
- This builder for chaining.
-
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
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.
-
setInterfaceName
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;- Parameters:
value- The interfaceName to set.- Returns:
- This builder for chaining.
-
clearInterfaceName
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;- Returns:
- This builder for chaining.
-
setInterfaceNameBytes
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;- Parameters:
value- The bytes for interfaceName to set.- Returns:
- This builder for chaining.
-
hasIpAddress
public boolean hasIpAddress()IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;- Specified by:
hasIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the ipAddress field is set.
-
getIpAddress
IP address of the interface inside Google Cloud Platform.
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.
optional string ip_address = 406272220;- Specified by:
getIpAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for ipAddress.
-
setIpAddress
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;- Parameters:
value- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;- Returns:
- This builder for chaining.
-
setIpAddressBytes
IP address of the interface inside Google Cloud Platform.
optional string ip_address = 406272220;- Parameters:
value- The bytes for ipAddress to set.- Returns:
- This builder for chaining.
-
hasIpv4NexthopAddress
public boolean hasIpv4NexthopAddress()IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;- Specified by:
hasIpv4NexthopAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the ipv4NexthopAddress field is set.
-
getIpv4NexthopAddress
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;- Specified by:
getIpv4NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getIpv4NexthopAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for ipv4NexthopAddress.
-
setIpv4NexthopAddress
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;- Parameters:
value- The ipv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearIpv4NexthopAddress
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;- Returns:
- This builder for chaining.
-
setIpv4NexthopAddressBytes
IPv4 address of the interface inside Google Cloud Platform.
optional string ipv4_nexthop_address = 5703377;- Parameters:
value- The bytes for ipv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
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
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.
-
setIpv6NexthopAddress
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;- Parameters:
value- The ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearIpv6NexthopAddress
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;- Returns:
- This builder for chaining.
-
setIpv6NexthopAddressBytes
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;- Parameters:
value- The bytes for ipv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
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:
hasManagementTypein interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the managementType field is set.
-
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:
getManagementTypein interfaceRouterBgpPeerOrBuilder- 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:
getManagementTypeBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for managementType.
-
setManagementType
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;- Parameters:
value- The managementType to set.- Returns:
- This builder for chaining.
-
clearManagementType
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;- Returns:
- This builder for chaining.
-
setManagementTypeBytes
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;- Parameters:
value- The bytes for managementType to set.- Returns:
- This builder for chaining.
-
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
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.
-
setMd5AuthenticationKeyName
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;- Parameters:
value- The md5AuthenticationKeyName to set.- Returns:
- This builder for chaining.
-
clearMd5AuthenticationKeyName
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;- Returns:
- This builder for chaining.
-
setMd5AuthenticationKeyNameBytes
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;- Parameters:
value- The bytes for md5AuthenticationKeyName to set.- Returns:
- This builder for chaining.
-
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:
hasNamein interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the name field is set.
-
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:
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 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:
getNameBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setPeerAsn
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
optional uint32 peer_asn = 69573151;- Parameters:
value- The peerAsn to set.- Returns:
- This builder for chaining.
-
clearPeerAsn
Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value.
optional uint32 peer_asn = 69573151;- Returns:
- This builder for chaining.
-
hasPeerIpAddress
public boolean hasPeerIpAddress()IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;- Specified by:
hasPeerIpAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the peerIpAddress field is set.
-
getPeerIpAddress
IP address of the BGP interface outside Google Cloud Platform.
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.
optional string peer_ip_address = 207735769;- Specified by:
getPeerIpAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for peerIpAddress.
-
setPeerIpAddress
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;- Parameters:
value- The peerIpAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpAddress
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;- Returns:
- This builder for chaining.
-
setPeerIpAddressBytes
IP address of the BGP interface outside Google Cloud Platform.
optional string peer_ip_address = 207735769;- Parameters:
value- The bytes for peerIpAddress to set.- Returns:
- This builder for chaining.
-
hasPeerIpv4NexthopAddress
public boolean hasPeerIpv4NexthopAddress()IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;- Specified by:
hasPeerIpv4NexthopAddressin interfaceRouterBgpPeerOrBuilder- Returns:
- Whether the peerIpv4NexthopAddress field is set.
-
getPeerIpv4NexthopAddress
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;- Specified by:
getPeerIpv4NexthopAddressin interfaceRouterBgpPeerOrBuilder- 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:
getPeerIpv4NexthopAddressBytesin interfaceRouterBgpPeerOrBuilder- Returns:
- The bytes for peerIpv4NexthopAddress.
-
setPeerIpv4NexthopAddress
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;- Parameters:
value- The peerIpv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpv4NexthopAddress
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;- Returns:
- This builder for chaining.
-
setPeerIpv4NexthopAddressBytes
IPv4 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv4_nexthop_address = 469221774;- Parameters:
value- The bytes for peerIpv4NexthopAddress to set.- Returns:
- This builder for chaining.
-
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
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.
-
setPeerIpv6NexthopAddress
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;- Parameters:
value- The peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpv6NexthopAddress
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;- Returns:
- This builder for chaining.
-
setPeerIpv6NexthopAddressBytes
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;- Parameters:
value- The bytes for peerIpv6NexthopAddress to set.- Returns:
- This builder for chaining.
-
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
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.
-
setRouterApplianceInstance
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;- Parameters:
value- The routerApplianceInstance to set.- Returns:
- This builder for chaining.
-
clearRouterApplianceInstance
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;- Returns:
- This builder for chaining.
-
setRouterApplianceInstanceBytes
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;- Parameters:
value- The bytes for routerApplianceInstance to set.- Returns:
- This builder for chaining.
-