public static class DataLabelingServiceStubSettings.Builder extends StubSettings.Builder<DataLabelingServiceStubSettings,DataLabelingServiceStubSettings.Builder>
Builder for DataLabelingServiceStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(DataLabelingServiceStubSettings settings)
protected Builder(DataLabelingServiceStubSettings settings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public DataLabelingServiceStubSettings.Builder applyToAllUnaryMethods(ApiFunction<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.
build()
public DataLabelingServiceStubSettings build()
Overrides
createAnnotationSpecSetSettings()
public UnaryCallSettings.Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to createAnnotationSpecSet.
createDatasetSettings()
public UnaryCallSettings.Builder<CreateDatasetRequest,Dataset> createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
createEvaluationJobSettings()
public UnaryCallSettings.Builder<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobSettings()
Returns the builder for the settings used for calls to createEvaluationJob.
createInstructionOperationSettings()
public OperationCallSettings.Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createInstruction.
createInstructionSettings()
public UnaryCallSettings.Builder<CreateInstructionRequest,Operation> createInstructionSettings()
Returns the builder for the settings used for calls to createInstruction.
deleteAnnotatedDatasetSettings()
public UnaryCallSettings.Builder<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to deleteAnnotatedDataset.
deleteAnnotationSpecSetSettings()
public UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to deleteAnnotationSpecSet.
deleteDatasetSettings()
public UnaryCallSettings.Builder<DeleteDatasetRequest,Empty> deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
deleteEvaluationJobSettings()
public UnaryCallSettings.Builder<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobSettings()
Returns the builder for the settings used for calls to deleteEvaluationJob.
deleteInstructionSettings()
public UnaryCallSettings.Builder<DeleteInstructionRequest,Empty> deleteInstructionSettings()
Returns the builder for the settings used for calls to deleteInstruction.
exportDataOperationSettings()
public OperationCallSettings.Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to exportData.
exportDataSettings()
public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()
Returns the builder for the settings used for calls to exportData.
getAnnotatedDatasetSettings()
public UnaryCallSettings.Builder<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to getAnnotatedDataset.
getAnnotationSpecSetSettings()
public UnaryCallSettings.Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to getAnnotationSpecSet.
getDataItemSettings()
public UnaryCallSettings.Builder<GetDataItemRequest,DataItem> getDataItemSettings()
Returns the builder for the settings used for calls to getDataItem.
getDatasetSettings()
public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
getEndpoint()
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
getEvaluationJobSettings()
public UnaryCallSettings.Builder<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobSettings()
Returns the builder for the settings used for calls to getEvaluationJob.
getEvaluationSettings()
public UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()
Returns the builder for the settings used for calls to getEvaluation.
getExampleSettings()
public UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()
Returns the builder for the settings used for calls to getExample.
getInstructionSettings()
public UnaryCallSettings.Builder<GetInstructionRequest,Instruction> getInstructionSettings()
Returns the builder for the settings used for calls to getInstruction.
importDataOperationSettings()
public OperationCallSettings.Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to importData.
importDataSettings()
public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()
Returns the builder for the settings used for calls to importData.
labelImageOperationSettings()
public OperationCallSettings.Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to labelImage.
labelImageSettings()
public UnaryCallSettings.Builder<LabelImageRequest,Operation> labelImageSettings()
Returns the builder for the settings used for calls to labelImage.
labelTextOperationSettings()
public OperationCallSettings.Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to labelText.
labelTextSettings()
public UnaryCallSettings.Builder<LabelTextRequest,Operation> labelTextSettings()
Returns the builder for the settings used for calls to labelText.
labelVideoOperationSettings()
public OperationCallSettings.Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to labelVideo.
labelVideoSettings()
public UnaryCallSettings.Builder<LabelVideoRequest,Operation> labelVideoSettings()
Returns the builder for the settings used for calls to labelVideo.
listAnnotatedDatasetsSettings()
public PagedCallSettings.Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
Returns the builder for the settings used for calls to listAnnotatedDatasets.
listAnnotationSpecSetsSettings()
public PagedCallSettings.Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
Returns the builder for the settings used for calls to listAnnotationSpecSets.
listDataItemsSettings()
public PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
listDatasetsSettings()
public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
listEvaluationJobsSettings()
public PagedCallSettings.Builder<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsSettings()
Returns the builder for the settings used for calls to listEvaluationJobs.
listExamplesSettings()
public PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.
listInstructionsSettings()
public PagedCallSettings.Builder<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
Returns the builder for the settings used for calls to listInstructions.
pauseEvaluationJobSettings()
public UnaryCallSettings.Builder<PauseEvaluationJobRequest,Empty> pauseEvaluationJobSettings()
Returns the builder for the settings used for calls to pauseEvaluationJob.
resumeEvaluationJobSettings()
public UnaryCallSettings.Builder<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobSettings()
Returns the builder for the settings used for calls to resumeEvaluationJob.
searchEvaluationsSettings()
public PagedCallSettings.Builder<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsSettings()
Returns the builder for the settings used for calls to searchEvaluations.
searchExampleComparisonsSettings()
public PagedCallSettings.Builder<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsSettings()
Returns the builder for the settings used for calls to searchExampleComparisons.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
updateEvaluationJobSettings()
public UnaryCallSettings.Builder<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobSettings()
Returns the builder for the settings used for calls to updateEvaluationJob.