- 2.51.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.7
- 2.2.1
- 2.1.12
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 | |
---|---|
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()
createApiCallable()
public UnaryCallable<CreateApiRequest,Operation> createApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiRequest,Operation> |
createApiConfigCallable()
public UnaryCallable<CreateApiConfigRequest,Operation> createApiConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateApiConfigRequest,Operation> |
createApiConfigOperationCallable()
public OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata> createApiConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateApiConfigRequest,ApiConfig,OperationMetadata> |
createApiOperationCallable()
public OperationCallable<CreateApiRequest,Api,OperationMetadata> createApiOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateApiRequest,Api,OperationMetadata> |
createGatewayCallable()
public UnaryCallable<CreateGatewayRequest,Operation> createGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGatewayRequest,Operation> |
createGatewayOperationCallable()
public OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> |
deleteApiCallable()
public UnaryCallable<DeleteApiRequest,Operation> deleteApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiRequest,Operation> |
deleteApiConfigCallable()
public UnaryCallable<DeleteApiConfigRequest,Operation> deleteApiConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteApiConfigRequest,Operation> |
deleteApiConfigOperationCallable()
public OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata> deleteApiConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteApiConfigRequest,Empty,OperationMetadata> |
deleteApiOperationCallable()
public OperationCallable<DeleteApiRequest,Empty,OperationMetadata> deleteApiOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteApiRequest,Empty,OperationMetadata> |
deleteGatewayCallable()
public UnaryCallable<DeleteGatewayRequest,Operation> deleteGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteGatewayRequest,Operation> |
deleteGatewayOperationCallable()
public OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> |
getApiCallable()
public UnaryCallable<GetApiRequest,Api> getApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiRequest,Api> |
getApiConfigCallable()
public UnaryCallable<GetApiConfigRequest,ApiConfig> getApiConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetApiConfigRequest,ApiConfig> |
getGatewayCallable()
public UnaryCallable<GetGatewayRequest,Gateway> getGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGatewayRequest,Gateway> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
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> |
listApiConfigsPagedCallable()
public UnaryCallable<ListApiConfigsRequest,ApiGatewayServiceClient.ListApiConfigsPagedResponse> listApiConfigsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApiConfigsRequest,ListApiConfigsPagedResponse> |
listApisCallable()
public UnaryCallable<ListApisRequest,ListApisResponse> listApisCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApisRequest,ListApisResponse> |
listApisPagedCallable()
public UnaryCallable<ListApisRequest,ApiGatewayServiceClient.ListApisPagedResponse> listApisPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListApisRequest,ListApisPagedResponse> |
listGatewaysCallable()
public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> |
listGatewaysPagedCallable()
public UnaryCallable<ListGatewaysRequest,ApiGatewayServiceClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGatewaysRequest,ListGatewaysPagedResponse> |
shutdown()
public void shutdown()
shutdownNow()
public void shutdownNow()
updateApiCallable()
public UnaryCallable<UpdateApiRequest,Operation> updateApiCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiRequest,Operation> |
updateApiConfigCallable()
public UnaryCallable<UpdateApiConfigRequest,Operation> updateApiConfigCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateApiConfigRequest,Operation> |
updateApiConfigOperationCallable()
public OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata> updateApiConfigOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateApiConfigRequest,ApiConfig,OperationMetadata> |
updateApiOperationCallable()
public OperationCallable<UpdateApiRequest,Api,OperationMetadata> updateApiOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateApiRequest,Api,OperationMetadata> |
updateGatewayCallable()
public UnaryCallable<UpdateGatewayRequest,Operation> updateGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateGatewayRequest,Operation> |
updateGatewayOperationCallable()
public OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> |