public class HttpJsonApiGatewayServiceStub extends ApiGatewayServiceStub
REST stub implementation for the ApiGatewayService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonApiGatewayServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonApiGatewayServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ApiGatewayServiceStubSettings settings)
public static final HttpJsonApiGatewayServiceStub create(ApiGatewayServiceStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonApiGatewayServiceStub, 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
HttpJsonApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonApiGatewayServiceStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createApiCallable()
public UnaryCallable<CreateApiRequest,Operation> createApiCallable()
Returns
Overrides
createApiConfigCallable()
public UnaryCallable<CreateApiConfigRequest,Operation> createApiConfigCallable()
Returns
Overrides
createApiConfigOperationCallable()
public OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationCallable()
Returns
Overrides
createApiOperationCallable()
public OperationCallable<CreateApiRequest,Api,OperationMetadata> createApiOperationCallable()
Returns
Overrides
createGatewayCallable()
public UnaryCallable<CreateGatewayRequest,Operation> createGatewayCallable()
Returns
Overrides
createGatewayOperationCallable()
public OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationCallable()
Returns
Overrides
deleteApiCallable()
public UnaryCallable<DeleteApiRequest,Operation> deleteApiCallable()
Returns
Overrides
deleteApiConfigCallable()
public UnaryCallable<DeleteApiConfigRequest,Operation> deleteApiConfigCallable()
Returns
Overrides
deleteApiConfigOperationCallable()
public OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationCallable()
Returns
Overrides
deleteApiOperationCallable()
public OperationCallable<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationCallable()
Returns
Overrides
deleteGatewayCallable()
public UnaryCallable<DeleteGatewayRequest,Operation> deleteGatewayCallable()
Returns
Overrides
deleteGatewayOperationCallable()
public OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationCallable()
Returns
Overrides
getApiCallable()
public UnaryCallable<GetApiRequest,Api> getApiCallable()
Returns
Overrides
getApiConfigCallable()
public UnaryCallable<GetApiConfigRequest,ApiConfig> getApiConfigCallable()
Returns
Overrides
getGatewayCallable()
public UnaryCallable<GetGatewayRequest,Gateway> getGatewayCallable()
Returns
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listApiConfigsCallable()
public UnaryCallable<ListApiConfigsRequest,ListApiConfigsResponse> listApiConfigsCallable()
Returns
Overrides
listApiConfigsPagedCallable()
public UnaryCallable<ListApiConfigsRequest,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsPagedCallable()
Returns
Overrides
listApisCallable()
public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Returns
Overrides
listApisPagedCallable()
public UnaryCallable<ListApisRequest,ApiGatewayServiceClient.ListApisPagedResponse> listApisPagedCallable()
Returns
Overrides
listGatewaysCallable()
public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Returns
Overrides
listGatewaysPagedCallable()
public UnaryCallable<ListGatewaysRequest,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApiCallable()
public UnaryCallable<UpdateApiRequest,Operation> updateApiCallable()
Returns
Overrides
updateApiConfigCallable()
public UnaryCallable<UpdateApiConfigRequest,Operation> updateApiConfigCallable()
Returns
Overrides
updateApiConfigOperationCallable()
public OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationCallable()
Returns
Overrides
updateApiOperationCallable()
public OperationCallable<UpdateApiRequest,Api,OperationMetadata> updateApiOperationCallable()
Returns
Overrides
updateGatewayCallable()
public UnaryCallable<UpdateGatewayRequest,Operation> updateGatewayCallable()
Returns
Overrides
updateGatewayOperationCallable()
public OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationCallable()
Returns
Overrides