Class HttpJsonApiGatewayServiceStub (2.44.0)

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.

Inheritance

java.lang.Object > ApiGatewayServiceStub > HttpJsonApiGatewayServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonApiGatewayServiceStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonApiGatewayServiceStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonApiGatewayServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonApiGatewayServiceStub
Exceptions
Type Description
IOException

create(ApiGatewayServiceStubSettings settings)

public static final HttpJsonApiGatewayServiceStub create(ApiGatewayServiceStubSettings settings)
Parameter
Name Description
settings ApiGatewayServiceStubSettings
Returns
Type Description
HttpJsonApiGatewayServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

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
Name Description
settings ApiGatewayServiceStubSettings
clientContext ClientContext

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
Name Description
settings ApiGatewayServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createApiCallable()

public UnaryCallable<CreateApiRequest,Operation> createApiCallable()
Returns
Type Description
UnaryCallable<CreateApiRequest,Operation>
Overrides

createApiConfigCallable()

public UnaryCallable<CreateApiConfigRequest,Operation> createApiConfigCallable()
Returns
Type Description
UnaryCallable<CreateApiConfigRequest,Operation>
Overrides

createApiConfigOperationCallable()

public OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationCallable()
Returns
Type Description
OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata>
Overrides

createApiOperationCallable()

public OperationCallable<CreateApiRequest,Api,OperationMetadata> createApiOperationCallable()
Returns
Type Description
OperationCallable<CreateApiRequest,Api,OperationMetadata>
Overrides

createGatewayCallable()

public UnaryCallable<CreateGatewayRequest,Operation> createGatewayCallable()
Returns
Type Description
UnaryCallable<CreateGatewayRequest,Operation>
Overrides

createGatewayOperationCallable()

public OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationCallable()
Returns
Type Description
OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata>
Overrides

deleteApiCallable()

public UnaryCallable<DeleteApiRequest,Operation> deleteApiCallable()
Returns
Type Description
UnaryCallable<DeleteApiRequest,Operation>
Overrides

deleteApiConfigCallable()

public UnaryCallable<DeleteApiConfigRequest,Operation> deleteApiConfigCallable()
Returns
Type Description
UnaryCallable<DeleteApiConfigRequest,Operation>
Overrides

deleteApiConfigOperationCallable()

public OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationCallable()
Returns
Type Description
OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata>
Overrides

deleteApiOperationCallable()

public OperationCallable<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationCallable()
Returns
Type Description
OperationCallable<DeleteApiRequest,Empty,OperationMetadata>
Overrides

deleteGatewayCallable()

public UnaryCallable<DeleteGatewayRequest,Operation> deleteGatewayCallable()
Returns
Type Description
UnaryCallable<DeleteGatewayRequest,Operation>
Overrides

deleteGatewayOperationCallable()

public OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationCallable()
Returns
Type Description
OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata>
Overrides

getApiCallable()

public UnaryCallable<GetApiRequest,Api> getApiCallable()
Returns
Type Description
UnaryCallable<GetApiRequest,Api>
Overrides

getApiConfigCallable()

public UnaryCallable<GetApiConfigRequest,ApiConfig> getApiConfigCallable()
Returns
Type Description
UnaryCallable<GetApiConfigRequest,ApiConfig>
Overrides

getGatewayCallable()

public UnaryCallable<GetGatewayRequest,Gateway> getGatewayCallable()
Returns
Type Description
UnaryCallable<GetGatewayRequest,Gateway>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listApiConfigsCallable()

public UnaryCallable<ListApiConfigsRequest,ListApiConfigsResponse> listApiConfigsCallable()
Returns
Type Description
UnaryCallable<ListApiConfigsRequest,ListApiConfigsResponse>
Overrides

listApiConfigsPagedCallable()

public UnaryCallable<ListApiConfigsRequest,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsPagedCallable()
Returns
Type Description
UnaryCallable<ListApiConfigsRequest,ListApiConfigsPagedResponse>
Overrides

listApisCallable()

public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Returns
Type Description
UnaryCallable<ListApisRequest,ListApisResponse>
Overrides

listApisPagedCallable()

public UnaryCallable<ListApisRequest,ApiGatewayServiceClient.ListApisPagedResponse> listApisPagedCallable()
Returns
Type Description
UnaryCallable<ListApisRequest,ListApisPagedResponse>
Overrides

listGatewaysCallable()

public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Returns
Type Description
UnaryCallable<ListGatewaysRequest,ListGatewaysResponse>
Overrides

listGatewaysPagedCallable()

public UnaryCallable<ListGatewaysRequest,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Returns
Type Description
UnaryCallable<ListGatewaysRequest,ListGatewaysPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateApiCallable()

public UnaryCallable<UpdateApiRequest,Operation> updateApiCallable()
Returns
Type Description
UnaryCallable<UpdateApiRequest,Operation>
Overrides

updateApiConfigCallable()

public UnaryCallable<UpdateApiConfigRequest,Operation> updateApiConfigCallable()
Returns
Type Description
UnaryCallable<UpdateApiConfigRequest,Operation>
Overrides

updateApiConfigOperationCallable()

public OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationCallable()
Returns
Type Description
OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata>
Overrides

updateApiOperationCallable()

public OperationCallable<UpdateApiRequest,Api,OperationMetadata> updateApiOperationCallable()
Returns
Type Description
OperationCallable<UpdateApiRequest,Api,OperationMetadata>
Overrides

updateGatewayCallable()

public UnaryCallable<UpdateGatewayRequest,Operation> updateGatewayCallable()
Returns
Type Description
UnaryCallable<UpdateGatewayRequest,Operation>
Overrides

updateGatewayOperationCallable()

public OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationCallable()
Returns
Type Description
OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata>
Overrides