public static class DataLabelingServiceSettings.Builder extends ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(DataLabelingServiceSettings settings) |
protected |
Builder(DataLabelingServiceStubSettings.Builder stubSettings) |
Modifier and Type | Method and Description |
---|---|
DataLabelingServiceSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
DataLabelingServiceSettings |
build() |
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
createAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to createAnnotationSpecSet.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
createDatasetSettings()
Returns the builder for the settings used for calls to createDataset.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> |
createInstructionOperationSettings()
Returns the builder for the settings used for calls to createInstruction.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,Operation> |
createInstructionSettings()
Returns the builder for the settings used for calls to createInstruction.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> |
deleteAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to deleteAnnotatedDataset.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> |
deleteAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to deleteAnnotationSpecSet.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> |
deleteDatasetSettings()
Returns the builder for the settings used for calls to deleteDataset.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> |
deleteInstructionSettings()
Returns the builder for the settings used for calls to deleteInstruction.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> |
exportDataOperationSettings()
Returns the builder for the settings used for calls to exportData.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,Operation> |
exportDataSettings()
Returns the builder for the settings used for calls to exportData.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> |
getAnnotatedDatasetSettings()
Returns the builder for the settings used for calls to getAnnotatedDataset.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> |
getAnnotationSpecSetSettings()
Returns the builder for the settings used for calls to getAnnotationSpecSet.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> |
getDataItemSettings()
Returns the builder for the settings used for calls to getDataItem.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> |
getDatasetSettings()
Returns the builder for the settings used for calls to getDataset.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> |
getExampleSettings()
Returns the builder for the settings used for calls to getExample.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> |
getInstructionSettings()
Returns the builder for the settings used for calls to getInstruction.
|
DataLabelingServiceStubSettings.Builder |
getStubSettingsBuilder() |
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> |
importDataOperationSettings()
Returns the builder for the settings used for calls to importData.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,Operation> |
importDataSettings()
Returns the builder for the settings used for calls to importData.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelAudioOperationSettings()
Returns the builder for the settings used for calls to labelAudio.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,Operation> |
labelAudioSettings()
Returns the builder for the settings used for calls to labelAudio.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelImageOperationSettings()
Returns the builder for the settings used for calls to labelImage.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,Operation> |
labelImageSettings()
Returns the builder for the settings used for calls to labelImage.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelTextOperationSettings()
Returns the builder for the settings used for calls to labelText.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,Operation> |
labelTextSettings()
Returns the builder for the settings used for calls to labelText.
|
OperationCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> |
labelVideoOperationSettings()
Returns the builder for the settings used for calls to labelVideo.
|
UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,Operation> |
labelVideoSettings()
Returns the builder for the settings used for calls to labelVideo.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> |
listAnnotatedDatasetsSettings()
Returns the builder for the settings used for calls to listAnnotatedDatasets.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> |
listAnnotationSpecSetsSettings()
Returns the builder for the settings used for calls to listAnnotationSpecSets.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> |
listDataItemsSettings()
Returns the builder for the settings used for calls to listDataItems.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the builder for the settings used for calls to listDatasets.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> |
listExamplesSettings()
Returns the builder for the settings used for calls to listExamples.
|
PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.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(ClientContext clientContext)
protected Builder(DataLabelingServiceSettings settings)
protected Builder(DataLabelingServiceStubSettings.Builder stubSettings)
public DataLabelingServiceStubSettings.Builder getStubSettingsBuilder()
public DataLabelingServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater) throws Exception
Note: This method does not support applying settings to streaming methods.
Exception
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> createDatasetSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetDatasetRequest,com.google.cloud.datalabeling.v1beta1.Dataset> getDatasetSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteDatasetRequest,Empty> deleteDatasetSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.ImportDataRequest,com.google.cloud.datalabeling.v1beta1.ImportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ImportDataOperationMetadata> importDataOperationSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.ExportDataRequest,com.google.cloud.datalabeling.v1beta1.ExportDataOperationResponse,com.google.cloud.datalabeling.v1beta1.ExportDataOperationMetadata> exportDataOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetDataItemRequest,com.google.cloud.datalabeling.v1beta1.DataItem> getDataItemSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListDataItemsRequest,com.google.cloud.datalabeling.v1beta1.ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetAnnotatedDatasetRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset> getAnnotatedDatasetSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.LabelImageRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelImageOperationSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.LabelVideoRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelVideoOperationSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.LabelTextRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelTextOperationSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.LabelAudioRequest,com.google.cloud.datalabeling.v1beta1.AnnotatedDataset,com.google.cloud.datalabeling.v1beta1.LabelOperationMetadata> labelAudioOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetExampleRequest,com.google.cloud.datalabeling.v1beta1.Example> getExampleSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListExamplesRequest,com.google.cloud.datalabeling.v1beta1.ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.CreateAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> createAnnotationSpecSetSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetAnnotationSpecSetRequest,com.google.cloud.datalabeling.v1beta1.AnnotationSpecSet> getAnnotationSpecSetSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsRequest,com.google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()
public UnaryCallSettings.Builder<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.Builder<com.google.cloud.datalabeling.v1beta1.CreateInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction,com.google.cloud.datalabeling.v1beta1.CreateInstructionMetadata> createInstructionOperationSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.GetInstructionRequest,com.google.cloud.datalabeling.v1beta1.Instruction> getInstructionSettings()
public PagedCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.ListInstructionsRequest,com.google.cloud.datalabeling.v1beta1.ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteInstructionRequest,Empty> deleteInstructionSettings()
public UnaryCallSettings.Builder<com.google.cloud.datalabeling.v1beta1.DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()
public DataLabelingServiceSettings build() throws IOException
build
in class ClientSettings.Builder<DataLabelingServiceSettings,DataLabelingServiceSettings.Builder>
IOException
Copyright © 2019 Google LLC. All rights reserved.