@Generated(value="by gapic-generator-java") @BetaApi public class HttpJsonAgentsStub extends AgentsStub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonAgentsStub(AgentsStubSettings settings,
ClientContext clientContext)
Constructs an instance of HttpJsonAgentsStub, using the given settings.
|
protected |
HttpJsonAgentsStub(AgentsStubSettings settings,
ClientContext clientContext,
HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonAgentsStub, using the given settings.
|
getOperationsStub
protected HttpJsonAgentsStub(AgentsStubSettings settings, ClientContext clientContext) throws IOException
IOException
protected HttpJsonAgentsStub(AgentsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonAgentsStub create(AgentsStubSettings settings) throws IOException
IOException
public static final HttpJsonAgentsStub create(ClientContext clientContext) throws IOException
IOException
public static final HttpJsonAgentsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@InternalApi public static List<ApiMethodDescriptor> getMethodDescriptors()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
getHttpJsonOperationsStub
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.