Constructor
new BfdPacket(propertiesopt)
Constructs a new BfdPacket.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IBfdPacket |
<optional> |
Properties to set |
- Implements:
-
- IBfdPacket
Members
_authenticationPresent
BfdPacket _authenticationPresent.
_controlPlaneIndependent
BfdPacket _controlPlaneIndependent.
_demand
BfdPacket _demand.
_diagnostic
BfdPacket _diagnostic.
_final
BfdPacket _final.
_length
BfdPacket _length.
_minEchoRxIntervalMs
BfdPacket _minEchoRxIntervalMs.
_minRxIntervalMs
BfdPacket _minRxIntervalMs.
_minTxIntervalMs
BfdPacket _minTxIntervalMs.
_multiplier
BfdPacket _multiplier.
_multipoint
BfdPacket _multipoint.
_myDiscriminator
BfdPacket _myDiscriminator.
_poll
BfdPacket _poll.
_state
BfdPacket _state.
_version
BfdPacket _version.
_yourDiscriminator
BfdPacket _yourDiscriminator.
authenticationPresent
BfdPacket authenticationPresent.
controlPlaneIndependent
BfdPacket controlPlaneIndependent.
demand
BfdPacket demand.
diagnostic
BfdPacket diagnostic.
final
BfdPacket final.
length
BfdPacket length.
minEchoRxIntervalMs
BfdPacket minEchoRxIntervalMs.
minRxIntervalMs
BfdPacket minRxIntervalMs.
minTxIntervalMs
BfdPacket minTxIntervalMs.
multiplier
BfdPacket multiplier.
multipoint
BfdPacket multipoint.
myDiscriminator
BfdPacket myDiscriminator.
poll
BfdPacket poll.
state
BfdPacket state.
version
BfdPacket version.
yourDiscriminator
BfdPacket yourDiscriminator.
Diagnostic
Diagnostic enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_DIAGNOSTIC |
number |
UNDEFINED_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 |
State
State enum.
Properties:
Name | Type | Description |
---|---|---|
UNDEFINED_STATE |
number |
UNDEFINED_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 BfdPacket to JSON.
Returns:
Type | Description |
---|---|
Object.<string, *> |
JSON object |
(static) create(propertiesopt) → {google.cloud.compute.v1.BfdPacket}
Creates a new BfdPacket instance using the specified properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
google.cloud.compute.v1.IBfdPacket |
<optional> |
Properties to set |
Returns:
Type | Description |
---|---|
google.cloud.compute.v1.BfdPacket |
BfdPacket instance |
(static) decode(reader, lengthopt) → {google.cloud.compute.v1.BfdPacket}
Decodes a BfdPacket 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.BfdPacket |
BfdPacket |
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.BfdPacket}
Decodes a BfdPacket 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.BfdPacket |
BfdPacket |
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 BfdPacket message. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IBfdPacket |
BfdPacket 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 BfdPacket message, length delimited. Does not implicitly verify messages.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.IBfdPacket |
BfdPacket 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.BfdPacket}
Creates a BfdPacket 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.BfdPacket |
BfdPacket |
(static) getTypeUrl(typeUrlPrefixopt) → {string}
Gets the default type url for BfdPacket
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 BfdPacket message. Also converts values to other types if specified.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
message |
google.cloud.compute.v1.BfdPacket |
BfdPacket |
|
options |
$protobuf.IConversionOptions |
<optional> |
Conversion options |
Returns:
Type | Description |
---|---|
Object.<string, *> |
Plain object |
(static) verify(message) → {string|null}
Verifies a BfdPacket message.
Parameters:
Name | Type | Description |
---|---|---|
message |
Object.<string, *> |
Plain object to verify |
Returns:
Type | Description |
---|---|
string | null |
|