Class RouterBgpPeerBfd.Builder (1.6.0-beta)

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

Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerBfd.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

build()

public RouterBgpPeerBfd build()
Returns
TypeDescription
RouterBgpPeerBfd

buildPartial()

public RouterBgpPeerBfd buildPartial()
Returns
TypeDescription
RouterBgpPeerBfd

clear()

public RouterBgpPeerBfd.Builder clear()
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RouterBgpPeerBfd.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RouterBgpPeerBfd.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RouterBgpPeerBfd.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Returns
TypeDescription
RouterBgpPeerBfd.Builder

This builder for chaining.

clone()

public RouterBgpPeerBfd.Builder clone()
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

getDefaultInstanceForType()

public RouterBgpPeerBfd getDefaultInstanceForType()
Returns
TypeDescription
RouterBgpPeerBfd

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Returns
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Returns
TypeDescription
boolean

Whether the sessionInitializationMode field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RouterBgpPeerBfd other)

public RouterBgpPeerBfd.Builder mergeFrom(RouterBgpPeerBfd other)
Parameter
NameDescription
otherRouterBgpPeerBfd
Returns
TypeDescription
RouterBgpPeerBfd.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RouterBgpPeerBfd.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RouterBgpPeerBfd.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerBfd.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RouterBgpPeerBfd.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueint

The minReceiveInterval to set.

Returns
TypeDescription
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
NameDescription
valueint

The minTransmitInterval to set.

Returns
TypeDescription
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
NameDescription
valueint

The multiplier to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Parameter
NameDescription
valueString

The sessionInitializationMode to set.

Returns
TypeDescription
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 PASSIVE. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Parameter
NameDescription
valueByteString

The bytes for sessionInitializationMode to set.

Returns
TypeDescription
RouterBgpPeerBfd.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RouterBgpPeerBfd.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides