@Generated(value="by gapic-generator") @BetaApi public class DataLabelingServiceSettings extends ClientSettings<DataLabelingServiceSettings>
DataLabelingServiceClient
.
The default instance has everything set to sensible defaults:
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 createDataset to 30 seconds:
DataLabelingServiceSettings.Builder dataLabelingServiceSettingsBuilder =
DataLabelingServiceSettings.newBuilder();
dataLabelingServiceSettingsBuilder.createDatasetSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
DataLabelingServiceSettings dataLabelingServiceSettings = dataLabelingServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
DataLabelingServiceSettings.Builder
Builder for DataLabelingServiceSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
DataLabelingServiceSettings(DataLabelingServiceSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
static DataLabelingServiceSettings |
create(DataLabelingServiceStubSettings stub) |
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
createAnnotationSpecSetSettings()
Returns the object with the settings used for calls to createAnnotationSpecSet.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
createDatasetSettings()
Returns the object with the settings used for calls to createDataset.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> |
createInstructionOperationSettings()
Returns the object with the settings used for calls to createInstruction.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,Operation> |
createInstructionSettings()
Returns the object with the settings used for calls to createInstruction.
|
static ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static TransportChannelProvider |
defaultTransportChannelProvider() |
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> |
deleteAnnotatedDatasetSettings()
Returns the object with the settings used for calls to deleteAnnotatedDataset.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> |
deleteAnnotationSpecSetSettings()
Returns the object with the settings used for calls to deleteAnnotationSpecSet.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> |
deleteDatasetSettings()
Returns the object with the settings used for calls to deleteDataset.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> |
deleteInstructionSettings()
Returns the object with the settings used for calls to deleteInstruction.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> |
exportDataOperationSettings()
Returns the object with the settings used for calls to exportData.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,Operation> |
exportDataSettings()
Returns the object with the settings used for calls to exportData.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> |
getAnnotatedDatasetSettings()
Returns the object with the settings used for calls to getAnnotatedDataset.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
getAnnotationSpecSetSettings()
Returns the object with the settings used for calls to getAnnotationSpecSet.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> |
getDataItemSettings()
Returns the object with the settings used for calls to getDataItem.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
getDatasetSettings()
Returns the object with the settings used for calls to getDataset.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> |
getExampleSettings()
Returns the object with the settings used for calls to getExample.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> |
getInstructionSettings()
Returns the object with the settings used for calls to getInstruction.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> |
importDataOperationSettings()
Returns the object with the settings used for calls to importData.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,Operation> |
importDataSettings()
Returns the object with the settings used for calls to importData.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelAudioOperationSettings()
Returns the object with the settings used for calls to labelAudio.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,Operation> |
labelAudioSettings()
Returns the object with the settings used for calls to labelAudio.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelImageOperationSettings()
Returns the object with the settings used for calls to labelImage.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,Operation> |
labelImageSettings()
Returns the object with the settings used for calls to labelImage.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelTextOperationSettings()
Returns the object with the settings used for calls to labelText.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,Operation> |
labelTextSettings()
Returns the object with the settings used for calls to labelText.
|
OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelVideoOperationSettings()
Returns the object with the settings used for calls to labelVideo.
|
UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,Operation> |
labelVideoSettings()
Returns the object with the settings used for calls to labelVideo.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> |
listAnnotatedDatasetsSettings()
Returns the object with the settings used for calls to listAnnotatedDatasets.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> |
listAnnotationSpecSetsSettings()
Returns the object with the settings used for calls to listAnnotationSpecSets.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> |
listDataItemsSettings()
Returns the object with the settings used for calls to listDataItems.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the object with the settings used for calls to listDatasets.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> |
listExamplesSettings()
Returns the object with the settings used for calls to listExamples.
|
PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> |
listInstructionsSettings()
Returns the object with the settings used for calls to listInstructions.
|
static DataLabelingServiceSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static DataLabelingServiceSettings.Builder |
newBuilder(ClientContext clientContext)
Returns a new builder for this class.
|
DataLabelingServiceSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, toString
protected DataLabelingServiceSettings(DataLabelingServiceSettings.Builder settingsBuilder) throws IOException
IOException
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> createDatasetSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> getDatasetSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> deleteDatasetSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,Operation> importDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> importDataOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,Operation> exportDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> exportDataOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> getDataItemSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> getAnnotatedDatasetSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,Operation> labelImageSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelImageOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,Operation> labelVideoSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelVideoOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,Operation> labelTextSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelTextOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,Operation> labelAudioSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelAudioOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> getExampleSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> createAnnotationSpecSetSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> getAnnotationSpecSetSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,Operation> createInstructionSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public OperationCallSettings<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> createInstructionOperationSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> getInstructionSettings()
public PagedCallSettings<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> deleteInstructionSettings()
public UnaryCallSettings<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()
public static final DataLabelingServiceSettings create(DataLabelingServiceStubSettings stub) throws IOException
IOException
public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DataLabelingServiceSettings.Builder newBuilder()
public static DataLabelingServiceSettings.Builder newBuilder(ClientContext clientContext)
public DataLabelingServiceSettings.Builder toBuilder()
toBuilder
in class ClientSettings<DataLabelingServiceSettings>
Copyright © 2019 Google LLC. All rights reserved.