@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcDataLabelingServiceStub extends DataLabelingServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcDataLabelingServiceStub, using the given settings.
|
protected |
GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcDataLabelingServiceStub, using the given settings.
|
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcDataLabelingServiceStub(DataLabelingServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcDataLabelingServiceStub create(DataLabelingServiceStubSettings settings) throws IOException
IOException
public static final GrpcDataLabelingServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcDataLabelingServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi(value="The surface for use by generated code is not stable yet and may change in the future.") public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
getOperationsStub
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateDatasetRequest,Dataset> createDatasetCallable()
createDatasetCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetDatasetRequest,Dataset> getDatasetCallable()
getDatasetCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,DataLabelingServiceClient.ListDatasetsPagedResponse> listDatasetsPagedCallable()
listDatasetsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListDatasetsRequest,ListDatasetsResponse> listDatasetsCallable()
listDatasetsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteDatasetRequest,Empty> deleteDatasetCallable()
deleteDatasetCallable
in class DataLabelingServiceStub
@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.OperationCallable<ImportDataRequest,ImportDataOperationResponse,ImportDataOperationMetadata> importDataOperationCallable()
importDataOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ImportDataRequest,com.google.longrunning.Operation> importDataCallable()
importDataCallable
in class DataLabelingServiceStub
@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.OperationCallable<ExportDataRequest,ExportDataOperationResponse,ExportDataOperationMetadata> exportDataOperationCallable()
exportDataOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ExportDataRequest,com.google.longrunning.Operation> exportDataCallable()
exportDataCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetDataItemRequest,DataItem> getDataItemCallable()
getDataItemCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,DataLabelingServiceClient.ListDataItemsPagedResponse> listDataItemsPagedCallable()
listDataItemsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListDataItemsRequest,ListDataItemsResponse> listDataItemsCallable()
listDataItemsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetAnnotatedDatasetRequest,AnnotatedDataset> getAnnotatedDatasetCallable()
getAnnotatedDatasetCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListAnnotatedDatasetsRequest,DataLabelingServiceClient.ListAnnotatedDatasetsPagedResponse> listAnnotatedDatasetsPagedCallable()
listAnnotatedDatasetsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListAnnotatedDatasetsRequest,ListAnnotatedDatasetsResponse> listAnnotatedDatasetsCallable()
listAnnotatedDatasetsCallable
in class DataLabelingServiceStub
@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.OperationCallable<LabelImageRequest,AnnotatedDataset,LabelOperationMetadata> labelImageOperationCallable()
labelImageOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<LabelImageRequest,com.google.longrunning.Operation> labelImageCallable()
labelImageCallable
in class DataLabelingServiceStub
@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.OperationCallable<LabelVideoRequest,AnnotatedDataset,LabelOperationMetadata> labelVideoOperationCallable()
labelVideoOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<LabelVideoRequest,com.google.longrunning.Operation> labelVideoCallable()
labelVideoCallable
in class DataLabelingServiceStub
@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.OperationCallable<LabelTextRequest,AnnotatedDataset,LabelOperationMetadata> labelTextOperationCallable()
labelTextOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<LabelTextRequest,com.google.longrunning.Operation> labelTextCallable()
labelTextCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetExampleRequest,Example> getExampleCallable()
getExampleCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListExamplesRequest,DataLabelingServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()
listExamplesPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
listExamplesCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateAnnotationSpecSetRequest,AnnotationSpecSet> createAnnotationSpecSetCallable()
createAnnotationSpecSetCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetAnnotationSpecSetRequest,AnnotationSpecSet> getAnnotationSpecSetCallable()
getAnnotationSpecSetCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationSpecSetsRequest,DataLabelingServiceClient.ListAnnotationSpecSetsPagedResponse> listAnnotationSpecSetsPagedCallable()
listAnnotationSpecSetsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListAnnotationSpecSetsRequest,ListAnnotationSpecSetsResponse> listAnnotationSpecSetsCallable()
listAnnotationSpecSetsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteAnnotationSpecSetRequest,Empty> deleteAnnotationSpecSetCallable()
deleteAnnotationSpecSetCallable
in class DataLabelingServiceStub
@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.OperationCallable<CreateInstructionRequest,Instruction,CreateInstructionMetadata> createInstructionOperationCallable()
createInstructionOperationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateInstructionRequest,com.google.longrunning.Operation> createInstructionCallable()
createInstructionCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetInstructionRequest,Instruction> getInstructionCallable()
getInstructionCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListInstructionsRequest,DataLabelingServiceClient.ListInstructionsPagedResponse> listInstructionsPagedCallable()
listInstructionsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListInstructionsRequest,ListInstructionsResponse> listInstructionsCallable()
listInstructionsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteInstructionRequest,Empty> deleteInstructionCallable()
deleteInstructionCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetEvaluationRequest,Evaluation> getEvaluationCallable()
getEvaluationCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchEvaluationsRequest,DataLabelingServiceClient.SearchEvaluationsPagedResponse> searchEvaluationsPagedCallable()
searchEvaluationsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchEvaluationsRequest,SearchEvaluationsResponse> searchEvaluationsCallable()
searchEvaluationsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchExampleComparisonsRequest,DataLabelingServiceClient.SearchExampleComparisonsPagedResponse> searchExampleComparisonsPagedCallable()
searchExampleComparisonsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchExampleComparisonsRequest,SearchExampleComparisonsResponse> searchExampleComparisonsCallable()
searchExampleComparisonsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateEvaluationJobRequest,EvaluationJob> createEvaluationJobCallable()
createEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateEvaluationJobRequest,EvaluationJob> updateEvaluationJobCallable()
updateEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetEvaluationJobRequest,EvaluationJob> getEvaluationJobCallable()
getEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<PauseEvaluationJobRequest,Empty> pauseEvaluationJobCallable()
pauseEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ResumeEvaluationJobRequest,Empty> resumeEvaluationJobCallable()
resumeEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteEvaluationJobRequest,Empty> deleteEvaluationJobCallable()
deleteEvaluationJobCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListEvaluationJobsRequest,DataLabelingServiceClient.ListEvaluationJobsPagedResponse> listEvaluationJobsPagedCallable()
listEvaluationJobsPagedCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListEvaluationJobsRequest,ListEvaluationJobsResponse> listEvaluationJobsCallable()
listEvaluationJobsCallable
in class DataLabelingServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteAnnotatedDatasetRequest,Empty> deleteAnnotatedDatasetCallable()
deleteAnnotatedDatasetCallable
in class DataLabelingServiceStub
public final void close()
close
in interface AutoCloseable
close
in class DataLabelingServiceStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.