public sealed class SessionsSettings : ServiceSettingsBase
Settings for SessionsClient instances.
Inheritance
System.Object > Google.Api.Gax.Grpc.ServiceSettingsBase > SessionsSettingsNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
SessionsSettings()
public SessionsSettings()
Constructs a new SessionsSettings object with default settings.
Properties
DetectIntentSettings
public CallSettings DetectIntentSettings { get; set; }
Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to SessionsClient.DetectIntent
and SessionsClient.DetectIntentAsync
.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.Grpc.CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 220 seconds.
FulfillIntentSettings
public CallSettings FulfillIntentSettings { get; set; }
Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
SessionsClient.FulfillIntent
and SessionsClient.FulfillIntentAsync
.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.Grpc.CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
MatchIntentSettings
public CallSettings MatchIntentSettings { get; set; }
Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to SessionsClient.MatchIntent
and SessionsClient.MatchIntentAsync
.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.Grpc.CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 60 seconds.
StreamingDetectIntentSettings
public CallSettings StreamingDetectIntentSettings { get; set; }
Google.Api.Gax.Grpc.CallSettings for synchronous and asynchronous calls to
SessionsClient.StreamingDetectIntent
and SessionsClient.StreamingDetectIntentAsync
.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.Grpc.CallSettings |
- This call will not be retried.
- Timeout: 220 seconds.
StreamingDetectIntentStreamingSettings
public BidirectionalStreamingSettings StreamingDetectIntentStreamingSettings { get; set; }
Google.Api.Gax.Grpc.BidirectionalStreamingSettings for calls to SessionsClient.StreamingDetectIntent
and SessionsClient.StreamingDetectIntentAsync
.
Property Value | |
---|---|
Type | Description |
Google.Api.Gax.Grpc.BidirectionalStreamingSettings |
The default local send queue size is 100.
Methods
Clone()
public SessionsSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
SessionsSettings | A deep clone of this SessionsSettings object. |
GetDefault()
public static SessionsSettings GetDefault()
Get a new instance of the default SessionsSettings.
Returns | |
---|---|
Type | Description |
SessionsSettings | A new instance of the default SessionsSettings. |