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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouterBgp.Builder> implements RouterBgpOrBuilder
Protobuf typegoogle.cloud.compute.v1.RouterBgp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterBgp.BuilderaddAdvertisedGroups(String value)User-specified list of prefix groups to advertise in custom mode.RouterBgp.BuilderaddAdvertisedGroupsBytes(com.google.protobuf.ByteString value)User-specified list of prefix groups to advertise in custom mode.RouterBgp.BuilderaddAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderaddAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderaddAdvertisedIpRanges(RouterAdvertisedIpRange value)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderaddAdvertisedIpRanges(RouterAdvertisedIpRange.Builder builderForValue)User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.BuilderaddAdvertisedIpRangesBuilder()User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.BuilderaddAdvertisedIpRangesBuilder(int index)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderaddAllAdvertisedGroups(Iterable<String> values)User-specified list of prefix groups to advertise in custom mode.RouterBgp.BuilderaddAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterBgpbuild()RouterBgpbuildPartial()RouterBgp.Builderclear()RouterBgp.BuilderclearAdvertisedGroups()User-specified list of prefix groups to advertise in custom mode.RouterBgp.BuilderclearAdvertisedIpRanges()User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuilderclearAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.RouterBgp.BuilderclearAsn()Local BGP Autonomous System Number (ASN).RouterBgp.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouterBgp.BuilderclearKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer.RouterBgp.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouterBgp.Builderclone()StringgetAdvertisedGroups(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.intgetAdvertisedGroupsCount()User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ProtocolStringListgetAdvertisedGroupsList()User-specified list of prefix groups to advertise in custom mode.RouterAdvertisedIpRangegetAdvertisedIpRanges(int index)User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRange.BuildergetAdvertisedIpRangesBuilder(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.intgetAdvertisedIpRangesCount()User-specified list of individual IP ranges to advertise in custom mode.List<RouterAdvertisedIpRange>getAdvertisedIpRangesList()User-specified list of individual IP ranges to advertise in custom mode.RouterAdvertisedIpRangeOrBuildergetAdvertisedIpRangesOrBuilder(int index)User-specified list of individual IP ranges to advertise in custom mode.List<? extends RouterAdvertisedIpRangeOrBuilder>getAdvertisedIpRangesOrBuilderList()User-specified list of individual IP ranges to advertise in custom mode.StringgetAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.com.google.protobuf.ByteStringgetAdvertiseModeBytes()User-specified flag to indicate which mode to use for advertisement.intgetAsn()Local BGP Autonomous System Number (ASN).RouterBgpgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer.booleanhasAdvertiseMode()User-specified flag to indicate which mode to use for advertisement.booleanhasAsn()Local BGP Autonomous System Number (ASN).booleanhasKeepaliveInterval()The interval in seconds between BGP keepalive messages that are sent to the peer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouterBgp.BuildermergeFrom(RouterBgp other)RouterBgp.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouterBgp.BuildermergeFrom(com.google.protobuf.Message other)RouterBgp.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterBgp.BuilderremoveAdvertisedIpRanges(int index)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuildersetAdvertisedGroups(int index, String value)User-specified list of prefix groups to advertise in custom mode.RouterBgp.BuildersetAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuildersetAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.BuildersetAdvertiseMode(String value)User-specified flag to indicate which mode to use for advertisement.RouterBgp.BuildersetAdvertiseModeBytes(com.google.protobuf.ByteString value)User-specified flag to indicate which mode to use for advertisement.RouterBgp.BuildersetAsn(int value)Local BGP Autonomous System Number (ASN).RouterBgp.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterBgp.BuildersetKeepaliveInterval(int value)The interval in seconds between BGP keepalive messages that are sent to the peer.RouterBgp.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouterBgp.BuildersetUnknownFields(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
clear
public RouterBgp.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
getDefaultInstanceForType
public RouterBgp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterBgp build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterBgp buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterBgp.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
setField
public RouterBgp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
clearField
public RouterBgp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
clearOneof
public RouterBgp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
setRepeatedField
public RouterBgp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
addRepeatedField
public RouterBgp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
mergeFrom
public RouterBgp.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgp.Builder>
-
mergeFrom
public RouterBgp.Builder mergeFrom(RouterBgp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
public String 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
public RouterBgp.Builder setAdvertiseMode(String value)
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
public RouterBgp.Builder 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
public RouterBgp.Builder setAdvertiseModeBytes(com.google.protobuf.ByteString value)
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
public String getAdvertisedGroups(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:
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
public RouterBgp.Builder setAdvertisedGroups(int index, String value)
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
public RouterBgp.Builder addAdvertisedGroups(String value)
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
public RouterBgp.Builder addAllAdvertisedGroups(Iterable<String> values)
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
public RouterBgp.Builder 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
public RouterBgp.Builder addAdvertisedGroupsBytes(com.google.protobuf.ByteString value)
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
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 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
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 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
public RouterBgp.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 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
public RouterBgp.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 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 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 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(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
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
public RouterBgp.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 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
public RouterBgp.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 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
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 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
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 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
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 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
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 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
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 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
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 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 an RFC6996 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 an RFC6996 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
public RouterBgp.Builder setAsn(int value)
Local BGP Autonomous System Number (ASN). Must be an RFC6996 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
public RouterBgp.Builder clearAsn()
Local BGP Autonomous System Number (ASN). Must be an RFC6996 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.
-
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
public RouterBgp.Builder setKeepaliveInterval(int value)
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
public RouterBgp.Builder 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.
-
setUnknownFields
public final RouterBgp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
mergeUnknownFields
public final RouterBgp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
-