@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcJobServiceStub extends JobServiceStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcJobServiceStub(JobServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcJobServiceStub, using the given settings.
|
protected |
GrpcJobServiceStub(JobServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcJobServiceStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
com.google.api.gax.rpc.UnaryCallable<BatchCreateJobsRequest,com.google.longrunning.Operation> |
batchCreateJobsCallable() |
com.google.api.gax.rpc.OperationCallable<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> |
batchCreateJobsOperationCallable() |
com.google.api.gax.rpc.UnaryCallable<BatchDeleteJobsRequest,Empty> |
batchDeleteJobsCallable() |
com.google.api.gax.rpc.UnaryCallable<BatchUpdateJobsRequest,com.google.longrunning.Operation> |
batchUpdateJobsCallable() |
com.google.api.gax.rpc.OperationCallable<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> |
batchUpdateJobsOperationCallable() |
void |
close() |
static GrpcJobServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcJobServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcJobServiceStub |
create(JobServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> |
createJobCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,Empty> |
deleteJobCallable() |
com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> |
getJobCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> |
listJobsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> |
listJobsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,SearchJobsResponse> |
searchJobsCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,SearchJobsResponse> |
searchJobsForAlertCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> |
searchJobsForAlertPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> |
searchJobsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> |
updateJobCallable() |
protected GrpcJobServiceStub(JobServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcJobServiceStub(JobServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcJobServiceStub create(JobServiceStubSettings settings) throws IOException
IOException
public static final GrpcJobServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcJobServiceStub 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 JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<CreateJobRequest,Job> createJobCallable()
createJobCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<GetJobRequest,Job> getJobCallable()
getJobCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<UpdateJobRequest,Job> updateJobCallable()
updateJobCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<DeleteJobRequest,Empty> deleteJobCallable()
deleteJobCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,JobServiceClient.ListJobsPagedResponse> listJobsPagedCallable()
listJobsPagedCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<ListJobsRequest,ListJobsResponse> listJobsCallable()
listJobsCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<BatchDeleteJobsRequest,Empty> batchDeleteJobsCallable()
batchDeleteJobsCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsPagedResponse> searchJobsPagedCallable()
searchJobsPagedCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,SearchJobsResponse> searchJobsCallable()
searchJobsCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,JobServiceClient.SearchJobsForAlertPagedResponse> searchJobsForAlertPagedCallable()
searchJobsForAlertPagedCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<SearchJobsRequest,SearchJobsResponse> searchJobsForAlertCallable()
searchJobsForAlertCallable
in class JobServiceStub
@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<BatchCreateJobsRequest,JobOperationResult,BatchOperationMetadata> batchCreateJobsOperationCallable()
batchCreateJobsOperationCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<BatchCreateJobsRequest,com.google.longrunning.Operation> batchCreateJobsCallable()
batchCreateJobsCallable
in class JobServiceStub
@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<BatchUpdateJobsRequest,JobOperationResult,BatchOperationMetadata> batchUpdateJobsOperationCallable()
batchUpdateJobsOperationCallable
in class JobServiceStub
public com.google.api.gax.rpc.UnaryCallable<BatchUpdateJobsRequest,com.google.longrunning.Operation> batchUpdateJobsCallable()
batchUpdateJobsCallable
in class JobServiceStub
public final void close()
close
in interface AutoCloseable
close
in class JobServiceStub
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.