Class RouterBgpPeerBfd.Builder (1.64.0)

public static final class RouterBgpPeerBfd.Builder extends GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder> implements RouterBgpPeerBfdOrBuilder

Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerBfd.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

build()

public RouterBgpPeerBfd build()
Returns
Type Description
RouterBgpPeerBfd

buildPartial()

public RouterBgpPeerBfd buildPartial()
Returns
Type Description
RouterBgpPeerBfd

clear()

public RouterBgpPeerBfd.Builder clear()
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RouterBgpPeerBfd.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

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
Type Description
RouterBgpPeerBfd.Builder

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
Type Description
RouterBgpPeerBfd.Builder

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
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterBgpPeerBfd.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

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
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

clone()

public RouterBgpPeerBfd.Builder clone()
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

getDefaultInstanceForType()

public RouterBgpPeerBfd getDefaultInstanceForType()
Returns
Type Description
RouterBgpPeerBfd

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
int

The minReceiveInterval.

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;

Returns
Type Description
int

The minTransmitInterval.

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;

Returns
Type Description
int

The multiplier.

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;

Returns
Type Description
String

The sessionInitializationMode.

getSessionInitializationModeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for sessionInitializationMode.

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;

Returns
Type Description
boolean

Whether the minReceiveInterval field is set.

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;

Returns
Type Description
boolean

Whether the minTransmitInterval field is set.

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;

Returns
Type Description
boolean

Whether the multiplier field is set.

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;

Returns
Type Description
boolean

Whether the sessionInitializationMode field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RouterBgpPeerBfd other)

public RouterBgpPeerBfd.Builder mergeFrom(RouterBgpPeerBfd other)
Parameter
Name Description
other RouterBgpPeerBfd
Returns
Type Description
RouterBgpPeerBfd.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterBgpPeerBfd.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RouterBgpPeerBfd.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerBfd.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerBfd.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

setMinReceiveInterval(int value)

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;

Parameter
Name Description
value int

The minReceiveInterval to set.

Returns
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

setMinTransmitInterval(int value)

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;

Parameter
Name Description
value int

The minTransmitInterval to set.

Returns
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

setMultiplier(int value)

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;

Parameter
Name Description
value int

The multiplier to set.

Returns
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RouterBgpPeerBfd.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

setSessionInitializationMode(String value)

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;

Parameter
Name Description
value String

The sessionInitializationMode to set.

Returns
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

setSessionInitializationModeBytes(ByteString value)

public RouterBgpPeerBfd.Builder setSessionInitializationModeBytes(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;

Parameter
Name Description
value ByteString

The bytes for sessionInitializationMode to set.

Returns
Type Description
RouterBgpPeerBfd.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerBfd.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides