Classe HttpJsonEndpointServiceStub (1.2.0)

public class HttpJsonEndpointServiceStub extends EndpointServiceStub

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

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

Ereditarietà

EndpointServiceStub > java.lang.Object > HttpJsonEndpointServiceStub

Metodi statici

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableShop)

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

create(impostazioni EndpointServiceStubSettings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Restituisce
Tipo Description
List<ApiMethodDescriptor>

Costruttori

HttpJsonEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext)

Crea un'istanza di HttpJsonEndpointServiceStub utilizzando le impostazioni specificate. Ciò è protetto in modo da semplificare la creazione di una sottoclasse, ma altrimenti i metodi di fabbrica statici dovrebbero essere preferiti.

Parametri
Nome Description
settings EndpointServiceStubSettings
clientContext ClientContext

HttpJsonEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEndpointServiceStub(EndpointServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Crea un'istanza di HttpJsonEndpointServiceStub utilizzando le impostazioni specificate. Ciò è protetto in modo da semplificare la creazione di una sottoclasse, ma altrimenti i metodi di fabbrica statici dovrebbero essere preferiti.

Parametri
Nome Description
settings EndpointServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Restituisce
Tipo Description
HttpJsonOperationsStub
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

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