Class RouterBgpPeerBfd.Builder

    • 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<RouterBgpPeerBfd.Builder>
      • clear

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • getDefaultInstanceForType

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

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

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

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • setField

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • clearField

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • clearOneof

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • setRepeatedField

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • addRepeatedField

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • mergeFrom

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
      • mergeFrom

        public RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
        Throws:
        IOException
      • hasMinReceiveInterval

        public boolean hasMinReceiveInterval()
         The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_receive_interval = 186981614;
        Specified by:
        hasMinReceiveInterval in interface RouterBgpPeerBfdOrBuilder
        Returns:
        Whether the minReceiveInterval field is set.
      • getMinReceiveInterval

        public int getMinReceiveInterval()
         The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_receive_interval = 186981614;
        Specified by:
        getMinReceiveInterval in interface RouterBgpPeerBfdOrBuilder
        Returns:
        The minReceiveInterval.
      • setMinReceiveInterval

        public RouterBgpPeerBfd.Builder setMinReceiveInterval​(int value)
         The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_receive_interval = 186981614;
        Parameters:
        value - The minReceiveInterval to set.
        Returns:
        This builder for chaining.
      • clearMinReceiveInterval

        public RouterBgpPeerBfd.Builder clearMinReceiveInterval()
         The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_receive_interval = 186981614;
        Returns:
        This builder for chaining.
      • hasMinTransmitInterval

        public boolean hasMinTransmitInterval()
         The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_transmit_interval = 523282631;
        Specified by:
        hasMinTransmitInterval in interface RouterBgpPeerBfdOrBuilder
        Returns:
        Whether the minTransmitInterval field is set.
      • getMinTransmitInterval

        public int getMinTransmitInterval()
         The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_transmit_interval = 523282631;
        Specified by:
        getMinTransmitInterval in interface RouterBgpPeerBfdOrBuilder
        Returns:
        The minTransmitInterval.
      • setMinTransmitInterval

        public RouterBgpPeerBfd.Builder setMinTransmitInterval​(int value)
         The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_transmit_interval = 523282631;
        Parameters:
        value - The minTransmitInterval to set.
        Returns:
        This builder for chaining.
      • clearMinTransmitInterval

        public RouterBgpPeerBfd.Builder clearMinTransmitInterval()
         The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000.
         
        optional uint32 min_transmit_interval = 523282631;
        Returns:
        This builder for chaining.
      • hasMultiplier

        public boolean hasMultiplier()
         The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.
         
        optional uint32 multiplier = 191331777;
        Specified by:
        hasMultiplier in interface RouterBgpPeerBfdOrBuilder
        Returns:
        Whether the multiplier field is set.
      • getMultiplier

        public int getMultiplier()
         The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.
         
        optional uint32 multiplier = 191331777;
        Specified by:
        getMultiplier in interface RouterBgpPeerBfdOrBuilder
        Returns:
        The multiplier.
      • setMultiplier

        public RouterBgpPeerBfd.Builder setMultiplier​(int value)
         The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.
         
        optional uint32 multiplier = 191331777;
        Parameters:
        value - The multiplier to set.
        Returns:
        This builder for chaining.
      • clearMultiplier

        public RouterBgpPeerBfd.Builder clearMultiplier()
         The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5.
         
        optional uint32 multiplier = 191331777;
        Returns:
        This builder for chaining.
      • hasSessionInitializationMode

        public boolean hasSessionInitializationMode()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Specified by:
        hasSessionInitializationMode in interface RouterBgpPeerBfdOrBuilder
        Returns:
        Whether the sessionInitializationMode field is set.
      • getSessionInitializationMode

        public String getSessionInitializationMode()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Specified by:
        getSessionInitializationMode in interface RouterBgpPeerBfdOrBuilder
        Returns:
        The sessionInitializationMode.
      • getSessionInitializationModeBytes

        public com.google.protobuf.ByteString getSessionInitializationModeBytes()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Specified by:
        getSessionInitializationModeBytes in interface RouterBgpPeerBfdOrBuilder
        Returns:
        The bytes for sessionInitializationMode.
      • setSessionInitializationMode

        public RouterBgpPeerBfd.Builder setSessionInitializationMode​(String value)
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Parameters:
        value - The sessionInitializationMode to set.
        Returns:
        This builder for chaining.
      • clearSessionInitializationMode

        public RouterBgpPeerBfd.Builder clearSessionInitializationMode()
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Returns:
        This builder for chaining.
      • setSessionInitializationModeBytes

        public RouterBgpPeerBfd.Builder setSessionInitializationModeBytes​(com.google.protobuf.ByteString value)
         The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED.
         Check the SessionInitializationMode enum for the list of possible values.
         
        optional string session_initialization_mode = 105957049;
        Parameters:
        value - The bytes for sessionInitializationMode to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>
      • mergeUnknownFields

        public final RouterBgpPeerBfd.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<RouterBgpPeerBfd.Builder>