Class DataLabelingServiceSettings.Builder (0.143.0)

public static class DataLabelingServiceSettings.Builder extends ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>

Builder for DataLabelingServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > DataLabelingServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(DataLabelingServiceSettings settings)

protected Builder(DataLabelingServiceSettings settings)
Parameter
NameDescription
settingsDataLabelingServiceSettings

Builder(DataLabelingServiceStubSettings.Builder stubSettings)

protected Builder(DataLabelingServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsDataLabelingServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public DataLabelingServiceSettings.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.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
DataLabelingServiceSettings.Builder

build()

public DataLabelingServiceSettings build()
Returns
TypeDescription
DataLabelingServiceSettings
Overrides
Exceptions
TypeDescription
IOException

createAnnotationSpecSetSettings()

public UnaryCallSettings.Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetSettings()

Returns the builder for the settings used for calls to createAnnotationSpecSet.

Returns
TypeDescription
Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet>

createDatasetSettings()

public UnaryCallSettings.Builder<CreateDatasetRequest,Dataset> createDatasetSettings()

Returns the builder for the settings used for calls to createDataset.

Returns
TypeDescription
Builder<CreateDatasetRequest,Dataset>

createEvaluationJobSettings()

public UnaryCallSettings.Builder<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobSettings()

Returns the builder for the settings used for calls to createEvaluationJob.

Returns
TypeDescription
Builder<CreateEvaluationJobRequest,EvaluationJob>

createInstructionOperationSettings()

public OperationCallSettings.Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationSettings()

Returns the builder for the settings used for calls to createInstruction.

Returns
TypeDescription
Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata>

createInstructionSettings()

public UnaryCallSettings.Builder<CreateInstructionRequest,Operation> createInstructionSettings()

Returns the builder for the settings used for calls to createInstruction.

Returns
TypeDescription
Builder<CreateInstructionRequest,Operation>

deleteAnnotatedDatasetSettings()

public UnaryCallSettings.Builder<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()

Returns the builder for the settings used for calls to deleteAnnotatedDataset.

Returns
TypeDescription
Builder<DeleteAnnotatedDatasetRequest,Empty>

deleteAnnotationSpecSetSettings()

public UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()

Returns the builder for the settings used for calls to deleteAnnotationSpecSet.

Returns
TypeDescription
Builder<DeleteAnnotationSpecSetRequest,Empty>

deleteDatasetSettings()

public UnaryCallSettings.Builder<DeleteDatasetRequest,Empty> deleteDatasetSettings()

Returns the builder for the settings used for calls to deleteDataset.

Returns
TypeDescription
Builder<DeleteDatasetRequest,Empty>

deleteEvaluationJobSettings()

public UnaryCallSettings.Builder<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobSettings()

Returns the builder for the settings used for calls to deleteEvaluationJob.

Returns
TypeDescription
Builder<DeleteEvaluationJobRequest,Empty>

deleteInstructionSettings()

public UnaryCallSettings.Builder<DeleteInstructionRequest,Empty> deleteInstructionSettings()

Returns the builder for the settings used for calls to deleteInstruction.

Returns
TypeDescription
Builder<DeleteInstructionRequest,Empty>

exportDataOperationSettings()

public OperationCallSettings.Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationSettings()

Returns the builder for the settings used for calls to exportData.

Returns
TypeDescription
Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata>

exportDataSettings()

public UnaryCallSettings.Builder<ExportDataRequest,Operation> exportDataSettings()

Returns the builder for the settings used for calls to exportData.

Returns
TypeDescription
Builder<ExportDataRequest,Operation>

getAnnotatedDatasetSettings()

public UnaryCallSettings.Builder<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetSettings()

Returns the builder for the settings used for calls to getAnnotatedDataset.

Returns
TypeDescription
Builder<GetAnnotatedDatasetRequest,AnnotatedDataset>

getAnnotationSpecSetSettings()

public UnaryCallSettings.Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetSettings()

Returns the builder for the settings used for calls to getAnnotationSpecSet.

Returns
TypeDescription
Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet>

getDataItemSettings()

public UnaryCallSettings.Builder<GetDataItemRequest,DataItem> getDataItemSettings()

Returns the builder for the settings used for calls to getDataItem.

Returns
TypeDescription
Builder<GetDataItemRequest,DataItem>

getDatasetSettings()

public UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()

Returns the builder for the settings used for calls to getDataset.

Returns
TypeDescription
Builder<GetDatasetRequest,Dataset>

getEvaluationJobSettings()

public UnaryCallSettings.Builder<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobSettings()

Returns the builder for the settings used for calls to getEvaluationJob.

Returns
TypeDescription
Builder<GetEvaluationJobRequest,EvaluationJob>

getEvaluationSettings()

public UnaryCallSettings.Builder<GetEvaluationRequest,Evaluation> getEvaluationSettings()

Returns the builder for the settings used for calls to getEvaluation.

Returns
TypeDescription
Builder<GetEvaluationRequest,Evaluation>

getExampleSettings()

public UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()

Returns the builder for the settings used for calls to getExample.

Returns
TypeDescription
Builder<GetExampleRequest,Example>

getInstructionSettings()

public UnaryCallSettings.Builder<GetInstructionRequest,Instruction> getInstructionSettings()

Returns the builder for the settings used for calls to getInstruction.

Returns
TypeDescription
Builder<GetInstructionRequest,Instruction>

getStubSettingsBuilder()

public DataLabelingServiceStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
DataLabelingServiceStubSettings.Builder

importDataOperationSettings()

public OperationCallSettings.Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationSettings()

Returns the builder for the settings used for calls to importData.

Returns
TypeDescription
Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata>

importDataSettings()

public UnaryCallSettings.Builder<ImportDataRequest,Operation> importDataSettings()

Returns the builder for the settings used for calls to importData.

Returns
TypeDescription
Builder<ImportDataRequest,Operation>

labelImageOperationSettings()

public OperationCallSettings.Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationSettings()

Returns the builder for the settings used for calls to labelImage.

Returns
TypeDescription
Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata>

labelImageSettings()

public UnaryCallSettings.Builder<LabelImageRequest,Operation> labelImageSettings()

Returns the builder for the settings used for calls to labelImage.

Returns
TypeDescription
Builder<LabelImageRequest,Operation>

labelTextOperationSettings()

public OperationCallSettings.Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationSettings()

Returns the builder for the settings used for calls to labelText.

Returns
TypeDescription
Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata>

labelTextSettings()

public UnaryCallSettings.Builder<LabelTextRequest,Operation> labelTextSettings()

Returns the builder for the settings used for calls to labelText.

Returns
TypeDescription
Builder<LabelTextRequest,Operation>

labelVideoOperationSettings()

public OperationCallSettings.Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationSettings()

Returns the builder for the settings used for calls to labelVideo.

Returns
TypeDescription
Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata>

labelVideoSettings()

public UnaryCallSettings.Builder<LabelVideoRequest,Operation> labelVideoSettings()

Returns the builder for the settings used for calls to labelVideo.

Returns
TypeDescription
Builder<LabelVideoRequest,Operation>

listAnnotatedDatasetsSettings()

public PagedCallSettings.Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()

Returns the builder for the settings used for calls to listAnnotatedDatasets.

Returns
TypeDescription
Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,ListAnnotatedDatasetsPagedResponse>

listAnnotationSpecSetsSettings()

public PagedCallSettings.Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()

Returns the builder for the settings used for calls to listAnnotationSpecSets.

Returns
TypeDescription
Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,ListAnnotationSpecSetsPagedResponse>

listDataItemsSettings()

public PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()

Returns the builder for the settings used for calls to listDataItems.

Returns
TypeDescription
Builder<ListDataItemsRequest,ListDataItemsResponse,ListDataItemsPagedResponse>

listDatasetsSettings()

public PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()

Returns the builder for the settings used for calls to listDatasets.

Returns
TypeDescription
Builder<ListDatasetsRequest,ListDatasetsResponse,ListDatasetsPagedResponse>

listEvaluationJobsSettings()

public PagedCallSettings.Builder<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsSettings()

Returns the builder for the settings used for calls to listEvaluationJobs.

Returns
TypeDescription
Builder<ListEvaluationJobsRequest,ListEvaluationJobsResponse,ListEvaluationJobsPagedResponse>

listExamplesSettings()

public PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()

Returns the builder for the settings used for calls to listExamples.

Returns
TypeDescription
Builder<ListExamplesRequest,ListExamplesResponse,ListExamplesPagedResponse>

listInstructionsSettings()

public PagedCallSettings.Builder<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()

Returns the builder for the settings used for calls to listInstructions.

Returns
TypeDescription
Builder<ListInstructionsRequest,ListInstructionsResponse,ListInstructionsPagedResponse>

pauseEvaluationJobSettings()

public UnaryCallSettings.Builder<PauseEvaluationJobRequest,Empty> pauseEvaluationJobSettings()

Returns the builder for the settings used for calls to pauseEvaluationJob.

Returns
TypeDescription
Builder<PauseEvaluationJobRequest,Empty>

resumeEvaluationJobSettings()

public UnaryCallSettings.Builder<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobSettings()

Returns the builder for the settings used for calls to resumeEvaluationJob.

Returns
TypeDescription
Builder<ResumeEvaluationJobRequest,Empty>

searchEvaluationsSettings()

public PagedCallSettings.Builder<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsSettings()

Returns the builder for the settings used for calls to searchEvaluations.

Returns
TypeDescription
Builder<SearchEvaluationsRequest,SearchEvaluationsResponse,SearchEvaluationsPagedResponse>

searchExampleComparisonsSettings()

public PagedCallSettings.Builder<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsSettings()

Returns the builder for the settings used for calls to searchExampleComparisons.

Returns
TypeDescription
Builder<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,SearchExampleComparisonsPagedResponse>

updateEvaluationJobSettings()

public UnaryCallSettings.Builder<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobSettings()

Returns the builder for the settings used for calls to updateEvaluationJob.

Returns
TypeDescription
Builder<UpdateEvaluationJobRequest,EvaluationJob>