Class GrpcApiGatewayServiceStub (2.27.0)

public class GrpcApiGatewayServiceStub extends ApiGatewayServiceStub

gRPC stub implementation for the ApiGatewayService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > ApiGatewayServiceStub > GrpcApiGatewayServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcApiGatewayServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcApiGatewayServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcApiGatewayServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcApiGatewayServiceStub
Exceptions
TypeDescription
IOException

create(ApiGatewayServiceStubSettings settings)

public static final GrpcApiGatewayServiceStub create(ApiGatewayServiceStubSettings settings)
Parameter
NameDescription
settingsApiGatewayServiceStubSettings
Returns
TypeDescription
GrpcApiGatewayServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext)

protected GrpcApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcApiGatewayServiceStub, 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
NameDescription
settingsApiGatewayServiceStubSettings
clientContextClientContext

GrpcApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcApiGatewayServiceStub(ApiGatewayServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcApiGatewayServiceStub, 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
NameDescription
settingsApiGatewayServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createApiCallable()

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

createApiConfigCallable()

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

createApiConfigOperationCallable()

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

createApiOperationCallable()

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

createGatewayCallable()

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

createGatewayOperationCallable()

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

deleteApiCallable()

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

deleteApiConfigCallable()

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

deleteApiConfigOperationCallable()

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

deleteApiOperationCallable()

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

deleteGatewayCallable()

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

deleteGatewayOperationCallable()

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

getApiCallable()

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

getApiConfigCallable()

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

getGatewayCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listApiConfigsCallable()

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

listApiConfigsPagedCallable()

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

listApisCallable()

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

listApisPagedCallable()

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

listGatewaysCallable()

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

listGatewaysPagedCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateApiCallable()

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

updateApiConfigCallable()

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

updateApiConfigOperationCallable()

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

updateApiOperationCallable()

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

updateGatewayCallable()

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

updateGatewayOperationCallable()

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