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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder> implements RouterBgpPeerBfdOrBuilder
Protobuf typegoogle.cloud.compute.v1.RouterBgpPeerBfd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterBgpPeerBfd.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterBgpPeerBfdbuild()RouterBgpPeerBfdbuildPartial()RouterBgpPeerBfd.Builderclear()RouterBgpPeerBfd.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)RouterBgpPeerBfd.BuilderclearMinReceiveInterval()The minimum interval, in milliseconds, between BFD control packets received from the peer router.RouterBgpPeerBfd.BuilderclearMinTransmitInterval()The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.RouterBgpPeerBfd.BuilderclearMultiplier()The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.RouterBgpPeerBfd.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)RouterBgpPeerBfd.BuilderclearSessionInitializationMode()The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.Builderclone()RouterBgpPeerBfdgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetMinReceiveInterval()The minimum interval, in milliseconds, between BFD control packets received from the peer router.intgetMinTransmitInterval()The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.intgetMultiplier()The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.StringgetSessionInitializationMode()The BFD session initialization mode for this BGP peer.com.google.protobuf.ByteStringgetSessionInitializationModeBytes()The BFD session initialization mode for this BGP peer.booleanhasMinReceiveInterval()The minimum interval, in milliseconds, between BFD control packets received from the peer router.booleanhasMinTransmitInterval()The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.booleanhasMultiplier()The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.booleanhasSessionInitializationMode()The BFD session initialization mode for this BGP peer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()RouterBgpPeerBfd.BuildermergeFrom(RouterBgpPeerBfd other)RouterBgpPeerBfd.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)RouterBgpPeerBfd.BuildermergeFrom(com.google.protobuf.Message other)RouterBgpPeerBfd.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)RouterBgpPeerBfd.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)RouterBgpPeerBfd.BuildersetMinReceiveInterval(int value)The minimum interval, in milliseconds, between BFD control packets received from the peer router.RouterBgpPeerBfd.BuildersetMinTransmitInterval(int value)The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.RouterBgpPeerBfd.BuildersetMultiplier(int value)The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.RouterBgpPeerBfd.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)RouterBgpPeerBfd.BuildersetSessionInitializationMode(String value)The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.BuildersetSessionInitializationModeBytes(com.google.protobuf.ByteString value)The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clear
public RouterBgpPeerBfd.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
getDefaultInstanceForType
public RouterBgpPeerBfd getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterBgpPeerBfd build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterBgpPeerBfd buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterBgpPeerBfd.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
setField
public RouterBgpPeerBfd.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clearField
public RouterBgpPeerBfd.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clearOneof
public RouterBgpPeerBfd.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
setRepeatedField
public RouterBgpPeerBfd.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
addRepeatedField
public RouterBgpPeerBfd.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
public RouterBgpPeerBfd.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
public RouterBgpPeerBfd.Builder mergeFrom(RouterBgpPeerBfd other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.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
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;- Parameters:
value- The minReceiveInterval to set.- Returns:
- This builder for chaining.
-
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:
- 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
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;- Parameters:
value- The minTransmitInterval to set.- Returns:
- 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:
- 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
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;- Parameters:
value- The multiplier to set.- Returns:
- 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:
- 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
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;- 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
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 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
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 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.
-
setUnknownFields
public final RouterBgpPeerBfd.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
mergeUnknownFields
public final RouterBgpPeerBfd.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
-