Classe GrpcEndpointServiceStub (1.3.0)

public class GrpcEndpointServiceStub extends EndpointServiceStub

Implementazione di stub gRPC per l'API del servizio EndpointService.

Questa classe è per un utilizzo avanzato e riflette direttamente l'API sottostante.

Ereditarietà

EndpointServiceStub > java.lang.Object > GrpcEndpointServiceStub

Metodi statici

create(ClientContext clientContext)

public static final GrpcEndpointServiceStub create(ClientContext clientContext)
Parametro
Nome Description
clientContext ClientContext
Restituisce
Tipo Description
GrpcEndpointServiceStub
Eccezioni
Tipo Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parametri
Nome Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Restituisce
Tipo Description
GrpcEndpointServiceStub
Eccezioni
Tipo Description
IOException

create(impostazioni EndpointServiceStubSettings)

public static final GrpcEndpointServiceStub create(EndpointServiceStubSettings settings)
Parametro
Nome Description
settings EndpointServiceStubSettings
Restituisce
Tipo Description
GrpcEndpointServiceStub
Eccezioni
Tipo Description
IOException

Costruttori

GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext)

protected GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext)

Crea un'istanza di GrpcEndpointServiceStub utilizzando le impostazioni specificate. Questo è protetto in modo da semplificare la creazione di una sottoclasse, ma altrimenti i metodi di fabbrica statici sono preferibili.

Parametri
Nome Description
settings EndpointServiceStubSettings
clientContext ClientContext

GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Crea un'istanza di GrpcEndpointServiceStub utilizzando le impostazioni specificate. Questo è protetto in modo da semplificare la creazione di una sottoclasse, ma altrimenti i metodi di fabbrica statici sono preferibili.

Parametri
Nome Description
settings EndpointServiceStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Metodi

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parametri
Nome Description
duration long
unit TimeUnit
Restituisce
Tipo Description
boolean
Eccezioni
Tipo Description
InterruptedException

chiudi()

public final void close()
Sostituzioni

createEndpointCallable()

public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Restituisce
Tipo Description
UnaryCallable<CreateEndpointRequest,Operation>
Sostituzioni

createEndpointOperationCallable()

public OperationCallable<CreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata> createEndpointOperationCallable()
Restituisce
Tipo Description
OperationCallable<CreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata>
Sostituzioni

deleteEndpointCallable()

public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Restituisce
Tipo Description
UnaryCallable<DeleteEndpointRequest,Operation>
Sostituzioni

deleteEndpointOperationCallable()

public OperationCallable<DeleteEndpointRequest,Empty,DeleteOperationMetadata> deleteEndpointOperationCallable()
Restituisce
Tipo Description
OperationCallable<DeleteEndpointRequest,Empty,DeleteOperationMetadata>
Sostituzioni

deployModelCallable()

public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Restituisce
Tipo Description
UnaryCallable<DeployModelRequest,Operation>
Sostituzioni

deployModelOperationCallable()

public OperationCallable<DeployModelRequest,DeployModelResponse,DeployModelOperationMetadata> deployModelOperationCallable()
Restituisce
Tipo Description
OperationCallable<DeployModelRequest,DeployModelResponse,DeployModelOperationMetadata>
Sostituzioni

getEndpointCallable()

public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Restituisce
Tipo Description
UnaryCallable<GetEndpointRequest,Endpoint>
Sostituzioni

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Sostituzioni

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Sostituzioni

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Restituisce
Tipo Description
GrpcOperationsStub
Sostituzioni

isShutdown()

public boolean isShutdown()
Restituisce
Tipo Description
boolean

isTerminated()

public boolean isTerminated()
Restituisce
Tipo Description
boolean

listEndpointsCallable()

public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Restituisce
Tipo Description
UnaryCallable<ListEndpointsRequest,ListEndpointsResponse>
Sostituzioni

listEndpointsPagedCallable()

public UnaryCallable<ListEndpointsRequest,EndpointServiceClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Restituisce
Tipo Description
UnaryCallable<ListEndpointsRequest,ListEndpointsPagedResponse>
Sostituzioni

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Sostituzioni

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,EndpointServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Sostituzioni

mutateDeployedModelCallable()

public UnaryCallable<MutateDeployedModelRequest,Operation> mutateDeployedModelCallable()
Restituisce
Tipo Description
UnaryCallable<MutateDeployedModelRequest,Operation>
Sostituzioni

mutateDeployedModelOperationCallable()

public OperationCallable<MutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata> mutateDeployedModelOperationCallable()
Restituisce
Tipo Description
OperationCallable<MutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata>
Sostituzioni

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Sostituzioni

stop()

public void shutdown()

stopNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Restituisce
Tipo Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Sostituzioni

undeployModelCallable()

public UnaryCallable<UndeployModelRequest,Operation> undeployModelCallable()
Restituisce
Tipo Description
UnaryCallable<UndeployModelRequest,Operation>
Sostituzioni

undeployModelOperationCallable()

public OperationCallable<UndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata> undeployModelOperationCallable()
Restituisce
Tipo Description
OperationCallable<UndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata>
Sostituzioni

updateEndpointCallable()

public UnaryCallable<UpdateEndpointRequest,Endpoint> updateEndpointCallable()
Restituisce
Tipo Description
UnaryCallable<UpdateEndpointRequest,Endpoint>
Sostituzioni