@Generated(value="by gapic-generator") @BetaApi public class DataLabelingServiceStubSettings extends com.google.api.gax.rpc.StubSettings<DataLabelingServiceStubSettings>
DataLabelingServiceStub
.
The default instance has everything set to sensible defaults:
The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.
For example, to set the total timeout of createDataset to 30 seconds:
DataLabelingServiceStubSettings.Builder dataLabelingServiceSettingsBuilder =
DataLabelingServiceStubSettings.newBuilder();
dataLabelingServiceSettingsBuilder.createDatasetSettings().getRetrySettings().toBuilder()
.setTotalTimeout(Duration.ofSeconds(30));
DataLabelingServiceStubSettings dataLabelingServiceSettings = dataLabelingServiceSettingsBuilder.build();
Modifier and Type | Class and Description |
---|---|
static class |
DataLabelingServiceStubSettings.Builder
Builder for DataLabelingServiceStubSettings.
|
Modifier | Constructor and Description |
---|---|
protected |
DataLabelingServiceStubSettings(DataLabelingServiceStubSettings.Builder settingsBuilder) |
Modifier and Type | Method and Description |
---|---|
com.google.api.gax.rpc.UnaryCallSettings<CreateAnnotationSpecSetRequest,AnnotationSpecSet> |
createAnnotationSpecSetSettings()
Returns the object with the settings used for calls to createAnnotationSpecSet.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateDatasetRequest,Dataset> |
createDatasetSettings()
Returns the object with the settings used for calls to createDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateEvaluationJobRequest,EvaluationJob> |
createEvaluationJobSettings()
Returns the object with the settings used for calls to createEvaluationJob.
|
com.google.api.gax.rpc.OperationCallSettings<CreateInstructionRequest,Instruction,CreateInstructionMetadata> |
createInstructionOperationSettings()
Returns the object with the settings used for calls to createInstruction.
|
com.google.api.gax.rpc.UnaryCallSettings<CreateInstructionRequest,com.google.longrunning.Operation> |
createInstructionSettings()
Returns the object with the settings used for calls to createInstruction.
|
DataLabelingServiceStub |
createStub() |
static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder |
defaultApiClientHeaderProviderBuilder() |
static com.google.api.gax.core.GoogleCredentialsProvider.Builder |
defaultCredentialsProviderBuilder()
Returns a builder for the default credentials for this service.
|
static com.google.api.gax.core.InstantiatingExecutorProvider.Builder |
defaultExecutorProviderBuilder()
Returns a builder for the default ExecutorProvider for this service.
|
static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder |
defaultGrpcTransportProviderBuilder()
Returns a builder for the default ChannelProvider for this service.
|
static com.google.api.gax.rpc.TransportChannelProvider |
defaultTransportChannelProvider() |
com.google.api.gax.rpc.UnaryCallSettings<DeleteAnnotatedDatasetRequest,Empty> |
deleteAnnotatedDatasetSettings()
Returns the object with the settings used for calls to deleteAnnotatedDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteAnnotationSpecSetRequest,Empty> |
deleteAnnotationSpecSetSettings()
Returns the object with the settings used for calls to deleteAnnotationSpecSet.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteDatasetRequest,Empty> |
deleteDatasetSettings()
Returns the object with the settings used for calls to deleteDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteEvaluationJobRequest,Empty> |
deleteEvaluationJobSettings()
Returns the object with the settings used for calls to deleteEvaluationJob.
|
com.google.api.gax.rpc.UnaryCallSettings<DeleteInstructionRequest,Empty> |
deleteInstructionSettings()
Returns the object with the settings used for calls to deleteInstruction.
|
com.google.api.gax.rpc.OperationCallSettings<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> |
exportDataOperationSettings()
Returns the object with the settings used for calls to exportData.
|
com.google.api.gax.rpc.UnaryCallSettings<ExportDataRequest,com.google.longrunning.Operation> |
exportDataSettings()
Returns the object with the settings used for calls to exportData.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAnnotatedDatasetRequest,AnnotatedDataset> |
getAnnotatedDatasetSettings()
Returns the object with the settings used for calls to getAnnotatedDataset.
|
com.google.api.gax.rpc.UnaryCallSettings<GetAnnotationSpecSetRequest,AnnotationSpecSet> |
getAnnotationSpecSetSettings()
Returns the object with the settings used for calls to getAnnotationSpecSet.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDataItemRequest,DataItem> |
getDataItemSettings()
Returns the object with the settings used for calls to getDataItem.
|
com.google.api.gax.rpc.UnaryCallSettings<GetDatasetRequest,Dataset> |
getDatasetSettings()
Returns the object with the settings used for calls to getDataset.
|
static String |
getDefaultEndpoint()
Returns the default service endpoint.
|
static List<String> |
getDefaultServiceScopes()
Returns the default service scopes.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationJobRequest,EvaluationJob> |
getEvaluationJobSettings()
Returns the object with the settings used for calls to getEvaluationJob.
|
com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationRequest,Evaluation> |
getEvaluationSettings()
Returns the object with the settings used for calls to getEvaluation.
|
com.google.api.gax.rpc.UnaryCallSettings<GetExampleRequest,Example> |
getExampleSettings()
Returns the object with the settings used for calls to getExample.
|
com.google.api.gax.rpc.UnaryCallSettings<GetInstructionRequest,Instruction> |
getInstructionSettings()
Returns the object with the settings used for calls to getInstruction.
|
com.google.api.gax.rpc.OperationCallSettings<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> |
importDataOperationSettings()
Returns the object with the settings used for calls to importData.
|
com.google.api.gax.rpc.UnaryCallSettings<ImportDataRequest,com.google.longrunning.Operation> |
importDataSettings()
Returns the object with the settings used for calls to importData.
|
com.google.api.gax.rpc.OperationCallSettings<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> |
labelImageOperationSettings()
Returns the object with the settings used for calls to labelImage.
|
com.google.api.gax.rpc.UnaryCallSettings<LabelImageRequest,com.google.longrunning.Operation> |
labelImageSettings()
Returns the object with the settings used for calls to labelImage.
|
com.google.api.gax.rpc.OperationCallSettings<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> |
labelTextOperationSettings()
Returns the object with the settings used for calls to labelText.
|
com.google.api.gax.rpc.UnaryCallSettings<LabelTextRequest,com.google.longrunning.Operation> |
labelTextSettings()
Returns the object with the settings used for calls to labelText.
|
com.google.api.gax.rpc.OperationCallSettings<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> |
labelVideoOperationSettings()
Returns the object with the settings used for calls to labelVideo.
|
com.google.api.gax.rpc.UnaryCallSettings<LabelVideoRequest,com.google.longrunning.Operation> |
labelVideoSettings()
Returns the object with the settings used for calls to labelVideo.
|
com.google.api.gax.rpc.PagedCallSettings<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> |
listAnnotatedDatasetsSettings()
Returns the object with the settings used for calls to listAnnotatedDatasets.
|
com.google.api.gax.rpc.PagedCallSettings<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> |
listAnnotationSpecSetsSettings()
Returns the object with the settings used for calls to listAnnotationSpecSets.
|
com.google.api.gax.rpc.PagedCallSettings<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> |
listDataItemsSettings()
Returns the object with the settings used for calls to listDataItems.
|
com.google.api.gax.rpc.PagedCallSettings<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> |
listDatasetsSettings()
Returns the object with the settings used for calls to listDatasets.
|
com.google.api.gax.rpc.PagedCallSettings<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> |
listEvaluationJobsSettings()
Returns the object with the settings used for calls to listEvaluationJobs.
|
com.google.api.gax.rpc.PagedCallSettings<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> |
listExamplesSettings()
Returns the object with the settings used for calls to listExamples.
|
com.google.api.gax.rpc.PagedCallSettings<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> |
listInstructionsSettings()
Returns the object with the settings used for calls to listInstructions.
|
static DataLabelingServiceStubSettings.Builder |
newBuilder()
Returns a new builder for this class.
|
static DataLabelingServiceStubSettings.Builder |
newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
Returns a new builder for this class.
|
com.google.api.gax.rpc.UnaryCallSettings<PauseEvaluationJobRequest,Empty> |
pauseEvaluationJobSettings()
Returns the object with the settings used for calls to pauseEvaluationJob.
|
com.google.api.gax.rpc.UnaryCallSettings<ResumeEvaluationJobRequest,Empty> |
resumeEvaluationJobSettings()
Returns the object with the settings used for calls to resumeEvaluationJob.
|
com.google.api.gax.rpc.PagedCallSettings<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse> |
searchEvaluationsSettings()
Returns the object with the settings used for calls to searchEvaluations.
|
com.google.api.gax.rpc.PagedCallSettings<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> |
searchExampleComparisonsSettings()
Returns the object with the settings used for calls to searchExampleComparisons.
|
DataLabelingServiceStubSettings.Builder |
toBuilder()
Returns a builder containing all the values of this settings class.
|
com.google.api.gax.rpc.UnaryCallSettings<UpdateEvaluationJobRequest,EvaluationJob> |
updateEvaluationJobSettings()
Returns the object with the settings used for calls to updateEvaluationJob.
|
protected DataLabelingServiceStubSettings(DataLabelingServiceStubSettings.Builder settingsBuilder) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallSettings<CreateDatasetRequest,Dataset> createDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDatasetRequest,Dataset> getDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDatasetsRequest,ListDatasetsResponse,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteDatasetRequest,Empty> deleteDatasetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ImportDataRequest,com.google.longrunning.Operation> importDataSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ExportDataRequest,com.google.longrunning.Operation> exportDataSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetDataItemRequest,DataItem> getDataItemSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListDataItemsRequest,ListDataItemsResponse,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<LabelImageRequest,com.google.longrunning.Operation> labelImageSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<LabelVideoRequest,com.google.longrunning.Operation> labelVideoSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<LabelTextRequest,com.google.longrunning.Operation> labelTextSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetExampleRequest,Example> getExampleSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListExamplesRequest,ListExamplesResponse,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateInstructionRequest,com.google.longrunning.Operation> createInstructionSettings()
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.api.gax.rpc.OperationCallSettings<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetInstructionRequest,Instruction> getInstructionSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListInstructionsRequest,ListInstructionsResponse,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteInstructionRequest,Empty> deleteInstructionSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationRequest,Evaluation> getEvaluationSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchEvaluationsRequest,SearchEvaluationsResponse,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsSettings()
public com.google.api.gax.rpc.PagedCallSettings<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<PauseEvaluationJobRequest,Empty> pauseEvaluationJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobSettings()
public com.google.api.gax.rpc.PagedCallSettings<ListEvaluationJobsRequest,ListEvaluationJobsResponse,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsSettings()
public com.google.api.gax.rpc.UnaryCallSettings<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetSettings()
@BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public DataLabelingServiceStub createStub() throws IOException
IOException
public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
public static String getDefaultEndpoint()
public static List<String> getDefaultServiceScopes()
public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
@BetaApi(value="The surface for customizing headers is not stable yet and may change in the future.") public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()
public static DataLabelingServiceStubSettings.Builder newBuilder()
public static DataLabelingServiceStubSettings.Builder newBuilder(com.google.api.gax.rpc.ClientContext clientContext)
public DataLabelingServiceStubSettings.Builder toBuilder()
toBuilder
in class com.google.api.gax.rpc.StubSettings<DataLabelingServiceStubSettings>
Copyright © 2019 Google LLC. All rights reserved.