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
google.cloud.compute.v1.RouterBgp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterBgp.Builder
addAdvertisedGroups(String value)
User-specified list of prefix groups to advertise in custom mode.RouterBgp.Builder
addAdvertisedGroupsBytes(com.google.protobuf.ByteString value)
User-specified list of prefix groups to advertise in custom mode.RouterBgp.Builder
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
addAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
addAdvertisedIpRanges(RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.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.RouterBgp.Builder
addAllAdvertisedGroups(Iterable<String> values)
User-specified list of prefix groups to advertise in custom mode.RouterBgp.Builder
addAllAdvertisedIpRanges(Iterable<? extends RouterAdvertisedIpRange> values)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgp
build()
RouterBgp
buildPartial()
RouterBgp.Builder
clear()
RouterBgp.Builder
clearAdvertisedGroups()
User-specified list of prefix groups to advertise in custom mode.RouterBgp.Builder
clearAdvertisedIpRanges()
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
clearAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.RouterBgp.Builder
clearAsn()
Local BGP Autonomous System Number (ASN).RouterBgp.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouterBgp.Builder
clearKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.RouterBgp.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouterBgp.Builder
clone()
String
getAdvertisedGroups(int index)
User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ByteString
getAdvertisedGroupsBytes(int index)
User-specified list of prefix groups to advertise in custom mode.int
getAdvertisedGroupsCount()
User-specified list of prefix groups to advertise in custom mode.com.google.protobuf.ProtocolStringList
getAdvertisedGroupsList()
User-specified list of prefix groups to advertise in custom mode.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.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.int
getAsn()
Local BGP Autonomous System Number (ASN).RouterBgp
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.boolean
hasAdvertiseMode()
User-specified flag to indicate which mode to use for advertisement.boolean
hasAsn()
Local BGP Autonomous System Number (ASN).boolean
hasKeepaliveInterval()
The interval in seconds between BGP keepalive messages that are sent to the peer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouterBgp.Builder
mergeFrom(RouterBgp other)
RouterBgp.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouterBgp.Builder
mergeFrom(com.google.protobuf.Message other)
RouterBgp.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterBgp.Builder
removeAdvertisedIpRanges(int index)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
setAdvertisedGroups(int index, String value)
User-specified list of prefix groups to advertise in custom mode.RouterBgp.Builder
setAdvertisedIpRanges(int index, RouterAdvertisedIpRange value)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
setAdvertisedIpRanges(int index, RouterAdvertisedIpRange.Builder builderForValue)
User-specified list of individual IP ranges to advertise in custom mode.RouterBgp.Builder
setAdvertiseMode(String value)
User-specified flag to indicate which mode to use for advertisement.RouterBgp.Builder
setAdvertiseModeBytes(com.google.protobuf.ByteString value)
User-specified flag to indicate which mode to use for advertisement.RouterBgp.Builder
setAsn(int value)
Local BGP Autonomous System Number (ASN).RouterBgp.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgp.Builder
setKeepaliveInterval(int value)
The interval in seconds between BGP keepalive messages that are sent to the peer.RouterBgp.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RouterBgp.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<RouterBgp.Builder>
-
clear
public RouterBgp.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<RouterBgp.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<RouterBgp.Builder>
-
getDefaultInstanceForType
public RouterBgp getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterBgp build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterBgp buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterBgp.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<RouterBgp.Builder>
-
setField
public RouterBgp.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<RouterBgp.Builder>
-
clearField
public RouterBgp.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<RouterBgp.Builder>
-
clearOneof
public RouterBgp.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<RouterBgp.Builder>
-
setRepeatedField
public RouterBgp.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<RouterBgp.Builder>
-
addRepeatedField
public RouterBgp.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<RouterBgp.Builder>
-
mergeFrom
public RouterBgp.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterBgp.Builder>
-
mergeFrom
public RouterBgp.Builder mergeFrom(RouterBgp other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasAdvertiseMode
in 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:
getAdvertiseMode
in 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:
getAdvertiseModeBytes
in 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:
getAdvertisedGroupsList
in 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:
getAdvertisedGroupsCount
in 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:
getAdvertisedGroups
in 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:
getAdvertisedGroupsBytes
in 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:
getAdvertisedIpRangesList
in 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:
getAdvertisedIpRangesCount
in 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:
getAdvertisedIpRanges
in 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:
getAdvertisedIpRangesOrBuilder
in 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:
getAdvertisedIpRangesOrBuilderList
in 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:
hasAsn
in 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:
getAsn
in 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:
hasKeepaliveInterval
in 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:
getKeepaliveInterval
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
mergeUnknownFields
public final RouterBgp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
-
-