@Generated(value="by gapic-generator-java") public class GrpcAgentsStub extends AgentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcAgentsStub(AgentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of GrpcAgentsStub, using the given settings.
|
protected |
GrpcAgentsStub(AgentsStubSettings settings,
ClientContext clientContext,
GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAgentsStub, using the given settings.
|
getHttpJsonOperationsStub
protected GrpcAgentsStub(AgentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected GrpcAgentsStub(AgentsStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcAgentsStub create(AgentsStubSettings settings) throws IOException
IOException
public static final GrpcAgentsStub create(ClientContext clientContext) throws IOException
IOException
public static final GrpcAgentsStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException
IOException
public GrpcOperationsStub getOperationsStub()
getOperationsStub
in class AgentsStub
public UnaryCallable<GetAgentRequest,Agent> getAgentCallable()
getAgentCallable
in class AgentsStub
public UnaryCallable<SetAgentRequest,Agent> setAgentCallable()
setAgentCallable
in class AgentsStub
public UnaryCallable<DeleteAgentRequest,Empty> deleteAgentCallable()
deleteAgentCallable
in class AgentsStub
public UnaryCallable<SearchAgentsRequest,SearchAgentsResponse> searchAgentsCallable()
searchAgentsCallable
in class AgentsStub
public UnaryCallable<SearchAgentsRequest,AgentsClient.SearchAgentsPagedResponse> searchAgentsPagedCallable()
searchAgentsPagedCallable
in class AgentsStub
public UnaryCallable<TrainAgentRequest,Operation> trainAgentCallable()
trainAgentCallable
in class AgentsStub
public OperationCallable<TrainAgentRequest,Empty,Struct> trainAgentOperationCallable()
trainAgentOperationCallable
in class AgentsStub
public UnaryCallable<ExportAgentRequest,Operation> exportAgentCallable()
exportAgentCallable
in class AgentsStub
public OperationCallable<ExportAgentRequest,ExportAgentResponse,Struct> exportAgentOperationCallable()
exportAgentOperationCallable
in class AgentsStub
public UnaryCallable<ImportAgentRequest,Operation> importAgentCallable()
importAgentCallable
in class AgentsStub
public OperationCallable<ImportAgentRequest,Empty,Struct> importAgentOperationCallable()
importAgentOperationCallable
in class AgentsStub
public UnaryCallable<RestoreAgentRequest,Operation> restoreAgentCallable()
restoreAgentCallable
in class AgentsStub
public OperationCallable<RestoreAgentRequest,Empty,Struct> restoreAgentOperationCallable()
restoreAgentOperationCallable
in class AgentsStub
public UnaryCallable<GetValidationResultRequest,ValidationResult> getValidationResultCallable()
getValidationResultCallable
in class AgentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable
in class AgentsStub
public UnaryCallable<com.google.cloud.location.ListLocationsRequest,AgentsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable
in class AgentsStub
public UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable
in class AgentsStub
public final void close()
close
in interface AutoCloseable
close
in class AgentsStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2022 Google LLC. All rights reserved.