Package com.google.cloud.dialogflow.v2beta1 (4.21.0)

A client to Dialogflow API

The interfaces provided are listed below, along with usage samples.

AgentsClient

Service Description: Service for managing Agents.

Sample for AgentsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AgentsClient agentsClient = AgentsClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   Agent response = agentsClient.getAgent(parent);
 }
 

AnswerRecordsClient

Service Description: Service for managing AnswerRecords.

Sample for AnswerRecordsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
   GetAnswerRecordRequest request =
       GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
   AnswerRecord response = answerRecordsClient.getAnswerRecord(request);
 }
 

ContextsClient

Service Description: Service for managing Contexts.

Sample for ContextsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ContextsClient contextsClient = ContextsClient.create()) {
   ContextName name =
       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
   Context response = contextsClient.getContext(name);
 }
 

ConversationsClient

Service Description: Service for managing Conversations.

Sample for ConversationsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ConversationsClient conversationsClient = ConversationsClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   Conversation conversation = Conversation.newBuilder().build();
   Conversation response = conversationsClient.createConversation(parent, conversation);
 }
 

ConversationProfilesClient

Service Description: Service for managing ConversationProfiles.

Sample for ConversationProfilesClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ConversationProfilesClient conversationProfilesClient =
     ConversationProfilesClient.create()) {
   ConversationProfileName name =
       ConversationProfileName.ofProjectConversationProfileName(
           "[PROJECT]", "[CONVERSATION_PROFILE]");
   ConversationProfile response = conversationProfilesClient.getConversationProfile(name);
 }
 

DocumentsClient

Service Description: Service for managing knowledge Documents.

Sample for DocumentsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (DocumentsClient documentsClient = DocumentsClient.create()) {
   DocumentName name =
       DocumentName.ofProjectKnowledgeBaseDocumentName(
           "[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]");
   Document response = documentsClient.getDocument(name);
 }
 

EntityTypesClient

Service Description: Service for managing EntityTypes.

Sample for EntityTypesClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
   EntityType response = entityTypesClient.getEntityType(name);
 }
 

EnvironmentsClient

Service Description: Service for managing Environments.

Sample for EnvironmentsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
   GetEnvironmentRequest request =
       GetEnvironmentRequest.newBuilder()
           .setName(
               EnvironmentName.ofProjectEnvironmentName("[PROJECT]", "[ENVIRONMENT]").toString())
           .build();
   Environment response = environmentsClient.getEnvironment(request);
 }
 

FulfillmentsClient

Service Description: Service for managing Fulfillments.

Sample for FulfillmentsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
   Fulfillment response = fulfillmentsClient.getFulfillment(name);
 }
 

IntentsClient

Service Description: Service for managing Intents.

Sample for IntentsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (IntentsClient intentsClient = IntentsClient.create()) {
   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
   Intent response = intentsClient.getIntent(name);
 }
 

KnowledgeBasesClient

Service Description: Service for managing KnowledgeBases.

Sample for KnowledgeBasesClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
   KnowledgeBaseName name =
       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
   KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(name);
 }
 

ParticipantsClient

Service Description: Service for managing Participants.

Sample for ParticipantsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
   ConversationName parent =
       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
   Participant participant = Participant.newBuilder().build();
   Participant response = participantsClient.createParticipant(parent, participant);
 }
 

SessionsClient

Service Description: A service used for session interactions.

For more information, see the API interactions guide.

Sample for SessionsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (SessionsClient sessionsClient = SessionsClient.create()) {
   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
   QueryInput queryInput = QueryInput.newBuilder().build();
   DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput);
 }
 

SessionEntityTypesClient

Service Description: Service for managing SessionEntityTypes.

Sample for SessionEntityTypesClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
   SessionEntityTypeName name =
       SessionEntityTypeName.ofProjectSessionEntityTypeName(
           "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name);
 }
 

VersionsClient

Service Description: Service for managing Versions.

Sample for VersionsClient:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (VersionsClient versionsClient = VersionsClient.create()) {
   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
   Version response = versionsClient.getVersion(name);
 }
 

Classes

Agent

A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system. For more information about agents, see the Agent guide.

Protobuf type google.cloud.dialogflow.v2beta1.Agent

Agent.Builder

A Dialogflow agent is a virtual agent that handles conversations with your end-users. It is a natural language understanding module that understands the nuances of human language. Dialogflow translates end-user text or audio during a conversation to structured data that your apps and services can understand. You design and build a Dialogflow agent to handle the types of conversations required for your system. For more information about agents, see the Agent guide.

Protobuf type google.cloud.dialogflow.v2beta1.Agent

AgentAssistantFeedback

Detail feedback of Agent Assistant result.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantFeedback

AgentAssistantFeedback.Builder

Detail feedback of Agent Assistant result.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantFeedback

AgentAssistantFeedback.SummarizationFeedback

Feedback for conversation summarization.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback

AgentAssistantFeedback.SummarizationFeedback.Builder

Feedback for conversation summarization.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.SummarizationFeedback

AgentAssistantRecord

Represents a record of a human agent assistant answer.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantRecord

AgentAssistantRecord.Builder

Represents a record of a human agent assistant answer.

Protobuf type google.cloud.dialogflow.v2beta1.AgentAssistantRecord

AgentName

AgentName.Builder

Builder for projects/{project}/agent.

AgentName.ProjectLocationAgentBuilder

Builder for projects/{project}/locations/{location}/agent.

AgentProto

AgentsClient

Service Description: Service for managing Agents.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AgentsClient agentsClient = AgentsClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   Agent response = agentsClient.getAgent(parent);
 }
 

Note: close() needs to be called on the AgentsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of AgentsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AgentsSettings agentsSettings =
     AgentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 AgentsClient agentsClient = AgentsClient.create(agentsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AgentsSettings agentsSettings = AgentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 AgentsClient agentsClient = AgentsClient.create(agentsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AgentsSettings agentsSettings = AgentsSettings.newHttpJsonBuilder().build();
 AgentsClient agentsClient = AgentsClient.create(agentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

AgentsClient.ListLocationsFixedSizeCollection

AgentsClient.ListLocationsPage

AgentsClient.ListLocationsPagedResponse

AgentsClient.SearchAgentsFixedSizeCollection

AgentsClient.SearchAgentsPage

AgentsClient.SearchAgentsPagedResponse

AgentsGrpc

Service for managing Agents.

AgentsGrpc.AgentsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Agents.

Service for managing Agents.

AgentsGrpc.AgentsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Agents.

Service for managing Agents.

AgentsGrpc.AgentsImplBase

Base class for the server implementation of the service Agents.

Service for managing Agents.

AgentsGrpc.AgentsStub

A stub to allow clients to do asynchronous rpc calls to service Agents.

Service for managing Agents.

AgentsSettings

Settings class to configure an instance of AgentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getAgent to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AgentsSettings.Builder agentsSettingsBuilder = AgentsSettings.newBuilder();
 agentsSettingsBuilder
     .getAgentSettings()
     .setRetrySettings(
         agentsSettingsBuilder
             .getAgentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AgentsSettings agentsSettings = agentsSettingsBuilder.build();
 

AgentsSettings.Builder

Builder for AgentsSettings.

AnalyzeContentRequest

The request message for Participants.AnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentRequest

AnalyzeContentRequest.Builder

The request message for Participants.AnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentRequest

AnalyzeContentResponse

The response message for Participants.AnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentResponse

AnalyzeContentResponse.Builder

The response message for Participants.AnalyzeContent.

Protobuf type google.cloud.dialogflow.v2beta1.AnalyzeContentResponse

AnnotatedMessagePart

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

Protobuf type google.cloud.dialogflow.v2beta1.AnnotatedMessagePart

AnnotatedMessagePart.Builder

Represents a part of a message possibly annotated with an entity. The part can be an entity or purely a part of the message between two entities or message start/end.

Protobuf type google.cloud.dialogflow.v2beta1.AnnotatedMessagePart

AnswerFeedback

Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.AnswerFeedback

AnswerFeedback.Builder

Represents feedback the customer has about the quality & correctness of a certain answer in a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.AnswerFeedback

AnswerRecord

Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answer record includes:

  • human agent assistant article suggestion
  • human agent assistant faq article It doesn't include:
  • DetectIntent intent matching
  • DetectIntent knowledge Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated. A typical workflow for customers provide feedback to an answer is:
  • For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, AnswerRecord.name are returned to the customers.
  • The customer uses the AnswerRecord.name to call the [UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.

Protobuf type google.cloud.dialogflow.v2beta1.AnswerRecord

AnswerRecord.Builder

Answer records are records to manage answer history and feedbacks for Dialogflow. Currently, answer record includes:

  • human agent assistant article suggestion
  • human agent assistant faq article It doesn't include:
  • DetectIntent intent matching
  • DetectIntent knowledge Answer records are not related to the conversation history in the Dialogflow Console. A Record is generated even when the end-user disables conversation history in the console. Records are created when there's a human agent assistant suggestion generated. A typical workflow for customers provide feedback to an answer is:
  • For human agent assistant, customers get suggestion via ListSuggestions API. Together with the answers, AnswerRecord.name are returned to the customers.
  • The customer uses the AnswerRecord.name to call the [UpdateAnswerRecord][] method to send feedback about a specific answer that they believe is wrong.

Protobuf type google.cloud.dialogflow.v2beta1.AnswerRecord

AnswerRecordName

AnswerRecordName.Builder

Builder for projects/{project}/answerRecords/{answer_record}.

AnswerRecordName.ProjectLocationAnswerRecordBuilder

Builder for projects/{project}/locations/{location}/answerRecords/{answer_record}.

AnswerRecordsClient

Service Description: Service for managing AnswerRecords.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create()) {
   GetAnswerRecordRequest request =
       GetAnswerRecordRequest.newBuilder().setName("name3373707").build();
   AnswerRecord response = answerRecordsClient.getAnswerRecord(request);
 }
 

Note: close() needs to be called on the AnswerRecordsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of AnswerRecordsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AnswerRecordsSettings answerRecordsSettings =
     AnswerRecordsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AnswerRecordsSettings answerRecordsSettings =
     AnswerRecordsSettings.newBuilder().setEndpoint(myEndpoint).build();
 AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AnswerRecordsSettings answerRecordsSettings =
     AnswerRecordsSettings.newHttpJsonBuilder().build();
 AnswerRecordsClient answerRecordsClient = AnswerRecordsClient.create(answerRecordsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

AnswerRecordsClient.ListAnswerRecordsFixedSizeCollection

AnswerRecordsClient.ListAnswerRecordsPage

AnswerRecordsClient.ListAnswerRecordsPagedResponse

AnswerRecordsClient.ListLocationsFixedSizeCollection

AnswerRecordsClient.ListLocationsPage

AnswerRecordsClient.ListLocationsPagedResponse

AnswerRecordsGrpc

Service for managing AnswerRecords.

AnswerRecordsGrpc.AnswerRecordsBlockingStub

A stub to allow clients to do synchronous rpc calls to service AnswerRecords.

Service for managing AnswerRecords.

AnswerRecordsGrpc.AnswerRecordsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service AnswerRecords.

Service for managing AnswerRecords.

AnswerRecordsGrpc.AnswerRecordsImplBase

Base class for the server implementation of the service AnswerRecords.

Service for managing AnswerRecords.

AnswerRecordsGrpc.AnswerRecordsStub

A stub to allow clients to do asynchronous rpc calls to service AnswerRecords.

Service for managing AnswerRecords.

AnswerRecordsProto

AnswerRecordsSettings

Settings class to configure an instance of AnswerRecordsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getAnswerRecord to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 AnswerRecordsSettings.Builder answerRecordsSettingsBuilder = AnswerRecordsSettings.newBuilder();
 answerRecordsSettingsBuilder
     .getAnswerRecordSettings()
     .setRetrySettings(
         answerRecordsSettingsBuilder
             .getAnswerRecordSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AnswerRecordsSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
 

AnswerRecordsSettings.Builder

Builder for AnswerRecordsSettings.

ArticleAnswer

Represents article answer.

Protobuf type google.cloud.dialogflow.v2beta1.ArticleAnswer

ArticleAnswer.Builder

Represents article answer.

Protobuf type google.cloud.dialogflow.v2beta1.ArticleAnswer

AssistQueryParameters

Represents the parameters of human assist query.

Protobuf type google.cloud.dialogflow.v2beta1.AssistQueryParameters

AssistQueryParameters.Builder

Represents the parameters of human assist query.

Protobuf type google.cloud.dialogflow.v2beta1.AssistQueryParameters

AudioConfigProto

AudioInput

Represents the natural language speech audio to be processed.

Protobuf type google.cloud.dialogflow.v2beta1.AudioInput

AudioInput.Builder

Represents the natural language speech audio to be processed.

Protobuf type google.cloud.dialogflow.v2beta1.AudioInput

AutomatedAgentConfig

Defines the Automated Agent to connect to a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.AutomatedAgentConfig

AutomatedAgentConfig.Builder

Defines the Automated Agent to connect to a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.AutomatedAgentConfig

AutomatedAgentReply

Represents a response from an automated agent.

Protobuf type google.cloud.dialogflow.v2beta1.AutomatedAgentReply

AutomatedAgentReply.Builder

Represents a response from an automated agent.

Protobuf type google.cloud.dialogflow.v2beta1.AutomatedAgentReply

BargeInConfig

Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:

  • No barge-in phase: which goes first and during which speech detection should not be carried out.
  • Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. No-speech event is a response with END_OF_UTTERANCE without any transcript following up.

Protobuf type google.cloud.dialogflow.v2beta1.BargeInConfig

BargeInConfig.Builder

Configuration of the barge-in behavior. Barge-in instructs the API to return a detected utterance at a proper time while the client is playing back the response audio from a previous request. When the client sees the utterance, it should stop the playback and immediately get ready for receiving the responses for the current request. The barge-in handling requires the client to start streaming audio input as soon as it starts playing back the audio from the previous response. The playback is modeled into two phases:

  • No barge-in phase: which goes first and during which speech detection should not be carried out.
  • Barge-in phase: which follows the no barge-in phase and during which the API starts speech detection and may inform the client that an utterance has been detected. Note that no-speech event is not expected in this phase. The client provides this configuration in terms of the durations of those two phases. The durations are measured in terms of the audio length fromt the the start of the input audio. No-speech event is a response with END_OF_UTTERANCE without any transcript following up.

Protobuf type google.cloud.dialogflow.v2beta1.BargeInConfig

BatchCreateEntitiesRequest

The request message for EntityTypes.BatchCreateEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest

BatchCreateEntitiesRequest.Builder

The request message for EntityTypes.BatchCreateEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateEntitiesRequest

BatchCreateMessagesRequest

The request message for [Conversations.BatchCreateMessagesRequest][].

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest

BatchCreateMessagesRequest.Builder

The request message for [Conversations.BatchCreateMessagesRequest][].

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesRequest

BatchCreateMessagesResponse

The request message for [Conversations.BatchCreateMessagesResponse][].

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse

BatchCreateMessagesResponse.Builder

The request message for [Conversations.BatchCreateMessagesResponse][].

Protobuf type google.cloud.dialogflow.v2beta1.BatchCreateMessagesResponse

BatchDeleteEntitiesRequest

The request message for EntityTypes.BatchDeleteEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest

BatchDeleteEntitiesRequest.Builder

The request message for EntityTypes.BatchDeleteEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntitiesRequest

BatchDeleteEntityTypesRequest

The request message for EntityTypes.BatchDeleteEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest

BatchDeleteEntityTypesRequest.Builder

The request message for EntityTypes.BatchDeleteEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteEntityTypesRequest

BatchDeleteIntentsRequest

The request message for Intents.BatchDeleteIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest

BatchDeleteIntentsRequest.Builder

The request message for Intents.BatchDeleteIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchDeleteIntentsRequest

BatchUpdateEntitiesRequest

The request message for EntityTypes.BatchUpdateEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest

BatchUpdateEntitiesRequest.Builder

The request message for EntityTypes.BatchUpdateEntities.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntitiesRequest

BatchUpdateEntityTypesRequest

The request message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest

BatchUpdateEntityTypesRequest.Builder

The request message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesRequest

BatchUpdateEntityTypesResponse

The response message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse

BatchUpdateEntityTypesResponse.Builder

The response message for EntityTypes.BatchUpdateEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateEntityTypesResponse

BatchUpdateIntentsRequest

The request message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest

BatchUpdateIntentsRequest.Builder

The request message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsRequest

BatchUpdateIntentsResponse

The response message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse

BatchUpdateIntentsResponse.Builder

The response message for Intents.BatchUpdateIntents.

Protobuf type google.cloud.dialogflow.v2beta1.BatchUpdateIntentsResponse

ClearSuggestionFeatureConfigOperationMetadata

Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata

ClearSuggestionFeatureConfigOperationMetadata.Builder

Metadata for a [ConversationProfile.ClearSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigOperationMetadata

ClearSuggestionFeatureConfigRequest

The request message for [ConversationProfiles.ClearFeature][].

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigRequest

ClearSuggestionFeatureConfigRequest.Builder

The request message for [ConversationProfiles.ClearFeature][].

Protobuf type google.cloud.dialogflow.v2beta1.ClearSuggestionFeatureConfigRequest

CompileSuggestionRequest

The request message for Participants.CompileSuggestion.

Protobuf type google.cloud.dialogflow.v2beta1.CompileSuggestionRequest

CompileSuggestionRequest.Builder

The request message for Participants.CompileSuggestion.

Protobuf type google.cloud.dialogflow.v2beta1.CompileSuggestionRequest

CompileSuggestionResponse

The response message for Participants.CompileSuggestion.

Protobuf type google.cloud.dialogflow.v2beta1.CompileSuggestionResponse

CompileSuggestionResponse.Builder

The response message for Participants.CompileSuggestion.

Protobuf type google.cloud.dialogflow.v2beta1.CompileSuggestionResponse

CompleteConversationRequest

The request message for Conversations.CompleteConversation.

Protobuf type google.cloud.dialogflow.v2beta1.CompleteConversationRequest

CompleteConversationRequest.Builder

The request message for Conversations.CompleteConversation.

Protobuf type google.cloud.dialogflow.v2beta1.CompleteConversationRequest

Context

Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the Contexts guide.

Protobuf type google.cloud.dialogflow.v2beta1.Context

Context.Builder

Dialogflow contexts are similar to natural language context. If a person says to you "they are orange", you need context in order to understand what "they" is referring to. Similarly, for Dialogflow to handle an end-user expression like that, it needs to be provided with context in order to correctly match an intent. Using contexts, you can control the flow of a conversation. You can configure contexts for an intent by setting input and output contexts, which are identified by string names. When an intent is matched, any configured output contexts for that intent become active. While any contexts are active, Dialogflow is more likely to match intents that are configured with input contexts that correspond to the currently active contexts. For more information about context, see the Contexts guide.

Protobuf type google.cloud.dialogflow.v2beta1.Context

ContextName

ContextName.Builder

Builder for projects/{project}/agent/sessions/{session}/contexts/{context}.

ContextName.ProjectEnvironmentUserSessionContextBuilder

Builder for projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}.

ContextName.ProjectLocationEnvironmentUserSessionContextBuilder

Builder for projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/contexts/{context}.

ContextName.ProjectLocationSessionContextBuilder

Builder for projects/{project}/locations/{location}/agent/sessions/{session}/contexts/{context}.

ContextProto

ContextsClient

Service Description: Service for managing Contexts.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ContextsClient contextsClient = ContextsClient.create()) {
   ContextName name =
       ContextName.ofProjectSessionContextName("[PROJECT]", "[SESSION]", "[CONTEXT]");
   Context response = contextsClient.getContext(name);
 }
 

Note: close() needs to be called on the ContextsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of ContextsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ContextsSettings contextsSettings =
     ContextsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ContextsClient contextsClient = ContextsClient.create(contextsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ContextsSettings contextsSettings =
     ContextsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ContextsClient contextsClient = ContextsClient.create(contextsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ContextsSettings contextsSettings = ContextsSettings.newHttpJsonBuilder().build();
 ContextsClient contextsClient = ContextsClient.create(contextsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ContextsClient.ListContextsFixedSizeCollection

ContextsClient.ListContextsPage

ContextsClient.ListContextsPagedResponse

ContextsClient.ListLocationsFixedSizeCollection

ContextsClient.ListLocationsPage

ContextsClient.ListLocationsPagedResponse

ContextsGrpc

Service for managing Contexts.

ContextsGrpc.ContextsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Contexts.

Service for managing Contexts.

ContextsGrpc.ContextsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Contexts.

Service for managing Contexts.

ContextsGrpc.ContextsImplBase

Base class for the server implementation of the service Contexts.

Service for managing Contexts.

ContextsGrpc.ContextsStub

A stub to allow clients to do asynchronous rpc calls to service Contexts.

Service for managing Contexts.

ContextsSettings

Settings class to configure an instance of ContextsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getContext to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ContextsSettings.Builder contextsSettingsBuilder = ContextsSettings.newBuilder();
 contextsSettingsBuilder
     .getContextSettings()
     .setRetrySettings(
         contextsSettingsBuilder
             .getContextSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ContextsSettings contextsSettings = contextsSettingsBuilder.build();
 

ContextsSettings.Builder

Builder for ContextsSettings.

Conversation

Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.

Protobuf type google.cloud.dialogflow.v2beta1.Conversation

Conversation.Builder

Represents a conversation. A conversation is an interaction between an agent, including live agents and Dialogflow agents, and a support customer. Conversations can include phone calls and text-based chat sessions.

Protobuf type google.cloud.dialogflow.v2beta1.Conversation

ConversationEvent

Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationEvent

ConversationEvent.Builder

Represents a notification sent to Pub/Sub subscribers for conversation lifecycle events.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationEvent

ConversationEventProto

ConversationModelName

ConversationModelName.Builder

Builder for projects/{project}/locations/{location}/conversationModels/{conversation_model}.

ConversationName

ConversationName.Builder

Builder for projects/{project}/conversations/{conversation}.

ConversationName.ProjectLocationConversationBuilder

Builder for projects/{project}/locations/{location}/conversations/{conversation}.

ConversationPhoneNumber

Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationPhoneNumber

ConversationPhoneNumber.Builder

Represents a phone number for telephony integration. It allows for connecting a particular conversation over telephony.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationPhoneNumber

ConversationProfile

Defines the services to connect to incoming Dialogflow conversations.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationProfile

ConversationProfile.Builder

Defines the services to connect to incoming Dialogflow conversations.

Protobuf type google.cloud.dialogflow.v2beta1.ConversationProfile

ConversationProfileName

ConversationProfileName.Builder

Builder for projects/{project}/conversationProfiles/{conversation_profile}.

ConversationProfileName.ProjectLocationConversationProfileBuilder

Builder for projects/{project}/locations/{location}/conversationProfiles/{conversation_profile}.

ConversationProfileProto

ConversationProfilesClient

Service Description: Service for managing ConversationProfiles.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ConversationProfilesClient conversationProfilesClient =
     ConversationProfilesClient.create()) {
   ConversationProfileName name =
       ConversationProfileName.ofProjectConversationProfileName(
           "[PROJECT]", "[CONVERSATION_PROFILE]");
   ConversationProfile response = conversationProfilesClient.getConversationProfile(name);
 }
 

Note: close() needs to be called on the ConversationProfilesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of ConversationProfilesSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationProfilesSettings conversationProfilesSettings =
     ConversationProfilesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ConversationProfilesClient conversationProfilesClient =
     ConversationProfilesClient.create(conversationProfilesSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationProfilesSettings conversationProfilesSettings =
     ConversationProfilesSettings.newBuilder().setEndpoint(myEndpoint).build();
 ConversationProfilesClient conversationProfilesClient =
     ConversationProfilesClient.create(conversationProfilesSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationProfilesSettings conversationProfilesSettings =
     ConversationProfilesSettings.newHttpJsonBuilder().build();
 ConversationProfilesClient conversationProfilesClient =
     ConversationProfilesClient.create(conversationProfilesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ConversationProfilesClient.ListConversationProfilesFixedSizeCollection

ConversationProfilesClient.ListConversationProfilesPage

ConversationProfilesClient.ListConversationProfilesPagedResponse

ConversationProfilesClient.ListLocationsFixedSizeCollection

ConversationProfilesClient.ListLocationsPage

ConversationProfilesClient.ListLocationsPagedResponse

ConversationProfilesGrpc

Service for managing ConversationProfiles.

ConversationProfilesGrpc.ConversationProfilesBlockingStub

A stub to allow clients to do synchronous rpc calls to service ConversationProfiles.

Service for managing ConversationProfiles.

ConversationProfilesGrpc.ConversationProfilesFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service ConversationProfiles.

Service for managing ConversationProfiles.

ConversationProfilesGrpc.ConversationProfilesImplBase

Base class for the server implementation of the service ConversationProfiles.

Service for managing ConversationProfiles.

ConversationProfilesGrpc.ConversationProfilesStub

A stub to allow clients to do asynchronous rpc calls to service ConversationProfiles.

Service for managing ConversationProfiles.

ConversationProfilesSettings

Settings class to configure an instance of ConversationProfilesClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getConversationProfile to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationProfilesSettings.Builder conversationProfilesSettingsBuilder =
     ConversationProfilesSettings.newBuilder();
 conversationProfilesSettingsBuilder
     .getConversationProfileSettings()
     .setRetrySettings(
         conversationProfilesSettingsBuilder
             .getConversationProfileSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ConversationProfilesSettings conversationProfilesSettings =
     conversationProfilesSettingsBuilder.build();
 

ConversationProfilesSettings.Builder

Builder for ConversationProfilesSettings.

ConversationProto

ConversationsClient

Service Description: Service for managing Conversations.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ConversationsClient conversationsClient = ConversationsClient.create()) {
   LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
   Conversation conversation = Conversation.newBuilder().build();
   Conversation response = conversationsClient.createConversation(parent, conversation);
 }
 

Note: close() needs to be called on the ConversationsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of ConversationsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationsSettings conversationsSettings =
     ConversationsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationsSettings conversationsSettings =
     ConversationsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationsSettings conversationsSettings =
     ConversationsSettings.newHttpJsonBuilder().build();
 ConversationsClient conversationsClient = ConversationsClient.create(conversationsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ConversationsClient.ListConversationsFixedSizeCollection

ConversationsClient.ListConversationsPage

ConversationsClient.ListConversationsPagedResponse

ConversationsClient.ListLocationsFixedSizeCollection

ConversationsClient.ListLocationsPage

ConversationsClient.ListLocationsPagedResponse

ConversationsClient.ListMessagesFixedSizeCollection

ConversationsClient.ListMessagesPage

ConversationsClient.ListMessagesPagedResponse

ConversationsGrpc

Service for managing Conversations.

ConversationsGrpc.ConversationsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Conversations.

Service for managing Conversations.

ConversationsGrpc.ConversationsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Conversations.

Service for managing Conversations.

ConversationsGrpc.ConversationsImplBase

Base class for the server implementation of the service Conversations.

Service for managing Conversations.

ConversationsGrpc.ConversationsStub

A stub to allow clients to do asynchronous rpc calls to service Conversations.

Service for managing Conversations.

ConversationsSettings

Settings class to configure an instance of ConversationsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of createConversation to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ConversationsSettings.Builder conversationsSettingsBuilder = ConversationsSettings.newBuilder();
 conversationsSettingsBuilder
     .createConversationSettings()
     .setRetrySettings(
         conversationsSettingsBuilder
             .createConversationSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ConversationsSettings conversationsSettings = conversationsSettingsBuilder.build();
 

ConversationsSettings.Builder

Builder for ConversationsSettings.

CreateContextRequest

The request message for Contexts.CreateContext.

Protobuf type google.cloud.dialogflow.v2beta1.CreateContextRequest

CreateContextRequest.Builder

The request message for Contexts.CreateContext.

Protobuf type google.cloud.dialogflow.v2beta1.CreateContextRequest

CreateConversationProfileRequest

The request message for ConversationProfiles.CreateConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest

CreateConversationProfileRequest.Builder

The request message for ConversationProfiles.CreateConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.CreateConversationProfileRequest

CreateConversationRequest

The request message for Conversations.CreateConversation.

Protobuf type google.cloud.dialogflow.v2beta1.CreateConversationRequest

CreateConversationRequest.Builder

The request message for Conversations.CreateConversation.

Protobuf type google.cloud.dialogflow.v2beta1.CreateConversationRequest

CreateDocumentRequest

Request message for Documents.CreateDocument.

Protobuf type google.cloud.dialogflow.v2beta1.CreateDocumentRequest

CreateDocumentRequest.Builder

Request message for Documents.CreateDocument.

Protobuf type google.cloud.dialogflow.v2beta1.CreateDocumentRequest

CreateEntityTypeRequest

The request message for EntityTypes.CreateEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest

CreateEntityTypeRequest.Builder

The request message for EntityTypes.CreateEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.CreateEntityTypeRequest

CreateEnvironmentRequest

The request message for Environments.CreateEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest

CreateEnvironmentRequest.Builder

The request message for Environments.CreateEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.CreateEnvironmentRequest

CreateIntentRequest

The request message for Intents.CreateIntent.

Protobuf type google.cloud.dialogflow.v2beta1.CreateIntentRequest

CreateIntentRequest.Builder

The request message for Intents.CreateIntent.

Protobuf type google.cloud.dialogflow.v2beta1.CreateIntentRequest

CreateKnowledgeBaseRequest

Request message for KnowledgeBases.CreateKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest

CreateKnowledgeBaseRequest.Builder

Request message for KnowledgeBases.CreateKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.CreateKnowledgeBaseRequest

CreateMessageRequest

The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.

Protobuf type google.cloud.dialogflow.v2beta1.CreateMessageRequest

CreateMessageRequest.Builder

The request message to create one Message. Currently it is only used in BatchCreateMessagesRequest.

Protobuf type google.cloud.dialogflow.v2beta1.CreateMessageRequest

CreateParticipantRequest

The request message for Participants.CreateParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.CreateParticipantRequest

CreateParticipantRequest.Builder

The request message for Participants.CreateParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.CreateParticipantRequest

CreateSessionEntityTypeRequest

The request message for SessionEntityTypes.CreateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest

CreateSessionEntityTypeRequest.Builder

The request message for SessionEntityTypes.CreateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.CreateSessionEntityTypeRequest

CreateVersionRequest

The request message for Versions.CreateVersion.

Protobuf type google.cloud.dialogflow.v2beta1.CreateVersionRequest

CreateVersionRequest.Builder

The request message for Versions.CreateVersion.

Protobuf type google.cloud.dialogflow.v2beta1.CreateVersionRequest

DeleteAgentRequest

The request message for Agents.DeleteAgent.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteAgentRequest

DeleteAgentRequest.Builder

The request message for Agents.DeleteAgent.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteAgentRequest

DeleteAllContextsRequest

The request message for Contexts.DeleteAllContexts.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest

DeleteAllContextsRequest.Builder

The request message for Contexts.DeleteAllContexts.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteAllContextsRequest

DeleteContextRequest

The request message for Contexts.DeleteContext.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteContextRequest

DeleteContextRequest.Builder

The request message for Contexts.DeleteContext.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteContextRequest

DeleteConversationProfileRequest

The request message for ConversationProfiles.DeleteConversationProfile. This operation fails if the conversation profile is still referenced from a phone number.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteConversationProfileRequest

DeleteConversationProfileRequest.Builder

The request message for ConversationProfiles.DeleteConversationProfile. This operation fails if the conversation profile is still referenced from a phone number.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteConversationProfileRequest

DeleteDocumentRequest

Request message for Documents.DeleteDocument.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteDocumentRequest

DeleteDocumentRequest.Builder

Request message for Documents.DeleteDocument.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteDocumentRequest

DeleteEntityTypeRequest

The request message for EntityTypes.DeleteEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest

DeleteEntityTypeRequest.Builder

The request message for EntityTypes.DeleteEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteEntityTypeRequest

DeleteEnvironmentRequest

The request message for Environments.DeleteEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest

DeleteEnvironmentRequest.Builder

The request message for Environments.DeleteEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteEnvironmentRequest

DeleteIntentRequest

The request message for Intents.DeleteIntent.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteIntentRequest

DeleteIntentRequest.Builder

The request message for Intents.DeleteIntent.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteIntentRequest

DeleteKnowledgeBaseRequest

Request message for KnowledgeBases.DeleteKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest

DeleteKnowledgeBaseRequest.Builder

Request message for KnowledgeBases.DeleteKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteKnowledgeBaseRequest

DeleteSessionEntityTypeRequest

The request message for SessionEntityTypes.DeleteSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest

DeleteSessionEntityTypeRequest.Builder

The request message for SessionEntityTypes.DeleteSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteSessionEntityTypeRequest

DeleteVersionRequest

The request message for Versions.DeleteVersion.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteVersionRequest

DeleteVersionRequest.Builder

The request message for Versions.DeleteVersion.

Protobuf type google.cloud.dialogflow.v2beta1.DeleteVersionRequest

DetectIntentRequest

The request to detect user's intent.

Protobuf type google.cloud.dialogflow.v2beta1.DetectIntentRequest

DetectIntentRequest.Builder

The request to detect user's intent.

Protobuf type google.cloud.dialogflow.v2beta1.DetectIntentRequest

DetectIntentResponse

The message returned from the DetectIntent method.

Protobuf type google.cloud.dialogflow.v2beta1.DetectIntentResponse

DetectIntentResponse.Builder

The message returned from the DetectIntent method.

Protobuf type google.cloud.dialogflow.v2beta1.DetectIntentResponse

Document

A knowledge document to be used by a KnowledgeBase. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Protobuf type google.cloud.dialogflow.v2beta1.Document

Document.Builder

A knowledge document to be used by a KnowledgeBase. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases.documents resource is deprecated; only use projects.knowledgeBases.documents.

Protobuf type google.cloud.dialogflow.v2beta1.Document

Document.ReloadStatus

The status of a reload attempt.

Protobuf type google.cloud.dialogflow.v2beta1.Document.ReloadStatus

Document.ReloadStatus.Builder

The status of a reload attempt.

Protobuf type google.cloud.dialogflow.v2beta1.Document.ReloadStatus

DocumentName

DocumentName.Builder

Builder for projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}.

DocumentName.ProjectLocationKnowledgeBaseDocumentBuilder

Builder for projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}/documents/{document}.

DocumentProto

DocumentsClient

Service Description: Service for managing knowledge Documents.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (DocumentsClient documentsClient = DocumentsClient.create()) {
   DocumentName name =
       DocumentName.ofProjectKnowledgeBaseDocumentName(
           "[PROJECT]", "[KNOWLEDGE_BASE]", "[DOCUMENT]");
   Document response = documentsClient.getDocument(name);
 }
 

Note: close() needs to be called on the DocumentsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of DocumentsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 DocumentsSettings documentsSettings =
     DocumentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 DocumentsSettings documentsSettings =
     DocumentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 DocumentsSettings documentsSettings = DocumentsSettings.newHttpJsonBuilder().build();
 DocumentsClient documentsClient = DocumentsClient.create(documentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

DocumentsClient.ListDocumentsFixedSizeCollection

DocumentsClient.ListDocumentsPage

DocumentsClient.ListDocumentsPagedResponse

DocumentsClient.ListLocationsFixedSizeCollection

DocumentsClient.ListLocationsPage

DocumentsClient.ListLocationsPagedResponse

DocumentsGrpc

Service for managing knowledge Documents.

DocumentsGrpc.DocumentsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Documents.

Service for managing knowledge Documents.

DocumentsGrpc.DocumentsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Documents.

Service for managing knowledge Documents.

DocumentsGrpc.DocumentsImplBase

Base class for the server implementation of the service Documents.

Service for managing knowledge Documents.

DocumentsGrpc.DocumentsStub

A stub to allow clients to do asynchronous rpc calls to service Documents.

Service for managing knowledge Documents.

DocumentsSettings

Settings class to configure an instance of DocumentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getDocument to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 DocumentsSettings.Builder documentsSettingsBuilder = DocumentsSettings.newBuilder();
 documentsSettingsBuilder
     .getDocumentSettings()
     .setRetrySettings(
         documentsSettingsBuilder
             .getDocumentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DocumentsSettings documentsSettings = documentsSettingsBuilder.build();
 

DocumentsSettings.Builder

Builder for DocumentsSettings.

DtmfParameters

The message in the response that indicates the parameters of DTMF.

Protobuf type google.cloud.dialogflow.v2beta1.DtmfParameters

DtmfParameters.Builder

The message in the response that indicates the parameters of DTMF.

Protobuf type google.cloud.dialogflow.v2beta1.DtmfParameters

EntityType

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the Entity guide.

Protobuf type google.cloud.dialogflow.v2beta1.EntityType

EntityType.Builder

Each intent parameter has a type, called the entity type, which dictates exactly how data from an end-user expression is extracted. Dialogflow provides predefined system entities that can match many common types of data. For example, there are system entities for matching dates, times, colors, email addresses, and so on. You can also create your own custom entities for matching custom data. For example, you could define a vegetable entity that can match the types of vegetables available for purchase with a grocery store agent. For more information, see the Entity guide.

Protobuf type google.cloud.dialogflow.v2beta1.EntityType

EntityType.Entity

An entity entry for an associated entity type.

Protobuf type google.cloud.dialogflow.v2beta1.EntityType.Entity

EntityType.Entity.Builder

An entity entry for an associated entity type.

Protobuf type google.cloud.dialogflow.v2beta1.EntityType.Entity

EntityTypeBatch

This message is a wrapper around a collection of entity types.

Protobuf type google.cloud.dialogflow.v2beta1.EntityTypeBatch

EntityTypeBatch.Builder

This message is a wrapper around a collection of entity types.

Protobuf type google.cloud.dialogflow.v2beta1.EntityTypeBatch

EntityTypeName

EntityTypeName.Builder

Builder for projects/{project}/agent/entityTypes/{entity_type}.

EntityTypeName.ProjectLocationEntityTypeBuilder

Builder for projects/{project}/locations/{location}/agent/entityTypes/{entity_type}.

EntityTypeProto

EntityTypesClient

Service Description: Service for managing EntityTypes.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (EntityTypesClient entityTypesClient = EntityTypesClient.create()) {
   EntityTypeName name = EntityTypeName.ofProjectEntityTypeName("[PROJECT]", "[ENTITY_TYPE]");
   EntityType response = entityTypesClient.getEntityType(name);
 }
 

Note: close() needs to be called on the EntityTypesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of EntityTypesSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EntityTypesSettings entityTypesSettings =
     EntityTypesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EntityTypesSettings entityTypesSettings =
     EntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
 EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EntityTypesSettings entityTypesSettings = EntityTypesSettings.newHttpJsonBuilder().build();
 EntityTypesClient entityTypesClient = EntityTypesClient.create(entityTypesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

EntityTypesClient.ListEntityTypesFixedSizeCollection

EntityTypesClient.ListEntityTypesPage

EntityTypesClient.ListEntityTypesPagedResponse

EntityTypesClient.ListLocationsFixedSizeCollection

EntityTypesClient.ListLocationsPage

EntityTypesClient.ListLocationsPagedResponse

EntityTypesGrpc

Service for managing EntityTypes.

EntityTypesGrpc.EntityTypesBlockingStub

A stub to allow clients to do synchronous rpc calls to service EntityTypes.

Service for managing EntityTypes.

EntityTypesGrpc.EntityTypesFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service EntityTypes.

Service for managing EntityTypes.

EntityTypesGrpc.EntityTypesImplBase

Base class for the server implementation of the service EntityTypes.

Service for managing EntityTypes.

EntityTypesGrpc.EntityTypesStub

A stub to allow clients to do asynchronous rpc calls to service EntityTypes.

Service for managing EntityTypes.

EntityTypesSettings

Settings class to configure an instance of EntityTypesClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getEntityType to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EntityTypesSettings.Builder entityTypesSettingsBuilder = EntityTypesSettings.newBuilder();
 entityTypesSettingsBuilder
     .getEntityTypeSettings()
     .setRetrySettings(
         entityTypesSettingsBuilder
             .getEntityTypeSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 EntityTypesSettings entityTypesSettings = entityTypesSettingsBuilder.build();
 

EntityTypesSettings.Builder

Builder for EntityTypesSettings.

Environment

You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:

Protobuf type google.cloud.dialogflow.v2beta1.Environment

Environment.Builder

You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:

Protobuf type google.cloud.dialogflow.v2beta1.Environment

EnvironmentContextName

AUTO-GENERATED DOCUMENTATION AND CLASS

EnvironmentContextName.Builder

Builder for EnvironmentContextName.

EnvironmentHistory

The response message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory

EnvironmentHistory.Builder

The response message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory

EnvironmentHistory.Entry

Represents an environment history entry.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry

EnvironmentHistory.Entry.Builder

Represents an environment history entry.

Protobuf type google.cloud.dialogflow.v2beta1.EnvironmentHistory.Entry

EnvironmentName

EnvironmentName.Builder

Builder for projects/{project}/agent/environments/{environment}.

EnvironmentName.ProjectLocationEnvironmentBuilder

Builder for projects/{project}/locations/{location}/agent/environments/{environment}.

EnvironmentProto

EnvironmentSessionEntityTypeName

AUTO-GENERATED DOCUMENTATION AND CLASS

EnvironmentSessionEntityTypeName.Builder

Builder for EnvironmentSessionEntityTypeName.

EnvironmentSessionName

AUTO-GENERATED DOCUMENTATION AND CLASS

EnvironmentSessionName.Builder

Builder for EnvironmentSessionName.

EnvironmentsClient

Service Description: Service for managing Environments.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (EnvironmentsClient environmentsClient = EnvironmentsClient.create()) {
   GetEnvironmentRequest request =
       GetEnvironmentRequest.newBuilder()
           .setName(
               EnvironmentName.ofProjectEnvironmentName("[PROJECT]", "[ENVIRONMENT]").toString())
           .build();
   Environment response = environmentsClient.getEnvironment(request);
 }
 

Note: close() needs to be called on the EnvironmentsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of EnvironmentsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EnvironmentsSettings environmentsSettings =
     EnvironmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EnvironmentsSettings environmentsSettings =
     EnvironmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EnvironmentsSettings environmentsSettings = EnvironmentsSettings.newHttpJsonBuilder().build();
 EnvironmentsClient environmentsClient = EnvironmentsClient.create(environmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

EnvironmentsClient.GetEnvironmentHistoryFixedSizeCollection

EnvironmentsClient.GetEnvironmentHistoryPage

EnvironmentsClient.GetEnvironmentHistoryPagedResponse

EnvironmentsClient.ListEnvironmentsFixedSizeCollection

EnvironmentsClient.ListEnvironmentsPage

EnvironmentsClient.ListEnvironmentsPagedResponse

EnvironmentsClient.ListLocationsFixedSizeCollection

EnvironmentsClient.ListLocationsPage

EnvironmentsClient.ListLocationsPagedResponse

EnvironmentsGrpc

Service for managing Environments.

EnvironmentsGrpc.EnvironmentsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Environments.

Service for managing Environments.

EnvironmentsGrpc.EnvironmentsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Environments.

Service for managing Environments.

EnvironmentsGrpc.EnvironmentsImplBase

Base class for the server implementation of the service Environments.

Service for managing Environments.

EnvironmentsGrpc.EnvironmentsStub

A stub to allow clients to do asynchronous rpc calls to service Environments.

Service for managing Environments.

EnvironmentsSettings

Settings class to configure an instance of EnvironmentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getEnvironment to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 EnvironmentsSettings.Builder environmentsSettingsBuilder = EnvironmentsSettings.newBuilder();
 environmentsSettingsBuilder
     .getEnvironmentSettings()
     .setRetrySettings(
         environmentsSettingsBuilder
             .getEnvironmentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 EnvironmentsSettings environmentsSettings = environmentsSettingsBuilder.build();
 

EnvironmentsSettings.Builder

Builder for EnvironmentsSettings.

EventInput

Events allow for matching intents by event name instead of the natural language input. For instance, input <event: { name: "welcome_event", parameters: { name: "Sam" } }> can trigger a personalized welcome response. The parameter name may be used by the agent in the response: "Hello #welcome_event.name! What can I do for you today?".

Protobuf type google.cloud.dialogflow.v2beta1.EventInput

EventInput.Builder

Events allow for matching intents by event name instead of the natural language input. For instance, input <event: { name: "welcome_event", parameters: { name: "Sam" } }> can trigger a personalized welcome response. The parameter name may be used by the agent in the response: "Hello #welcome_event.name! What can I do for you today?".

Protobuf type google.cloud.dialogflow.v2beta1.EventInput

ExportAgentRequest

The request message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentRequest

ExportAgentRequest.Builder

The request message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentRequest

ExportAgentResponse

The response message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentResponse

ExportAgentResponse.Builder

The response message for Agents.ExportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ExportAgentResponse

ExportOperationMetadata

Metadata related to the Export Data Operations (e.g. ExportDocument).

Protobuf type google.cloud.dialogflow.v2beta1.ExportOperationMetadata

ExportOperationMetadata.Builder

Metadata related to the Export Data Operations (e.g. ExportDocument).

Protobuf type google.cloud.dialogflow.v2beta1.ExportOperationMetadata

FaqAnswer

Represents answer from "frequently asked questions".

Protobuf type google.cloud.dialogflow.v2beta1.FaqAnswer

FaqAnswer.Builder

Represents answer from "frequently asked questions".

Protobuf type google.cloud.dialogflow.v2beta1.FaqAnswer

Fulfillment

By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the fulfillment guide.

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment

Fulfillment.Builder

By default, your agent responds to a matched intent with a static response. As an alternative, you can provide a more dynamic response by using fulfillment. When you enable fulfillment for an intent, Dialogflow responds to that intent by calling a service that you define. For example, if an end-user wants to schedule a haircut on Friday, your service can check your database and respond to the end-user with availability information for Friday. For more information, see the fulfillment guide.

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment

Fulfillment.Feature

Whether fulfillment is enabled for the specific feature.

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment.Feature

Fulfillment.Feature.Builder

Whether fulfillment is enabled for the specific feature.

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment.Feature

Fulfillment.GenericWebService

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService

Fulfillment.GenericWebService.Builder

Represents configuration for a generic web service. Dialogflow supports two mechanisms for authentications:

Protobuf type google.cloud.dialogflow.v2beta1.Fulfillment.GenericWebService

FulfillmentName

FulfillmentName.Builder

Builder for projects/{project}/agent/fulfillment.

FulfillmentName.ProjectLocationBuilder

Builder for projects/{project}/locations/{location}/agent/fulfillment.

FulfillmentProto

FulfillmentsClient

Service Description: Service for managing Fulfillments.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create()) {
   FulfillmentName name = FulfillmentName.ofProjectName("[PROJECT]");
   Fulfillment response = fulfillmentsClient.getFulfillment(name);
 }
 

Note: close() needs to be called on the FulfillmentsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of FulfillmentsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 FulfillmentsSettings fulfillmentsSettings =
     FulfillmentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 FulfillmentsSettings fulfillmentsSettings =
     FulfillmentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 FulfillmentsSettings fulfillmentsSettings = FulfillmentsSettings.newHttpJsonBuilder().build();
 FulfillmentsClient fulfillmentsClient = FulfillmentsClient.create(fulfillmentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

FulfillmentsClient.ListLocationsFixedSizeCollection

FulfillmentsClient.ListLocationsPage

FulfillmentsClient.ListLocationsPagedResponse

FulfillmentsGrpc

Service for managing Fulfillments.

FulfillmentsGrpc.FulfillmentsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Fulfillments.

Service for managing Fulfillments.

FulfillmentsGrpc.FulfillmentsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Fulfillments.

Service for managing Fulfillments.

FulfillmentsGrpc.FulfillmentsImplBase

Base class for the server implementation of the service Fulfillments.

Service for managing Fulfillments.

FulfillmentsGrpc.FulfillmentsStub

A stub to allow clients to do asynchronous rpc calls to service Fulfillments.

Service for managing Fulfillments.

FulfillmentsSettings

Settings class to configure an instance of FulfillmentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getFulfillment to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 FulfillmentsSettings.Builder fulfillmentsSettingsBuilder = FulfillmentsSettings.newBuilder();
 fulfillmentsSettingsBuilder
     .getFulfillmentSettings()
     .setRetrySettings(
         fulfillmentsSettingsBuilder
             .getFulfillmentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 FulfillmentsSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
 

FulfillmentsSettings.Builder

Builder for FulfillmentsSettings.

GcsDestination

Google Cloud Storage location for the output.

Protobuf type google.cloud.dialogflow.v2beta1.GcsDestination

GcsDestination.Builder

Google Cloud Storage location for the output.

Protobuf type google.cloud.dialogflow.v2beta1.GcsDestination

GcsProto

GcsSource

Google Cloud Storage location for single input.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSource

GcsSource.Builder

Google Cloud Storage location for single input.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSource

GcsSources

Google Cloud Storage locations for the inputs.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSources

GcsSources.Builder

Google Cloud Storage locations for the inputs.

Protobuf type google.cloud.dialogflow.v2beta1.GcsSources

GetAgentRequest

The request message for Agents.GetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.GetAgentRequest

GetAgentRequest.Builder

The request message for Agents.GetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.GetAgentRequest

GetAnswerRecordRequest

Request message for AnswerRecords.GetAnswerRecord.

Protobuf type google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest

GetAnswerRecordRequest.Builder

Request message for AnswerRecords.GetAnswerRecord.

Protobuf type google.cloud.dialogflow.v2beta1.GetAnswerRecordRequest

GetContextRequest

The request message for Contexts.GetContext.

Protobuf type google.cloud.dialogflow.v2beta1.GetContextRequest

GetContextRequest.Builder

The request message for Contexts.GetContext.

Protobuf type google.cloud.dialogflow.v2beta1.GetContextRequest

GetConversationProfileRequest

The request message for ConversationProfiles.GetConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.GetConversationProfileRequest

GetConversationProfileRequest.Builder

The request message for ConversationProfiles.GetConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.GetConversationProfileRequest

GetConversationRequest

The request message for Conversations.GetConversation.

Protobuf type google.cloud.dialogflow.v2beta1.GetConversationRequest

GetConversationRequest.Builder

The request message for Conversations.GetConversation.

Protobuf type google.cloud.dialogflow.v2beta1.GetConversationRequest

GetDocumentRequest

Request message for Documents.GetDocument.

Protobuf type google.cloud.dialogflow.v2beta1.GetDocumentRequest

GetDocumentRequest.Builder

Request message for Documents.GetDocument.

Protobuf type google.cloud.dialogflow.v2beta1.GetDocumentRequest

GetEntityTypeRequest

The request message for EntityTypes.GetEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.GetEntityTypeRequest

GetEntityTypeRequest.Builder

The request message for EntityTypes.GetEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.GetEntityTypeRequest

GetEnvironmentHistoryRequest

The request message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest

GetEnvironmentHistoryRequest.Builder

The request message for Environments.GetEnvironmentHistory.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentHistoryRequest

GetEnvironmentRequest

The request message for Environments.GetEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentRequest

GetEnvironmentRequest.Builder

The request message for Environments.GetEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.GetEnvironmentRequest

GetFulfillmentRequest

The request message for Fulfillments.GetFulfillment.

Protobuf type google.cloud.dialogflow.v2beta1.GetFulfillmentRequest

GetFulfillmentRequest.Builder

The request message for Fulfillments.GetFulfillment.

Protobuf type google.cloud.dialogflow.v2beta1.GetFulfillmentRequest

GetIntentRequest

The request message for Intents.GetIntent.

Protobuf type google.cloud.dialogflow.v2beta1.GetIntentRequest

GetIntentRequest.Builder

The request message for Intents.GetIntent.

Protobuf type google.cloud.dialogflow.v2beta1.GetIntentRequest

GetKnowledgeBaseRequest

Request message for KnowledgeBases.GetKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest

GetKnowledgeBaseRequest.Builder

Request message for KnowledgeBases.GetKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.GetKnowledgeBaseRequest

GetParticipantRequest

The request message for Participants.GetParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.GetParticipantRequest

GetParticipantRequest.Builder

The request message for Participants.GetParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.GetParticipantRequest

GetSessionEntityTypeRequest

The request message for SessionEntityTypes.GetSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest

GetSessionEntityTypeRequest.Builder

The request message for SessionEntityTypes.GetSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.GetSessionEntityTypeRequest

GetValidationResultRequest

The request message for Agents.GetValidationResult.

Protobuf type google.cloud.dialogflow.v2beta1.GetValidationResultRequest

GetValidationResultRequest.Builder

The request message for Agents.GetValidationResult.

Protobuf type google.cloud.dialogflow.v2beta1.GetValidationResultRequest

GetVersionRequest

The request message for Versions.GetVersion.

Protobuf type google.cloud.dialogflow.v2beta1.GetVersionRequest

GetVersionRequest.Builder

The request message for Versions.GetVersion.

Protobuf type google.cloud.dialogflow.v2beta1.GetVersionRequest

HumanAgentAssistantConfig

Defines the Human Agent Assistant to connect to a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig

HumanAgentAssistantConfig.Builder

Defines the Human Agent Assistant to connect to a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig

HumanAgentAssistantConfig.ConversationModelConfig

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig

HumanAgentAssistantConfig.ConversationModelConfig.Builder

Custom conversation models used in agent assist feature. Supported feature: ARTICLE_SUGGESTION, SMART_COMPOSE, SMART_REPLY, CONVERSATION_SUMMARIZATION.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationModelConfig

HumanAgentAssistantConfig.ConversationProcessConfig

Config to process conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig

HumanAgentAssistantConfig.ConversationProcessConfig.Builder

Config to process conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.ConversationProcessConfig

HumanAgentAssistantConfig.MessageAnalysisConfig

Configuration for analyses to run on each conversation message.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig

HumanAgentAssistantConfig.MessageAnalysisConfig.Builder

Configuration for analyses to run on each conversation message.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.MessageAnalysisConfig

HumanAgentAssistantConfig.SuggestionConfig

Detail human agent assistant config.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig

HumanAgentAssistantConfig.SuggestionConfig.Builder

Detail human agent assistant config.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionConfig

HumanAgentAssistantConfig.SuggestionFeatureConfig

Config for suggestion features.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig

HumanAgentAssistantConfig.SuggestionFeatureConfig.Builder

Config for suggestion features.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionFeatureConfig

HumanAgentAssistantConfig.SuggestionQueryConfig

Config for suggestion query.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig

HumanAgentAssistantConfig.SuggestionQueryConfig.Builder

Config for suggestion query.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig

HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

Settings that determine how to filter recent conversation context when generating suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings.Builder

Settings that determine how to filter recent conversation context when generating suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettings

HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource.Builder

Dialogflow source setting. Supported feature: DIALOGFLOW_ASSIST.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySource

HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource

Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource

HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource.Builder

Document source settings. Supported features: SMART_REPLY, SMART_COMPOSE.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySource

HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource

Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource

HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource.Builder

Knowledge base source settings. Supported features: ARTICLE_SUGGESTION, FAQ.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySource

HumanAgentAssistantConfig.SuggestionTriggerSettings

Settings of suggestion trigger.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings

HumanAgentAssistantConfig.SuggestionTriggerSettings.Builder

Settings of suggestion trigger.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantConfig.SuggestionTriggerSettings

HumanAgentAssistantEvent

Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent

HumanAgentAssistantEvent.Builder

Output only. Represents a notification sent to Pub/Sub subscribers for agent assistant events in a specific conversation.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentAssistantEvent

HumanAgentAssistantEventProto

HumanAgentHandoffConfig

Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig

HumanAgentHandoffConfig.Builder

Defines the hand off to a live agent, typically on which external agent service provider to connect to a conversation. Currently, this feature is not general available, please contact Google to get access.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig

HumanAgentHandoffConfig.LivePersonConfig

Configuration specific to LivePerson (https://www.liveperson.com).

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig

HumanAgentHandoffConfig.LivePersonConfig.Builder

Configuration specific to LivePerson (https://www.liveperson.com).

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.LivePersonConfig

HumanAgentHandoffConfig.SalesforceLiveAgentConfig

Configuration specific to Salesforce Live Agent.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig

HumanAgentHandoffConfig.SalesforceLiveAgentConfig.Builder

Configuration specific to Salesforce Live Agent.

Protobuf type google.cloud.dialogflow.v2beta1.HumanAgentHandoffConfig.SalesforceLiveAgentConfig

ImportAgentRequest

The request message for Agents.ImportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ImportAgentRequest

ImportAgentRequest.Builder

The request message for Agents.ImportAgent.

Protobuf type google.cloud.dialogflow.v2beta1.ImportAgentRequest

ImportDocumentTemplate

The template used for importing documents.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentTemplate

ImportDocumentTemplate.Builder

The template used for importing documents.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentTemplate

ImportDocumentsRequest

Request message for Documents.ImportDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentsRequest

ImportDocumentsRequest.Builder

Request message for Documents.ImportDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentsRequest

ImportDocumentsResponse

Response message for Documents.ImportDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentsResponse

ImportDocumentsResponse.Builder

Response message for Documents.ImportDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ImportDocumentsResponse

InputAudioConfig

Instructs the speech recognizer on how to process the audio content.

Protobuf type google.cloud.dialogflow.v2beta1.InputAudioConfig

InputAudioConfig.Builder

Instructs the speech recognizer on how to process the audio content.

Protobuf type google.cloud.dialogflow.v2beta1.InputAudioConfig

InputTextConfig

Defines the language used in the input text.

Protobuf type google.cloud.dialogflow.v2beta1.InputTextConfig

InputTextConfig.Builder

Defines the language used in the input text.

Protobuf type google.cloud.dialogflow.v2beta1.InputTextConfig

Intent

An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the intent guide.

Protobuf type google.cloud.dialogflow.v2beta1.Intent

Intent.Builder

An intent categorizes an end-user's intention for one conversation turn. For each agent, you define many intents, where your combined intents can handle a complete conversation. When an end-user writes or says something, referred to as an end-user expression or end-user input, Dialogflow matches the end-user input to the best intent in your agent. Matching an intent is also known as intent classification. For more information, see the intent guide.

Protobuf type google.cloud.dialogflow.v2beta1.Intent

Intent.FollowupIntentInfo

Represents a single followup intent in the chain.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo

Intent.FollowupIntentInfo.Builder

Represents a single followup intent in the chain.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.FollowupIntentInfo

Intent.Message

Corresponds to the Response field in the Dialogflow console.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message

Intent.Message.BasicCard

The basic card message. Useful for displaying information.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard

Intent.Message.BasicCard.Builder

The basic card message. Useful for displaying information.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard

Intent.Message.BasicCard.Button

The button object that appears at the bottom of a card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button

Intent.Message.BasicCard.Button.Builder

The button object that appears at the bottom of a card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button

Intent.Message.BasicCard.Button.OpenUriAction

Opens the given URI.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction

Intent.Message.BasicCard.Button.OpenUriAction.Builder

Opens the given URI.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BasicCard.Button.OpenUriAction

Intent.Message.BrowseCarouselCard

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

Browsing carousel tile

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.Builder

Browsing carousel tile

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

Actions on Google action to open a given url.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.Builder

Actions on Google action to open a given url.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction

Intent.Message.BrowseCarouselCard.Builder

Browse Carousel Card for Actions on Google. https://developers.google.com/actions/assistant/responses#browsing_carousel

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard

Intent.Message.Builder

Corresponds to the Response field in the Dialogflow console.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message

Intent.Message.Card

The card response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Card

Intent.Message.Card.Builder

The card response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Card

Intent.Message.Card.Button

Optional. Contains information about a button.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button

Intent.Message.Card.Button.Builder

Optional. Contains information about a button.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Card.Button

Intent.Message.CarouselSelect

The card for presenting a carousel of options to select from.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect

Intent.Message.CarouselSelect.Builder

The card for presenting a carousel of options to select from.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect

Intent.Message.CarouselSelect.Item

An item in the carousel.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item

Intent.Message.CarouselSelect.Item.Builder

An item in the carousel.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.CarouselSelect.Item

Intent.Message.ColumnProperties

Column properties for TableCard.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties

Intent.Message.ColumnProperties.Builder

Column properties for TableCard.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties

Intent.Message.Image

The image response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Image

Intent.Message.Image.Builder

The image response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Image

Intent.Message.LinkOutSuggestion

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion

Intent.Message.LinkOutSuggestion.Builder

The suggestion chip message that allows the user to jump out to the app or website associated with this agent.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.LinkOutSuggestion

Intent.Message.ListSelect

The card for presenting a list of options to select from.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect

Intent.Message.ListSelect.Builder

The card for presenting a list of options to select from.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect

Intent.Message.ListSelect.Item

An item in the list.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item

Intent.Message.ListSelect.Item.Builder

An item in the list.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.ListSelect.Item

Intent.Message.MediaContent

The media content card for Actions on Google.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent

Intent.Message.MediaContent.Builder

The media content card for Actions on Google.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent

Intent.Message.MediaContent.ResponseMediaObject

Response media object for media content card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject

Intent.Message.MediaContent.ResponseMediaObject.Builder

Response media object for media content card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaObject

Intent.Message.QuickReplies

The quick replies response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies

Intent.Message.QuickReplies.Builder

The quick replies response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.QuickReplies

Intent.Message.RbmCardContent

Rich Business Messaging (RBM) Card content

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent

Intent.Message.RbmCardContent.Builder

Rich Business Messaging (RBM) Card content

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent

Intent.Message.RbmCardContent.RbmMedia

Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types

  • image/jpeg
  • image/jpg'
  • image/gif
  • image/png Video Types
  • video/h263
  • video/m4v
  • video/mp4
  • video/mpeg
  • video/mpeg4
  • video/webm

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia

Intent.Message.RbmCardContent.RbmMedia.Builder

Rich Business Messaging (RBM) Media displayed in Cards The following media-types are currently supported: Image Types

  • image/jpeg
  • image/jpg'
  • image/gif
  • image/png Video Types
  • video/h263
  • video/m4v
  • video/mp4
  • video/mpeg
  • video/mpeg4
  • video/webm

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia

Intent.Message.RbmCarouselCard

Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard

Intent.Message.RbmCarouselCard.Builder

Carousel Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. If you want to show a single card with more control over the layout, please use RbmStandaloneCard instead.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard

Intent.Message.RbmStandaloneCard

Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard

Intent.Message.RbmStandaloneCard.Builder

Standalone Rich Business Messaging (RBM) rich card. Rich cards allow you to respond to users with more vivid content, e.g. with media and suggestions. You can group multiple rich cards into one using RbmCarouselCard but carousel cards will give you less control over the card layout.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard

Intent.Message.RbmSuggestedAction

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction

Intent.Message.RbmSuggestedAction.Builder

Rich Business Messaging (RBM) suggested client-side action that the user can choose from the card.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction

Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial

Opens the user's default dialer app with the specified phone number but does not dial automatically.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial

Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial.Builder

Opens the user's default dialer app with the specified phone number but does not dial automatically.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionDial

Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri

Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri

Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri.Builder

Opens the user's default web browser app to the specified uri If the user has an app installed that is registered as the default handler for the URL, then this app will be opened instead, and its icon will be used in the suggested action UI.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUri

Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation

Opens the device's location chooser so the user can pick a location to send back to the agent.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation

Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation.Builder

Opens the device's location chooser so the user can pick a location to send back to the agent.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocation

Intent.Message.RbmSuggestedReply

Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply

Intent.Message.RbmSuggestedReply.Builder

Rich Business Messaging (RBM) suggested reply that the user can click instead of typing in their own response.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestedReply

Intent.Message.RbmSuggestion

Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion

Intent.Message.RbmSuggestion.Builder

Rich Business Messaging (RBM) suggestion. Suggestions allow user to easily select/click a predefined response or perform an action (like opening a web uri).

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmSuggestion

Intent.Message.RbmText

Rich Business Messaging (RBM) text response with suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmText

Intent.Message.RbmText.Builder

Rich Business Messaging (RBM) text response with suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.RbmText

Intent.Message.SelectItemInfo

Additional info about the select item for when it is triggered in a dialog.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo

Intent.Message.SelectItemInfo.Builder

Additional info about the select item for when it is triggered in a dialog.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SelectItemInfo

Intent.Message.SimpleResponse

The simple response message containing speech or text.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse

Intent.Message.SimpleResponse.Builder

The simple response message containing speech or text.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponse

Intent.Message.SimpleResponses

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses

Intent.Message.SimpleResponses.Builder

The collection of simple response candidates. This message in QueryResult.fulfillment_messages and WebhookResponse.fulfillment_messages should contain only one SimpleResponse.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.SimpleResponses

Intent.Message.Suggestion

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion

Intent.Message.Suggestion.Builder

The suggestion chip message that the user can tap to quickly post a reply to the conversation.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestion

Intent.Message.Suggestions

The collection of suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions

Intent.Message.Suggestions.Builder

The collection of suggestions.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Suggestions

Intent.Message.TableCard

Table card for Actions on Google.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCard

Intent.Message.TableCard.Builder

Table card for Actions on Google.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCard

Intent.Message.TableCardCell

Cell of TableCardRow.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell

Intent.Message.TableCardCell.Builder

Cell of TableCardRow.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCardCell

Intent.Message.TableCardRow

Row of TableCard.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow

Intent.Message.TableCardRow.Builder

Row of TableCard.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TableCardRow

Intent.Message.TelephonyPlayAudio

Plays audio from a file in Telephony Gateway.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio

Intent.Message.TelephonyPlayAudio.Builder

Plays audio from a file in Telephony Gateway.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyPlayAudio

Intent.Message.TelephonySynthesizeSpeech

Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from DetectIntentResponse.output_audio_config which can either be set at request-level or can come from the agent-level synthesizer config.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech

Intent.Message.TelephonySynthesizeSpeech.Builder

Synthesizes speech and plays back the synthesized audio to the caller in Telephony Gateway. Telephony Gateway takes the synthesizer settings from DetectIntentResponse.output_audio_config which can either be set at request-level or can come from the agent-level synthesizer config.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonySynthesizeSpeech

Intent.Message.TelephonyTransferCall

Transfers the call in Telephony Gateway.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall

Intent.Message.TelephonyTransferCall.Builder

Transfers the call in Telephony Gateway.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.TelephonyTransferCall

Intent.Message.Text

The text response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Text

Intent.Message.Text.Builder

The text response message.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Message.Text

Intent.Parameter

Represents intent parameters.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Parameter

Intent.Parameter.Builder

Represents intent parameters.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.Parameter

Intent.TrainingPhrase

Represents an example that the agent is trained on.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase

Intent.TrainingPhrase.Builder

Represents an example that the agent is trained on.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase

Intent.TrainingPhrase.Part

Represents a part of a training phrase.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part

Intent.TrainingPhrase.Part.Builder

Represents a part of a training phrase.

Protobuf type google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Part

IntentBatch

This message is a wrapper around a collection of intents.

Protobuf type google.cloud.dialogflow.v2beta1.IntentBatch

IntentBatch.Builder

This message is a wrapper around a collection of intents.

Protobuf type google.cloud.dialogflow.v2beta1.IntentBatch

IntentName

IntentName.Builder

Builder for projects/{project}/agent/intents/{intent}.

IntentName.ProjectLocationIntentBuilder

Builder for projects/{project}/locations/{location}/agent/intents/{intent}.

IntentProto

IntentsClient

Service Description: Service for managing Intents.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (IntentsClient intentsClient = IntentsClient.create()) {
   IntentName name = IntentName.ofProjectIntentName("[PROJECT]", "[INTENT]");
   Intent response = intentsClient.getIntent(name);
 }
 

Note: close() needs to be called on the IntentsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of IntentsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 IntentsSettings intentsSettings =
     IntentsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 IntentsClient intentsClient = IntentsClient.create(intentsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 IntentsSettings intentsSettings = IntentsSettings.newBuilder().setEndpoint(myEndpoint).build();
 IntentsClient intentsClient = IntentsClient.create(intentsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 IntentsSettings intentsSettings = IntentsSettings.newHttpJsonBuilder().build();
 IntentsClient intentsClient = IntentsClient.create(intentsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

IntentsClient.ListIntentsFixedSizeCollection

IntentsClient.ListIntentsPage

IntentsClient.ListIntentsPagedResponse

IntentsClient.ListLocationsFixedSizeCollection

IntentsClient.ListLocationsPage

IntentsClient.ListLocationsPagedResponse

IntentsGrpc

Service for managing Intents.

IntentsGrpc.IntentsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Intents.

Service for managing Intents.

IntentsGrpc.IntentsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Intents.

Service for managing Intents.

IntentsGrpc.IntentsImplBase

Base class for the server implementation of the service Intents.

Service for managing Intents.

IntentsGrpc.IntentsStub

A stub to allow clients to do asynchronous rpc calls to service Intents.

Service for managing Intents.

IntentsSettings

Settings class to configure an instance of IntentsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getIntent to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 IntentsSettings.Builder intentsSettingsBuilder = IntentsSettings.newBuilder();
 intentsSettingsBuilder
     .getIntentSettings()
     .setRetrySettings(
         intentsSettingsBuilder
             .getIntentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 IntentsSettings intentsSettings = intentsSettingsBuilder.build();
 

IntentsSettings.Builder

Builder for IntentsSettings.

KnowledgeAnswers

Represents the result of querying a Knowledge base.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAnswers

KnowledgeAnswers.Answer

An answer from Knowledge Connector.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer

KnowledgeAnswers.Answer.Builder

An answer from Knowledge Connector.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer

KnowledgeAnswers.Builder

Represents the result of querying a Knowledge base.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeAnswers

KnowledgeBase

A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeBase

KnowledgeBase.Builder

A knowledge base represents a collection of knowledge documents that you provide to Dialogflow. Your knowledge documents contain information that may be useful during conversations with end-users. Some Dialogflow features use knowledge bases when looking for a response to an end-user input. For more information, see the knowledge base guide. Note: The projects.agent.knowledgeBases resource is deprecated; only use projects.knowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeBase

KnowledgeBaseName

KnowledgeBaseName.Builder

Builder for projects/{project}/knowledgeBases/{knowledge_base}.

KnowledgeBaseName.ProjectLocationKnowledgeBaseBuilder

Builder for projects/{project}/locations/{location}/knowledgeBases/{knowledge_base}.

KnowledgeBaseProto

KnowledgeBasesClient

Service Description: Service for managing KnowledgeBases.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create()) {
   KnowledgeBaseName name =
       KnowledgeBaseName.ofProjectKnowledgeBaseName("[PROJECT]", "[KNOWLEDGE_BASE]");
   KnowledgeBase response = knowledgeBasesClient.getKnowledgeBase(name);
 }
 

Note: close() needs to be called on the KnowledgeBasesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of KnowledgeBasesSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 KnowledgeBasesSettings knowledgeBasesSettings =
     KnowledgeBasesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 KnowledgeBasesSettings knowledgeBasesSettings =
     KnowledgeBasesSettings.newBuilder().setEndpoint(myEndpoint).build();
 KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 KnowledgeBasesSettings knowledgeBasesSettings =
     KnowledgeBasesSettings.newHttpJsonBuilder().build();
 KnowledgeBasesClient knowledgeBasesClient = KnowledgeBasesClient.create(knowledgeBasesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

KnowledgeBasesClient.ListKnowledgeBasesFixedSizeCollection

KnowledgeBasesClient.ListKnowledgeBasesPage

KnowledgeBasesClient.ListKnowledgeBasesPagedResponse

KnowledgeBasesClient.ListLocationsFixedSizeCollection

KnowledgeBasesClient.ListLocationsPage

KnowledgeBasesClient.ListLocationsPagedResponse

KnowledgeBasesGrpc

Service for managing KnowledgeBases.

KnowledgeBasesGrpc.KnowledgeBasesBlockingStub

A stub to allow clients to do synchronous rpc calls to service KnowledgeBases.

Service for managing KnowledgeBases.

KnowledgeBasesGrpc.KnowledgeBasesFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service KnowledgeBases.

Service for managing KnowledgeBases.

KnowledgeBasesGrpc.KnowledgeBasesImplBase

Base class for the server implementation of the service KnowledgeBases.

Service for managing KnowledgeBases.

KnowledgeBasesGrpc.KnowledgeBasesStub

A stub to allow clients to do asynchronous rpc calls to service KnowledgeBases.

Service for managing KnowledgeBases.

KnowledgeBasesSettings

Settings class to configure an instance of KnowledgeBasesClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getKnowledgeBase to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 KnowledgeBasesSettings.Builder knowledgeBasesSettingsBuilder =
     KnowledgeBasesSettings.newBuilder();
 knowledgeBasesSettingsBuilder
     .getKnowledgeBaseSettings()
     .setRetrySettings(
         knowledgeBasesSettingsBuilder
             .getKnowledgeBaseSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 KnowledgeBasesSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
 

KnowledgeBasesSettings.Builder

Builder for KnowledgeBasesSettings.

KnowledgeOperationMetadata

Metadata in google::longrunning::Operation for Knowledge operations.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata

KnowledgeOperationMetadata.Builder

Metadata in google::longrunning::Operation for Knowledge operations.

Protobuf type google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata

ListAnswerRecordsRequest

Request message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest

ListAnswerRecordsRequest.Builder

Request message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsRequest

ListAnswerRecordsResponse

Response message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse

ListAnswerRecordsResponse.Builder

Response message for AnswerRecords.ListAnswerRecords.

Protobuf type google.cloud.dialogflow.v2beta1.ListAnswerRecordsResponse

ListContextsRequest

The request message for Contexts.ListContexts.

Protobuf type google.cloud.dialogflow.v2beta1.ListContextsRequest

ListContextsRequest.Builder

The request message for Contexts.ListContexts.

Protobuf type google.cloud.dialogflow.v2beta1.ListContextsRequest

ListContextsResponse

The response message for Contexts.ListContexts.

Protobuf type google.cloud.dialogflow.v2beta1.ListContextsResponse

ListContextsResponse.Builder

The response message for Contexts.ListContexts.

Protobuf type google.cloud.dialogflow.v2beta1.ListContextsResponse

ListConversationProfilesRequest

The request message for ConversationProfiles.ListConversationProfiles.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest

ListConversationProfilesRequest.Builder

The request message for ConversationProfiles.ListConversationProfiles.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationProfilesRequest

ListConversationProfilesResponse

The response message for ConversationProfiles.ListConversationProfiles.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse

ListConversationProfilesResponse.Builder

The response message for ConversationProfiles.ListConversationProfiles.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationProfilesResponse

ListConversationsRequest

The request message for Conversations.ListConversations.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsRequest

ListConversationsRequest.Builder

The request message for Conversations.ListConversations.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsRequest

ListConversationsResponse

The response message for Conversations.ListConversations.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsResponse

ListConversationsResponse.Builder

The response message for Conversations.ListConversations.

Protobuf type google.cloud.dialogflow.v2beta1.ListConversationsResponse

ListDocumentsRequest

Request message for Documents.ListDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ListDocumentsRequest

ListDocumentsRequest.Builder

Request message for Documents.ListDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ListDocumentsRequest

ListDocumentsResponse

Response message for Documents.ListDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ListDocumentsResponse

ListDocumentsResponse.Builder

Response message for Documents.ListDocuments.

Protobuf type google.cloud.dialogflow.v2beta1.ListDocumentsResponse

ListEntityTypesRequest

The request message for EntityTypes.ListEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListEntityTypesRequest

ListEntityTypesRequest.Builder

The request message for EntityTypes.ListEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListEntityTypesRequest

ListEntityTypesResponse

The response message for EntityTypes.ListEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListEntityTypesResponse

ListEntityTypesResponse.Builder

The response message for EntityTypes.ListEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListEntityTypesResponse

ListEnvironmentsRequest

The request message for Environments.ListEnvironments.

Protobuf type google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest

ListEnvironmentsRequest.Builder

The request message for Environments.ListEnvironments.

Protobuf type google.cloud.dialogflow.v2beta1.ListEnvironmentsRequest

ListEnvironmentsResponse

The response message for Environments.ListEnvironments.

Protobuf type google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse

ListEnvironmentsResponse.Builder

The response message for Environments.ListEnvironments.

Protobuf type google.cloud.dialogflow.v2beta1.ListEnvironmentsResponse

ListIntentsRequest

The request message for Intents.ListIntents.

Protobuf type google.cloud.dialogflow.v2beta1.ListIntentsRequest

ListIntentsRequest.Builder

The request message for Intents.ListIntents.

Protobuf type google.cloud.dialogflow.v2beta1.ListIntentsRequest

ListIntentsResponse

The response message for Intents.ListIntents.

Protobuf type google.cloud.dialogflow.v2beta1.ListIntentsResponse

ListIntentsResponse.Builder

The response message for Intents.ListIntents.

Protobuf type google.cloud.dialogflow.v2beta1.ListIntentsResponse

ListKnowledgeBasesRequest

Request message for KnowledgeBases.ListKnowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest

ListKnowledgeBasesRequest.Builder

Request message for KnowledgeBases.ListKnowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesRequest

ListKnowledgeBasesResponse

Response message for KnowledgeBases.ListKnowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse

ListKnowledgeBasesResponse.Builder

Response message for KnowledgeBases.ListKnowledgeBases.

Protobuf type google.cloud.dialogflow.v2beta1.ListKnowledgeBasesResponse

ListMessagesRequest

The request message for Conversations.ListMessages.

Protobuf type google.cloud.dialogflow.v2beta1.ListMessagesRequest

ListMessagesRequest.Builder

The request message for Conversations.ListMessages.

Protobuf type google.cloud.dialogflow.v2beta1.ListMessagesRequest

ListMessagesResponse

The response message for Conversations.ListMessages.

Protobuf type google.cloud.dialogflow.v2beta1.ListMessagesResponse

ListMessagesResponse.Builder

The response message for Conversations.ListMessages.

Protobuf type google.cloud.dialogflow.v2beta1.ListMessagesResponse

ListParticipantsRequest

The request message for Participants.ListParticipants.

Protobuf type google.cloud.dialogflow.v2beta1.ListParticipantsRequest

ListParticipantsRequest.Builder

The request message for Participants.ListParticipants.

Protobuf type google.cloud.dialogflow.v2beta1.ListParticipantsRequest

ListParticipantsResponse

The response message for Participants.ListParticipants.

Protobuf type google.cloud.dialogflow.v2beta1.ListParticipantsResponse

ListParticipantsResponse.Builder

The response message for Participants.ListParticipants.

Protobuf type google.cloud.dialogflow.v2beta1.ListParticipantsResponse

ListSessionEntityTypesRequest

The request message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest

ListSessionEntityTypesRequest.Builder

The request message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListSessionEntityTypesRequest

ListSessionEntityTypesResponse

The response message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse

ListSessionEntityTypesResponse.Builder

The response message for SessionEntityTypes.ListSessionEntityTypes.

Protobuf type google.cloud.dialogflow.v2beta1.ListSessionEntityTypesResponse

ListSuggestionsRequest

The request message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsRequest

ListSuggestionsRequest.Builder

The request message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsRequest

ListSuggestionsResponse

The response message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsResponse

ListSuggestionsResponse.Builder

The response message for Participants.ListSuggestions.

Protobuf type google.cloud.dialogflow.v2beta1.ListSuggestionsResponse

ListVersionsRequest

The request message for Versions.ListVersions.

Protobuf type google.cloud.dialogflow.v2beta1.ListVersionsRequest

ListVersionsRequest.Builder

The request message for Versions.ListVersions.

Protobuf type google.cloud.dialogflow.v2beta1.ListVersionsRequest

ListVersionsResponse

The response message for Versions.ListVersions.

Protobuf type google.cloud.dialogflow.v2beta1.ListVersionsResponse

ListVersionsResponse.Builder

The response message for Versions.ListVersions.

Protobuf type google.cloud.dialogflow.v2beta1.ListVersionsResponse

LocationName

LocationName.Builder

Builder for projects/{project}/locations/{location}.

LoggingConfig

Defines logging behavior for conversation lifecycle events.

Protobuf type google.cloud.dialogflow.v2beta1.LoggingConfig

LoggingConfig.Builder

Defines logging behavior for conversation lifecycle events.

Protobuf type google.cloud.dialogflow.v2beta1.LoggingConfig

Message

Represents a message posted into a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.Message

Message.Builder

Represents a message posted into a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.Message

MessageAnnotation

Represents the result of annotation for the message.

Protobuf type google.cloud.dialogflow.v2beta1.MessageAnnotation

MessageAnnotation.Builder

Represents the result of annotation for the message.

Protobuf type google.cloud.dialogflow.v2beta1.MessageAnnotation

MessageName

MessageName.Builder

Builder for projects/{project}/conversations/{conversation}/messages/{message}.

MessageName.ProjectLocationConversationMessageBuilder

Builder for projects/{project}/locations/{location}/conversations/{conversation}/messages/{message}.

NotificationConfig

Defines notification behavior.

Protobuf type google.cloud.dialogflow.v2beta1.NotificationConfig

NotificationConfig.Builder

Defines notification behavior.

Protobuf type google.cloud.dialogflow.v2beta1.NotificationConfig

OriginalDetectIntentRequest

Represents the contents of the original request that was passed to the [Streaming]DetectIntent call.

Protobuf type google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest

OriginalDetectIntentRequest.Builder

Represents the contents of the original request that was passed to the [Streaming]DetectIntent call.

Protobuf type google.cloud.dialogflow.v2beta1.OriginalDetectIntentRequest

OutputAudio

Represents the natural language speech audio to be played to the end user.

Protobuf type google.cloud.dialogflow.v2beta1.OutputAudio

OutputAudio.Builder

Represents the natural language speech audio to be played to the end user.

Protobuf type google.cloud.dialogflow.v2beta1.OutputAudio

OutputAudioConfig

Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.

Protobuf type google.cloud.dialogflow.v2beta1.OutputAudioConfig

OutputAudioConfig.Builder

Instructs the speech synthesizer how to generate the output audio content. If this audio config is supplied in a request, it overrides all existing text-to-speech settings applied to the agent.

Protobuf type google.cloud.dialogflow.v2beta1.OutputAudioConfig

Participant

Represents a conversation participant (human agent, virtual agent, end-user).

Protobuf type google.cloud.dialogflow.v2beta1.Participant

Participant.Builder

Represents a conversation participant (human agent, virtual agent, end-user).

Protobuf type google.cloud.dialogflow.v2beta1.Participant

ParticipantName

ParticipantName.Builder

Builder for projects/{project}/conversations/{conversation}/participants/{participant}.

ParticipantName.ProjectLocationConversationParticipantBuilder

Builder for projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant}.

ParticipantProto

ParticipantsClient

Service Description: Service for managing Participants.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (ParticipantsClient participantsClient = ParticipantsClient.create()) {
   ConversationName parent =
       ConversationName.ofProjectConversationName("[PROJECT]", "[CONVERSATION]");
   Participant participant = Participant.newBuilder().build();
   Participant response = participantsClient.createParticipant(parent, participant);
 }
 

Note: close() needs to be called on the ParticipantsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of ParticipantsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ParticipantsSettings participantsSettings =
     ParticipantsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ParticipantsSettings participantsSettings =
     ParticipantsSettings.newBuilder().setEndpoint(myEndpoint).build();
 ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ParticipantsSettings participantsSettings = ParticipantsSettings.newHttpJsonBuilder().build();
 ParticipantsClient participantsClient = ParticipantsClient.create(participantsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

ParticipantsClient.ListLocationsFixedSizeCollection

ParticipantsClient.ListLocationsPage

ParticipantsClient.ListLocationsPagedResponse

ParticipantsClient.ListParticipantsFixedSizeCollection

ParticipantsClient.ListParticipantsPage

ParticipantsClient.ListParticipantsPagedResponse

ParticipantsClient.ListSuggestionsFixedSizeCollection

ParticipantsClient.ListSuggestionsPage

ParticipantsClient.ListSuggestionsPagedResponse

ParticipantsGrpc

Service for managing Participants.

ParticipantsGrpc.ParticipantsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Participants.

Service for managing Participants.

ParticipantsGrpc.ParticipantsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Participants.

Service for managing Participants.

ParticipantsGrpc.ParticipantsImplBase

Base class for the server implementation of the service Participants.

Service for managing Participants.

ParticipantsGrpc.ParticipantsStub

A stub to allow clients to do asynchronous rpc calls to service Participants.

Service for managing Participants.

ParticipantsSettings

Settings class to configure an instance of ParticipantsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of createParticipant to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 ParticipantsSettings.Builder participantsSettingsBuilder = ParticipantsSettings.newBuilder();
 participantsSettingsBuilder
     .createParticipantSettings()
     .setRetrySettings(
         participantsSettingsBuilder
             .createParticipantSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ParticipantsSettings participantsSettings = participantsSettingsBuilder.build();
 

ParticipantsSettings.Builder

Builder for ParticipantsSettings.

ProjectAgentName

AUTO-GENERATED DOCUMENTATION AND CLASS

ProjectAgentName.Builder

Builder for ProjectAgentName.

ProjectName

ProjectName.Builder

Builder for projects/{project}.

QueryInput

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.
  2. A conversational query in the form of text.
  3. An event that specifies which intent to trigger.

Protobuf type google.cloud.dialogflow.v2beta1.QueryInput

QueryInput.Builder

Represents the query input. It can contain either:

  1. An audio config which instructs the speech recognizer how to process the speech audio.
  2. A conversational query in the form of text.
  3. An event that specifies which intent to trigger.

Protobuf type google.cloud.dialogflow.v2beta1.QueryInput

QueryParameters

Represents the parameters of the conversational query.

Protobuf type google.cloud.dialogflow.v2beta1.QueryParameters

QueryParameters.Builder

Represents the parameters of the conversational query.

Protobuf type google.cloud.dialogflow.v2beta1.QueryParameters

QueryResult

Represents the result of conversational query or event processing.

Protobuf type google.cloud.dialogflow.v2beta1.QueryResult

QueryResult.Builder

Represents the result of conversational query or event processing.

Protobuf type google.cloud.dialogflow.v2beta1.QueryResult

ReloadDocumentRequest

Request message for Documents.ReloadDocument.

Protobuf type google.cloud.dialogflow.v2beta1.ReloadDocumentRequest

ReloadDocumentRequest.Builder

Request message for Documents.ReloadDocument.

Protobuf type google.cloud.dialogflow.v2beta1.ReloadDocumentRequest

ResponseMessage

Response messages from an automated agent.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage

ResponseMessage.Builder

Response messages from an automated agent.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage

ResponseMessage.EndInteraction

Indicates that interaction with the Dialogflow agent has ended.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction

ResponseMessage.EndInteraction.Builder

Indicates that interaction with the Dialogflow agent has ended.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.EndInteraction

ResponseMessage.LiveAgentHandoff

Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

  • In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation.
  • In a webhook response when you determine that the customer issue can only be handled by a human.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff

ResponseMessage.LiveAgentHandoff.Builder

Indicates that the conversation should be handed off to a human agent. Dialogflow only uses this to determine which conversations were handed off to a human agent for measurement purposes. What else to do with this signal is up to you and your handoff procedures. You may set this, for example:

  • In the entry fulfillment of a CX Page if entering the page indicates something went extremely wrong in the conversation.
  • In a webhook response when you determine that the customer issue can only be handled by a human.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.LiveAgentHandoff

ResponseMessage.MixedAudio

Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio

ResponseMessage.MixedAudio.Builder

Represents an audio message that is composed of both segments synthesized from the Dialogflow agent prompts and ones hosted externally at the specified URIs.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio

ResponseMessage.MixedAudio.Segment

Represents one segment of audio.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment

ResponseMessage.MixedAudio.Segment.Builder

Represents one segment of audio.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.MixedAudio.Segment

ResponseMessage.TelephonyTransferCall

Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall

ResponseMessage.TelephonyTransferCall.Builder

Represents the signal that telles the client to transfer the phone call connected to the agent to a third-party endpoint.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.TelephonyTransferCall

ResponseMessage.Text

The text response message.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.Text

ResponseMessage.Text.Builder

The text response message.

Protobuf type google.cloud.dialogflow.v2beta1.ResponseMessage.Text

RestoreAgentRequest

The request message for Agents.RestoreAgent.

Protobuf type google.cloud.dialogflow.v2beta1.RestoreAgentRequest

RestoreAgentRequest.Builder

The request message for Agents.RestoreAgent.

Protobuf type google.cloud.dialogflow.v2beta1.RestoreAgentRequest

SearchAgentsRequest

The request message for Agents.SearchAgents.

Protobuf type google.cloud.dialogflow.v2beta1.SearchAgentsRequest

SearchAgentsRequest.Builder

The request message for Agents.SearchAgents.

Protobuf type google.cloud.dialogflow.v2beta1.SearchAgentsRequest

SearchAgentsResponse

The response message for Agents.SearchAgents.

Protobuf type google.cloud.dialogflow.v2beta1.SearchAgentsResponse

SearchAgentsResponse.Builder

The response message for Agents.SearchAgents.

Protobuf type google.cloud.dialogflow.v2beta1.SearchAgentsResponse

Sentiment

The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.

Protobuf type google.cloud.dialogflow.v2beta1.Sentiment

Sentiment.Builder

The sentiment, such as positive/negative feeling or association, for a unit of analysis, such as the query text. See: https://cloud.google.com/natural-language/docs/basics#interpreting_sentiment_analysis_values for how to interpret the result.

Protobuf type google.cloud.dialogflow.v2beta1.Sentiment

SentimentAnalysisRequestConfig

Configures the types of sentiment analysis to perform.

Protobuf type google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig

SentimentAnalysisRequestConfig.Builder

Configures the types of sentiment analysis to perform.

Protobuf type google.cloud.dialogflow.v2beta1.SentimentAnalysisRequestConfig

SentimentAnalysisResult

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in DetectIntentRequest.query_params. For [Participants.StreamingDetectIntent][], it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config

Protobuf type google.cloud.dialogflow.v2beta1.SentimentAnalysisResult

SentimentAnalysisResult.Builder

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral. For [Participants.DetectIntent][], it needs to be configured in DetectIntentRequest.query_params. For [Participants.StreamingDetectIntent][], it needs to be configured in StreamingDetectIntentRequest.query_params. And for Participants.AnalyzeContent and Participants.StreamingAnalyzeContent, it needs to be configured in ConversationProfile.human_agent_assistant_config

Protobuf type google.cloud.dialogflow.v2beta1.SentimentAnalysisResult

SessionEntityType

A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide.

Protobuf type google.cloud.dialogflow.v2beta1.SessionEntityType

SessionEntityType.Builder

A session represents a conversation between a Dialogflow agent and an end-user. You can create special entities, called session entities, during a session. Session entities can extend or replace custom entity types and only exist during the session that they were created for. All session data, including session entities, is stored by Dialogflow for 20 minutes. For more information, see the session entity guide.

Protobuf type google.cloud.dialogflow.v2beta1.SessionEntityType

SessionEntityTypeName

SessionEntityTypeName.Builder

Builder for projects/{project}/agent/sessions/{session}/entityTypes/{entity_type}.

SessionEntityTypeName.ProjectEnvironmentUserSessionEntityTypeBuilder

Builder for projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}.

SessionEntityTypeName.ProjectLocationEnvironmentUserSessionEntityTypeBuilder

Builder for projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}/entityTypes/{entity_type}.

SessionEntityTypeName.ProjectLocationSessionEntityTypeBuilder

Builder for projects/{project}/locations/{location}/agent/sessions/{session}/entityTypes/{entity_type}.

SessionEntityTypeProto

SessionEntityTypesClient

Service Description: Service for managing SessionEntityTypes.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (SessionEntityTypesClient sessionEntityTypesClient = SessionEntityTypesClient.create()) {
   SessionEntityTypeName name =
       SessionEntityTypeName.ofProjectSessionEntityTypeName(
           "[PROJECT]", "[SESSION]", "[ENTITY_TYPE]");
   SessionEntityType response = sessionEntityTypesClient.getSessionEntityType(name);
 }
 

Note: close() needs to be called on the SessionEntityTypesClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of SessionEntityTypesSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionEntityTypesSettings sessionEntityTypesSettings =
     SessionEntityTypesSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SessionEntityTypesClient sessionEntityTypesClient =
     SessionEntityTypesClient.create(sessionEntityTypesSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionEntityTypesSettings sessionEntityTypesSettings =
     SessionEntityTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
 SessionEntityTypesClient sessionEntityTypesClient =
     SessionEntityTypesClient.create(sessionEntityTypesSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionEntityTypesSettings sessionEntityTypesSettings =
     SessionEntityTypesSettings.newHttpJsonBuilder().build();
 SessionEntityTypesClient sessionEntityTypesClient =
     SessionEntityTypesClient.create(sessionEntityTypesSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SessionEntityTypesClient.ListLocationsFixedSizeCollection

SessionEntityTypesClient.ListLocationsPage

SessionEntityTypesClient.ListLocationsPagedResponse

SessionEntityTypesClient.ListSessionEntityTypesFixedSizeCollection

SessionEntityTypesClient.ListSessionEntityTypesPage

SessionEntityTypesClient.ListSessionEntityTypesPagedResponse

SessionEntityTypesGrpc

Service for managing SessionEntityTypes.

SessionEntityTypesGrpc.SessionEntityTypesBlockingStub

A stub to allow clients to do synchronous rpc calls to service SessionEntityTypes.

Service for managing SessionEntityTypes.

SessionEntityTypesGrpc.SessionEntityTypesFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service SessionEntityTypes.

Service for managing SessionEntityTypes.

SessionEntityTypesGrpc.SessionEntityTypesImplBase

Base class for the server implementation of the service SessionEntityTypes.

Service for managing SessionEntityTypes.

SessionEntityTypesGrpc.SessionEntityTypesStub

A stub to allow clients to do asynchronous rpc calls to service SessionEntityTypes.

Service for managing SessionEntityTypes.

SessionEntityTypesSettings

Settings class to configure an instance of SessionEntityTypesClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getSessionEntityType to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionEntityTypesSettings.Builder sessionEntityTypesSettingsBuilder =
     SessionEntityTypesSettings.newBuilder();
 sessionEntityTypesSettingsBuilder
     .getSessionEntityTypeSettings()
     .setRetrySettings(
         sessionEntityTypesSettingsBuilder
             .getSessionEntityTypeSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SessionEntityTypesSettings sessionEntityTypesSettings =
     sessionEntityTypesSettingsBuilder.build();
 

SessionEntityTypesSettings.Builder

Builder for SessionEntityTypesSettings.

SessionName

SessionName.Builder

Builder for projects/{project}/agent/sessions/{session}.

SessionName.ProjectEnvironmentUserSessionBuilder

Builder for projects/{project}/agent/environments/{environment}/users/{user}/sessions/{session}.

SessionName.ProjectLocationEnvironmentUserSessionBuilder

Builder for projects/{project}/locations/{location}/agent/environments/{environment}/users/{user}/sessions/{session}.

SessionName.ProjectLocationSessionBuilder

Builder for projects/{project}/locations/{location}/agent/sessions/{session}.

SessionProto

SessionsClient

Service Description: A service used for session interactions.

For more information, see the API interactions guide.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (SessionsClient sessionsClient = SessionsClient.create()) {
   SessionName session = SessionName.ofProjectSessionName("[PROJECT]", "[SESSION]");
   QueryInput queryInput = QueryInput.newBuilder().build();
   DetectIntentResponse response = sessionsClient.detectIntent(session, queryInput);
 }
 

Note: close() needs to be called on the SessionsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of SessionsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionsSettings sessionsSettings =
     SessionsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionsSettings sessionsSettings =
     SessionsSettings.newBuilder().setEndpoint(myEndpoint).build();
 SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionsSettings sessionsSettings = SessionsSettings.newHttpJsonBuilder().build();
 SessionsClient sessionsClient = SessionsClient.create(sessionsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

SessionsClient.ListLocationsFixedSizeCollection

SessionsClient.ListLocationsPage

SessionsClient.ListLocationsPagedResponse

SessionsGrpc

A service used for session interactions. For more information, see the API interactions guide.

SessionsGrpc.SessionsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Sessions.

A service used for session interactions. For more information, see the API interactions guide.

SessionsGrpc.SessionsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Sessions.

A service used for session interactions. For more information, see the API interactions guide.

SessionsGrpc.SessionsImplBase

Base class for the server implementation of the service Sessions.

A service used for session interactions. For more information, see the API interactions guide.

SessionsGrpc.SessionsStub

A stub to allow clients to do asynchronous rpc calls to service Sessions.

A service used for session interactions. For more information, see the API interactions guide.

SessionsSettings

Settings class to configure an instance of SessionsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of detectIntent to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 SessionsSettings.Builder sessionsSettingsBuilder = SessionsSettings.newBuilder();
 sessionsSettingsBuilder
     .detectIntentSettings()
     .setRetrySettings(
         sessionsSettingsBuilder
             .detectIntentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SessionsSettings sessionsSettings = sessionsSettingsBuilder.build();
 

SessionsSettings.Builder

Builder for SessionsSettings.

SetAgentRequest

The request message for Agents.SetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.SetAgentRequest

SetAgentRequest.Builder

The request message for Agents.SetAgent.

Protobuf type google.cloud.dialogflow.v2beta1.SetAgentRequest

SetSuggestionFeatureConfigOperationMetadata

Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata

SetSuggestionFeatureConfigOperationMetadata.Builder

Metadata for a [ConversationProfile.SetSuggestionFeatureConfig][] operation.

Protobuf type google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigOperationMetadata

SetSuggestionFeatureConfigRequest

The request message for [ConversationProfiles.SetSuggestionFeature][].

Protobuf type google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigRequest

SetSuggestionFeatureConfigRequest.Builder

The request message for [ConversationProfiles.SetSuggestionFeature][].

Protobuf type google.cloud.dialogflow.v2beta1.SetSuggestionFeatureConfigRequest

SmartReplyAnswer

Represents a smart reply answer.

Protobuf type google.cloud.dialogflow.v2beta1.SmartReplyAnswer

SmartReplyAnswer.Builder

Represents a smart reply answer.

Protobuf type google.cloud.dialogflow.v2beta1.SmartReplyAnswer

SpeechContext

Hints for the speech recognizer to help with recognition in a specific conversation state.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechContext

SpeechContext.Builder

Hints for the speech recognizer to help with recognition in a specific conversation state.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechContext

SpeechToTextConfig

Configures speech transcription for ConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechToTextConfig

SpeechToTextConfig.Builder

Configures speech transcription for ConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechToTextConfig

SpeechWordInfo

Information for a word recognized by the speech recognizer.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechWordInfo

SpeechWordInfo.Builder

Information for a word recognized by the speech recognizer.

Protobuf type google.cloud.dialogflow.v2beta1.SpeechWordInfo

StreamingAnalyzeContentRequest

The top-level message sent by the client to the Participants.StreamingAnalyzeContent method. Multiple request messages should be sent in order:

  1. The first message must contain participant, config and optionally query_params. If you want to receive an audio response, it should also contain reply_audio_config. The message must not contain input.
  2. If config in the first message was set to audio_config, all subsequent messages must contain input_audio to continue with Speech recognition. If you decide to rather analyze text input after you already started Speech recognition, please send a message with StreamingAnalyzeContentRequest.input_text. However, note that:
    • Dialogflow will bill you for the audio so far.
    • Dialogflow discards all Speech recognition results in favor of the text input.
    • If StreamingAnalyzeContentRequest.config in the first message was set to StreamingAnalyzeContentRequest.text_config, then the second message must contain only input_text. Moreover, you must not send more than two messages. After you sent all input, you must half-close or abort the request stream.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest

StreamingAnalyzeContentRequest.Builder

The top-level message sent by the client to the Participants.StreamingAnalyzeContent method. Multiple request messages should be sent in order:

  1. The first message must contain participant, config and optionally query_params. If you want to receive an audio response, it should also contain reply_audio_config. The message must not contain input.
  2. If config in the first message was set to audio_config, all subsequent messages must contain input_audio to continue with Speech recognition. If you decide to rather analyze text input after you already started Speech recognition, please send a message with StreamingAnalyzeContentRequest.input_text. However, note that:
    • Dialogflow will bill you for the audio so far.
    • Dialogflow discards all Speech recognition results in favor of the text input.
    • If StreamingAnalyzeContentRequest.config in the first message was set to StreamingAnalyzeContentRequest.text_config, then the second message must contain only input_text. Moreover, you must not send more than two messages. After you sent all input, you must half-close or abort the request stream.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentRequest

StreamingAnalyzeContentResponse

The top-level message returned from the StreamingAnalyzeContent method. Multiple response messages can be returned in order:

  1. If the input was set to streaming audio, the first one or more messages contain recognition_result. Each recognition_result represents a more complete transcript of what the user said. The last recognition_result has is_final set to true.
  2. In virtual agent stage: if enable_partial_automated_agent_reply is true, the following N (currently 1 <= N <= 4) messages contain automated_agent_reply and optionally reply_audio returned by the virtual agent. The first (N-1) automated_agent_replys will have automated_agent_reply_type set to PARTIAL. The last automated_agent_reply has automated_agent_reply_type set to FINAL. If enable_partial_automated_agent_reply is not enabled, response stream only contains the final reply. In human assist stage: the following N (N >= 1) messages contain human_agent_suggestion_results, end_user_suggestion_results or message.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse

StreamingAnalyzeContentResponse.Builder

The top-level message returned from the StreamingAnalyzeContent method. Multiple response messages can be returned in order:

  1. If the input was set to streaming audio, the first one or more messages contain recognition_result. Each recognition_result represents a more complete transcript of what the user said. The last recognition_result has is_final set to true.
  2. In virtual agent stage: if enable_partial_automated_agent_reply is true, the following N (currently 1 <= N <= 4) messages contain automated_agent_reply and optionally reply_audio returned by the virtual agent. The first (N-1) automated_agent_replys will have automated_agent_reply_type set to PARTIAL. The last automated_agent_reply has automated_agent_reply_type set to FINAL. If enable_partial_automated_agent_reply is not enabled, response stream only contains the final reply. In human assist stage: the following N (N >= 1) messages contain human_agent_suggestion_results, end_user_suggestion_results or message.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingAnalyzeContentResponse

StreamingDetectIntentRequest

The top-level message sent by the client to the Sessions.StreamingDetectIntent method. Multiple request messages should be sent in order:

  1. The first message must contain session, query_input plus optionally query_params. If the client wants to receive an audio response, it should also contain output_audio_config. The message must not contain input_audio.
  2. If query_input was set to query_input.audio_config, all subsequent messages must contain input_audio to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with query_input.text. However, note that:
    • Dialogflow will bill you for the audio duration so far.
    • Dialogflow discards all Speech recognition results in favor of the input text.
    • Dialogflow will use the language code from the first message. After you sent all input, you must half-close or abort the request stream.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest

StreamingDetectIntentRequest.Builder

The top-level message sent by the client to the Sessions.StreamingDetectIntent method. Multiple request messages should be sent in order:

  1. The first message must contain session, query_input plus optionally query_params. If the client wants to receive an audio response, it should also contain output_audio_config. The message must not contain input_audio.
  2. If query_input was set to query_input.audio_config, all subsequent messages must contain input_audio to continue with Speech recognition. If you decide to rather detect an intent from text input after you already started Speech recognition, please send a message with query_input.text. However, note that:
    • Dialogflow will bill you for the audio duration so far.
    • Dialogflow discards all Speech recognition results in favor of the input text.
    • Dialogflow will use the language code from the first message. After you sent all input, you must half-close or abort the request stream.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingDetectIntentRequest

StreamingDetectIntentResponse

The top-level message returned from the StreamingDetectIntent method. Multiple response messages can be returned in order:

  1. If the StreamingDetectIntentRequest.input_audio field was set, the recognition_result field is populated for one or more messages. See the StreamingRecognitionResult message for details about the result message sequence.
  2. The next message contains response_id, query_result, alternative_query_results and optionally webhook_status if a WebHook was called.
  3. If output_audio_config was specified in the request or agent-level speech synthesizer is configured, all subsequent messages contain output_audio and output_audio_config.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse

StreamingDetectIntentResponse.Builder

The top-level message returned from the StreamingDetectIntent method. Multiple response messages can be returned in order:

  1. If the StreamingDetectIntentRequest.input_audio field was set, the recognition_result field is populated for one or more messages. See the StreamingRecognitionResult message for details about the result message sequence.
  2. The next message contains response_id, query_result, alternative_query_results and optionally webhook_status if a WebHook was called.
  3. If output_audio_config was specified in the request or agent-level speech synthesizer is configured, all subsequent messages contain output_audio and output_audio_config.

Protobuf type google.cloud.dialogflow.v2beta1.StreamingDetectIntentResponse

StreamingRecognitionResult

Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a transcript value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the is_final value is set to true and processing continues for the next transcript. If StreamingDetectIntentRequest.query_input.audio_config.single_utterance was true, and the recognizer has completed processing audio, the message_type value is set to END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.

Num transcript message_type is_final
1 "tube" TRANSCRIPT false
2 "to be a" TRANSCRIPT false
3 "to be" TRANSCRIPT false
4 "to be or not to be" TRANSCRIPT true
5 "that's" TRANSCRIPT false
6 "that is TRANSCRIPT false
7 unset END_OF_SINGLE_UTTERANCE unset
8 " that is the question" TRANSCRIPT true

Concatenating the finalized transcripts with is_final` set to true, the complete utterance becomes "to be or not to be that is the question".

Protobuf type google.cloud.dialogflow.v2beta1.StreamingRecognitionResult

StreamingRecognitionResult.Builder

Contains a speech recognition result corresponding to a portion of the audio that is currently being processed or an indication that this is the end of the single requested utterance. While end-user audio is being processed, Dialogflow sends a series of results. Each result may contain a transcript value. A transcript represents a portion of the utterance. While the recognizer is processing audio, transcript values may be interim values or finalized values. Once a transcript is finalized, the is_final value is set to true and processing continues for the next transcript. If StreamingDetectIntentRequest.query_input.audio_config.single_utterance was true, and the recognizer has completed processing audio, the message_type value is set to END_OF_SINGLE_UTTERANCE and the following (last) result contains the last finalized transcript. The complete end-user utterance is determined by concatenating the finalized transcript values received for the series of results. In the following example, single utterance is enabled. In the case where single utterance is not enabled, result 7 would not occur.

Num transcript message_type is_final
1 "tube" TRANSCRIPT false
2 "to be a" TRANSCRIPT false
3 "to be" TRANSCRIPT false
4 "to be or not to be" TRANSCRIPT true
5 "that's" TRANSCRIPT false
6 "that is TRANSCRIPT false
7 unset END_OF_SINGLE_UTTERANCE unset
8 " that is the question" TRANSCRIPT true

Concatenating the finalized transcripts with is_final` set to true, the complete utterance becomes "to be or not to be that is the question".

Protobuf type google.cloud.dialogflow.v2beta1.StreamingRecognitionResult

SubAgent

Contains basic configuration for a sub-agent.

Protobuf type google.cloud.dialogflow.v2beta1.SubAgent

SubAgent.Builder

Contains basic configuration for a sub-agent.

Protobuf type google.cloud.dialogflow.v2beta1.SubAgent

SuggestArticlesRequest

The request message for Participants.SuggestArticles.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestArticlesRequest

SuggestArticlesRequest.Builder

The request message for Participants.SuggestArticles.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestArticlesRequest

SuggestArticlesResponse

The response message for Participants.SuggestArticles.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestArticlesResponse

SuggestArticlesResponse.Builder

The response message for Participants.SuggestArticles.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestArticlesResponse

SuggestConversationSummaryRequest

The request message for Conversations.SuggestConversationSummary.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryRequest

SuggestConversationSummaryRequest.Builder

The request message for Conversations.SuggestConversationSummary.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryRequest

SuggestConversationSummaryResponse

The response message for Conversations.SuggestConversationSummary.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse

SuggestConversationSummaryResponse.Builder

The response message for Conversations.SuggestConversationSummary.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse

SuggestConversationSummaryResponse.Summary

Generated summary for a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary

SuggestConversationSummaryResponse.Summary.Builder

Generated summary for a conversation.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestConversationSummaryResponse.Summary

SuggestFaqAnswersRequest

The request message for Participants.SuggestFaqAnswers.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest

SuggestFaqAnswersRequest.Builder

The request message for Participants.SuggestFaqAnswers.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestFaqAnswersRequest

SuggestFaqAnswersResponse

The request message for Participants.SuggestFaqAnswers.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse

SuggestFaqAnswersResponse.Builder

The request message for Participants.SuggestFaqAnswers.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestFaqAnswersResponse

SuggestSmartRepliesRequest

The request message for Participants.SuggestSmartReplies.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest

SuggestSmartRepliesRequest.Builder

The request message for Participants.SuggestSmartReplies.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestSmartRepliesRequest

SuggestSmartRepliesResponse

The response message for Participants.SuggestSmartReplies.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse

SuggestSmartRepliesResponse.Builder

The response message for Participants.SuggestSmartReplies.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestSmartRepliesResponse

Suggestion

Represents a suggestion for a human agent.

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion

Suggestion.Article

Represents suggested article.

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion.Article

Suggestion.Article.Builder

Represents suggested article.

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion.Article

Suggestion.Builder

Represents a suggestion for a human agent.

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion

Suggestion.FaqAnswer

Represents suggested answer from "frequently asked questions".

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer

Suggestion.FaqAnswer.Builder

Represents suggested answer from "frequently asked questions".

Protobuf type google.cloud.dialogflow.v2beta1.Suggestion.FaqAnswer

SuggestionFeature

The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestionFeature

SuggestionFeature.Builder

The type of Human Agent Assistant API suggestion to perform, and the maximum number of results to return for that type. Multiple Feature objects can be specified in the features list.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestionFeature

SuggestionResult

One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestionResult

SuggestionResult.Builder

One response of different type of suggestion response which is used in the response of Participants.AnalyzeContent and Participants.AnalyzeContent, as well as HumanAgentAssistantEvent.

Protobuf type google.cloud.dialogflow.v2beta1.SuggestionResult

SynthesizeSpeechConfig

Configuration of how speech should be synthesized.

Protobuf type google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig

SynthesizeSpeechConfig.Builder

Configuration of how speech should be synthesized.

Protobuf type google.cloud.dialogflow.v2beta1.SynthesizeSpeechConfig

TelephonyDtmfEvents

A wrapper of repeated TelephonyDtmf digits.

Protobuf type google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents

TelephonyDtmfEvents.Builder

A wrapper of repeated TelephonyDtmf digits.

Protobuf type google.cloud.dialogflow.v2beta1.TelephonyDtmfEvents

TextInput

Represents the natural language text to be processed.

Protobuf type google.cloud.dialogflow.v2beta1.TextInput

TextInput.Builder

Represents the natural language text to be processed.

Protobuf type google.cloud.dialogflow.v2beta1.TextInput

TextToSpeechSettings

Instructs the speech synthesizer on how to generate the output audio content.

Protobuf type google.cloud.dialogflow.v2beta1.TextToSpeechSettings

TextToSpeechSettings.Builder

Instructs the speech synthesizer on how to generate the output audio content.

Protobuf type google.cloud.dialogflow.v2beta1.TextToSpeechSettings

TrainAgentRequest

The request message for Agents.TrainAgent.

Protobuf type google.cloud.dialogflow.v2beta1.TrainAgentRequest

TrainAgentRequest.Builder

The request message for Agents.TrainAgent.

Protobuf type google.cloud.dialogflow.v2beta1.TrainAgentRequest

UpdateAnswerRecordRequest

Request message for AnswerRecords.UpdateAnswerRecord.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest

UpdateAnswerRecordRequest.Builder

Request message for AnswerRecords.UpdateAnswerRecord.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateAnswerRecordRequest

UpdateContextRequest

The request message for Contexts.UpdateContext.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateContextRequest

UpdateContextRequest.Builder

The request message for Contexts.UpdateContext.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateContextRequest

UpdateConversationProfileRequest

The request message for ConversationProfiles.UpdateConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest

UpdateConversationProfileRequest.Builder

The request message for ConversationProfiles.UpdateConversationProfile.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateConversationProfileRequest

UpdateDocumentRequest

Request message for Documents.UpdateDocument.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateDocumentRequest

UpdateDocumentRequest.Builder

Request message for Documents.UpdateDocument.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateDocumentRequest

UpdateEntityTypeRequest

The request message for EntityTypes.UpdateEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest

UpdateEntityTypeRequest.Builder

The request message for EntityTypes.UpdateEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateEntityTypeRequest

UpdateEnvironmentRequest

The request message for Environments.UpdateEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest

UpdateEnvironmentRequest.Builder

The request message for Environments.UpdateEnvironment.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateEnvironmentRequest

UpdateFulfillmentRequest

The request message for Fulfillments.UpdateFulfillment.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest

UpdateFulfillmentRequest.Builder

The request message for Fulfillments.UpdateFulfillment.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateFulfillmentRequest

UpdateIntentRequest

The request message for Intents.UpdateIntent.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateIntentRequest

UpdateIntentRequest.Builder

The request message for Intents.UpdateIntent.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateIntentRequest

UpdateKnowledgeBaseRequest

Request message for KnowledgeBases.UpdateKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest

UpdateKnowledgeBaseRequest.Builder

Request message for KnowledgeBases.UpdateKnowledgeBase.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateKnowledgeBaseRequest

UpdateParticipantRequest

The request message for Participants.UpdateParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateParticipantRequest

UpdateParticipantRequest.Builder

The request message for Participants.UpdateParticipant.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateParticipantRequest

UpdateSessionEntityTypeRequest

The request message for SessionEntityTypes.UpdateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest

UpdateSessionEntityTypeRequest.Builder

The request message for SessionEntityTypes.UpdateSessionEntityType.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateSessionEntityTypeRequest

UpdateVersionRequest

The request message for Versions.UpdateVersion.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateVersionRequest

UpdateVersionRequest.Builder

The request message for Versions.UpdateVersion.

Protobuf type google.cloud.dialogflow.v2beta1.UpdateVersionRequest

ValidationError

Represents a single validation error.

Protobuf type google.cloud.dialogflow.v2beta1.ValidationError

ValidationError.Builder

Represents a single validation error.

Protobuf type google.cloud.dialogflow.v2beta1.ValidationError

ValidationResult

Represents the output of agent validation.

Protobuf type google.cloud.dialogflow.v2beta1.ValidationResult

ValidationResult.Builder

Represents the output of agent validation.

Protobuf type google.cloud.dialogflow.v2beta1.ValidationResult

ValidationResultProto

Version

You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:

Protobuf type google.cloud.dialogflow.v2beta1.Version

Version.Builder

You can create multiple versions of your agent and publish them to separate environments. When you edit an agent, you are editing the draft agent. At any point, you can save the draft agent as an agent version, which is an immutable snapshot of your agent. When you save the draft agent, it is published to the default environment. When you create agent versions, you can publish them to custom environments. You can create a variety of custom environments for:

Protobuf type google.cloud.dialogflow.v2beta1.Version

VersionName

VersionName.Builder

Builder for projects/{project}/agent/versions/{version}.

VersionName.ProjectLocationVersionBuilder

Builder for projects/{project}/locations/{location}/agent/versions/{version}.

VersionProto

VersionsClient

Service Description: Service for managing Versions.

This class provides the ability to make remote calls to the backing service through method calls that map to API methods. Sample code to get started:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 try (VersionsClient versionsClient = VersionsClient.create()) {
   VersionName name = VersionName.ofProjectVersionName("[PROJECT]", "[VERSION]");
   Version response = versionsClient.getVersion(name);
 }
 

Note: close() needs to be called on the VersionsClient object to clean up resources such as threads. In the example above, try-with-resources is used, which automatically calls close().

The surface of this class includes several types of Java methods for each of the API's methods:

  1. A "flattened" method. With this type of method, the fields of the request type have been converted into function parameters. It may be the case that not all fields are available as parameters, and not every API method will have a flattened method entry point.
  2. A "request object" method. This type of method only takes one parameter, a request object, which must be constructed before the call. Not every API method will have a request object method.
  3. A "callable" method. This type of method takes no parameters and returns an immutable API callable object, which can be used to initiate calls to the service.

See the individual methods for example code.

Many parameters require resource names to be formatted in a particular way. To assist with these names, this class includes a format method for each type of name, and additionally a parse method to extract the individual identifiers contained within names that are returned.

This class can be customized by passing in a custom instance of VersionsSettings to create(). For example:

To customize credentials:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VersionsSettings versionsSettings =
     VersionsSettings.newBuilder()
         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
         .build();
 VersionsClient versionsClient = VersionsClient.create(versionsSettings);
 

To customize the endpoint:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VersionsSettings versionsSettings =
     VersionsSettings.newBuilder().setEndpoint(myEndpoint).build();
 VersionsClient versionsClient = VersionsClient.create(versionsSettings);
 

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over the wire:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VersionsSettings versionsSettings = VersionsSettings.newHttpJsonBuilder().build();
 VersionsClient versionsClient = VersionsClient.create(versionsSettings);
 

Please refer to the GitHub repository's samples for more quickstart code snippets.

VersionsClient.ListLocationsFixedSizeCollection

VersionsClient.ListLocationsPage

VersionsClient.ListLocationsPagedResponse

VersionsClient.ListVersionsFixedSizeCollection

VersionsClient.ListVersionsPage

VersionsClient.ListVersionsPagedResponse

VersionsGrpc

Service for managing Versions.

VersionsGrpc.VersionsBlockingStub

A stub to allow clients to do synchronous rpc calls to service Versions.

Service for managing Versions.

VersionsGrpc.VersionsFutureStub

A stub to allow clients to do ListenableFuture-style rpc calls to service Versions.

Service for managing Versions.

VersionsGrpc.VersionsImplBase

Base class for the server implementation of the service Versions.

Service for managing Versions.

VersionsGrpc.VersionsStub

A stub to allow clients to do asynchronous rpc calls to service Versions.

Service for managing Versions.

VersionsSettings

Settings class to configure an instance of VersionsClient.

The default instance has everything set to sensible defaults:

  • The default service address (dialogflow.googleapis.com) and default port (443) are used.
  • Credentials are acquired automatically through Application Default Credentials.
  • Retries are configured for idempotent methods but not for non-idempotent methods.

The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

For example, to set the total timeout of getVersion to 30 seconds:


 // This snippet has been automatically generated and should be regarded as a code template only.
 // It will require modifications to work:
 // - It may require correct/in-range values for request initialization.
 // - It may require specifying regional endpoints when creating the service client as shown in
 // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
 VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder();
 versionsSettingsBuilder
     .getVersionSettings()
     .setRetrySettings(
         versionsSettingsBuilder
             .getVersionSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VersionsSettings versionsSettings = versionsSettingsBuilder.build();
 

VersionsSettings.Builder

Builder for VersionsSettings.

VoiceSelectionParams

Description of which voice to use for speech synthesis.

Protobuf type google.cloud.dialogflow.v2beta1.VoiceSelectionParams

VoiceSelectionParams.Builder

Description of which voice to use for speech synthesis.

Protobuf type google.cloud.dialogflow.v2beta1.VoiceSelectionParams

WebhookProto

WebhookRequest

The request message for a webhook call.

Protobuf type google.cloud.dialogflow.v2beta1.WebhookRequest

WebhookRequest.Builder

The request message for a webhook call.

Protobuf type google.cloud.dialogflow.v2beta1.WebhookRequest

WebhookResponse

The response message for a webhook call. This response is validated by the Dialogflow server. If validation fails, an error will be returned in the QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error:

Protobuf type google.cloud.dialogflow.v2beta1.WebhookResponse

WebhookResponse.Builder

The response message for a webhook call. This response is validated by the Dialogflow server. If validation fails, an error will be returned in the QueryResult.diagnostic_info field. Setting JSON fields to an empty value with the wrong type is a common error. To avoid this error:

Protobuf type google.cloud.dialogflow.v2beta1.WebhookResponse

Interfaces

AgentAssistantFeedback.SummarizationFeedbackOrBuilder

AgentAssistantFeedbackOrBuilder

AgentAssistantRecordOrBuilder

AgentOrBuilder

AgentsGrpc.AsyncService

Service for managing Agents.

AnalyzeContentRequestOrBuilder

AnalyzeContentResponseOrBuilder

AnnotatedMessagePartOrBuilder

AnswerFeedbackOrBuilder

AnswerRecordOrBuilder

AnswerRecordsGrpc.AsyncService

Service for managing AnswerRecords.

ArticleAnswerOrBuilder

AssistQueryParametersOrBuilder

AudioInputOrBuilder

AutomatedAgentConfigOrBuilder

AutomatedAgentReplyOrBuilder

BargeInConfigOrBuilder

BatchCreateEntitiesRequestOrBuilder

BatchCreateMessagesRequestOrBuilder

BatchCreateMessagesResponseOrBuilder

BatchDeleteEntitiesRequestOrBuilder

BatchDeleteEntityTypesRequestOrBuilder

BatchDeleteIntentsRequestOrBuilder

BatchUpdateEntitiesRequestOrBuilder

BatchUpdateEntityTypesRequestOrBuilder

BatchUpdateEntityTypesResponseOrBuilder

BatchUpdateIntentsRequestOrBuilder

BatchUpdateIntentsResponseOrBuilder

ClearSuggestionFeatureConfigOperationMetadataOrBuilder

ClearSuggestionFeatureConfigRequestOrBuilder

CompileSuggestionRequestOrBuilder

CompileSuggestionResponseOrBuilder

CompleteConversationRequestOrBuilder

ContextOrBuilder

ContextsGrpc.AsyncService

Service for managing Contexts.

ConversationEventOrBuilder

ConversationOrBuilder

ConversationPhoneNumberOrBuilder

ConversationProfileOrBuilder

ConversationProfilesGrpc.AsyncService

Service for managing ConversationProfiles.

ConversationsGrpc.AsyncService

Service for managing Conversations.

CreateContextRequestOrBuilder

CreateConversationProfileRequestOrBuilder

CreateConversationRequestOrBuilder

CreateDocumentRequestOrBuilder

CreateEntityTypeRequestOrBuilder

CreateEnvironmentRequestOrBuilder

CreateIntentRequestOrBuilder

CreateKnowledgeBaseRequestOrBuilder

CreateMessageRequestOrBuilder

CreateParticipantRequestOrBuilder

CreateSessionEntityTypeRequestOrBuilder

CreateVersionRequestOrBuilder

DeleteAgentRequestOrBuilder

DeleteAllContextsRequestOrBuilder

DeleteContextRequestOrBuilder

DeleteConversationProfileRequestOrBuilder

DeleteDocumentRequestOrBuilder

DeleteEntityTypeRequestOrBuilder

DeleteEnvironmentRequestOrBuilder

DeleteIntentRequestOrBuilder

DeleteKnowledgeBaseRequestOrBuilder

DeleteSessionEntityTypeRequestOrBuilder

DeleteVersionRequestOrBuilder

DetectIntentRequestOrBuilder

DetectIntentResponseOrBuilder

Document.ReloadStatusOrBuilder

DocumentOrBuilder

DocumentsGrpc.AsyncService

Service for managing knowledge Documents.

DtmfParametersOrBuilder

EntityType.EntityOrBuilder

EntityTypeBatchOrBuilder

EntityTypeOrBuilder

EntityTypesGrpc.AsyncService

Service for managing EntityTypes.

EnvironmentHistory.EntryOrBuilder

EnvironmentHistoryOrBuilder

EnvironmentOrBuilder

EnvironmentsGrpc.AsyncService

Service for managing Environments.

EventInputOrBuilder

ExportAgentRequestOrBuilder

ExportAgentResponseOrBuilder

ExportOperationMetadataOrBuilder

FaqAnswerOrBuilder

Fulfillment.FeatureOrBuilder

Fulfillment.GenericWebServiceOrBuilder

FulfillmentOrBuilder

FulfillmentsGrpc.AsyncService

Service for managing Fulfillments.

GcsDestinationOrBuilder

GcsSourceOrBuilder

GcsSourcesOrBuilder

GetAgentRequestOrBuilder

GetAnswerRecordRequestOrBuilder

GetContextRequestOrBuilder

GetConversationProfileRequestOrBuilder

GetConversationRequestOrBuilder

GetDocumentRequestOrBuilder

GetEntityTypeRequestOrBuilder

GetEnvironmentHistoryRequestOrBuilder

GetEnvironmentRequestOrBuilder

GetFulfillmentRequestOrBuilder

GetIntentRequestOrBuilder

GetKnowledgeBaseRequestOrBuilder

GetParticipantRequestOrBuilder

GetSessionEntityTypeRequestOrBuilder

GetValidationResultRequestOrBuilder

GetVersionRequestOrBuilder

HumanAgentAssistantConfig.ConversationModelConfigOrBuilder

HumanAgentAssistantConfig.ConversationProcessConfigOrBuilder

HumanAgentAssistantConfig.MessageAnalysisConfigOrBuilder

HumanAgentAssistantConfig.SuggestionConfigOrBuilder

HumanAgentAssistantConfig.SuggestionFeatureConfigOrBuilder

HumanAgentAssistantConfig.SuggestionQueryConfig.ContextFilterSettingsOrBuilder

HumanAgentAssistantConfig.SuggestionQueryConfig.DialogflowQuerySourceOrBuilder

HumanAgentAssistantConfig.SuggestionQueryConfig.DocumentQuerySourceOrBuilder

HumanAgentAssistantConfig.SuggestionQueryConfig.KnowledgeBaseQuerySourceOrBuilder

HumanAgentAssistantConfig.SuggestionQueryConfigOrBuilder

HumanAgentAssistantConfig.SuggestionTriggerSettingsOrBuilder

HumanAgentAssistantConfigOrBuilder

HumanAgentAssistantEventOrBuilder

HumanAgentHandoffConfig.LivePersonConfigOrBuilder

HumanAgentHandoffConfig.SalesforceLiveAgentConfigOrBuilder

HumanAgentHandoffConfigOrBuilder

ImportAgentRequestOrBuilder

ImportDocumentTemplateOrBuilder

ImportDocumentsRequestOrBuilder

ImportDocumentsResponseOrBuilder

InputAudioConfigOrBuilder

InputTextConfigOrBuilder

Intent.FollowupIntentInfoOrBuilder

Intent.Message.BasicCard.Button.OpenUriActionOrBuilder

Intent.Message.BasicCard.ButtonOrBuilder

Intent.Message.BasicCardOrBuilder

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlActionOrBuilder

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItemOrBuilder

Intent.Message.BrowseCarouselCardOrBuilder

Intent.Message.Card.ButtonOrBuilder

Intent.Message.CardOrBuilder

Intent.Message.CarouselSelect.ItemOrBuilder

Intent.Message.CarouselSelectOrBuilder

Intent.Message.ColumnPropertiesOrBuilder

Intent.Message.ImageOrBuilder

Intent.Message.LinkOutSuggestionOrBuilder

Intent.Message.ListSelect.ItemOrBuilder

Intent.Message.ListSelectOrBuilder

Intent.Message.MediaContent.ResponseMediaObjectOrBuilder

Intent.Message.MediaContentOrBuilder

Intent.Message.QuickRepliesOrBuilder

Intent.Message.RbmCardContent.RbmMediaOrBuilder

Intent.Message.RbmCardContentOrBuilder

Intent.Message.RbmCarouselCardOrBuilder

Intent.Message.RbmStandaloneCardOrBuilder

Intent.Message.RbmSuggestedAction.RbmSuggestedActionDialOrBuilder

Intent.Message.RbmSuggestedAction.RbmSuggestedActionOpenUriOrBuilder

Intent.Message.RbmSuggestedAction.RbmSuggestedActionShareLocationOrBuilder

Intent.Message.RbmSuggestedActionOrBuilder

Intent.Message.RbmSuggestedReplyOrBuilder

Intent.Message.RbmSuggestionOrBuilder

Intent.Message.RbmTextOrBuilder

Intent.Message.SelectItemInfoOrBuilder

Intent.Message.SimpleResponseOrBuilder

Intent.Message.SimpleResponsesOrBuilder

Intent.Message.SuggestionOrBuilder

Intent.Message.SuggestionsOrBuilder

Intent.Message.TableCardCellOrBuilder

Intent.Message.TableCardOrBuilder

Intent.Message.TableCardRowOrBuilder

Intent.Message.TelephonyPlayAudioOrBuilder

Intent.Message.TelephonySynthesizeSpeechOrBuilder

Intent.Message.TelephonyTransferCallOrBuilder

Intent.Message.TextOrBuilder

Intent.MessageOrBuilder

Intent.ParameterOrBuilder

Intent.TrainingPhrase.PartOrBuilder

Intent.TrainingPhraseOrBuilder

IntentBatchOrBuilder

IntentOrBuilder

IntentsGrpc.AsyncService

Service for managing Intents.

KnowledgeAnswers.AnswerOrBuilder

KnowledgeAnswersOrBuilder

KnowledgeBaseOrBuilder

KnowledgeBasesGrpc.AsyncService

Service for managing KnowledgeBases.

KnowledgeOperationMetadataOrBuilder

ListAnswerRecordsRequestOrBuilder

ListAnswerRecordsResponseOrBuilder

ListContextsRequestOrBuilder

ListContextsResponseOrBuilder

ListConversationProfilesRequestOrBuilder

ListConversationProfilesResponseOrBuilder

ListConversationsRequestOrBuilder

ListConversationsResponseOrBuilder

ListDocumentsRequestOrBuilder

ListDocumentsResponseOrBuilder

ListEntityTypesRequestOrBuilder

ListEntityTypesResponseOrBuilder

ListEnvironmentsRequestOrBuilder

ListEnvironmentsResponseOrBuilder

ListIntentsRequestOrBuilder

ListIntentsResponseOrBuilder

ListKnowledgeBasesRequestOrBuilder

ListKnowledgeBasesResponseOrBuilder

ListMessagesRequestOrBuilder

ListMessagesResponseOrBuilder

ListParticipantsRequestOrBuilder

ListParticipantsResponseOrBuilder

ListSessionEntityTypesRequestOrBuilder

ListSessionEntityTypesResponseOrBuilder

ListSuggestionsRequestOrBuilder

ListSuggestionsResponseOrBuilder

ListVersionsRequestOrBuilder

ListVersionsResponseOrBuilder

LoggingConfigOrBuilder

MessageAnnotationOrBuilder

MessageOrBuilder

NotificationConfigOrBuilder

OriginalDetectIntentRequestOrBuilder

OutputAudioConfigOrBuilder

OutputAudioOrBuilder

ParticipantOrBuilder

ParticipantsGrpc.AsyncService

Service for managing Participants.

QueryInputOrBuilder

QueryParametersOrBuilder

QueryResultOrBuilder

ReloadDocumentRequestOrBuilder

ResponseMessage.EndInteractionOrBuilder

ResponseMessage.LiveAgentHandoffOrBuilder

ResponseMessage.MixedAudio.SegmentOrBuilder

ResponseMessage.MixedAudioOrBuilder

ResponseMessage.TelephonyTransferCallOrBuilder

ResponseMessage.TextOrBuilder

ResponseMessageOrBuilder

RestoreAgentRequestOrBuilder

SearchAgentsRequestOrBuilder

SearchAgentsResponseOrBuilder

SentimentAnalysisRequestConfigOrBuilder

SentimentAnalysisResultOrBuilder

SentimentOrBuilder

SessionEntityTypeOrBuilder

SessionEntityTypesGrpc.AsyncService

Service for managing SessionEntityTypes.

SessionsGrpc.AsyncService

A service used for session interactions. For more information, see the API interactions guide.

SetAgentRequestOrBuilder

SetSuggestionFeatureConfigOperationMetadataOrBuilder

SetSuggestionFeatureConfigRequestOrBuilder

SmartReplyAnswerOrBuilder

SpeechContextOrBuilder

SpeechToTextConfigOrBuilder

SpeechWordInfoOrBuilder

StreamingAnalyzeContentRequestOrBuilder

StreamingAnalyzeContentResponseOrBuilder

StreamingDetectIntentRequestOrBuilder

StreamingDetectIntentResponseOrBuilder

StreamingRecognitionResultOrBuilder

SubAgentOrBuilder

SuggestArticlesRequestOrBuilder

SuggestArticlesResponseOrBuilder

SuggestConversationSummaryRequestOrBuilder

SuggestConversationSummaryResponse.SummaryOrBuilder

SuggestConversationSummaryResponseOrBuilder

SuggestFaqAnswersRequestOrBuilder

SuggestFaqAnswersResponseOrBuilder

SuggestSmartRepliesRequestOrBuilder

SuggestSmartRepliesResponseOrBuilder

Suggestion.ArticleOrBuilder

Suggestion.FaqAnswerOrBuilder

SuggestionFeatureOrBuilder

SuggestionOrBuilder

SuggestionResultOrBuilder

SynthesizeSpeechConfigOrBuilder

TelephonyDtmfEventsOrBuilder

TextInputOrBuilder

TextToSpeechSettingsOrBuilder

TrainAgentRequestOrBuilder

UpdateAnswerRecordRequestOrBuilder

UpdateContextRequestOrBuilder

UpdateConversationProfileRequestOrBuilder

UpdateDocumentRequestOrBuilder

UpdateEntityTypeRequestOrBuilder

UpdateEnvironmentRequestOrBuilder

UpdateFulfillmentRequestOrBuilder

UpdateIntentRequestOrBuilder

UpdateKnowledgeBaseRequestOrBuilder

UpdateParticipantRequestOrBuilder

UpdateSessionEntityTypeRequestOrBuilder

UpdateVersionRequestOrBuilder

ValidationErrorOrBuilder

ValidationResultOrBuilder

VersionOrBuilder

VersionsGrpc.AsyncService

Service for managing Versions.

VoiceSelectionParamsOrBuilder

WebhookRequestOrBuilder

WebhookResponseOrBuilder

Enums

Agent.ApiVersion

API version for the agent.

Protobuf enum google.cloud.dialogflow.v2beta1.Agent.ApiVersion

Agent.MatchMode

Match mode determines how intents are detected from user queries.

Protobuf enum google.cloud.dialogflow.v2beta1.Agent.MatchMode

Agent.Tier

Represents the agent tier.

Protobuf enum google.cloud.dialogflow.v2beta1.Agent.Tier

AgentAssistantFeedback.AnswerRelevance

Relevance of an answer.

Protobuf enum google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.AnswerRelevance

AgentAssistantFeedback.DocumentCorrectness

Correctness of document.

Protobuf enum google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentCorrectness

AgentAssistantFeedback.DocumentEfficiency

Efficiency of document.

Protobuf enum google.cloud.dialogflow.v2beta1.AgentAssistantFeedback.DocumentEfficiency

AgentAssistantRecord.AnswerCase

AnalyzeContentRequest.InputCase

AnswerFeedback.CorrectnessLevel

The correctness level of an answer.

Protobuf enum google.cloud.dialogflow.v2beta1.AnswerFeedback.CorrectnessLevel

AnswerFeedback.DetailFeedbackCase

AnswerRecord.RecordCase

AudioEncoding

Audio encoding of the audio content sent in the conversational query request. Refer to the Cloud Speech API documentation for more details.

Protobuf enum google.cloud.dialogflow.v2beta1.AudioEncoding

AutomatedAgentReply.AutomatedAgentReplyType

Represents different automated agent reply types.

Protobuf enum google.cloud.dialogflow.v2beta1.AutomatedAgentReply.AutomatedAgentReplyType

AutomatedAgentReply.MatchCase

AutomatedAgentReply.ResponseCase

BatchUpdateEntityTypesRequest.EntityTypeBatchCase

BatchUpdateIntentsRequest.IntentBatchCase

Conversation.ConversationStage

Enumeration of the different conversation stages a conversation can be in. Reference: https://cloud.google.com/dialogflow/priv/docs/contact-center/basics#stages

Protobuf enum google.cloud.dialogflow.v2beta1.Conversation.ConversationStage

Conversation.LifecycleState

Enumeration of the completion status of the conversation.

Protobuf enum google.cloud.dialogflow.v2beta1.Conversation.LifecycleState

ConversationEvent.PayloadCase

ConversationEvent.Type

Enumeration of the types of events available.

Protobuf enum google.cloud.dialogflow.v2beta1.ConversationEvent.Type

Document.KnowledgeType

The knowledge type of document content.

Protobuf enum google.cloud.dialogflow.v2beta1.Document.KnowledgeType

Document.SourceCase

Document.State

Possible states of the document

Protobuf enum google.cloud.dialogflow.v2beta1.Document.State

EntityType.AutoExpansionMode

Represents different entity type expansion modes. Automated expansion allows an agent to recognize values that have not been explicitly listed in the entity (for example, new kinds of shopping list items).

Protobuf enum google.cloud.dialogflow.v2beta1.EntityType.AutoExpansionMode

EntityType.Kind

Represents kinds of entities.

Protobuf enum google.cloud.dialogflow.v2beta1.EntityType.Kind

Environment.State

Represents an environment state. When an environment is pointed to a new agent version, the environment is temporarily set to the LOADING state. During that time, the environment keeps on serving the previous version of the agent. After the new agent version is done loading, the environment is set back to the RUNNING state.

Protobuf enum google.cloud.dialogflow.v2beta1.Environment.State

ExportAgentResponse.AgentCase

Fulfillment.Feature.Type

The type of the feature.

Protobuf enum google.cloud.dialogflow.v2beta1.Fulfillment.Feature.Type

Fulfillment.FulfillmentCase

HumanAgentAssistantConfig.SuggestionQueryConfig.QuerySourceCase

HumanAgentHandoffConfig.AgentServiceCase

ImportAgentRequest.AgentCase

ImportDocumentsRequest.SourceCase

Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint

Type of the URI.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction.UrlTypeHint

Intent.Message.BrowseCarouselCard.ImageDisplayOptions

Image display options for Actions on Google. This should be used for when the image's aspect ratio does not match the image container's aspect ratio.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.BrowseCarouselCard.ImageDisplayOptions

Intent.Message.ColumnProperties.HorizontalAlignment

Text alignments within a cell.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.ColumnProperties.HorizontalAlignment

Intent.Message.MediaContent.ResponseMediaObject.ImageCase

Intent.Message.MediaContent.ResponseMediaType

Format of response media type.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.MediaContent.ResponseMediaType

Intent.Message.MessageCase

Intent.Message.Platform

Represents different platforms that a rich message can be intended for.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.Platform

Intent.Message.RbmCardContent.RbmMedia.Height

Media height

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.RbmCardContent.RbmMedia.Height

Intent.Message.RbmCarouselCard.CardWidth

The width of the cards in the carousel.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.RbmCarouselCard.CardWidth

Intent.Message.RbmStandaloneCard.CardOrientation

Orientation of the card.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.CardOrientation

Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment

Thumbnail preview alignment for standalone cards with horizontal layout.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.Message.RbmStandaloneCard.ThumbnailImageAlignment

Intent.Message.RbmSuggestedAction.ActionCase

Intent.Message.RbmSuggestion.SuggestionCase

Intent.Message.TelephonySynthesizeSpeech.SourceCase

Intent.TrainingPhrase.Type

Represents different types of training phrases.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.TrainingPhrase.Type

Intent.WebhookState

Represents the different states that webhooks can be in.

Protobuf enum google.cloud.dialogflow.v2beta1.Intent.WebhookState

IntentView

Represents the options for views of an intent. An intent can be a sizable object. Therefore, we provide a resource view that does not return training phrases in the response by default.

Protobuf enum google.cloud.dialogflow.v2beta1.IntentView

KnowledgeAnswers.Answer.MatchConfidenceLevel

Represents the system's confidence that this knowledge answer is a good match for this conversational query.

Protobuf enum google.cloud.dialogflow.v2beta1.KnowledgeAnswers.Answer.MatchConfidenceLevel

KnowledgeOperationMetadata.OperationMetadataCase

KnowledgeOperationMetadata.State

States of the operation.

Protobuf enum google.cloud.dialogflow.v2beta1.KnowledgeOperationMetadata.State

NotificationConfig.MessageFormat

Format of cloud pub/sub message.

Protobuf enum google.cloud.dialogflow.v2beta1.NotificationConfig.MessageFormat

OutputAudioEncoding

Audio encoding of the output audio format in Text-To-Speech.

Protobuf enum google.cloud.dialogflow.v2beta1.OutputAudioEncoding

Participant.Role

Enumeration of the roles a participant can play in a conversation.

Protobuf enum google.cloud.dialogflow.v2beta1.Participant.Role

QueryInput.InputCase

ReloadDocumentRequest.SourceCase

ResponseMessage.MessageCase

ResponseMessage.MixedAudio.Segment.ContentCase

ResponseMessage.TelephonyTransferCall.EndpointCase

RestoreAgentRequest.AgentCase

SessionEntityType.EntityOverrideMode

The types of modifications for a session entity type.

Protobuf enum google.cloud.dialogflow.v2beta1.SessionEntityType.EntityOverrideMode

SpeechModelVariant

Variant of the specified Speech model to use. See the Cloud Speech documentation for which models have different variants. For example, the "phone_call" model has both a standard and an enhanced variant. When you use an enhanced model, you will generally receive higher quality results than for a standard model.

Protobuf enum google.cloud.dialogflow.v2beta1.SpeechModelVariant

SsmlVoiceGender

Gender of the voice as described in SSML voice element.

Protobuf enum google.cloud.dialogflow.v2beta1.SsmlVoiceGender

StreamingAnalyzeContentRequest.ConfigCase

StreamingAnalyzeContentRequest.InputCase

StreamingRecognitionResult.MessageType

Type of the response message.

Protobuf enum google.cloud.dialogflow.v2beta1.StreamingRecognitionResult.MessageType

SuggestionFeature.Type

Defines the type of Human Agent Assistant feature.

Protobuf enum google.cloud.dialogflow.v2beta1.SuggestionFeature.Type

SuggestionResult.SuggestionResponseCase

TelephonyDtmf

DTMF digit in Telephony Gateway.

Protobuf enum google.cloud.dialogflow.v2beta1.TelephonyDtmf

ValidationError.Severity

Represents a level of severity.

Protobuf enum google.cloud.dialogflow.v2beta1.ValidationError.Severity

Version.VersionStatus

The status of a version.

Protobuf enum google.cloud.dialogflow.v2beta1.Version.VersionStatus