Class RouterBgpPeerBfd

  • All Implemented Interfaces:
    RouterBgpPeerBfdOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class RouterBgpPeerBfd
    extends com.google.protobuf.GeneratedMessageV3
    implements RouterBgpPeerBfdOrBuilder
     
    Protobuf type google.cloud.compute.v1.RouterBgpPeerBfd
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  RouterBgpPeerBfd.Builder
      static class  RouterBgpPeerBfd.SessionInitializationMode
      The BFD session initialization mode for this BGP peer.
      • Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,​BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,​BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Field Detail

      • MIN_RECEIVE_INTERVAL_FIELD_NUMBER

        public static final int MIN_RECEIVE_INTERVAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MIN_TRANSMIT_INTERVAL_FIELD_NUMBER

        public static final int MIN_TRANSMIT_INTERVAL_FIELD_NUMBER
        See Also:
        Constant Field Values
      • MULTIPLIER_FIELD_NUMBER

        public static final int MULTIPLIER_FIELD_NUMBER
        See Also:
        Constant Field Values
      • SESSION_INITIALIZATION_MODE_FIELD_NUMBER

        public static final int SESSION_INITIALIZATION_MODE_FIELD_NUMBER
        See Also:
        Constant Field Values
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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 interface RouterBgpPeerBfdOrBuilder
        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 interface RouterBgpPeerBfdOrBuilder
        Returns:
        The minReceiveInterval.
      • 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 interface RouterBgpPeerBfdOrBuilder
        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 interface RouterBgpPeerBfdOrBuilder
        Returns:
        The minTransmitInterval.
      • 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 interface RouterBgpPeerBfdOrBuilder
        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 interface RouterBgpPeerBfdOrBuilder
        Returns:
        The multiplier.
      • 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 interface RouterBgpPeerBfdOrBuilder
        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 interface RouterBgpPeerBfdOrBuilder
        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 interface RouterBgpPeerBfdOrBuilder
        Returns:
        The bytes for sessionInitializationMode.
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static RouterBgpPeerBfd parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        Throws:
        IOException
      • newBuilderForType

        public RouterBgpPeerBfd.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public RouterBgpPeerBfd.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected RouterBgpPeerBfd.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<RouterBgpPeerBfd> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public RouterBgpPeerBfd getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder