public interface NotificationConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getMessageFormat()
public abstract NotificationConfig.MessageFormat getMessageFormat()Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
| Type | Description |
| NotificationConfig.MessageFormat | The messageFormat. |
getMessageFormatValue()
public abstract int getMessageFormatValue()Format of message.
.google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat message_format = 2;
| Type | Description |
| 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;
| Type | Description |
| 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;
| Type | Description |
| ByteString | The bytes for topic. |