Represents a CloudConversationDebuggingInfo.
Package
@google-cloud/dialogflowConstructors
(constructor)(properties)
constructor(properties?: google.cloud.dialogflow.v2beta1.ICloudConversationDebuggingInfo);
Constructs a new CloudConversationDebuggingInfo.
Parameter | |
---|---|
Name | Description |
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 | |
---|---|
Name | Description |
properties |
ICloudConversationDebuggingInfo
Properties to set |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
length |
number
Message length if known beforehand |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
reader |
(Reader|Uint8Array)
Reader or buffer to decode from |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
message |
ICloudConversationDebuggingInfo
CloudConversationDebuggingInfo 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.dialogflow.v2beta1.ICloudConversationDebuggingInfo, writer?: $protobuf.Writer): $protobuf.Writer;
Encodes the specified CloudConversationDebuggingInfo message, length delimited. Does not implicitly messages.
Parameters | |
---|---|
Name | Description |
message |
ICloudConversationDebuggingInfo
CloudConversationDebuggingInfo 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.dialogflow.v2beta1.CloudConversationDebuggingInfo;
Creates a CloudConversationDebuggingInfo 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 |
CloudConversationDebuggingInfo |
CloudConversationDebuggingInfo |
getTypeUrl(typeUrlPrefix)
public static getTypeUrl(typeUrlPrefix?: string): string;
Gets the default type url for CloudConversationDebuggingInfo
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 CloudConversationDebuggingInfo to JSON.
Returns | |
---|---|
Type | Description |
{ [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 | |
---|---|
Name | Description |
message |
CloudConversationDebuggingInfo
CloudConversationDebuggingInfo |
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 CloudConversationDebuggingInfo message.
Parameter | |
---|---|
Name | Description |
message |
{ [k: string]: any }
Plain object to verify |
Returns | |
---|---|
Type | Description |
(string|null) |
|