All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.dialogflow.v2.NotificationConfigOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.59.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/dialogflow/v2/conversation_profile.proto

// Protobuf Java Version: 3.25.5
package com.google.cloud.dialogflow.v2;

public interface NotificationConfigOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.dialogflow.v2.NotificationConfig)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Name of the Pub/Sub topic to publish conversation
   * events like
   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED]
   * as serialized
   * [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] protos.
   *
   * For telephony integration to receive notification, make sure either this
   * topic 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.
   *
   * For chat integration to receive notification, make sure API caller has been
   * granted the `Dialogflow Service Agent` role for the topic.
   *
   * Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
   * 
* * string topic = 1; * * @return The topic. */ java.lang.String getTopic(); /** * * *
   * Name of the Pub/Sub topic to publish conversation
   * events like
   * [CONVERSATION_STARTED][google.cloud.dialogflow.v2.ConversationEvent.Type.CONVERSATION_STARTED]
   * as serialized
   * [ConversationEvent][google.cloud.dialogflow.v2.ConversationEvent] protos.
   *
   * For telephony integration to receive notification, make sure either this
   * topic 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.
   *
   * For chat integration to receive notification, make sure API caller has been
   * granted the `Dialogflow Service Agent` role for the topic.
   *
   * Format: `projects/<Project ID>/locations/<Location ID>/topics/<Topic ID>`.
   * 
* * string topic = 1; * * @return The bytes for topic. */ com.google.protobuf.ByteString getTopicBytes(); /** * * *
   * Format of message.
   * 
* * .google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2; * * @return The enum numeric value on the wire for messageFormat. */ int getMessageFormatValue(); /** * * *
   * Format of message.
   * 
* * .google.cloud.dialogflow.v2.NotificationConfig.MessageFormat message_format = 2; * * @return The messageFormat. */ com.google.cloud.dialogflow.v2.NotificationConfig.MessageFormat getMessageFormat(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy