public sealed class ImageAnnotatorSettings : ServiceSettingsBase
Settings for ImageAnnotatorClient instances.
Namespace
Google.Cloud.Vision.V1Assembly
Google.Cloud.Vision.V1.dll
Constructors
ImageAnnotatorSettings()
public ImageAnnotatorSettings()
Constructs a new ImageAnnotatorSettings object with default settings.
Properties
AsyncBatchAnnotateFilesOperationsSettings
public OperationsSettings AsyncBatchAnnotateFilesOperationsSettings { get; set; }
Long Running Operation settings for calls to ImageAnnotatorClient.AsyncBatchAnnotateFiles
and
ImageAnnotatorClient.AsyncBatchAnnotateFilesAsync
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
AsyncBatchAnnotateFilesSettings
public CallSettings AsyncBatchAnnotateFilesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ImageAnnotatorClient.AsyncBatchAnnotateFiles
and ImageAnnotatorClient.AsyncBatchAnnotateFilesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
AsyncBatchAnnotateImagesOperationsSettings
public OperationsSettings AsyncBatchAnnotateImagesOperationsSettings { get; set; }
Long Running Operation settings for calls to ImageAnnotatorClient.AsyncBatchAnnotateImages
and
ImageAnnotatorClient.AsyncBatchAnnotateImagesAsync
.
Property Value | |
---|---|
Type | Description |
Google.LongRunning.OperationsSettings |
Uses default PollSettings of:
- Initial delay: 20 seconds.
- Delay multiplier: 1.5
- Maximum delay: 45 seconds.
- Total timeout: 24 hours.
AsyncBatchAnnotateImagesSettings
public CallSettings AsyncBatchAnnotateImagesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ImageAnnotatorClient.AsyncBatchAnnotateImages
and
ImageAnnotatorClient.AsyncBatchAnnotateImagesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
BatchAnnotateFilesSettings
public CallSettings BatchAnnotateFilesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ImageAnnotatorClient.BatchAnnotateFiles
and ImageAnnotatorClient.BatchAnnotateFilesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
BatchAnnotateImagesSettings
public CallSettings BatchAnnotateImagesSettings { get; set; }
CallSettings for synchronous and asynchronous calls to
ImageAnnotatorClient.BatchAnnotateImages
and ImageAnnotatorClient.BatchAnnotateImagesAsync
.
Property Value | |
---|---|
Type | Description |
CallSettings |
- Initial retry delay: 100 milliseconds.
- Retry delay multiplier: 1.3
- Retry maximum delay: 60000 milliseconds.
- Maximum attempts: Unlimited
- Timeout: 600 seconds.
Methods
Clone()
public ImageAnnotatorSettings Clone()
Creates a deep clone of this object, with all the same property values.
Returns | |
---|---|
Type | Description |
ImageAnnotatorSettings | A deep clone of this ImageAnnotatorSettings object. |
GetDefault()
public static ImageAnnotatorSettings GetDefault()
Get a new instance of the default ImageAnnotatorSettings.
Returns | |
---|---|
Type | Description |
ImageAnnotatorSettings | A new instance of the default ImageAnnotatorSettings. |