Package com.google.cloud.dialogflow.v2.stub (4.4.0)

Classes

AgentsStub

Base stub class for the Agents service API.

This class is for advanced usage and reflects the underlying API directly.

AgentsStubSettings

Settings class to configure an instance of AgentsStub.

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:


 AgentsStubSettings.Builder agentsSettingsBuilder = AgentsStubSettings.newBuilder();
 agentsSettingsBuilder
     .getAgentSettings()
     .setRetrySettings(
         agentsSettingsBuilder
             .getAgentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AgentsStubSettings agentsSettings = agentsSettingsBuilder.build();
 

AgentsStubSettings.Builder

Builder for AgentsStubSettings.

AnswerRecordsStub

Base stub class for the AnswerRecords service API.

This class is for advanced usage and reflects the underlying API directly.

AnswerRecordsStubSettings

Settings class to configure an instance of AnswerRecordsStub.

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 updateAnswerRecord to 30 seconds:


 AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
     AnswerRecordsStubSettings.newBuilder();
 answerRecordsSettingsBuilder
     .updateAnswerRecordSettings()
     .setRetrySettings(
         answerRecordsSettingsBuilder
             .updateAnswerRecordSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 AnswerRecordsStubSettings answerRecordsSettings = answerRecordsSettingsBuilder.build();
 

AnswerRecordsStubSettings.Builder

Builder for AnswerRecordsStubSettings.

ContextsStub

Base stub class for the Contexts service API.

This class is for advanced usage and reflects the underlying API directly.

ContextsStubSettings

Settings class to configure an instance of ContextsStub.

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:


 ContextsStubSettings.Builder contextsSettingsBuilder = ContextsStubSettings.newBuilder();
 contextsSettingsBuilder
     .getContextSettings()
     .setRetrySettings(
         contextsSettingsBuilder
             .getContextSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ContextsStubSettings contextsSettings = contextsSettingsBuilder.build();
 

ContextsStubSettings.Builder

Builder for ContextsStubSettings.

ConversationProfilesStub

Base stub class for the ConversationProfiles service API.

This class is for advanced usage and reflects the underlying API directly.

ConversationProfilesStubSettings

Settings class to configure an instance of ConversationProfilesStub.

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:


 ConversationProfilesStubSettings.Builder conversationProfilesSettingsBuilder =
     ConversationProfilesStubSettings.newBuilder();
 conversationProfilesSettingsBuilder
     .getConversationProfileSettings()
     .setRetrySettings(
         conversationProfilesSettingsBuilder
             .getConversationProfileSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ConversationProfilesStubSettings conversationProfilesSettings =
     conversationProfilesSettingsBuilder.build();
 

ConversationProfilesStubSettings.Builder

Builder for ConversationProfilesStubSettings.

ConversationsStub

Base stub class for the Conversations service API.

This class is for advanced usage and reflects the underlying API directly.

ConversationsStubSettings

Settings class to configure an instance of ConversationsStub.

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:


 ConversationsStubSettings.Builder conversationsSettingsBuilder =
     ConversationsStubSettings.newBuilder();
 conversationsSettingsBuilder
     .createConversationSettings()
     .setRetrySettings(
         conversationsSettingsBuilder
             .createConversationSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ConversationsStubSettings conversationsSettings = conversationsSettingsBuilder.build();
 

ConversationsStubSettings.Builder

Builder for ConversationsStubSettings.

DocumentsStub

Base stub class for the Documents service API.

This class is for advanced usage and reflects the underlying API directly.

DocumentsStubSettings

Settings class to configure an instance of DocumentsStub.

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:


 DocumentsStubSettings.Builder documentsSettingsBuilder = DocumentsStubSettings.newBuilder();
 documentsSettingsBuilder
     .getDocumentSettings()
     .setRetrySettings(
         documentsSettingsBuilder
             .getDocumentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 DocumentsStubSettings documentsSettings = documentsSettingsBuilder.build();
 

DocumentsStubSettings.Builder

Builder for DocumentsStubSettings.

EntityTypesStub

Base stub class for the EntityTypes service API.

This class is for advanced usage and reflects the underlying API directly.

EntityTypesStubSettings

Settings class to configure an instance of EntityTypesStub.

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:


 EntityTypesStubSettings.Builder entityTypesSettingsBuilder =
     EntityTypesStubSettings.newBuilder();
 entityTypesSettingsBuilder
     .getEntityTypeSettings()
     .setRetrySettings(
         entityTypesSettingsBuilder
             .getEntityTypeSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 EntityTypesStubSettings entityTypesSettings = entityTypesSettingsBuilder.build();
 

EntityTypesStubSettings.Builder

Builder for EntityTypesStubSettings.

EnvironmentsStub

Base stub class for the Environments service API.

This class is for advanced usage and reflects the underlying API directly.

EnvironmentsStubSettings

Settings class to configure an instance of EnvironmentsStub.

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:


 EnvironmentsStubSettings.Builder environmentsSettingsBuilder =
     EnvironmentsStubSettings.newBuilder();
 environmentsSettingsBuilder
     .getEnvironmentSettings()
     .setRetrySettings(
         environmentsSettingsBuilder
             .getEnvironmentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 EnvironmentsStubSettings environmentsSettings = environmentsSettingsBuilder.build();
 

EnvironmentsStubSettings.Builder

Builder for EnvironmentsStubSettings.

FulfillmentsStub

Base stub class for the Fulfillments service API.

This class is for advanced usage and reflects the underlying API directly.

FulfillmentsStubSettings

Settings class to configure an instance of FulfillmentsStub.

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:


 FulfillmentsStubSettings.Builder fulfillmentsSettingsBuilder =
     FulfillmentsStubSettings.newBuilder();
 fulfillmentsSettingsBuilder
     .getFulfillmentSettings()
     .setRetrySettings(
         fulfillmentsSettingsBuilder
             .getFulfillmentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 FulfillmentsStubSettings fulfillmentsSettings = fulfillmentsSettingsBuilder.build();
 

FulfillmentsStubSettings.Builder

Builder for FulfillmentsStubSettings.

GrpcAgentsCallableFactory

gRPC callable factory implementation for the Agents service API.

This class is for advanced usage.

GrpcAgentsStub

gRPC stub implementation for the Agents service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcAnswerRecordsCallableFactory

gRPC callable factory implementation for the AnswerRecords service API.

This class is for advanced usage.

GrpcAnswerRecordsStub

gRPC stub implementation for the AnswerRecords service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcContextsCallableFactory

gRPC callable factory implementation for the Contexts service API.

This class is for advanced usage.

GrpcContextsStub

gRPC stub implementation for the Contexts service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcConversationProfilesCallableFactory

gRPC callable factory implementation for the ConversationProfiles service API.

This class is for advanced usage.

GrpcConversationProfilesStub

gRPC stub implementation for the ConversationProfiles service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcConversationsCallableFactory

gRPC callable factory implementation for the Conversations service API.

This class is for advanced usage.

GrpcConversationsStub

gRPC stub implementation for the Conversations service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcDocumentsCallableFactory

gRPC callable factory implementation for the Documents service API.

This class is for advanced usage.

GrpcDocumentsStub

gRPC stub implementation for the Documents service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcEntityTypesCallableFactory

gRPC callable factory implementation for the EntityTypes service API.

This class is for advanced usage.

GrpcEntityTypesStub

gRPC stub implementation for the EntityTypes service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcEnvironmentsCallableFactory

gRPC callable factory implementation for the Environments service API.

This class is for advanced usage.

GrpcEnvironmentsStub

gRPC stub implementation for the Environments service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcFulfillmentsCallableFactory

gRPC callable factory implementation for the Fulfillments service API.

This class is for advanced usage.

GrpcFulfillmentsStub

gRPC stub implementation for the Fulfillments service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcIntentsCallableFactory

gRPC callable factory implementation for the Intents service API.

This class is for advanced usage.

GrpcIntentsStub

gRPC stub implementation for the Intents service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcKnowledgeBasesCallableFactory

gRPC callable factory implementation for the KnowledgeBases service API.

This class is for advanced usage.

GrpcKnowledgeBasesStub

gRPC stub implementation for the KnowledgeBases service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcParticipantsCallableFactory

gRPC callable factory implementation for the Participants service API.

This class is for advanced usage.

GrpcParticipantsStub

gRPC stub implementation for the Participants service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcSessionEntityTypesCallableFactory

gRPC callable factory implementation for the SessionEntityTypes service API.

This class is for advanced usage.

GrpcSessionEntityTypesStub

gRPC stub implementation for the SessionEntityTypes service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcSessionsCallableFactory

gRPC callable factory implementation for the Sessions service API.

This class is for advanced usage.

GrpcSessionsStub

gRPC stub implementation for the Sessions service API.

This class is for advanced usage and reflects the underlying API directly.

GrpcVersionsCallableFactory

gRPC callable factory implementation for the Versions service API.

This class is for advanced usage.

GrpcVersionsStub

gRPC stub implementation for the Versions service API.

This class is for advanced usage and reflects the underlying API directly.

IntentsStub

Base stub class for the Intents service API.

This class is for advanced usage and reflects the underlying API directly.

IntentsStubSettings

Settings class to configure an instance of IntentsStub.

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:


 IntentsStubSettings.Builder intentsSettingsBuilder = IntentsStubSettings.newBuilder();
 intentsSettingsBuilder
     .getIntentSettings()
     .setRetrySettings(
         intentsSettingsBuilder
             .getIntentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 IntentsStubSettings intentsSettings = intentsSettingsBuilder.build();
 

IntentsStubSettings.Builder

Builder for IntentsStubSettings.

KnowledgeBasesStub

Base stub class for the KnowledgeBases service API.

This class is for advanced usage and reflects the underlying API directly.

KnowledgeBasesStubSettings

Settings class to configure an instance of KnowledgeBasesStub.

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:


 KnowledgeBasesStubSettings.Builder knowledgeBasesSettingsBuilder =
     KnowledgeBasesStubSettings.newBuilder();
 knowledgeBasesSettingsBuilder
     .getKnowledgeBaseSettings()
     .setRetrySettings(
         knowledgeBasesSettingsBuilder
             .getKnowledgeBaseSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 KnowledgeBasesStubSettings knowledgeBasesSettings = knowledgeBasesSettingsBuilder.build();
 

KnowledgeBasesStubSettings.Builder

Builder for KnowledgeBasesStubSettings.

ParticipantsStub

Base stub class for the Participants service API.

This class is for advanced usage and reflects the underlying API directly.

ParticipantsStubSettings

Settings class to configure an instance of ParticipantsStub.

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:


 ParticipantsStubSettings.Builder participantsSettingsBuilder =
     ParticipantsStubSettings.newBuilder();
 participantsSettingsBuilder
     .createParticipantSettings()
     .setRetrySettings(
         participantsSettingsBuilder
             .createParticipantSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 ParticipantsStubSettings participantsSettings = participantsSettingsBuilder.build();
 

ParticipantsStubSettings.Builder

Builder for ParticipantsStubSettings.

SessionEntityTypesStub

Base stub class for the SessionEntityTypes service API.

This class is for advanced usage and reflects the underlying API directly.

SessionEntityTypesStubSettings

Settings class to configure an instance of SessionEntityTypesStub.

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:


 SessionEntityTypesStubSettings.Builder sessionEntityTypesSettingsBuilder =
     SessionEntityTypesStubSettings.newBuilder();
 sessionEntityTypesSettingsBuilder
     .getSessionEntityTypeSettings()
     .setRetrySettings(
         sessionEntityTypesSettingsBuilder
             .getSessionEntityTypeSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SessionEntityTypesStubSettings sessionEntityTypesSettings =
     sessionEntityTypesSettingsBuilder.build();
 

SessionEntityTypesStubSettings.Builder

Builder for SessionEntityTypesStubSettings.

SessionsStub

Base stub class for the Sessions service API.

This class is for advanced usage and reflects the underlying API directly.

SessionsStubSettings

Settings class to configure an instance of SessionsStub.

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:


 SessionsStubSettings.Builder sessionsSettingsBuilder = SessionsStubSettings.newBuilder();
 sessionsSettingsBuilder
     .detectIntentSettings()
     .setRetrySettings(
         sessionsSettingsBuilder
             .detectIntentSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 SessionsStubSettings sessionsSettings = sessionsSettingsBuilder.build();
 

SessionsStubSettings.Builder

Builder for SessionsStubSettings.

VersionsStub

Base stub class for the Versions service API.

This class is for advanced usage and reflects the underlying API directly.

VersionsStubSettings

Settings class to configure an instance of VersionsStub.

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:


 VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder();
 versionsSettingsBuilder
     .getVersionSettings()
     .setRetrySettings(
         versionsSettingsBuilder
             .getVersionSettings()
             .getRetrySettings()
             .toBuilder()
             .setTotalTimeout(Duration.ofSeconds(30))
             .build());
 VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();
 

VersionsStubSettings.Builder

Builder for VersionsStubSettings.