AutomatedAgentReply

google.cloud.dialogflow.v2beta1. AutomatedAgentReply

Represents an AutomatedAgentReply.

Constructor

new AutomatedAgentReply(propertiesopt)

Constructs a new AutomatedAgentReply.

Parameters:
Name Type Attributes Description
properties google.cloud.dialogflow.v2beta1.IAutomatedAgentReply <optional>

Properties to set

Implements:
  • IAutomatedAgentReply

Members

allowCancellation

AutomatedAgentReply allowCancellation.

automatedAgentReplyType

AutomatedAgentReply automatedAgentReplyType.

cxCurrentPage

AutomatedAgentReply cxCurrentPage.

cxSessionParameters

AutomatedAgentReply cxSessionParameters.

detectIntentResponse

AutomatedAgentReply detectIntentResponse.

event

AutomatedAgentReply event.

intent

AutomatedAgentReply intent.

match

AutomatedAgentReply match.

matchConfidence

AutomatedAgentReply matchConfidence.

parameters

AutomatedAgentReply parameters.

response

AutomatedAgentReply response.

responseMessages

AutomatedAgentReply responseMessages.

AutomatedAgentReplyType

AutomatedAgentReplyType enum.

Properties:
Name Type Description
AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED number

AUTOMATED_AGENT_REPLY_TYPE_UNSPECIFIED value

PARTIAL number

PARTIAL value

FINAL number

FINAL value

Methods

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

Converts this AutomatedAgentReply to JSON.

Returns:
Type Description
Object.<string, *>

JSON object

(static) create(propertiesopt) → {google.cloud.dialogflow.v2beta1.AutomatedAgentReply}

Creates a new AutomatedAgentReply instance using the specified properties.

Parameters:
Name Type Attributes Description
properties google.cloud.dialogflow.v2beta1.IAutomatedAgentReply <optional>

Properties to set

Returns:
Type Description
google.cloud.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply instance

(static) decode(reader, lengthopt) → {google.cloud.dialogflow.v2beta1.AutomatedAgentReply}

Decodes an AutomatedAgentReply 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.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply

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.dialogflow.v2beta1.AutomatedAgentReply}

Decodes an AutomatedAgentReply 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.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply

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 AutomatedAgentReply message. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dialogflow.v2beta1.IAutomatedAgentReply

AutomatedAgentReply 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 AutomatedAgentReply message, length delimited. Does not implicitly verify messages.

Parameters:
Name Type Attributes Description
message google.cloud.dialogflow.v2beta1.IAutomatedAgentReply

AutomatedAgentReply 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.dialogflow.v2beta1.AutomatedAgentReply}

Creates an AutomatedAgentReply 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.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply

(static) getTypeUrl(typeUrlPrefixopt) → {string}

Gets the default type url for AutomatedAgentReply

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 an AutomatedAgentReply message. Also converts values to other types if specified.

Parameters:
Name Type Attributes Description
message google.cloud.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply

options $protobuf.IConversionOptions <optional>

Conversion options

Returns:
Type Description
Object.<string, *>

Plain object

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

Verifies an AutomatedAgentReply 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