Class protos.google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse (5.2.0)

Represents a SingleEdgeResponse.

Package

@google-cloud/network-management

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.networkmanagement.v1beta1.ProbingDetails.ISingleEdgeResponse);

Constructs a new SingleEdgeResponse.

Parameter
Name Description
properties ISingleEdgeResponse

Properties to set

Properties

destinationEgressLocation

public destinationEgressLocation?: (google.cloud.networkmanagement.v1beta1.ProbingDetails.IEdgeLocation|null);

SingleEdgeResponse destinationEgressLocation.

destinationRouter

public destinationRouter: string;

SingleEdgeResponse destinationRouter.

probingLatency

public probingLatency?: (google.cloud.networkmanagement.v1beta1.ILatencyDistribution|null);

SingleEdgeResponse probingLatency.

result

public result: (google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult|keyof typeof google.cloud.networkmanagement.v1beta1.ProbingDetails.ProbingResult);

SingleEdgeResponse result.

sentProbeCount

public sentProbeCount: number;

SingleEdgeResponse sentProbeCount.

successfulProbeCount

public successfulProbeCount: number;

SingleEdgeResponse successfulProbeCount.

Methods

create(properties)

public static create(properties?: google.cloud.networkmanagement.v1beta1.ProbingDetails.ISingleEdgeResponse): google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse;

Creates a new SingleEdgeResponse instance using the specified properties.

Parameter
Name Description
properties ISingleEdgeResponse

Properties to set

Returns
Type Description
SingleEdgeResponse

SingleEdgeResponse instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse;

Decodes a SingleEdgeResponse message from the specified reader or buffer.

Parameters
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
Type Description
SingleEdgeResponse

SingleEdgeResponse

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse;

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

Parameter
Name Description
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
Type Description
SingleEdgeResponse

SingleEdgeResponse

encode(message, writer)

public static encode(message: google.cloud.networkmanagement.v1beta1.ProbingDetails.ISingleEdgeResponse, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified SingleEdgeResponse message. Does not implicitly messages.

Parameters
Name Description
message ISingleEdgeResponse

SingleEdgeResponse message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.networkmanagement.v1beta1.ProbingDetails.ISingleEdgeResponse, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
Name Description
message ISingleEdgeResponse

SingleEdgeResponse message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
Type Description
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse;

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

Parameter
Name Description
object { [k: string]: any }

Plain object

Returns
Type Description
SingleEdgeResponse

SingleEdgeResponse

getTypeUrl(typeUrlPrefix)

public static getTypeUrl(typeUrlPrefix?: string): string;

Gets the default type url for SingleEdgeResponse

Parameter
Name Description
typeUrlPrefix string

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

Returns
Type Description
string

The default type url

toJSON()

public toJSON(): { [k: string]: any };

Converts this SingleEdgeResponse to JSON.

Returns
Type Description
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.networkmanagement.v1beta1.ProbingDetails.SingleEdgeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
Name Description
message SingleEdgeResponse

SingleEdgeResponse

options $protobuf.IConversionOptions

Conversion options

Returns
Type Description
{ [k: string]: any }

Plain object

verify(message)

public static verify(message: { [k: string]: any }): (string|null);

Verifies a SingleEdgeResponse message.

Parameter
Name Description
message { [k: string]: any }

Plain object to verify

Returns
Type Description
(string|null)

null if valid, otherwise the reason why it is not