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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouterBgpPeer.Builder> implements RouterBgpPeerOrBuilder
google.cloud.compute.v1.RouterBgpPeer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterBgpPeer.Builder
addAdvertisedGroups(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.RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
addAdvertisedIpRanges(RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
addAdvertisedIpRanges(RouterAdvertisedIpRange.Builder builderForValue)
User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.Builder
addAdvertisedIpRangesBuilder()
User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.Builder
addAdvertisedIpRangesBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
addAllCustomLearnedIpRanges(Iterable<? extends RouterBgpPeerCustomLearnedIpRange> values)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
addCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange value)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
addCustomLearnedIpRanges(RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeerCustomLearnedIpRange.Builder
addCustomLearnedIpRangesBuilder()
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeerCustomLearnedIpRange.Builder
addCustomLearnedIpRangesBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgpPeer
build()
RouterBgpPeer
buildPartial()
RouterBgpPeer.Builder
clear()
RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
clearAdvertisedIpRanges()
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
clearAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.RouterBgpPeer.Builder
clearAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.RouterBgpPeer.Builder
clearBfd()
BFD configuration for the BGP peering.RouterBgpPeer.Builder
clearCustomLearnedIpRanges()
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
clearCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.RouterBgpPeer.Builder
clearEnable()
The status of the BGP peer connection.RouterBgpPeer.Builder
clearEnableIpv6()
Enable IPv6 traffic over BGP Peer.RouterBgpPeer.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouterBgpPeer.Builder
clearInterfaceName()
Name of the interface the BGP peer is associated with.RouterBgpPeer.Builder
clearIpAddress()
IP address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
clearIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
clearManagementType()
[Output Only] The resource that configures and manages this BGP peer.RouterBgpPeer.Builder
clearMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.RouterBgpPeer.Builder
clearName()
Name of this BGP peer.RouterBgpPeer.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouterBgpPeer.Builder
clearPeerAsn()
Peer BGP Autonomous System Number (ASN).RouterBgpPeer.Builder
clearPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
clearPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
clearRouterApplianceInstance()
URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.RouterBgpPeer.Builder
clone()
String
getAdvertisedGroups(int index)
User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.com.google.protobuf.ByteString
getAdvertisedGroupsBytes(int index)
User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.int
getAdvertisedGroupsCount()
User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.com.google.protobuf.ProtocolStringList
getAdvertisedGroupsList()
User-specified list of prefix groups to advertise in custom mode, which currently supports the following option: - ALL_SUBNETS: Advertises all of the router's own VPC subnets.RouterAdvertisedIpRange
getAdvertisedIpRanges(int index)
User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.Builder
getAdvertisedIpRangesBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode.List<RouterAdvertisedIpRange.Builder>
getAdvertisedIpRangesBuilderList()
User-specified list of individual IP ranges to advertise in custom mode.int
getAdvertisedIpRangesCount()
User-specified list of individual IP ranges to advertise in custom mode.List<RouterAdvertisedIpRange>
getAdvertisedIpRangesList()
User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRangeOrBuilder
getAdvertisedIpRangesOrBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode.List<? extends RouterAdvertisedIpRangeOrBuilder>
getAdvertisedIpRangesOrBuilderList()
User-specified list of individual IP ranges to advertise in custom mode.int
getAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.String
getAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteString
getAdvertiseModeBytes()
User-specified flag to indicate which mode to use for advertisement.RouterBgpPeerBfd
getBfd()
BFD configuration for the BGP peering.RouterBgpPeerBfd.Builder
getBfdBuilder()
BFD configuration for the BGP peering.RouterBgpPeerBfdOrBuilder
getBfdOrBuilder()
BFD configuration for the BGP peering.RouterBgpPeerCustomLearnedIpRange
getCustomLearnedIpRanges(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeerCustomLearnedIpRange.Builder
getCustomLearnedIpRangesBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.List<RouterBgpPeerCustomLearnedIpRange.Builder>
getCustomLearnedIpRangesBuilderList()
A list of user-defined custom learned route IP address ranges for a BGP session.int
getCustomLearnedIpRangesCount()
A list of user-defined custom learned route IP address ranges for a BGP session.List<RouterBgpPeerCustomLearnedIpRange>
getCustomLearnedIpRangesList()
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeerCustomLearnedIpRangeOrBuilder
getCustomLearnedIpRangesOrBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.List<? extends RouterBgpPeerCustomLearnedIpRangeOrBuilder>
getCustomLearnedIpRangesOrBuilderList()
A list of user-defined custom learned route IP address ranges for a BGP session.int
getCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.RouterBgpPeer
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEnable()
The status of the BGP peer connection.com.google.protobuf.ByteString
getEnableBytes()
The status of the BGP peer connection.boolean
getEnableIpv6()
Enable IPv6 traffic over BGP Peer.String
getInterfaceName()
Name of the interface the BGP peer is associated with.com.google.protobuf.ByteString
getInterfaceNameBytes()
Name of the interface the BGP peer is associated with.String
getIpAddress()
IP address of the interface inside Google Cloud Platform.com.google.protobuf.ByteString
getIpAddressBytes()
IP address of the interface inside Google Cloud Platform.String
getIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.com.google.protobuf.ByteString
getIpv6NexthopAddressBytes()
IPv6 address of the interface inside Google Cloud Platform.String
getManagementType()
[Output Only] The resource that configures and manages this BGP peer.com.google.protobuf.ByteString
getManagementTypeBytes()
[Output Only] The resource that configures and manages this BGP peer.String
getMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.com.google.protobuf.ByteString
getMd5AuthenticationKeyNameBytes()
Present if MD5 authentication is enabled for the peering.String
getName()
Name of this BGP peer.com.google.protobuf.ByteString
getNameBytes()
Name of this BGP peer.int
getPeerAsn()
Peer BGP Autonomous System Number (ASN).String
getPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteString
getPeerIpAddressBytes()
IP address of the BGP interface outside Google Cloud Platform.String
getPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.com.google.protobuf.ByteString
getPeerIpv6NexthopAddressBytes()
IPv6 address of the BGP interface outside Google Cloud Platform.String
getRouterApplianceInstance()
URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.com.google.protobuf.ByteString
getRouterApplianceInstanceBytes()
URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.boolean
hasAdvertisedRoutePriority()
The priority of routes advertised to this BGP peer.boolean
hasAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.boolean
hasBfd()
BFD configuration for the BGP peering.boolean
hasCustomLearnedRoutePriority()
The user-defined custom learned route priority for a BGP session.boolean
hasEnable()
The status of the BGP peer connection.boolean
hasEnableIpv6()
Enable IPv6 traffic over BGP Peer.boolean
hasInterfaceName()
Name of the interface the BGP peer is associated with.boolean
hasIpAddress()
IP address of the interface inside Google Cloud Platform.boolean
hasIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.boolean
hasManagementType()
[Output Only] The resource that configures and manages this BGP peer.boolean
hasMd5AuthenticationKeyName()
Present if MD5 authentication is enabled for the peering.boolean
hasName()
Name of this BGP peer.boolean
hasPeerAsn()
Peer BGP Autonomous System Number (ASN).boolean
hasPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform.boolean
hasPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.boolean
hasRouterApplianceInstance()
URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouterBgpPeer.Builder
mergeBfd(RouterBgpPeerBfd value)
BFD configuration for the BGP peering.RouterBgpPeer.Builder
mergeFrom(RouterBgpPeer other)
RouterBgpPeer.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouterBgpPeer.Builder
mergeFrom(com.google.protobuf.Message other)
RouterBgpPeer.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterBgpPeer.Builder
removeAdvertisedIpRanges(int index)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
removeCustomLearnedIpRanges(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
setAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
setAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgpPeer.Builder
setAdvertisedRoutePriority(int value)
The priority of routes advertised to this BGP peer.RouterBgpPeer.Builder
setAdvertiseMode(String value)
User-specified flag to indicate which mode to use for advertisement.RouterBgpPeer.Builder
setAdvertiseModeBytes(com.google.protobuf.ByteString value)
User-specified flag to indicate which mode to use for advertisement.RouterBgpPeer.Builder
setBfd(RouterBgpPeerBfd value)
BFD configuration for the BGP peering.RouterBgpPeer.Builder
setBfd(RouterBgpPeerBfd.Builder builderForValue)
BFD configuration for the BGP peering.RouterBgpPeer.Builder
setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange value)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
setCustomLearnedIpRanges(int index, RouterBgpPeerCustomLearnedIpRange.Builder builderForValue)
A list of user-defined custom learned route IP address ranges for a BGP session.RouterBgpPeer.Builder
setCustomLearnedRoutePriority(int value)
The user-defined custom learned route priority for a BGP session.RouterBgpPeer.Builder
setEnable(String value)
The status of the BGP peer connection.RouterBgpPeer.Builder
setEnableBytes(com.google.protobuf.ByteString value)
The status of the BGP peer connection.RouterBgpPeer.Builder
setEnableIpv6(boolean value)
Enable IPv6 traffic over BGP Peer.RouterBgpPeer.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgpPeer.Builder
setInterfaceName(String value)
Name of the interface the BGP peer is associated with.RouterBgpPeer.Builder
setInterfaceNameBytes(com.google.protobuf.ByteString value)
Name of the interface the BGP peer is associated with.RouterBgpPeer.Builder
setIpAddress(String value)
IP address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
setIpv6NexthopAddress(String value)
IPv6 address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the interface inside Google Cloud Platform.RouterBgpPeer.Builder
setManagementType(String value)
[Output Only] The resource that configures and manages this BGP peer.RouterBgpPeer.Builder
setManagementTypeBytes(com.google.protobuf.ByteString value)
[Output Only] The resource that configures and manages this BGP peer.RouterBgpPeer.Builder
setMd5AuthenticationKeyName(String value)
Present if MD5 authentication is enabled for the peering.RouterBgpPeer.Builder
setMd5AuthenticationKeyNameBytes(com.google.protobuf.ByteString value)
Present if MD5 authentication is enabled for the peering.RouterBgpPeer.Builder
setName(String value)
Name of this BGP peer.RouterBgpPeer.Builder
setNameBytes(com.google.protobuf.ByteString value)
Name of this BGP peer.RouterBgpPeer.Builder
setPeerAsn(int value)
Peer BGP Autonomous System Number (ASN).RouterBgpPeer.Builder
setPeerIpAddress(String value)
IP address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
setPeerIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
setPeerIpv6NexthopAddress(String value)
IPv6 address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
IPv6 address of the BGP interface outside Google Cloud Platform.RouterBgpPeer.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
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.RouterBgpPeer.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
clear
public RouterBgpPeer.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
getDefaultInstanceForType
public RouterBgpPeer getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterBgpPeer build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterBgpPeer buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterBgpPeer.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
setField
public RouterBgpPeer.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
clearField
public RouterBgpPeer.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
clearOneof
public RouterBgpPeer.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
setRepeatedField
public RouterBgpPeer.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
addRepeatedField
public RouterBgpPeer.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
mergeFrom
public RouterBgpPeer.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeer.Builder>
-
mergeFrom
public RouterBgpPeer.Builder mergeFrom(RouterBgpPeer other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
mergeFrom
public RouterBgpPeer.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAdvertiseMode
in 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:
getAdvertiseMode
in 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:
getAdvertiseModeBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for advertiseMode.
-
setAdvertiseMode
public RouterBgpPeer.Builder setAdvertiseMode(String value)
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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder setAdvertiseModeBytes(com.google.protobuf.ByteString value)
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:
getAdvertisedGroupsList
in 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:
getAdvertisedGroupsCount
in 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:
getAdvertisedGroups
in 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:
getAdvertisedGroupsBytes
in interfaceRouterBgpPeerOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the advertisedGroups at the given index.
-
setAdvertisedGroups
public RouterBgpPeer.Builder 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. 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
public RouterBgpPeer.Builder addAdvertisedGroups(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. 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
public RouterBgpPeer.Builder 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. 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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder 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. 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
public List<RouterAdvertisedIpRange> getAdvertisedIpRangesList()
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
- Specified by:
getAdvertisedIpRangesList
in 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:
getAdvertisedIpRangesCount
in 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:
getAdvertisedIpRanges
in interfaceRouterBgpPeerOrBuilder
-
setAdvertisedIpRanges
public RouterBgpPeer.Builder setAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
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
public RouterBgpPeer.Builder addAdvertisedIpRanges(RouterAdvertisedIpRange value)
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 value)
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(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
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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder removeAdvertisedIpRanges(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;
-
getAdvertisedIpRangesBuilder
public RouterAdvertisedIpRange.Builder getAdvertisedIpRangesBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
-
getAdvertisedIpRangesOrBuilder
public RouterAdvertisedIpRangeOrBuilder getAdvertisedIpRangesOrBuilder(int index)
User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges.
repeated .google.cloud.compute.v1.RouterAdvertisedIpRange advertised_ip_ranges = 35449932;
- Specified by:
getAdvertisedIpRangesOrBuilder
in 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:
getAdvertisedIpRangesOrBuilderList
in interfaceRouterBgpPeerOrBuilder
-
addAdvertisedIpRangesBuilder
public RouterAdvertisedIpRange.Builder 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
public RouterAdvertisedIpRange.Builder addAdvertisedIpRangesBuilder(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;
-
getAdvertisedIpRangesBuilderList
public List<RouterAdvertisedIpRange.Builder> 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:
hasAdvertisedRoutePriority
in 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:
getAdvertisedRoutePriority
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The advertisedRoutePriority.
-
setAdvertisedRoutePriority
public RouterBgpPeer.Builder setAdvertisedRoutePriority(int value)
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
public RouterBgpPeer.Builder 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:
hasBfd
in 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:
getBfd
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bfd.
-
setBfd
public RouterBgpPeer.Builder setBfd(RouterBgpPeerBfd value)
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
-
setBfd
public RouterBgpPeer.Builder setBfd(RouterBgpPeerBfd.Builder builderForValue)
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
-
mergeBfd
public RouterBgpPeer.Builder mergeBfd(RouterBgpPeerBfd value)
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
-
clearBfd
public RouterBgpPeer.Builder clearBfd()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
-
getBfdBuilder
public RouterBgpPeerBfd.Builder getBfdBuilder()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
-
getBfdOrBuilder
public RouterBgpPeerBfdOrBuilder getBfdOrBuilder()
BFD configuration for the BGP peering.
optional .google.cloud.compute.v1.RouterBgpPeerBfd bfd = 97440;
- Specified by:
getBfdOrBuilder
in 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:
getCustomLearnedIpRangesList
in 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:
getCustomLearnedIpRangesCount
in 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:
getCustomLearnedIpRanges
in 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
public RouterBgpPeer.Builder addCustomLearnedIpRanges(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(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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder removeCustomLearnedIpRanges(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;
-
getCustomLearnedIpRangesBuilder
public RouterBgpPeerCustomLearnedIpRange.Builder getCustomLearnedIpRangesBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
-
getCustomLearnedIpRangesOrBuilder
public RouterBgpPeerCustomLearnedIpRangeOrBuilder getCustomLearnedIpRangesOrBuilder(int index)
A list of user-defined custom learned route IP address ranges for a BGP session.
repeated .google.cloud.compute.v1.RouterBgpPeerCustomLearnedIpRange custom_learned_ip_ranges = 481363012;
- Specified by:
getCustomLearnedIpRangesOrBuilder
in 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:
getCustomLearnedIpRangesOrBuilderList
in interfaceRouterBgpPeerOrBuilder
-
addCustomLearnedIpRangesBuilder
public RouterBgpPeerCustomLearnedIpRange.Builder 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
public RouterBgpPeerCustomLearnedIpRange.Builder addCustomLearnedIpRangesBuilder(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;
-
getCustomLearnedIpRangesBuilderList
public List<RouterBgpPeerCustomLearnedIpRange.Builder> 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:
hasCustomLearnedRoutePriority
in 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:
getCustomLearnedRoutePriority
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The customLearnedRoutePriority.
-
setCustomLearnedRoutePriority
public RouterBgpPeer.Builder setCustomLearnedRoutePriority(int value)
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
public RouterBgpPeer.Builder 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:
hasEnable
in 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:
getEnable
in 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:
getEnableBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for enable.
-
setEnable
public RouterBgpPeer.Builder setEnable(String value)
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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder setEnableBytes(com.google.protobuf.ByteString value)
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.
-
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:
hasEnableIpv6
in 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:
getEnableIpv6
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The enableIpv6.
-
setEnableIpv6
public RouterBgpPeer.Builder setEnableIpv6(boolean value)
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;
- Parameters:
value
- The enableIpv6 to set.- Returns:
- This builder for chaining.
-
clearEnableIpv6
public RouterBgpPeer.Builder clearEnableIpv6()
Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default.
optional bool enable_ipv6 = 181467939;
- 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:
hasInterfaceName
in 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:
getInterfaceName
in 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:
getInterfaceNameBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for interfaceName.
-
setInterfaceName
public RouterBgpPeer.Builder setInterfaceName(String value)
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
public RouterBgpPeer.Builder clearInterfaceName()
Name of the interface the BGP peer is associated with.
optional string interface_name = 437854673;
- Returns:
- This builder for chaining.
-
setInterfaceNameBytes
public RouterBgpPeer.Builder setInterfaceNameBytes(com.google.protobuf.ByteString value)
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. Only IPv4 is supported.
optional string ip_address = 406272220;
- Specified by:
hasIpAddress
in 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:
getIpAddress
in 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:
getIpAddressBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for ipAddress.
-
setIpAddress
public RouterBgpPeer.Builder setIpAddress(String value)
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;
- Parameters:
value
- The ipAddress to set.- Returns:
- This builder for chaining.
-
clearIpAddress
public RouterBgpPeer.Builder clearIpAddress()
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;
- Returns:
- This builder for chaining.
-
setIpAddressBytes
public RouterBgpPeer.Builder setIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the interface inside Google Cloud Platform. Only IPv4 is supported.
optional string ip_address = 406272220;
- Parameters:
value
- The bytes for ipAddress 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:
hasIpv6NexthopAddress
in 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:
getIpv6NexthopAddress
in 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:
getIpv6NexthopAddressBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for ipv6NexthopAddress.
-
setIpv6NexthopAddress
public RouterBgpPeer.Builder setIpv6NexthopAddress(String value)
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
public RouterBgpPeer.Builder clearIpv6NexthopAddress()
IPv6 address of the interface inside Google Cloud Platform.
optional string ipv6_nexthop_address = 27968211;
- Returns:
- This builder for chaining.
-
setIpv6NexthopAddressBytes
public RouterBgpPeer.Builder setIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
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] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. Check the ManagementType enum for the list of possible values.
optional string management_type = 173703606;
- Specified by:
hasManagementType
in 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:
getManagementType
in 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:
getManagementTypeBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for managementType.
-
setManagementType
public RouterBgpPeer.Builder setManagementType(String value)
[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
public RouterBgpPeer.Builder clearManagementType()
[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
public RouterBgpPeer.Builder setManagementTypeBytes(com.google.protobuf.ByteString value)
[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:
hasMd5AuthenticationKeyName
in 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:
getMd5AuthenticationKeyName
in 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:
getMd5AuthenticationKeyNameBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for md5AuthenticationKeyName.
-
setMd5AuthenticationKeyName
public RouterBgpPeer.Builder setMd5AuthenticationKeyName(String value)
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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder setMd5AuthenticationKeyNameBytes(com.google.protobuf.ByteString value)
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 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:
hasName
in 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:
getName
in 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:
getNameBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for name.
-
setName
public RouterBgpPeer.Builder setName(String value)
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;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public RouterBgpPeer.Builder clearName()
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;
- Returns:
- This builder for chaining.
-
setNameBytes
public RouterBgpPeer.Builder setNameBytes(com.google.protobuf.ByteString value)
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;
- 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:
hasPeerAsn
in 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:
getPeerAsn
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The peerAsn.
-
setPeerAsn
public RouterBgpPeer.Builder setPeerAsn(int value)
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
public RouterBgpPeer.Builder 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. Only IPv4 is supported.
optional string peer_ip_address = 207735769;
- Specified by:
hasPeerIpAddress
in 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:
getPeerIpAddress
in 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:
getPeerIpAddressBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for peerIpAddress.
-
setPeerIpAddress
public RouterBgpPeer.Builder setPeerIpAddress(String value)
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;
- Parameters:
value
- The peerIpAddress to set.- Returns:
- This builder for chaining.
-
clearPeerIpAddress
public RouterBgpPeer.Builder clearPeerIpAddress()
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;
- Returns:
- This builder for chaining.
-
setPeerIpAddressBytes
public RouterBgpPeer.Builder setPeerIpAddressBytes(com.google.protobuf.ByteString value)
IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported.
optional string peer_ip_address = 207735769;
- Parameters:
value
- The bytes for peerIpAddress 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:
hasPeerIpv6NexthopAddress
in 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:
getPeerIpv6NexthopAddress
in 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:
getPeerIpv6NexthopAddressBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for peerIpv6NexthopAddress.
-
setPeerIpv6NexthopAddress
public RouterBgpPeer.Builder setPeerIpv6NexthopAddress(String value)
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
public RouterBgpPeer.Builder clearPeerIpv6NexthopAddress()
IPv6 address of the BGP interface outside Google Cloud Platform.
optional string peer_ipv6_nexthop_address = 491486608;
- Returns:
- This builder for chaining.
-
setPeerIpv6NexthopAddressBytes
public RouterBgpPeer.Builder setPeerIpv6NexthopAddressBytes(com.google.protobuf.ByteString value)
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:
hasRouterApplianceInstance
in 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:
getRouterApplianceInstance
in 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:
getRouterApplianceInstanceBytes
in interfaceRouterBgpPeerOrBuilder
- Returns:
- The bytes for routerApplianceInstance.
-
setRouterApplianceInstance
public RouterBgpPeer.Builder 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. 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
public RouterBgpPeer.Builder 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
public RouterBgpPeer.Builder 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. 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.
-
setUnknownFields
public final RouterBgpPeer.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
mergeUnknownFields
public final RouterBgpPeer.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeer.Builder>
-
-