public static class DataLabelingServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
protected |
Builder(DataLabelingServiceSettings settings) |
protected |
Builder(DataLabelingServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and 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.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,Empty> |
deleteAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to deleteAnnotatedDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,Empty> |
deleteAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to deleteAnnotationSpecSet.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,Empty> |
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstructionRequest,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<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<LabelAudioRequest,AnnotatedDataset,LabelOperationMetadata> |
labelAudioOperationSettings()
Returns the builder for the settings used for calls to labelAudio.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelAudioRequest,com.google.longrunning.Operation> |
labelAudioSettings()
Returns the builder for the settings used for calls to labelAudio.
|
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<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.
|
applyToAllUnaryMethods, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(DataLabelingServiceSettings settings)
protected Builder(DataLabelingServiceStubSettings.Builder stubSettings)
public DataLabelingServiceStubSettings.Builder getStubSettingsBuilder()
public DataLabelingServiceSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateDatasetRequest,Dataset> createDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDatasetRequest,Dataset> getDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteDatasetRequest,Empty> deleteDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetDataItemRequest,DataItem> getDataItemSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelImageRequest,com.google.longrunning.Operation> labelImageSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelVideoRequest,com.google.longrunning.Operation> labelVideoSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelTextRequest,com.google.longrunning.Operation> labelTextSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LabelAudioRequest,com.google.longrunning.Operation> labelAudioSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<LabelAudioRequest,AnnotatedDataset,LabelOperationMetadata> labelAudioOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetExampleRequest,Example> getExampleSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateInstructionRequest,com.google.longrunning.Operation> createInstructionSettings()
@BetaApi(value="The surface for long-running operations is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetInstructionRequest,Instruction> getInstructionSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteInstructionRequest,Empty> deleteInstructionSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()
public DataLabelingServiceSettings build() throws IOException
build
in class com.google.api.gax.rpc.ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.