BfdStatus

google.cloud.compute.v1. BfdStatus

Represents a BfdStatus.

Constructor

new BfdStatus(propertiesopt)

Constructs a new BfdStatus.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IBfdStatus <optional>

Properties to set

Implements:
  • IBfdStatus

Members

_bfdSessionInitializationMode

BfdStatus _bfdSessionInitializationMode.

_configUpdateTimestampMicros

BfdStatus _configUpdateTimestampMicros.

_controlPacketCounts

BfdStatus _controlPacketCounts.

_localDiagnostic

BfdStatus _localDiagnostic.

_localState

BfdStatus _localState.

_negotiatedLocalControlTxIntervalMs

BfdStatus _negotiatedLocalControlTxIntervalMs.

_rxPacket

BfdStatus _rxPacket.

_txPacket

BfdStatus _txPacket.

_uptimeMs

BfdStatus _uptimeMs.

bfdSessionInitializationMode

BfdStatus bfdSessionInitializationMode.

configUpdateTimestampMicros

BfdStatus configUpdateTimestampMicros.

controlPacketCounts

BfdStatus controlPacketCounts.

controlPacketIntervals

BfdStatus controlPacketIntervals.

localDiagnostic

BfdStatus localDiagnostic.

localState

BfdStatus localState.

negotiatedLocalControlTxIntervalMs

BfdStatus negotiatedLocalControlTxIntervalMs.

rxPacket

BfdStatus rxPacket.

txPacket

BfdStatus txPacket.

uptimeMs

BfdStatus uptimeMs.

BfdSessionInitializationMode

BfdSessionInitializationMode enum.

Properties:
Name Type Description
UNDEFINED_BFD_SESSION_INITIALIZATION_MODE number

UNDEFINED_BFD_SESSION_INITIALIZATION_MODE value

ACTIVE number

ACTIVE value

DISABLED number

DISABLED value

PASSIVE number

PASSIVE value

LocalDiagnostic

LocalDiagnostic enum.

Properties:
Name Type Description
UNDEFINED_LOCAL_DIAGNOSTIC number

UNDEFINED_LOCAL_DIAGNOSTIC value

ADMINISTRATIVELY_DOWN number

ADMINISTRATIVELY_DOWN value

CONCATENATED_PATH_DOWN number

CONCATENATED_PATH_DOWN value

CONTROL_DETECTION_TIME_EXPIRED number

CONTROL_DETECTION_TIME_EXPIRED value

DIAGNOSTIC_UNSPECIFIED number

DIAGNOSTIC_UNSPECIFIED value

ECHO_FUNCTION_FAILED number

ECHO_FUNCTION_FAILED value

FORWARDING_PLANE_RESET number

FORWARDING_PLANE_RESET value

NEIGHBOR_SIGNALED_SESSION_DOWN number

NEIGHBOR_SIGNALED_SESSION_DOWN value

NO_DIAGNOSTIC number

NO_DIAGNOSTIC value

PATH_DOWN number

PATH_DOWN value

REVERSE_CONCATENATED_PATH_DOWN number

REVERSE_CONCATENATED_PATH_DOWN value

LocalState

LocalState enum.

Properties:
Name Type Description
UNDEFINED_LOCAL_STATE number

UNDEFINED_LOCAL_STATE value

ADMIN_DOWN number

ADMIN_DOWN value

DOWN number

DOWN value

INIT number

INIT value

STATE_UNSPECIFIED number

STATE_UNSPECIFIED value

UP number

UP value

Methods

toJSON() → {Object.<string, *>}

Converts this BfdStatus to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.compute.v1.BfdStatus}

Creates a new BfdStatus instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.compute.v1.IBfdStatus <optional>

Properties to set

Returns:
Type Description
google.cloud.compute.v1.BfdStatus

BfdStatus instance

(static) decode(reader, lengthopt) → {google.cloud.compute.v1.BfdStatus}

Decodes a BfdStatus message from the specified reader or buffer.

Parameters:
Name Type Attributes Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

length number <optional>

Message length if known beforehand

Returns:
Type Description
google.cloud.compute.v1.BfdStatus

BfdStatus

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) decodeDelimited(reader) → {google.cloud.compute.v1.BfdStatus}

Decodes a BfdStatus message from the specified reader or buffer, length delimited.

Parameters:
Name Type Description
reader $protobuf.Reader | Uint8Array

Reader or buffer to decode from

Returns:
Type Description
google.cloud.compute.v1.BfdStatus

BfdStatus

Throws:
  • If the payload is not a reader or valid buffer

    Type
    Error
  • If required fields are missing

    Type
    $protobuf.util.ProtocolError

(static) encode(message, writeropt) → {$protobuf.Writer}

Encodes the specified BfdStatus message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IBfdStatus

BfdStatus message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) encodeDelimited(message, writeropt) → {$protobuf.Writer}

Encodes the specified BfdStatus message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.IBfdStatus

BfdStatus message or plain object to encode

writer $protobuf.Writer <optional>

Writer to encode to

Returns:
Type Description
$protobuf.Writer

Writer

(static) fromObject(object) → {google.cloud.compute.v1.BfdStatus}

Creates a BfdStatus message from a plain object. Also converts values to their respective internal types.

Parameters:
Name Type Description
object Object.<string, *>

Plain object

Returns:
Type Description
google.cloud.compute.v1.BfdStatus

BfdStatus

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for BfdStatus

Parameters:
Name Type Attributes Description
typeUrlPrefix string <optional>

your custom typeUrlPrefix(default "type.googleapis.com")

Returns:
Type Description
string

The default type url

(static) toObject(message, optionsopt) → {Object.<string, *>}

Creates a plain object from a BfdStatus message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.compute.v1.BfdStatus

BfdStatus

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

(static) verify(message) → {string|null}

Verifies a BfdStatus message.

Parameters:
Name Type Description
message Object.<string, *>

Plain object to verify

Returns:
Type Description
string | null

null if valid, otherwise the reason why it is not