Class 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 type google.cloud.compute.v1.RouterBgp
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • clear

        public RouterBgp.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • getDefaultInstanceForType

        public RouterBgp getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public RouterBgp build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public RouterBgp buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public RouterBgp.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • setField

        public RouterBgp.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                          Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • clearField

        public RouterBgp.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • clearOneof

        public RouterBgp.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • addRepeatedField

        public RouterBgp.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • mergeFrom

        public RouterBgp.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouterBgp.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
      • 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 interface RouterBgpOrBuilder
      • 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 interface RouterBgpOrBuilder
      • 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 interface RouterBgpOrBuilder
      • 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 interface RouterBgpOrBuilder
      • 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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface RouterBgpOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>
      • mergeUnknownFields

        public final RouterBgp.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgp.Builder>