Class protos.google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo (6.2.0)

Represents a CloudConversationDebuggingInfo.

Package

@google-cloud/dialogflow

Constructors

(constructor)(properties)

constructor(properties?: google.cloud.dialogflow.v2beta1.ICloudConversationDebuggingInfo);

Constructs a new CloudConversationDebuggingInfo.

Parameter
NameDescription
properties ICloudConversationDebuggingInfo

Properties to set

Properties

audioDataChunks

public audioDataChunks: number;

CloudConversationDebuggingInfo audioDataChunks.

bargeinEventTriggered

public bargeinEventTriggered: boolean;

CloudConversationDebuggingInfo bargeinEventTriggered.

clientHalfCloseStreamingTimeOffset

public clientHalfCloseStreamingTimeOffset?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo clientHalfCloseStreamingTimeOffset.

clientHalfCloseTimeOffset

public clientHalfCloseTimeOffset?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo clientHalfCloseTimeOffset.

dtmfFinalResultsTimes

public dtmfFinalResultsTimes: google.protobuf.IDuration[];

CloudConversationDebuggingInfo dtmfFinalResultsTimes.

dtmfPartialResultsTimes

public dtmfPartialResultsTimes: google.protobuf.IDuration[];

CloudConversationDebuggingInfo dtmfPartialResultsTimes.

endpointingTimeout

public endpointingTimeout?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo endpointingTimeout.

firstAudioDuration

public firstAudioDuration?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo firstAudioDuration.

isInputText

public isInputText: boolean;

CloudConversationDebuggingInfo isInputText.

noSpeechTimeout

public noSpeechTimeout?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo noSpeechTimeout.

partialResponses

public partialResponses: number;

CloudConversationDebuggingInfo partialResponses.

resultEndTimeOffset

public resultEndTimeOffset?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo resultEndTimeOffset.

singleUtterance

public singleUtterance: boolean;

CloudConversationDebuggingInfo singleUtterance.

singleUtteranceEndTimeOffset

public singleUtteranceEndTimeOffset?: (google.protobuf.IDuration|null);

CloudConversationDebuggingInfo singleUtteranceEndTimeOffset.

speakerIdPassiveLatencyMsOffset

public speakerIdPassiveLatencyMsOffset: number;

CloudConversationDebuggingInfo speakerIdPassiveLatencyMsOffset.

speechFinalResultsEndTimes

public speechFinalResultsEndTimes: google.protobuf.IDuration[];

CloudConversationDebuggingInfo speechFinalResultsEndTimes.

speechPartialResultsEndTimes

public speechPartialResultsEndTimes: google.protobuf.IDuration[];

CloudConversationDebuggingInfo speechPartialResultsEndTimes.

speechSingleUtterance

public speechSingleUtterance: boolean;

CloudConversationDebuggingInfo speechSingleUtterance.

Methods

create(properties)

public static create(properties?: google.cloud.dialogflow.v2beta1.ICloudConversationDebuggingInfo): google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo;

Creates a new CloudConversationDebuggingInfo instance using the specified properties.

Parameter
NameDescription
properties ICloudConversationDebuggingInfo

Properties to set

Returns
TypeDescription
CloudConversationDebuggingInfo

CloudConversationDebuggingInfo instance

decode(reader, length)

public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo;

Decodes a CloudConversationDebuggingInfo message from the specified reader or buffer.

Parameters
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

length number

Message length if known beforehand

Returns
TypeDescription
CloudConversationDebuggingInfo

CloudConversationDebuggingInfo

decodeDelimited(reader)

public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo;

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

Parameter
NameDescription
reader (Reader|Uint8Array)

Reader or buffer to decode from

Returns
TypeDescription
CloudConversationDebuggingInfo

CloudConversationDebuggingInfo

encode(message, writer)

public static encode(message: google.cloud.dialogflow.v2beta1.ICloudConversationDebuggingInfo, writer?: $protobuf.Writer): $protobuf.Writer;

Encodes the specified CloudConversationDebuggingInfo message. Does not implicitly messages.

Parameters
NameDescription
message ICloudConversationDebuggingInfo

CloudConversationDebuggingInfo message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

encodeDelimited(message, writer)

public static encodeDelimited(message: google.cloud.dialogflow.v2beta1.ICloudConversationDebuggingInfo, writer?: $protobuf.Writer): $protobuf.Writer;

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

Parameters
NameDescription
message ICloudConversationDebuggingInfo

CloudConversationDebuggingInfo message or plain object to encode

writer $protobuf.Writer

Writer to encode to

Returns
TypeDescription
$protobuf.Writer

Writer

fromObject(object)

public static fromObject(object: { [k: string]: any }): google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo;

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

Parameter
NameDescription
object { [k: string]: any }

Plain object

Returns
TypeDescription
CloudConversationDebuggingInfo

CloudConversationDebuggingInfo

getTypeUrl(typeUrlPrefix)

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

Gets the default type url for CloudConversationDebuggingInfo

Parameter
NameDescription
typeUrlPrefix string

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

Returns
TypeDescription
string

The default type url

toJSON()

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

Converts this CloudConversationDebuggingInfo to JSON.

Returns
TypeDescription
{ [k: string]: any }

JSON object

toObject(message, options)

public static toObject(message: google.cloud.dialogflow.v2beta1.CloudConversationDebuggingInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };

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

Parameters
NameDescription
message CloudConversationDebuggingInfo

CloudConversationDebuggingInfo

options $protobuf.IConversionOptions

Conversion options

Returns
TypeDescription
{ [k: string]: any }

Plain object

verify(message)

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

Verifies a CloudConversationDebuggingInfo message.

Parameter
NameDescription
message { [k: string]: any }

Plain object to verify

Returns
TypeDescription
(string|null)

null if valid, otherwise the reason why it is not