Class RouterBgpPeerBfd (1.14.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
TypeDescription
int

MIN_TRANSMIT_INTERVAL_FIELD_NUMBER

public static final int MIN_TRANSMIT_INTERVAL_FIELD_NUMBER
Field Value
TypeDescription
int

MULTIPLIER_FIELD_NUMBER

public static final int MULTIPLIER_FIELD_NUMBER
Field Value
TypeDescription
int

SESSION_INITIALIZATION_MODE_FIELD_NUMBER

public static final int SESSION_INITIALIZATION_MODE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RouterBgpPeerBfd getDefaultInstance()
Returns
TypeDescription
RouterBgpPeerBfd

getDescriptor()

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

newBuilder()

public static RouterBgpPeerBfd.Builder newBuilder()
Returns
TypeDescription
RouterBgpPeerBfd.Builder

newBuilder(RouterBgpPeerBfd prototype)

public static RouterBgpPeerBfd.Builder newBuilder(RouterBgpPeerBfd prototype)
Parameter
NameDescription
prototypeRouterBgpPeerBfd
Returns
TypeDescription
RouterBgpPeerBfd.Builder

parseDelimitedFrom(InputStream input)

public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RouterBgpPeerBfd parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RouterBgpPeerBfd parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RouterBgpPeerBfd parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RouterBgpPeerBfd parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RouterBgpPeerBfd parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RouterBgpPeerBfd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RouterBgpPeerBfd
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RouterBgpPeerBfd> parser()
Returns
TypeDescription
Parser<RouterBgpPeerBfd>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RouterBgpPeerBfd getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<RouterBgpPeerBfd> getParserForType()
Returns
TypeDescription
Parser<RouterBgpPeerBfd>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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 DISABLED. Check the SessionInitializationMode enum for the list of possible values.

optional string session_initialization_mode = 105957049;

Returns
TypeDescription
ByteString

The bytes for sessionInitializationMode.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 DISABLED. 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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RouterBgpPeerBfd.Builder newBuilderForType()
Returns
TypeDescription
RouterBgpPeerBfd.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RouterBgpPeerBfd.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RouterBgpPeerBfd.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RouterBgpPeerBfd.Builder toBuilder()
Returns
TypeDescription
RouterBgpPeerBfd.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException