Class NetworkServicesGrpc.NetworkServicesFutureStub (0.11.0)

public static final class NetworkServicesGrpc.NetworkServicesFutureStub extends AbstractFutureStub<NetworkServicesGrpc.NetworkServicesFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service NetworkServices.

Service describing handlers for resources.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > NetworkServicesGrpc.NetworkServicesFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected NetworkServicesGrpc.NetworkServicesFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
NetworkServicesGrpc.NetworkServicesFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createEndpointPolicy(CreateEndpointPolicyRequest request)

public ListenableFuture<Operation> createEndpointPolicy(CreateEndpointPolicyRequest request)

Creates a new EndpointPolicy in a given project and location.

Parameter
Name Description
request CreateEndpointPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createGateway(CreateGatewayRequest request)

public ListenableFuture<Operation> createGateway(CreateGatewayRequest request)

Creates a new Gateway in a given project and location.

Parameter
Name Description
request CreateGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createGrpcRoute(CreateGrpcRouteRequest request)

public ListenableFuture<Operation> createGrpcRoute(CreateGrpcRouteRequest request)

Creates a new GrpcRoute in a given project and location.

Parameter
Name Description
request CreateGrpcRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createHttpRoute(CreateHttpRouteRequest request)

public ListenableFuture<Operation> createHttpRoute(CreateHttpRouteRequest request)

Creates a new HttpRoute in a given project and location.

Parameter
Name Description
request CreateHttpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createMesh(CreateMeshRequest request)

public ListenableFuture<Operation> createMesh(CreateMeshRequest request)

Creates a new Mesh in a given project and location.

Parameter
Name Description
request CreateMeshRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createServiceBinding(CreateServiceBindingRequest request)

public ListenableFuture<Operation> createServiceBinding(CreateServiceBindingRequest request)

Creates a new ServiceBinding in a given project and location.

Parameter
Name Description
request CreateServiceBindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createTcpRoute(CreateTcpRouteRequest request)

public ListenableFuture<Operation> createTcpRoute(CreateTcpRouteRequest request)

Creates a new TcpRoute in a given project and location.

Parameter
Name Description
request CreateTcpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

createTlsRoute(CreateTlsRouteRequest request)

public ListenableFuture<Operation> createTlsRoute(CreateTlsRouteRequest request)

Creates a new TlsRoute in a given project and location.

Parameter
Name Description
request CreateTlsRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteEndpointPolicy(DeleteEndpointPolicyRequest request)

public ListenableFuture<Operation> deleteEndpointPolicy(DeleteEndpointPolicyRequest request)

Deletes a single EndpointPolicy.

Parameter
Name Description
request DeleteEndpointPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGateway(DeleteGatewayRequest request)

public ListenableFuture<Operation> deleteGateway(DeleteGatewayRequest request)

Deletes a single Gateway.

Parameter
Name Description
request DeleteGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteGrpcRoute(DeleteGrpcRouteRequest request)

public ListenableFuture<Operation> deleteGrpcRoute(DeleteGrpcRouteRequest request)

Deletes a single GrpcRoute.

Parameter
Name Description
request DeleteGrpcRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteHttpRoute(DeleteHttpRouteRequest request)

public ListenableFuture<Operation> deleteHttpRoute(DeleteHttpRouteRequest request)

Deletes a single HttpRoute.

Parameter
Name Description
request DeleteHttpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteMesh(DeleteMeshRequest request)

public ListenableFuture<Operation> deleteMesh(DeleteMeshRequest request)

Deletes a single Mesh.

Parameter
Name Description
request DeleteMeshRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteServiceBinding(DeleteServiceBindingRequest request)

public ListenableFuture<Operation> deleteServiceBinding(DeleteServiceBindingRequest request)

Deletes a single ServiceBinding.

Parameter
Name Description
request DeleteServiceBindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTcpRoute(DeleteTcpRouteRequest request)

public ListenableFuture<Operation> deleteTcpRoute(DeleteTcpRouteRequest request)

Deletes a single TcpRoute.

Parameter
Name Description
request DeleteTcpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteTlsRoute(DeleteTlsRouteRequest request)

public ListenableFuture<Operation> deleteTlsRoute(DeleteTlsRouteRequest request)

Deletes a single TlsRoute.

Parameter
Name Description
request DeleteTlsRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

getEndpointPolicy(GetEndpointPolicyRequest request)

public ListenableFuture<EndpointPolicy> getEndpointPolicy(GetEndpointPolicyRequest request)

Gets details of a single EndpointPolicy.

Parameter
Name Description
request GetEndpointPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<EndpointPolicy>

getGateway(GetGatewayRequest request)

public ListenableFuture<Gateway> getGateway(GetGatewayRequest request)

Gets details of a single Gateway.

Parameter
Name Description
request GetGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Gateway>

getGrpcRoute(GetGrpcRouteRequest request)

public ListenableFuture<GrpcRoute> getGrpcRoute(GetGrpcRouteRequest request)

Gets details of a single GrpcRoute.

Parameter
Name Description
request GetGrpcRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<GrpcRoute>

getHttpRoute(GetHttpRouteRequest request)

public ListenableFuture<HttpRoute> getHttpRoute(GetHttpRouteRequest request)

Gets details of a single HttpRoute.

Parameter
Name Description
request GetHttpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<HttpRoute>

getMesh(GetMeshRequest request)

public ListenableFuture<Mesh> getMesh(GetMeshRequest request)

Gets details of a single Mesh.

Parameter
Name Description
request GetMeshRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Mesh>

getServiceBinding(GetServiceBindingRequest request)

public ListenableFuture<ServiceBinding> getServiceBinding(GetServiceBindingRequest request)

Gets details of a single ServiceBinding.

Parameter
Name Description
request GetServiceBindingRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ServiceBinding>

getTcpRoute(GetTcpRouteRequest request)

public ListenableFuture<TcpRoute> getTcpRoute(GetTcpRouteRequest request)

Gets details of a single TcpRoute.

Parameter
Name Description
request GetTcpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TcpRoute>

getTlsRoute(GetTlsRouteRequest request)

public ListenableFuture<TlsRoute> getTlsRoute(GetTlsRouteRequest request)

Gets details of a single TlsRoute.

Parameter
Name Description
request GetTlsRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<TlsRoute>

listEndpointPolicies(ListEndpointPoliciesRequest request)

public ListenableFuture<ListEndpointPoliciesResponse> listEndpointPolicies(ListEndpointPoliciesRequest request)

Lists EndpointPolicies in a given project and location.

Parameter
Name Description
request ListEndpointPoliciesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListEndpointPoliciesResponse>

listGateways(ListGatewaysRequest request)

public ListenableFuture<ListGatewaysResponse> listGateways(ListGatewaysRequest request)

Lists Gateways in a given project and location.

Parameter
Name Description
request ListGatewaysRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListGatewaysResponse>

listGrpcRoutes(ListGrpcRoutesRequest request)

public ListenableFuture<ListGrpcRoutesResponse> listGrpcRoutes(ListGrpcRoutesRequest request)

Lists GrpcRoutes in a given project and location.

Parameter
Name Description
request ListGrpcRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListGrpcRoutesResponse>

listHttpRoutes(ListHttpRoutesRequest request)

public ListenableFuture<ListHttpRoutesResponse> listHttpRoutes(ListHttpRoutesRequest request)

Lists HttpRoute in a given project and location.

Parameter
Name Description
request ListHttpRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListHttpRoutesResponse>

listMeshes(ListMeshesRequest request)

public ListenableFuture<ListMeshesResponse> listMeshes(ListMeshesRequest request)

Lists Meshes in a given project and location.

Parameter
Name Description
request ListMeshesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListMeshesResponse>

listServiceBindings(ListServiceBindingsRequest request)

public ListenableFuture<ListServiceBindingsResponse> listServiceBindings(ListServiceBindingsRequest request)

Lists ServiceBinding in a given project and location.

Parameter
Name Description
request ListServiceBindingsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListServiceBindingsResponse>

listTcpRoutes(ListTcpRoutesRequest request)

public ListenableFuture<ListTcpRoutesResponse> listTcpRoutes(ListTcpRoutesRequest request)

Lists TcpRoute in a given project and location.

Parameter
Name Description
request ListTcpRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTcpRoutesResponse>

listTlsRoutes(ListTlsRoutesRequest request)

public ListenableFuture<ListTlsRoutesResponse> listTlsRoutes(ListTlsRoutesRequest request)

Lists TlsRoute in a given project and location.

Parameter
Name Description
request ListTlsRoutesRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListTlsRoutesResponse>

updateEndpointPolicy(UpdateEndpointPolicyRequest request)

public ListenableFuture<Operation> updateEndpointPolicy(UpdateEndpointPolicyRequest request)

Updates the parameters of a single EndpointPolicy.

Parameter
Name Description
request UpdateEndpointPolicyRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGateway(UpdateGatewayRequest request)

public ListenableFuture<Operation> updateGateway(UpdateGatewayRequest request)

Updates the parameters of a single Gateway.

Parameter
Name Description
request UpdateGatewayRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateGrpcRoute(UpdateGrpcRouteRequest request)

public ListenableFuture<Operation> updateGrpcRoute(UpdateGrpcRouteRequest request)

Updates the parameters of a single GrpcRoute.

Parameter
Name Description
request UpdateGrpcRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateHttpRoute(UpdateHttpRouteRequest request)

public ListenableFuture<Operation> updateHttpRoute(UpdateHttpRouteRequest request)

Updates the parameters of a single HttpRoute.

Parameter
Name Description
request UpdateHttpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateMesh(UpdateMeshRequest request)

public ListenableFuture<Operation> updateMesh(UpdateMeshRequest request)

Updates the parameters of a single Mesh.

Parameter
Name Description
request UpdateMeshRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTcpRoute(UpdateTcpRouteRequest request)

public ListenableFuture<Operation> updateTcpRoute(UpdateTcpRouteRequest request)

Updates the parameters of a single TcpRoute.

Parameter
Name Description
request UpdateTcpRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>

updateTlsRoute(UpdateTlsRouteRequest request)

public ListenableFuture<Operation> updateTlsRoute(UpdateTlsRouteRequest request)

Updates the parameters of a single TlsRoute.

Parameter
Name Description
request UpdateTlsRouteRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<Operation>