public static final class RouterBgp.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder> implements RouterBgpOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgp| Modifier and Type | Method and 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.Builder builderForValue)
User-specified list of individual IP ranges 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(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.
|
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(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouterBgp.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouterBgp.Builder |
mergeFrom(RouterBgp 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.Builder builderForValue)
User-specified list of individual IP ranges 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 |
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) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouterBgp build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouterBgp buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouterBgp.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterBgp.Builder>public RouterBgp.Builder mergeFrom(RouterBgp other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public RouterBgp.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterBgp.Builder>IOExceptionpublic 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;hasAdvertiseMode in interface RouterBgpOrBuilderpublic 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;getAdvertiseMode in interface RouterBgpOrBuilderpublic 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;getAdvertiseModeBytes in interface RouterBgpOrBuilderpublic 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;value - The advertiseMode to set.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;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;value - The bytes for advertiseMode to set.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;getAdvertisedGroupsList in interface RouterBgpOrBuilderpublic 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;getAdvertisedGroupsCount in interface RouterBgpOrBuilderpublic 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;getAdvertisedGroups in interface RouterBgpOrBuilderindex - The index of the element to return.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;getAdvertisedGroupsBytes in interface RouterBgpOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The advertisedGroups to set.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;value - The advertisedGroups to add.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;values - The advertisedGroups to add.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;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;value - The bytes of the advertisedGroups to add.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;
getAdvertisedIpRangesList in interface RouterBgpOrBuilderpublic 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;
getAdvertisedIpRangesCount in interface RouterBgpOrBuilderpublic 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;
getAdvertisedIpRanges in interface RouterBgpOrBuilderpublic 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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
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;
getAdvertisedIpRangesOrBuilder in interface RouterBgpOrBuilderpublic 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;
getAdvertisedIpRangesOrBuilderList in interface RouterBgpOrBuilderpublic 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;
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;
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;
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;hasAsn in interface RouterBgpOrBuilderpublic 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;getAsn in interface RouterBgpOrBuilderpublic 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;value - The asn to set.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;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;hasKeepaliveInterval in interface RouterBgpOrBuilderpublic 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;getKeepaliveInterval in interface RouterBgpOrBuilderpublic 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;value - The keepaliveInterval to set.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;public final RouterBgp.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>public final RouterBgp.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>Copyright © 2023 Google LLC. All rights reserved.