Class RouterBgpPeerBfd (1.64.0)

public final class RouterBgpPeerBfd extends GeneratedMessageV3 implements RouterBgpPeerBfdOrBuilder

Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd

Static Fields

MIN_RECEIVE_INTERVAL_FIELD_NUMBER

public static final int MIN_RECEIVE_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

MIN_TRANSMIT_INTERVAL_FIELD_NUMBER

public static final int MIN_TRANSMIT_INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

MULTIPLIER_FIELD_NUMBER

public static final int MULTIPLIER_FIELD_NUMBER
Field Value
Type Description
int

SESSION_INITIALIZATION_MODE_FIELD_NUMBER

public static final int SESSION_INITIALIZATION_MODE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RouterBgpPeerBfd getDefaultInstance()
Returns
Type Description
RouterBgpPeerBfd

getDescriptor()

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

newBuilder()

public static RouterBgpPeerBfd.Builder newBuilder()
Returns
Type Description
RouterBgpPeerBfd.Builder

newBuilder(RouterBgpPeerBfd prototype)

public static RouterBgpPeerBfd.Builder newBuilder(RouterBgpPeerBfd prototype)
Parameter
Name Description
prototype RouterBgpPeerBfd
Returns
Type Description
RouterBgpPeerBfd.Builder

parseDelimitedFrom(InputStream input)

public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RouterBgpPeerBfd parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterBgpPeerBfd parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterBgpPeerBfd parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RouterBgpPeerBfd parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RouterBgpPeerBfd parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RouterBgpPeerBfd
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RouterBgpPeerBfd> parser()
Returns
Type Description
Parser<RouterBgpPeerBfd>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RouterBgpPeerBfd getDefaultInstanceForType()
Returns
Type Description
RouterBgpPeerBfd

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.

getParserForType()

public Parser<RouterBgpPeerBfd> getParserForType()
Returns
Type Description
Parser<RouterBgpPeerBfd>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RouterBgpPeerBfd.Builder newBuilderForType()
Returns
Type Description
RouterBgpPeerBfd.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterBgpPeerBfd.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RouterBgpPeerBfd.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RouterBgpPeerBfd.Builder toBuilder()
Returns
Type Description
RouterBgpPeerBfd.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException