Class ApiGatewayServiceGrpc.ApiGatewayServiceStub (2.64.0)

publicstaticfinalclass ApiGatewayServiceGrpc.ApiGatewayServiceStubextendsAbstractAsyncStub<ApiGatewayServiceGrpc.ApiGatewayServiceStub>

A stub to allow clients to do asynchronous rpc calls to service ApiGatewayService.

The API Gateway Service is the interface for managing API Gateways.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > ApiGatewayServiceGrpc.ApiGatewayServiceStub

Inherited Members

io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel)
io.grpc.stub.AbstractAsyncStub.<T>newStub(io.grpc.stub.AbstractStub.StubFactory<T>,io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.<T>withOption(io.grpc.CallOptions.Key<T>,T)
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
io.grpc.stub.AbstractStub.getCallOptions()
io.grpc.stub.AbstractStub.getChannel()
io.grpc.stub.AbstractStub.withCallCredentials(io.grpc.CallCredentials)
io.grpc.stub.AbstractStub.withChannel(io.grpc.Channel)
io.grpc.stub.AbstractStub.withCompression(java.lang.String)
io.grpc.stub.AbstractStub.withDeadline(io.grpc.Deadline)
io.grpc.stub.AbstractStub.withDeadlineAfter(java.time.Duration)
io.grpc.stub.AbstractStub.withDeadlineAfter(long,java.util.concurrent.TimeUnit)
io.grpc.stub.AbstractStub.withExecutor(java.util.concurrent.Executor)
io.grpc.stub.AbstractStub.withInterceptors(io.grpc.ClientInterceptor...)
io.grpc.stub.AbstractStub.withMaxInboundMessageSize(int)
io.grpc.stub.AbstractStub.withMaxOutboundMessageSize(int)
io.grpc.stub.AbstractStub.withOnReadyThreshold(int)
io.grpc.stub.AbstractStub.withWaitForReady()

Methods

build(Channel channel, CallOptions callOptions)

protectedApiGatewayServiceGrpc.ApiGatewayServiceStubbuild(Channelchannel,CallOptionscallOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
ApiGatewayServiceGrpc.ApiGatewayServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createApi(CreateApiRequest request, StreamObserver<Operation> responseObserver)

publicvoidcreateApi(CreateApiRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new Api in a given project and location.

Parameters
Name Description
request CreateApiRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createApiConfig(CreateApiConfigRequest request, StreamObserver<Operation> responseObserver)

publicvoidcreateApiConfig(CreateApiConfigRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new ApiConfig in a given project and location.

Parameters
Name Description
request CreateApiConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

createGateway(CreateGatewayRequest request, StreamObserver<Operation> responseObserver)

publicvoidcreateGateway(CreateGatewayRequestrequest,StreamObserver<Operation>responseObserver)

Creates a new Gateway in a given project and location.

Parameters
Name Description
request CreateGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteApi(DeleteApiRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteApi(DeleteApiRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single Api.

Parameters
Name Description
request DeleteApiRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteApiConfig(DeleteApiConfigRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteApiConfig(DeleteApiConfigRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single ApiConfig.

Parameters
Name Description
request DeleteApiConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteGateway(DeleteGatewayRequest request, StreamObserver<Operation> responseObserver)

publicvoiddeleteGateway(DeleteGatewayRequestrequest,StreamObserver<Operation>responseObserver)

Deletes a single Gateway.

Parameters
Name Description
request DeleteGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getApi(GetApiRequest request, StreamObserver<Api> responseObserver)

publicvoidgetApi(GetApiRequestrequest,StreamObserver<Api>responseObserver)

Gets details of a single Api.

Parameters
Name Description
request GetApiRequest
responseObserver io.grpc.stub.StreamObserver<Api>

getApiConfig(GetApiConfigRequest request, StreamObserver<ApiConfig> responseObserver)

publicvoidgetApiConfig(GetApiConfigRequestrequest,StreamObserver<ApiConfig>responseObserver)

Gets details of a single ApiConfig.

Parameters
Name Description
request GetApiConfigRequest
responseObserver io.grpc.stub.StreamObserver<ApiConfig>

getGateway(GetGatewayRequest request, StreamObserver<Gateway> responseObserver)

publicvoidgetGateway(GetGatewayRequestrequest,StreamObserver<Gateway>responseObserver)

Gets details of a single Gateway.

Parameters
Name Description
request GetGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Gateway>

listApiConfigs(ListApiConfigsRequest request, StreamObserver<ListApiConfigsResponse> responseObserver)

publicvoidlistApiConfigs(ListApiConfigsRequestrequest,StreamObserver<ListApiConfigsResponse>responseObserver)

Lists ApiConfigs in a given project and location.

Parameters
Name Description
request ListApiConfigsRequest
responseObserver io.grpc.stub.StreamObserver<ListApiConfigsResponse>

listApis(ListApisRequest request, StreamObserver<ListApisResponse> responseObserver)

publicvoidlistApis(ListApisRequestrequest,StreamObserver<ListApisResponse>responseObserver)

Lists Apis in a given project and location.

Parameters
Name Description
request ListApisRequest
responseObserver io.grpc.stub.StreamObserver<ListApisResponse>

listGateways(ListGatewaysRequest request, StreamObserver<ListGatewaysResponse> responseObserver)

publicvoidlistGateways(ListGatewaysRequestrequest,StreamObserver<ListGatewaysResponse>responseObserver)

Lists Gateways in a given project and location.

Parameters
Name Description
request ListGatewaysRequest
responseObserver io.grpc.stub.StreamObserver<ListGatewaysResponse>

updateApi(UpdateApiRequest request, StreamObserver<Operation> responseObserver)

publicvoidupdateApi(UpdateApiRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single Api.

Parameters
Name Description
request UpdateApiRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateApiConfig(UpdateApiConfigRequest request, StreamObserver<Operation> responseObserver)

publicvoidupdateApiConfig(UpdateApiConfigRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single ApiConfig.

Parameters
Name Description
request UpdateApiConfigRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

updateGateway(UpdateGatewayRequest request, StreamObserver<Operation> responseObserver)

publicvoidupdateGateway(UpdateGatewayRequestrequest,StreamObserver<Operation>responseObserver)

Updates the parameters of a single Gateway.

Parameters
Name Description
request UpdateGatewayRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.