Class GrpcAgentServiceStub (0.1.0)

public class GrpcAgentServiceStub extends AgentServiceStub

gRPC stub implementation for the AgentService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > AgentServiceStub > GrpcAgentServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcAgentServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcAgentServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcAgentServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcAgentServiceStub
Exceptions
Type Description
IOException

create(AgentServiceStubSettings settings)

public static final GrpcAgentServiceStub create(AgentServiceStubSettings settings)
Parameter
Name Description
settings AgentServiceStubSettings
Returns
Type Description
GrpcAgentServiceStub
Exceptions
Type Description
IOException

Constructors

GrpcAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext)

protected GrpcAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcAgentServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings AgentServiceStubSettings
clientContext ClientContext

GrpcAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcAgentServiceStub(AgentServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcAgentServiceStub, using the given settings. This is protected so that it is easy to make a subclass, but otherwise, the static factory methods should be preferred.

Parameters
Name Description
settings AgentServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

batchDeleteConversationsCallable()

public UnaryCallable<BatchDeleteConversationsRequest,Operation> batchDeleteConversationsCallable()
Returns
Type Description
UnaryCallable<BatchDeleteConversationsRequest,Operation>
Overrides

batchDeleteConversationsOperationCallable()

public OperationCallable<BatchDeleteConversationsRequest,BatchDeleteConversationsResponse,OperationMetadata> batchDeleteConversationsOperationCallable()
Returns
Type Description
OperationCallable<BatchDeleteConversationsRequest,BatchDeleteConversationsResponse,OperationMetadata>
Overrides

close()

public final void close()
Overrides

createAgentCallable()

public UnaryCallable<CreateAgentRequest,Agent> createAgentCallable()
Returns
Type Description
UnaryCallable<CreateAgentRequest,Agent>
Overrides

createAppCallable()

public UnaryCallable<CreateAppRequest,Operation> createAppCallable()
Returns
Type Description
UnaryCallable<CreateAppRequest,Operation>
Overrides

createAppOperationCallable()

public OperationCallable<CreateAppRequest,App,OperationMetadata> createAppOperationCallable()
Returns
Type Description
OperationCallable<CreateAppRequest,App,OperationMetadata>
Overrides

createAppVersionCallable()

public UnaryCallable<CreateAppVersionRequest,AppVersion> createAppVersionCallable()
Returns
Type Description
UnaryCallable<CreateAppVersionRequest,AppVersion>
Overrides

createDeploymentCallable()

public UnaryCallable<CreateDeploymentRequest,Deployment> createDeploymentCallable()
Returns
Type Description
UnaryCallable<CreateDeploymentRequest,Deployment>
Overrides

createExampleCallable()

public UnaryCallable<CreateExampleRequest,Example> createExampleCallable()
Returns
Type Description
UnaryCallable<CreateExampleRequest,Example>
Overrides

createGuardrailCallable()

public UnaryCallable<CreateGuardrailRequest,Guardrail> createGuardrailCallable()
Returns
Type Description
UnaryCallable<CreateGuardrailRequest,Guardrail>
Overrides

createToolCallable()

public UnaryCallable<CreateToolRequest,Tool> createToolCallable()
Returns
Type Description
UnaryCallable<CreateToolRequest,Tool>
Overrides

createToolsetCallable()

public UnaryCallable<CreateToolsetRequest,Toolset> createToolsetCallable()
Returns
Type Description
UnaryCallable<CreateToolsetRequest,Toolset>
Overrides

deleteAgentCallable()

public UnaryCallable<DeleteAgentRequest,Empty> deleteAgentCallable()
Returns
Type Description
UnaryCallable<DeleteAgentRequest,Empty>
Overrides

deleteAppCallable()

public UnaryCallable<DeleteAppRequest,Operation> deleteAppCallable()
Returns
Type Description
UnaryCallable<DeleteAppRequest,Operation>
Overrides

deleteAppOperationCallable()

public OperationCallable<DeleteAppRequest,Empty,OperationMetadata> deleteAppOperationCallable()
Returns
Type Description
OperationCallable<DeleteAppRequest,Empty,OperationMetadata>
Overrides

deleteAppVersionCallable()

public UnaryCallable<DeleteAppVersionRequest,Empty> deleteAppVersionCallable()
Returns
Type Description
UnaryCallable<DeleteAppVersionRequest,Empty>
Overrides

deleteConversationCallable()

public UnaryCallable<DeleteConversationRequest,Empty> deleteConversationCallable()
Returns
Type Description
UnaryCallable<DeleteConversationRequest,Empty>
Overrides

deleteDeploymentCallable()

public UnaryCallable<DeleteDeploymentRequest,Empty> deleteDeploymentCallable()
Returns
Type Description
UnaryCallable<DeleteDeploymentRequest,Empty>
Overrides

deleteExampleCallable()

public UnaryCallable<DeleteExampleRequest,Empty> deleteExampleCallable()
Returns
Type Description
UnaryCallable<DeleteExampleRequest,Empty>
Overrides

deleteGuardrailCallable()

public UnaryCallable<DeleteGuardrailRequest,Empty> deleteGuardrailCallable()
Returns
Type Description
UnaryCallable<DeleteGuardrailRequest,Empty>
Overrides

deleteToolCallable()

public UnaryCallable<DeleteToolRequest,Empty> deleteToolCallable()
Returns
Type Description
UnaryCallable<DeleteToolRequest,Empty>
Overrides

deleteToolsetCallable()

public UnaryCallable<DeleteToolsetRequest,Empty> deleteToolsetCallable()
Returns
Type Description
UnaryCallable<DeleteToolsetRequest,Empty>
Overrides

exportAppCallable()

public UnaryCallable<ExportAppRequest,Operation> exportAppCallable()
Returns
Type Description
UnaryCallable<ExportAppRequest,Operation>
Overrides

exportAppOperationCallable()

public OperationCallable<ExportAppRequest,ExportAppResponse,OperationMetadata> exportAppOperationCallable()
Returns
Type Description
OperationCallable<ExportAppRequest,ExportAppResponse,OperationMetadata>
Overrides

getAgentCallable()

public UnaryCallable<GetAgentRequest,Agent> getAgentCallable()
Returns
Type Description
UnaryCallable<GetAgentRequest,Agent>
Overrides

getAppCallable()

public UnaryCallable<GetAppRequest,App> getAppCallable()
Returns
Type Description
UnaryCallable<GetAppRequest,App>
Overrides

getAppVersionCallable()

public UnaryCallable<GetAppVersionRequest,AppVersion> getAppVersionCallable()
Returns
Type Description
UnaryCallable<GetAppVersionRequest,AppVersion>
Overrides

getChangelogCallable()

public UnaryCallable<GetChangelogRequest,Changelog> getChangelogCallable()
Returns
Type Description
UnaryCallable<GetChangelogRequest,Changelog>
Overrides

getConversationCallable()

public UnaryCallable<GetConversationRequest,Conversation> getConversationCallable()
Returns
Type Description
UnaryCallable<GetConversationRequest,Conversation>
Overrides

getDeploymentCallable()

public UnaryCallable<GetDeploymentRequest,Deployment> getDeploymentCallable()
Returns
Type Description
UnaryCallable<GetDeploymentRequest,Deployment>
Overrides

getExampleCallable()

public UnaryCallable<GetExampleRequest,Example> getExampleCallable()
Returns
Type Description
UnaryCallable<GetExampleRequest,Example>
Overrides

getGuardrailCallable()

public UnaryCallable<GetGuardrailRequest,Guardrail> getGuardrailCallable()
Returns
Type Description
UnaryCallable<GetGuardrailRequest,Guardrail>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getToolCallable()

public UnaryCallable<GetToolRequest,Tool> getToolCallable()
Returns
Type Description
UnaryCallable<GetToolRequest,Tool>
Overrides

getToolsetCallable()

public UnaryCallable<GetToolsetRequest,Toolset> getToolsetCallable()
Returns
Type Description
UnaryCallable<GetToolsetRequest,Toolset>
Overrides

importAppCallable()

public UnaryCallable<ImportAppRequest,Operation> importAppCallable()
Returns
Type Description
UnaryCallable<ImportAppRequest,Operation>
Overrides

importAppOperationCallable()

public OperationCallable<ImportAppRequest,ImportAppResponse,OperationMetadata> importAppOperationCallable()
Returns
Type Description
OperationCallable<ImportAppRequest,ImportAppResponse,OperationMetadata>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAgentsCallable()

public UnaryCallable<ListAgentsRequest,ListAgentsResponse> listAgentsCallable()
Returns
Type Description
UnaryCallable<ListAgentsRequest,ListAgentsResponse>
Overrides

listAgentsPagedCallable()

public UnaryCallable<ListAgentsRequest,AgentServiceClient.ListAgentsPagedResponse> listAgentsPagedCallable()
Returns
Type Description
UnaryCallable<ListAgentsRequest,ListAgentsPagedResponse>
Overrides

listAppVersionsCallable()

public UnaryCallable<ListAppVersionsRequest,ListAppVersionsResponse> listAppVersionsCallable()
Returns
Type Description
UnaryCallable<ListAppVersionsRequest,ListAppVersionsResponse>
Overrides

listAppVersionsPagedCallable()

public UnaryCallable<ListAppVersionsRequest,AgentServiceClient.ListAppVersionsPagedResponse> listAppVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListAppVersionsRequest,ListAppVersionsPagedResponse>
Overrides

listAppsCallable()

public UnaryCallable<ListAppsRequest,ListAppsResponse> listAppsCallable()
Returns
Type Description
UnaryCallable<ListAppsRequest,ListAppsResponse>
Overrides

listAppsPagedCallable()

public UnaryCallable<ListAppsRequest,AgentServiceClient.ListAppsPagedResponse> listAppsPagedCallable()
Returns
Type Description
UnaryCallable<ListAppsRequest,ListAppsPagedResponse>
Overrides

listChangelogsCallable()

public UnaryCallable<ListChangelogsRequest,ListChangelogsResponse> listChangelogsCallable()
Returns
Type Description
UnaryCallable<ListChangelogsRequest,ListChangelogsResponse>
Overrides

listChangelogsPagedCallable()

public UnaryCallable<ListChangelogsRequest,AgentServiceClient.ListChangelogsPagedResponse> listChangelogsPagedCallable()
Returns
Type Description
UnaryCallable<ListChangelogsRequest,ListChangelogsPagedResponse>
Overrides

listConversationsCallable()

public UnaryCallable<ListConversationsRequest,ListConversationsResponse> listConversationsCallable()
Returns
Type Description
UnaryCallable<ListConversationsRequest,ListConversationsResponse>
Overrides

listConversationsPagedCallable()

public UnaryCallable<ListConversationsRequest,AgentServiceClient.ListConversationsPagedResponse> listConversationsPagedCallable()
Returns
Type Description
UnaryCallable<ListConversationsRequest,ListConversationsPagedResponse>
Overrides

listDeploymentsCallable()

public UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse> listDeploymentsCallable()
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsResponse>
Overrides

listDeploymentsPagedCallable()

public UnaryCallable<ListDeploymentsRequest,AgentServiceClient.ListDeploymentsPagedResponse> listDeploymentsPagedCallable()
Returns
Type Description
UnaryCallable<ListDeploymentsRequest,ListDeploymentsPagedResponse>
Overrides

listExamplesCallable()

public UnaryCallable<ListExamplesRequest,ListExamplesResponse> listExamplesCallable()
Returns
Type Description
UnaryCallable<ListExamplesRequest,ListExamplesResponse>
Overrides

listExamplesPagedCallable()

public UnaryCallable<ListExamplesRequest,AgentServiceClient.ListExamplesPagedResponse> listExamplesPagedCallable()
Returns
Type Description
UnaryCallable<ListExamplesRequest,ListExamplesPagedResponse>
Overrides

listGuardrailsCallable()

public UnaryCallable<ListGuardrailsRequest,ListGuardrailsResponse> listGuardrailsCallable()
Returns
Type Description
UnaryCallable<ListGuardrailsRequest,ListGuardrailsResponse>
Overrides

listGuardrailsPagedCallable()

public UnaryCallable<ListGuardrailsRequest,AgentServiceClient.ListGuardrailsPagedResponse> listGuardrailsPagedCallable()
Returns
Type Description
UnaryCallable<ListGuardrailsRequest,ListGuardrailsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,AgentServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listToolsCallable()

public UnaryCallable<ListToolsRequest,ListToolsResponse> listToolsCallable()
Returns
Type Description
UnaryCallable<ListToolsRequest,ListToolsResponse>
Overrides

listToolsPagedCallable()

public UnaryCallable<ListToolsRequest,AgentServiceClient.ListToolsPagedResponse> listToolsPagedCallable()
Returns
Type Description
UnaryCallable<ListToolsRequest,ListToolsPagedResponse>
Overrides

listToolsetsCallable()

public UnaryCallable<ListToolsetsRequest,ListToolsetsResponse> listToolsetsCallable()
Returns
Type Description
UnaryCallable<ListToolsetsRequest,ListToolsetsResponse>
Overrides

listToolsetsPagedCallable()

public UnaryCallable<ListToolsetsRequest,AgentServiceClient.ListToolsetsPagedResponse> listToolsetsPagedCallable()
Returns
Type Description
UnaryCallable<ListToolsetsRequest,ListToolsetsPagedResponse>
Overrides

restoreAppVersionCallable()

public UnaryCallable<RestoreAppVersionRequest,Operation> restoreAppVersionCallable()
Returns
Type Description
UnaryCallable<RestoreAppVersionRequest,Operation>
Overrides

restoreAppVersionOperationCallable()

public OperationCallable<RestoreAppVersionRequest,RestoreAppVersionResponse,OperationMetadata> restoreAppVersionOperationCallable()
Returns
Type Description
OperationCallable<RestoreAppVersionRequest,RestoreAppVersionResponse,OperationMetadata>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateAgentCallable()

public UnaryCallable<UpdateAgentRequest,Agent> updateAgentCallable()
Returns
Type Description
UnaryCallable<UpdateAgentRequest,Agent>
Overrides

updateAppCallable()

public UnaryCallable<UpdateAppRequest,App> updateAppCallable()
Returns
Type Description
UnaryCallable<UpdateAppRequest,App>
Overrides

updateDeploymentCallable()

public UnaryCallable<UpdateDeploymentRequest,Deployment> updateDeploymentCallable()
Returns
Type Description
UnaryCallable<UpdateDeploymentRequest,Deployment>
Overrides

updateExampleCallable()

public UnaryCallable<UpdateExampleRequest,Example> updateExampleCallable()
Returns
Type Description
UnaryCallable<UpdateExampleRequest,Example>
Overrides

updateGuardrailCallable()

public UnaryCallable<UpdateGuardrailRequest,Guardrail> updateGuardrailCallable()
Returns
Type Description
UnaryCallable<UpdateGuardrailRequest,Guardrail>
Overrides

updateToolCallable()

public UnaryCallable<UpdateToolRequest,Tool> updateToolCallable()
Returns
Type Description
UnaryCallable<UpdateToolRequest,Tool>
Overrides

updateToolsetCallable()

public UnaryCallable<UpdateToolsetRequest,Toolset> updateToolsetCallable()
Returns
Type Description
UnaryCallable<UpdateToolsetRequest,Toolset>
Overrides