Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonApiGatewayServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(ApiGatewayServiceStubSettings settings)
public static final HttpJsonApiGatewayServiceStub create(ApiGatewayServiceStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createApiCallable()
public UnaryCallable<CreateApiRequest,Operation> createApiCallable()
Overrides
createApiConfigCallable()
public UnaryCallable<CreateApiConfigRequest,Operation> createApiConfigCallable()
Overrides
createApiConfigOperationCallable()
public OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationCallable()
Overrides
createApiOperationCallable()
public OperationCallable<CreateApiRequest,Api,OperationMetadata> createApiOperationCallable()
Overrides
createGatewayCallable()
public UnaryCallable<CreateGatewayRequest,Operation> createGatewayCallable()
Overrides
createGatewayOperationCallable()
public OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationCallable()
Overrides
deleteApiCallable()
public UnaryCallable<DeleteApiRequest,Operation> deleteApiCallable()
Overrides
deleteApiConfigCallable()
public UnaryCallable<DeleteApiConfigRequest,Operation> deleteApiConfigCallable()
Overrides
deleteApiConfigOperationCallable()
public OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationCallable()
Overrides
deleteApiOperationCallable()
public OperationCallable<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationCallable()
Overrides
deleteGatewayCallable()
public UnaryCallable<DeleteGatewayRequest,Operation> deleteGatewayCallable()
Overrides
deleteGatewayOperationCallable()
public OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationCallable()
Overrides
getApiCallable()
public UnaryCallable<GetApiRequest,Api> getApiCallable()
Overrides
getApiConfigCallable()
public UnaryCallable<GetApiConfigRequest,ApiConfig> getApiConfigCallable()
Overrides
getGatewayCallable()
public UnaryCallable<GetGatewayRequest,Gateway> getGatewayCallable()
Overrides
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listApiConfigsCallable()
public UnaryCallable<ListApiConfigsRequest,ListApiConfigsResponse> listApiConfigsCallable()
Overrides
listApiConfigsPagedCallable()
public UnaryCallable<ListApiConfigsRequest,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsPagedCallable()
Overrides
listApisCallable()
public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Overrides
listApisPagedCallable()
public UnaryCallable<ListApisRequest,ApiGatewayServiceClient.ListApisPagedResponse> listApisPagedCallable()
Overrides
listGatewaysCallable()
public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Overrides
listGatewaysPagedCallable()
public UnaryCallable<ListGatewaysRequest,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApiCallable()
public UnaryCallable<UpdateApiRequest,Operation> updateApiCallable()
Overrides
updateApiConfigCallable()
public UnaryCallable<UpdateApiConfigRequest,Operation> updateApiConfigCallable()
Overrides
updateApiConfigOperationCallable()
public OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationCallable()
Overrides
updateApiOperationCallable()
public OperationCallable<UpdateApiRequest,Api,OperationMetadata> updateApiOperationCallable()
Overrides
updateGatewayCallable()
public UnaryCallable<UpdateGatewayRequest,Operation> updateGatewayCallable()
Overrides
updateGatewayOperationCallable()
public OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationCallable()
Overrides