Package com.google.cloud.dialogflow.v2beta1.stub (4.7.2)

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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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 getAnswerRecord to 30 seconds:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 AnswerRecordsStubSettings.Builder answerRecordsSettingsBuilder =
     AnswerRecordsStubSettings.newBuilder();
 answerRecordsSettingsBuilder
     .getAnswerRecordSettings()
     .setRetrySettings(
         answerRecordsSettingsBuilder
             .getAnswerRecordSettings()
             .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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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.

HttpJsonAgentsCallableFactory

REST callable factory implementation for the Agents service API.

This class is for advanced usage.

HttpJsonAgentsStub

REST stub implementation for the Agents service API.

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

HttpJsonAnswerRecordsCallableFactory

REST callable factory implementation for the AnswerRecords service API.

This class is for advanced usage.

HttpJsonAnswerRecordsStub

REST stub implementation for the AnswerRecords service API.

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

HttpJsonContextsCallableFactory

REST callable factory implementation for the Contexts service API.

This class is for advanced usage.

HttpJsonContextsStub

REST stub implementation for the Contexts service API.

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

HttpJsonConversationProfilesCallableFactory

REST callable factory implementation for the ConversationProfiles service API.

This class is for advanced usage.

HttpJsonConversationProfilesStub

REST stub implementation for the ConversationProfiles service API.

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

HttpJsonConversationsCallableFactory

REST callable factory implementation for the Conversations service API.

This class is for advanced usage.

HttpJsonConversationsStub

REST stub implementation for the Conversations service API.

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

HttpJsonDocumentsCallableFactory

REST callable factory implementation for the Documents service API.

This class is for advanced usage.

HttpJsonDocumentsStub

REST stub implementation for the Documents service API.

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

HttpJsonEntityTypesCallableFactory

REST callable factory implementation for the EntityTypes service API.

This class is for advanced usage.

HttpJsonEntityTypesStub

REST stub implementation for the EntityTypes service API.

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

HttpJsonEnvironmentsCallableFactory

REST callable factory implementation for the Environments service API.

This class is for advanced usage.

HttpJsonEnvironmentsStub

REST stub implementation for the Environments service API.

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

HttpJsonFulfillmentsCallableFactory

REST callable factory implementation for the Fulfillments service API.

This class is for advanced usage.

HttpJsonFulfillmentsStub

REST stub implementation for the Fulfillments service API.

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

HttpJsonIntentsCallableFactory

REST callable factory implementation for the Intents service API.

This class is for advanced usage.

HttpJsonIntentsStub

REST stub implementation for the Intents service API.

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

HttpJsonKnowledgeBasesCallableFactory

REST callable factory implementation for the KnowledgeBases service API.

This class is for advanced usage.

HttpJsonKnowledgeBasesStub

REST stub implementation for the KnowledgeBases service API.

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

HttpJsonParticipantsCallableFactory

REST callable factory implementation for the Participants service API.

This class is for advanced usage.

HttpJsonParticipantsStub

REST stub implementation for the Participants service API.

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

HttpJsonSessionEntityTypesCallableFactory

REST callable factory implementation for the SessionEntityTypes service API.

This class is for advanced usage.

HttpJsonSessionEntityTypesStub

REST stub implementation for the SessionEntityTypes service API.

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

HttpJsonSessionsCallableFactory

REST callable factory implementation for the Sessions service API.

This class is for advanced usage.

HttpJsonSessionsStub

REST stub implementation for the Sessions service API.

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

HttpJsonVersionsCallableFactory

REST callable factory implementation for the Versions service API.

This class is for advanced usage.

HttpJsonVersionsStub

REST 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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:


 // This snippet has been automatically generated for illustrative purposes only.
 // It may require modifications to work in your environment.
 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.