Class AgentServiceClient.ListGuardrailsPage (0.11.0)

public static class AgentServiceClient.ListGuardrailsPage extends AbstractPage<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail,AgentServiceClient.ListGuardrailsPage>

Inheritance

java.lang.Object > AbstractPage > AgentServiceClient.ListGuardrailsPage

Methods

createPage(@Nullable PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail> context, @Nullable ListGuardrailsResponse response)

protected AgentServiceClient.ListGuardrailsPage createPage(@Nullable PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail> context, @Nullable ListGuardrailsResponse response)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail>
response @org.jspecify.annotations.Nullable com.google.cloud.ces.v1.ListGuardrailsResponse
Returns
Type Description
AgentServiceClient.ListGuardrailsPage
Overrides

createPageAsync(@Nullable PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail> context, ApiFuture<ListGuardrailsResponse> futureResponse)

public ApiFuture<AgentServiceClient.ListGuardrailsPage> createPageAsync(@Nullable PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail> context, ApiFuture<ListGuardrailsResponse> futureResponse)
Parameters
Name Description
context @org.jspecify.annotations.Nullable com.google.api.gax.rpc.PageContext<ListGuardrailsRequest,ListGuardrailsResponse,Guardrail>
futureResponse ApiFuture<ListGuardrailsResponse>
Returns
Type Description
ApiFuture<ListGuardrailsPage>
Overrides