Interface NotificationConfigOrBuilder (4.4.0)

public interface NotificationConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessageFormat()

public abstract NotificationConfig.MessageFormat getMessageFormat()

Format of message.

.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;

Returns
TypeDescription
NotificationConfig.MessageFormat

The messageFormat.

getMessageFormatValue()

public abstract int getMessageFormatValue()

Format of message.

.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for messageFormat.

getTopic()

public abstract String getTopic()

Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project. Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

string topic = 1;

Returns
TypeDescription
String

The topic.

getTopicBytes()

public abstract ByteString getTopicBytes()

Name of the Pub/Sub topic to publish conversation events like CONVERSATION_STARTED as serialized ConversationEvent protos. Notification works for phone calls, if this topic either is in the same project as the conversation or you grant service-<Conversation Project Number>@gcp-sa-dialogflow.iam.gserviceaccount.com the Dialogflow Service Agent role in the topic project. Format: projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>.

string topic = 1;

Returns
TypeDescription
ByteString

The bytes for topic.