Class DataLabelingServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
-
- com.google.cloud.datalabeling.v1beta1.DataLabelingServiceSettings.Builder
-
- Enclosing class:
- DataLabelingServiceSettings
public static class DataLabelingServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
Builder for DataLabelingServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(DataLabelingServiceSettings settings)
protected
Builder(DataLabelingServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataLabelingServiceSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.DataLabelingServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet>
createAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to createAnnotationSpecSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,Dataset>
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEvaluationJobRequest,EvaluationJob>
createEvaluationJobSettings()
Returns the builder for the settings used for calls to createEvaluationJob.com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata>
createInstructionOperationSettings()
Returns the builder for the settings used for calls to createInstruction.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstructionRequest,com.google.longrunning.Operation>
createInstructionSettings()
Returns the builder for the settings used for calls to createInstruction.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotatedDatasetRequest,com.google.protobuf.Empty>
deleteAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to deleteAnnotatedDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,com.google.protobuf.Empty>
deleteAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to deleteAnnotationSpecSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty>
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEvaluationJobRequest,com.google.protobuf.Empty>
deleteEvaluationJobSettings()
Returns the builder for the settings used for calls to deleteEvaluationJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstructionRequest,com.google.protobuf.Empty>
deleteInstructionSettings()
Returns the builder for the settings used for calls to deleteInstruction.com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata>
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation>
exportDataSettings()
Returns the builder for the settings used for calls to exportData.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotatedDatasetRequest,AnnotatedDataset>
getAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to getAnnotatedDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet>
getAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to getAnnotationSpecSet.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataItemRequest,DataItem>
getDataItemSettings()
Returns the builder for the settings used for calls to getDataItem.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset>
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEvaluationJobRequest,EvaluationJob>
getEvaluationJobSettings()
Returns the builder for the settings used for calls to getEvaluationJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation>
getEvaluationSettings()
Returns the builder for the settings used for calls to getEvaluation.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExampleRequest,Example>
getExampleSettings()
Returns the builder for the settings used for calls to getExample.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstructionRequest,Instruction>
getInstructionSettings()
Returns the builder for the settings used for calls to getInstruction.DataLabelingServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata>
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation>
importDataSettings()
Returns the builder for the settings used for calls to importData.com.google.api.gax.rpc.OperationCallSettings.Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata>
labelImageOperationSettings()
Returns the builder for the settings used for calls to labelImage.com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelImageRequest,com.google.longrunning.Operation>
labelImageSettings()
Returns the builder for the settings used for calls to labelImage.com.google.api.gax.rpc.OperationCallSettings.Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata>
labelTextOperationSettings()
Returns the builder for the settings used for calls to labelText.com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelTextRequest,com.google.longrunning.Operation>
labelTextSettings()
Returns the builder for the settings used for calls to labelText.com.google.api.gax.rpc.OperationCallSettings.Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata>
labelVideoOperationSettings()
Returns the builder for the settings used for calls to labelVideo.com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelVideoRequest,com.google.longrunning.Operation>
labelVideoSettings()
Returns the builder for the settings used for calls to labelVideo.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse>
listAnnotatedDatasetsSettings()
Returns the builder for the settings used for calls to listAnnotatedDatasets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse>
listAnnotationSpecSetsSettings()
Returns the builder for the settings used for calls to listAnnotationSpecSets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse>
listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse>
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.com.google.api.gax.rpc.PagedCallSettings.Builder<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse>
listEvaluationJobsSettings()
Returns the builder for the settings used for calls to listEvaluationJobs.com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse>
listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse>
listInstructionsSettings()
Returns the builder for the settings used for calls to listInstructions.com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseEvaluationJobRequest,com.google.protobuf.Empty>
pauseEvaluationJobSettings()
Returns the builder for the settings used for calls to pauseEvaluationJob.com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeEvaluationJobRequest,com.google.protobuf.Empty>
resumeEvaluationJobSettings()
Returns the builder for the settings used for calls to resumeEvaluationJob.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse>
searchEvaluationsSettings()
Returns the builder for the settings used for calls to searchEvaluations.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse>
searchExampleComparisonsSettings()
Returns the builder for the settings used for calls to searchExampleComparisons.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEvaluationJobRequest,EvaluationJob>
updateEvaluationJobSettings()
Returns the builder for the settings used for calls to updateEvaluationJob.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(DataLabelingServiceSettings settings)
-
Builder
protected Builder(DataLabelingServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public DataLabelingServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public DataLabelingServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.Note: This method does not support applying settings to streaming methods.
-
createDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,Dataset> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
-
getDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
-
listDatasetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
-
deleteDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,com.google.protobuf.Empty> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
-
importDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
-
importDataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
-
exportDataSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
-
exportDataOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
-
getDataItemSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataItemRequest,DataItem> getDataItemSettings()
Returns the builder for the settings used for calls to getDataItem.
-
listDataItemsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
-
getAnnotatedDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to getAnnotatedDataset.
-
listAnnotatedDatasetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
Returns the builder for the settings used for calls to listAnnotatedDatasets.
-
deleteAnnotatedDatasetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotatedDatasetRequest,com.google.protobuf.Empty> deleteAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to deleteAnnotatedDataset.
-
labelImageSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelImageRequest,com.google.longrunning.Operation> labelImageSettings()
Returns the builder for the settings used for calls to labelImage.
-
labelImageOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationSettings()
Returns the builder for the settings used for calls to labelImage.
-
labelVideoSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelVideoRequest,com.google.longrunning.Operation> labelVideoSettings()
Returns the builder for the settings used for calls to labelVideo.
-
labelVideoOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationSettings()
Returns the builder for the settings used for calls to labelVideo.
-
labelTextSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelTextRequest,com.google.longrunning.Operation> labelTextSettings()
Returns the builder for the settings used for calls to labelText.
-
labelTextOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationSettings()
Returns the builder for the settings used for calls to labelText.
-
getExampleSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()
Returns the builder for the settings used for calls to getExample.
-
listExamplesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.
-
createAnnotationSpecSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to createAnnotationSpecSet.
-
getAnnotationSpecSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to getAnnotationSpecSet.
-
listAnnotationSpecSetsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
Returns the builder for the settings used for calls to listAnnotationSpecSets.
-
deleteAnnotationSpecSetSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,com.google.protobuf.Empty> deleteAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to deleteAnnotationSpecSet.
-
createInstructionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstructionRequest,com.google.longrunning.Operation> createInstructionSettings()
Returns the builder for the settings used for calls to createInstruction.
-
createInstructionOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationSettings()
Returns the builder for the settings used for calls to createInstruction.
-
getInstructionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstructionRequest,Instruction> getInstructionSettings()
Returns the builder for the settings used for calls to getInstruction.
-
listInstructionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
Returns the builder for the settings used for calls to listInstructions.
-
deleteInstructionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstructionRequest,com.google.protobuf.Empty> deleteInstructionSettings()
Returns the builder for the settings used for calls to deleteInstruction.
-
getEvaluationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()
Returns the builder for the settings used for calls to getEvaluation.
-
searchEvaluationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsSettings()
Returns the builder for the settings used for calls to searchEvaluations.
-
searchExampleComparisonsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsSettings()
Returns the builder for the settings used for calls to searchExampleComparisons.
-
createEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobSettings()
Returns the builder for the settings used for calls to createEvaluationJob.
-
updateEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobSettings()
Returns the builder for the settings used for calls to updateEvaluationJob.
-
getEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobSettings()
Returns the builder for the settings used for calls to getEvaluationJob.
-
pauseEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<PauseEvaluationJobRequest,com.google.protobuf.Empty> pauseEvaluationJobSettings()
Returns the builder for the settings used for calls to pauseEvaluationJob.
-
resumeEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ResumeEvaluationJobRequest,com.google.protobuf.Empty> resumeEvaluationJobSettings()
Returns the builder for the settings used for calls to resumeEvaluationJob.
-
deleteEvaluationJobSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteEvaluationJobRequest,com.google.protobuf.Empty> deleteEvaluationJobSettings()
Returns the builder for the settings used for calls to deleteEvaluationJob.
-
listEvaluationJobsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsSettings()
Returns the builder for the settings used for calls to listEvaluationJobs.
-
build
public DataLabelingServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
- Throws:
IOException
-
-