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
google.cloud.compute.v1.RouterBgpPeerBfd
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouterBgpPeerBfd.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgpPeerBfd
build()
RouterBgpPeerBfd
buildPartial()
RouterBgpPeerBfd.Builder
clear()
RouterBgpPeerBfd.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouterBgpPeerBfd.Builder
clearMinReceiveInterval()
The minimum interval, in milliseconds, between BFD control packets received from the peer router.RouterBgpPeerBfd.Builder
clearMinTransmitInterval()
The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.RouterBgpPeerBfd.Builder
clearMultiplier()
The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.RouterBgpPeerBfd.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouterBgpPeerBfd.Builder
clearSessionInitializationMode()
The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.Builder
clone()
RouterBgpPeerBfd
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getMinReceiveInterval()
The minimum interval, in milliseconds, between BFD control packets received from the peer router.int
getMinTransmitInterval()
The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.int
getMultiplier()
The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.String
getSessionInitializationMode()
The BFD session initialization mode for this BGP peer.com.google.protobuf.ByteString
getSessionInitializationModeBytes()
The BFD session initialization mode for this BGP peer.boolean
hasMinReceiveInterval()
The minimum interval, in milliseconds, between BFD control packets received from the peer router.boolean
hasMinTransmitInterval()
The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.boolean
hasMultiplier()
The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.boolean
hasSessionInitializationMode()
The BFD session initialization mode for this BGP peer.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouterBgpPeerBfd.Builder
mergeFrom(RouterBgpPeerBfd other)
RouterBgpPeerBfd.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
RouterBgpPeerBfd.Builder
mergeFrom(com.google.protobuf.Message other)
RouterBgpPeerBfd.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouterBgpPeerBfd.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouterBgpPeerBfd.Builder
setMinReceiveInterval(int value)
The minimum interval, in milliseconds, between BFD control packets received from the peer router.RouterBgpPeerBfd.Builder
setMinTransmitInterval(int value)
The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router.RouterBgpPeerBfd.Builder
setMultiplier(int value)
The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable.RouterBgpPeerBfd.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RouterBgpPeerBfd.Builder
setSessionInitializationMode(String value)
The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.Builder
setSessionInitializationModeBytes(com.google.protobuf.ByteString value)
The BFD session initialization mode for this BGP peer.RouterBgpPeerBfd.Builder
setUnknownFields(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clear
public RouterBgpPeerBfd.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
getDefaultInstanceForType
public RouterBgpPeerBfd getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouterBgpPeerBfd build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouterBgpPeerBfd buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouterBgpPeerBfd.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
setField
public RouterBgpPeerBfd.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clearField
public RouterBgpPeerBfd.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
clearOneof
public RouterBgpPeerBfd.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
setRepeatedField
public RouterBgpPeerBfd.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
addRepeatedField
public RouterBgpPeerBfd.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
public RouterBgpPeerBfd.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouterBgpPeerBfd.Builder>
-
mergeFrom
public RouterBgpPeerBfd.Builder mergeFrom(RouterBgpPeerBfd other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasMinReceiveInterval
in 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:
getMinReceiveInterval
in 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:
hasMinTransmitInterval
in 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:
getMinTransmitInterval
in 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:
hasMultiplier
in 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:
getMultiplier
in 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:
hasSessionInitializationMode
in 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:
getSessionInitializationMode
in 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:
getSessionInitializationModeBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
mergeUnknownFields
public final RouterBgpPeerBfd.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouterBgpPeerBfd.Builder>
-
-