Package com.google.cloud.compute.v1
Class RouterBgp.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouterBgp.Builder>
com.google.cloud.compute.v1.RouterBgp.Builder
- All Implemented Interfaces:
RouterBgpOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterBgp
public static final class RouterBgp.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouterBgp.Builder>
implements RouterBgpOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgp-
Method Summary
Modifier and TypeMethodDescriptionaddAdvertisedGroups(String value) User-specified list of prefix groups to advertise in custom mode.addAdvertisedGroupsBytes(com.google.protobuf.ByteString value) User-specified list of prefix groups to advertise in custom mode.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.addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values) User-specified list of individual IP ranges to advertise in custom mode.build()clear()User-specified list of prefix groups to advertise in custom mode.User-specified list of individual IP ranges to advertise in custom mode.User-specified flag to indicate which mode to use for advertisement.clearAsn()Local BGP Autonomous System Number (ASN).Explicitly specifies a range of valid BGP Identifiers for this Router.The interval in seconds between BGP keepalive messages that are sent to the peer.getAdvertisedGroups(int index) User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ByteStringgetAdvertisedGroupsBytes(int index) User-specified list of prefix groups to advertise in custom mode.intUser-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ProtocolStringListUser-specified list of prefix groups to advertise in custom mode.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.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.intgetAsn()Local BGP Autonomous System Number (ASN).static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorExplicitly specifies a range of valid BGP Identifiers for this Router.com.google.protobuf.ByteStringExplicitly specifies a range of valid BGP Identifiers for this Router.intThe interval in seconds between BGP keepalive messages that are sent to the peer.booleanUser-specified flag to indicate which mode to use for advertisement.booleanhasAsn()Local BGP Autonomous System Number (ASN).booleanExplicitly specifies a range of valid BGP Identifiers for this Router.booleanThe interval in seconds between BGP keepalive messages that are sent to the peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(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.setAdvertisedGroups(int index, String value) User-specified list of prefix groups to advertise in custom mode.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.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.setAsn(int value) Local BGP Autonomous System Number (ASN).setIdentifierRange(String value) Explicitly specifies a range of valid BGP Identifiers for this Router.setIdentifierRangeBytes(com.google.protobuf.ByteString value) Explicitly specifies a range of valid BGP Identifiers for this Router.setKeepaliveInterval(int value) The interval in seconds between BGP keepalive messages that are sent to the peer.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<RouterBgp.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<RouterBgp.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<RouterBgp.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<RouterBgp.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouterBgp.Builder>
-
mergeFrom
public RouterBgp.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<RouterBgp.Builder>- Throws:
IOException
-
hasAdvertiseMode
public boolean hasAdvertiseMode()User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
hasAdvertiseModein interfaceRouterBgpOrBuilder- Returns:
- Whether the advertiseMode field is set.
-
getAdvertiseMode
User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
getAdvertiseModein interfaceRouterBgpOrBuilder- Returns:
- The advertiseMode.
-
getAdvertiseModeBytes
public com.google.protobuf.ByteString getAdvertiseModeBytes()User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. Check the AdvertiseMode enum for the list of possible values.
optional string advertise_mode = 312134331;- Specified by:
getAdvertiseModeBytesin interfaceRouterBgpOrBuilder- Returns:
- The bytes for advertiseMode.
-
setAdvertiseMode
User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. 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. The options are DEFAULT or CUSTOM. 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. The options are DEFAULT or CUSTOM. 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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 interfaceRouterBgpOrBuilder- Returns:
- A list containing the advertisedGroups.
-
getAdvertisedGroupsCount
public int getAdvertisedGroupsCount()User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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 interfaceRouterBgpOrBuilder- Returns:
- The count of advertisedGroups.
-
getAdvertisedGroups
User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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 interfaceRouterBgpOrBuilder- 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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 interfaceRouterBgpOrBuilder- 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be 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 is advertised to all peers of the router. These IP ranges will be 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 interfaceRouterBgpOrBuilder
-
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 is advertised to all peers of the router. These IP ranges will be 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 interfaceRouterBgpOrBuilder
-
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 is advertised to all peers of the router. These IP ranges will be 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 interfaceRouterBgpOrBuilder
-
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 is advertised to all peers of the router. These IP ranges will be 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 RouterBgp.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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 RouterBgp.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 is advertised to all peers of the router. These IP ranges will be 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 RouterBgp.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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 interfaceRouterBgpOrBuilder
-
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 is advertised to all peers of the router. These IP ranges will be 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 interfaceRouterBgpOrBuilder
-
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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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 is advertised to all peers of the router. These IP ranges will be 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; -
hasAsn
public boolean hasAsn()Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Specified by:
hasAsnin interfaceRouterBgpOrBuilder- Returns:
- Whether the asn field is set.
-
getAsn
public int getAsn()Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Specified by:
getAsnin interfaceRouterBgpOrBuilder- Returns:
- The asn.
-
setAsn
Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Parameters:
value- The asn to set.- Returns:
- This builder for chaining.
-
clearAsn
Local BGP Autonomous System Number (ASN). Must be anRFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN.
optional uint32 asn = 96892;- Returns:
- This builder for chaining.
-
hasIdentifierRange
public boolean hasIdentifierRange()Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
hasIdentifierRangein interfaceRouterBgpOrBuilder- Returns:
- Whether the identifierRange field is set.
-
getIdentifierRange
Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
getIdentifierRangein interfaceRouterBgpOrBuilder- Returns:
- The identifierRange.
-
getIdentifierRangeBytes
public com.google.protobuf.ByteString getIdentifierRangeBytes()Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Specified by:
getIdentifierRangeBytesin interfaceRouterBgpOrBuilder- Returns:
- The bytes for identifierRange.
-
setIdentifierRange
Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Parameters:
value- The identifierRange to set.- Returns:
- This builder for chaining.
-
clearIdentifierRange
Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Returns:
- This builder for chaining.
-
setIdentifierRangeBytes
Explicitly specifies a range of valid BGP Identifiers for this Router. It is provided as a link-local IPv4 range (from 169.254.0.0/16), of size at least /30, even if the BGP sessions are over IPv6. It must not overlap with any IPv4 BGP session ranges. Other vendors commonly call this "router ID".
optional string identifier_range = 501573159;- Parameters:
value- The bytes for identifierRange to set.- Returns:
- This builder for chaining.
-
hasKeepaliveInterval
public boolean hasKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Specified by:
hasKeepaliveIntervalin interfaceRouterBgpOrBuilder- Returns:
- Whether the keepaliveInterval field is set.
-
getKeepaliveInterval
public int getKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Specified by:
getKeepaliveIntervalin interfaceRouterBgpOrBuilder- Returns:
- The keepaliveInterval.
-
setKeepaliveInterval
The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Parameters:
value- The keepaliveInterval to set.- Returns:
- This builder for chaining.
-
clearKeepaliveInterval
The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20.
optional uint32 keepalive_interval = 276771516;- Returns:
- This builder for chaining.
-