Package com.google.cloud.compute.v1
Class RouterBgpPeerBfd.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
com.google.cloud.compute.v1.RouterBgpPeerBfd.Builder
- All Implemented Interfaces:
RouterBgpPeerBfdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouterBgpPeerBfd
public static final class RouterBgpPeerBfd.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
implements RouterBgpPeerBfdOrBuilder
Protobuf type
google.cloud.compute.v1.RouterBgpPeerBfd-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The minimum interval, in milliseconds, between BFD control packets received from the peer router.The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.The BFD session initialization mode for this BGP peer.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintThe minimum interval, in milliseconds, between BFD control packets received from the peer router.intThe minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.intThe number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.The BFD session initialization mode for this BGP peer.com.google.protobuf.ByteStringThe BFD session initialization mode for this BGP peer.booleanThe minimum interval, in milliseconds, between BFD control packets received from the peer router.booleanThe minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.booleanThe number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.booleanThe BFD session initialization mode for this BGP peer.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RouterBgpPeerBfd other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setMinReceiveInterval(int value) The minimum interval, in milliseconds, between BFD control packets received from the peer router.setMinTransmitInterval(int value) The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.setMultiplier(int value) The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.The BFD session initialization mode for this BGP peer.setSessionInitializationModeBytes(com.google.protobuf.ByteString value) The BFD session initialization mode for this BGP peer.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
public RouterBgpPeerBfd.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeerBfd.Builder>- Throws:
IOException
-
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;- Specified by:
hasMinReceiveIntervalin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- Whether the minReceiveInterval field is set.
-
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;- Specified by:
getMinReceiveIntervalin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- The minReceiveInterval.
-
setMinReceiveInterval
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;- Parameters:
value- The minReceiveInterval to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasMinTransmitIntervalin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- Whether the minTransmitInterval field is set.
-
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;- Specified by:
getMinTransmitIntervalin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- The minTransmitInterval.
-
setMinTransmitInterval
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;- Parameters:
value- The minTransmitInterval to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasMultiplierin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- Whether the multiplier field is set.
-
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;- Specified by:
getMultiplierin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- The multiplier.
-
setMultiplier
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;- Parameters:
value- The multiplier to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;- Specified by:
hasSessionInitializationModein interfaceRouterBgpPeerBfdOrBuilder- Returns:
- Whether the sessionInitializationMode field is set.
-
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;- Specified by:
getSessionInitializationModein interfaceRouterBgpPeerBfdOrBuilder- Returns:
- The sessionInitializationMode.
-
getSessionInitializationModeBytes
public com.google.protobuf.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;- Specified by:
getSessionInitializationModeBytesin interfaceRouterBgpPeerBfdOrBuilder- Returns:
- The bytes for sessionInitializationMode.
-
setSessionInitializationMode
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;- Parameters:
value- The sessionInitializationMode to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setSessionInitializationModeBytes
public RouterBgpPeerBfd.Builder setSessionInitializationModeBytes(com.google.protobuf.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;- Parameters:
value- The bytes for sessionInitializationMode to set.- Returns:
- This builder for chaining.
-