public final class RouterBgpPeerBfd extends GeneratedMessageV3 implements RouterBgpPeerBfdOrBuilder
Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd
Fields
MIN_RECEIVE_INTERVAL_FIELD_NUMBER
public static final int MIN_RECEIVE_INTERVAL_FIELD_NUMBER
Field Value
MIN_TRANSMIT_INTERVAL_FIELD_NUMBER
public static final int MIN_TRANSMIT_INTERVAL_FIELD_NUMBER
Field Value
MULTIPLIER_FIELD_NUMBER
public static final int MULTIPLIER_FIELD_NUMBER
Field Value
SESSION_INITIALIZATION_MODE_FIELD_NUMBER
public static final int SESSION_INITIALIZATION_MODE_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static RouterBgpPeerBfd getDefaultInstance()
Returns
getDefaultInstanceForType()
public RouterBgpPeerBfd getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
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 PASSIVE.
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 PASSIVE.
Check the SessionInitializationMode enum for the list of possible values.
optional string session_initialization_mode = 105957049;
Returns
Type | Description |
ByteString | The bytes for sessionInitializationMode.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
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 PASSIVE.
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()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static RouterBgpPeerBfd.Builder newBuilder()
Returns
newBuilder(RouterBgpPeerBfd prototype)
public static RouterBgpPeerBfd.Builder newBuilder(RouterBgpPeerBfd prototype)
Parameter
Returns
newBuilderForType()
public RouterBgpPeerBfd.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RouterBgpPeerBfd.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterBgpPeerBfd parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static RouterBgpPeerBfd parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RouterBgpPeerBfd parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static RouterBgpPeerBfd parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RouterBgpPeerBfd parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterBgpPeerBfd parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RouterBgpPeerBfd parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RouterBgpPeerBfd parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RouterBgpPeerBfd parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static RouterBgpPeerBfd parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RouterBgpPeerBfd parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<RouterBgpPeerBfd> parser()
Returns
toBuilder()
public RouterBgpPeerBfd.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions