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.
Metodi statici
create(ClientContext clientContext)
public static final GrpcEndpointServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcEndpointServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(impostazioni EndpointServiceStubSettings)
public static final GrpcEndpointServiceStub create(EndpointServiceStubSettings settings)
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.
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.
Metodi
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Restituisce |
Tipo |
Description |
boolean |
|
chiudi()
public final void close()
Sostituzioni
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Operation> createEndpointCallable()
Sostituzioni
createEndpointOperationCallable()
public OperationCallable<CreateEndpointRequest,Endpoint,CreateEndpointOperationMetadata> createEndpointOperationCallable()
Sostituzioni
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Operation> deleteEndpointCallable()
Sostituzioni
deleteEndpointOperationCallable()
public OperationCallable<DeleteEndpointRequest,Empty,DeleteOperationMetadata> deleteEndpointOperationCallable()
Sostituzioni
deployModelCallable()
public UnaryCallable<DeployModelRequest,Operation> deployModelCallable()
Sostituzioni
deployModelOperationCallable()
public OperationCallable<DeployModelRequest,DeployModelResponse,DeployModelOperationMetadata> deployModelOperationCallable()
Sostituzioni
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
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()
Sostituzioni
isShutdown()
public boolean isShutdown()
Restituisce |
Tipo |
Description |
boolean |
|
isTerminated()
public boolean isTerminated()
Restituisce |
Tipo |
Description |
boolean |
|
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Sostituzioni
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,EndpointServiceClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
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()
Sostituzioni
mutateDeployedModelCallable()
public UnaryCallable<MutateDeployedModelRequest,Operation> mutateDeployedModelCallable()
Sostituzioni
mutateDeployedModelOperationCallable()
public OperationCallable<MutateDeployedModelRequest,MutateDeployedModelResponse,MutateDeployedModelOperationMetadata> mutateDeployedModelOperationCallable()
Sostituzioni
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Restituisce |
Tipo |
Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
|
Sostituzioni
stop()
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()
Sostituzioni
undeployModelOperationCallable()
public OperationCallable<UndeployModelRequest,UndeployModelResponse,UndeployModelOperationMetadata> undeployModelOperationCallable()
Sostituzioni
updateEndpointCallable()
public UnaryCallable<UpdateEndpointRequest,Endpoint> updateEndpointCallable()
Sostituzioni