Class GrpcNetworkServicesStub (0.14.0)

public class GrpcNetworkServicesStub extends NetworkServicesStub

gRPC stub implementation for the NetworkServices service API.

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

Inheritance

java.lang.Object > NetworkServicesStub > GrpcNetworkServicesStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(NetworkServicesStubSettings settings)

public static final GrpcNetworkServicesStub create(NetworkServicesStubSettings settings)
Parameter
Name Description
settings NetworkServicesStubSettings
Returns
Type Description
GrpcNetworkServicesStub
Exceptions
Type Description
IOException

Constructors

GrpcNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext)

protected GrpcNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcNetworkServicesStub, 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 NetworkServicesStubSettings
clientContext ClientContext

GrpcNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcNetworkServicesStub, 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 NetworkServicesStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

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

createEndpointPolicyCallable()

public UnaryCallable<CreateEndpointPolicyRequest,Operation> createEndpointPolicyCallable()
Overrides

createEndpointPolicyOperationCallable()

public OperationCallable<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> createEndpointPolicyOperationCallable()
Overrides

createGatewayCallable()

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

createGatewayOperationCallable()

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

createGrpcRouteCallable()

public UnaryCallable<CreateGrpcRouteRequest,Operation> createGrpcRouteCallable()
Returns
Type Description
UnaryCallable<CreateGrpcRouteRequest,Operation>
Overrides

createGrpcRouteOperationCallable()

public OperationCallable<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata> createGrpcRouteOperationCallable()
Overrides

createHttpRouteCallable()

public UnaryCallable<CreateHttpRouteRequest,Operation> createHttpRouteCallable()
Returns
Type Description
UnaryCallable<CreateHttpRouteRequest,Operation>
Overrides

createHttpRouteOperationCallable()

public OperationCallable<CreateHttpRouteRequest,HttpRoute,OperationMetadata> createHttpRouteOperationCallable()
Overrides

createMeshCallable()

public UnaryCallable<CreateMeshRequest,Operation> createMeshCallable()
Returns
Type Description
UnaryCallable<CreateMeshRequest,Operation>
Overrides

createMeshOperationCallable()

public OperationCallable<CreateMeshRequest,Mesh,OperationMetadata> createMeshOperationCallable()
Overrides

createServiceBindingCallable()

public UnaryCallable<CreateServiceBindingRequest,Operation> createServiceBindingCallable()
Overrides

createServiceBindingOperationCallable()

public OperationCallable<CreateServiceBindingRequest,ServiceBinding,OperationMetadata> createServiceBindingOperationCallable()
Overrides

createTcpRouteCallable()

public UnaryCallable<CreateTcpRouteRequest,Operation> createTcpRouteCallable()
Returns
Type Description
UnaryCallable<CreateTcpRouteRequest,Operation>
Overrides

createTcpRouteOperationCallable()

public OperationCallable<CreateTcpRouteRequest,TcpRoute,OperationMetadata> createTcpRouteOperationCallable()
Overrides

createTlsRouteCallable()

public UnaryCallable<CreateTlsRouteRequest,Operation> createTlsRouteCallable()
Returns
Type Description
UnaryCallable<CreateTlsRouteRequest,Operation>
Overrides

createTlsRouteOperationCallable()

public OperationCallable<CreateTlsRouteRequest,TlsRoute,OperationMetadata> createTlsRouteOperationCallable()
Overrides

deleteEndpointPolicyCallable()

public UnaryCallable<DeleteEndpointPolicyRequest,Operation> deleteEndpointPolicyCallable()
Overrides

deleteEndpointPolicyOperationCallable()

public OperationCallable<DeleteEndpointPolicyRequest,Empty,OperationMetadata> deleteEndpointPolicyOperationCallable()
Overrides

deleteGatewayCallable()

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

deleteGatewayOperationCallable()

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

deleteGrpcRouteCallable()

public UnaryCallable<DeleteGrpcRouteRequest,Operation> deleteGrpcRouteCallable()
Returns
Type Description
UnaryCallable<DeleteGrpcRouteRequest,Operation>
Overrides

deleteGrpcRouteOperationCallable()

public OperationCallable<DeleteGrpcRouteRequest,Empty,OperationMetadata> deleteGrpcRouteOperationCallable()
Overrides

deleteHttpRouteCallable()

public UnaryCallable<DeleteHttpRouteRequest,Operation> deleteHttpRouteCallable()
Returns
Type Description
UnaryCallable<DeleteHttpRouteRequest,Operation>
Overrides

deleteHttpRouteOperationCallable()

public OperationCallable<DeleteHttpRouteRequest,Empty,OperationMetadata> deleteHttpRouteOperationCallable()
Overrides

deleteMeshCallable()

public UnaryCallable<DeleteMeshRequest,Operation> deleteMeshCallable()
Returns
Type Description
UnaryCallable<DeleteMeshRequest,Operation>
Overrides

deleteMeshOperationCallable()

public OperationCallable<DeleteMeshRequest,Empty,OperationMetadata> deleteMeshOperationCallable()
Overrides

deleteServiceBindingCallable()

public UnaryCallable<DeleteServiceBindingRequest,Operation> deleteServiceBindingCallable()
Overrides

deleteServiceBindingOperationCallable()

public OperationCallable<DeleteServiceBindingRequest,Empty,OperationMetadata> deleteServiceBindingOperationCallable()
Overrides

deleteTcpRouteCallable()

public UnaryCallable<DeleteTcpRouteRequest,Operation> deleteTcpRouteCallable()
Returns
Type Description
UnaryCallable<DeleteTcpRouteRequest,Operation>
Overrides

deleteTcpRouteOperationCallable()

public OperationCallable<DeleteTcpRouteRequest,Empty,OperationMetadata> deleteTcpRouteOperationCallable()
Overrides

deleteTlsRouteCallable()

public UnaryCallable<DeleteTlsRouteRequest,Operation> deleteTlsRouteCallable()
Returns
Type Description
UnaryCallable<DeleteTlsRouteRequest,Operation>
Overrides

deleteTlsRouteOperationCallable()

public OperationCallable<DeleteTlsRouteRequest,Empty,OperationMetadata> deleteTlsRouteOperationCallable()
Overrides

getEndpointPolicyCallable()

public UnaryCallable<GetEndpointPolicyRequest,EndpointPolicy> getEndpointPolicyCallable()
Overrides

getGatewayCallable()

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

getGrpcRouteCallable()

public UnaryCallable<GetGrpcRouteRequest,GrpcRoute> getGrpcRouteCallable()
Returns
Type Description
UnaryCallable<GetGrpcRouteRequest,GrpcRoute>
Overrides

getHttpRouteCallable()

public UnaryCallable<GetHttpRouteRequest,HttpRoute> getHttpRouteCallable()
Returns
Type Description
UnaryCallable<GetHttpRouteRequest,HttpRoute>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getMeshCallable()

public UnaryCallable<GetMeshRequest,Mesh> getMeshCallable()
Returns
Type Description
UnaryCallable<GetMeshRequest,Mesh>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub
Overrides

getServiceBindingCallable()

public UnaryCallable<GetServiceBindingRequest,ServiceBinding> getServiceBindingCallable()
Overrides

getTcpRouteCallable()

public UnaryCallable<GetTcpRouteRequest,TcpRoute> getTcpRouteCallable()
Returns
Type Description
UnaryCallable<GetTcpRouteRequest,TcpRoute>
Overrides

getTlsRouteCallable()

public UnaryCallable<GetTlsRouteRequest,TlsRoute> getTlsRouteCallable()
Returns
Type Description
UnaryCallable<GetTlsRouteRequest,TlsRoute>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listEndpointPoliciesCallable()

public UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse> listEndpointPoliciesCallable()
Overrides

listEndpointPoliciesPagedCallable()

public UnaryCallable<ListEndpointPoliciesRequest,NetworkServicesClient.ListEndpointPoliciesPagedResponse> listEndpointPoliciesPagedCallable()
Overrides

listGatewaysCallable()

public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Overrides

listGatewaysPagedCallable()

public UnaryCallable<ListGatewaysRequest,NetworkServicesClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Overrides

listGrpcRoutesCallable()

public UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesResponse> listGrpcRoutesCallable()
Overrides

listGrpcRoutesPagedCallable()

public UnaryCallable<ListGrpcRoutesRequest,NetworkServicesClient.ListGrpcRoutesPagedResponse> listGrpcRoutesPagedCallable()
Overrides

listHttpRoutesCallable()

public UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesResponse> listHttpRoutesCallable()
Overrides

listHttpRoutesPagedCallable()

public UnaryCallable<ListHttpRoutesRequest,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesPagedCallable()
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,NetworkServicesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listMeshesCallable()

public UnaryCallable<ListMeshesRequest,ListMeshesResponse> listMeshesCallable()
Overrides

listMeshesPagedCallable()

public UnaryCallable<ListMeshesRequest,NetworkServicesClient.ListMeshesPagedResponse> listMeshesPagedCallable()
Overrides

listServiceBindingsCallable()

public UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse> listServiceBindingsCallable()
Overrides

listServiceBindingsPagedCallable()

public UnaryCallable<ListServiceBindingsRequest,NetworkServicesClient.ListServiceBindingsPagedResponse> listServiceBindingsPagedCallable()
Overrides

listTcpRoutesCallable()

public UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesResponse> listTcpRoutesCallable()
Overrides

listTcpRoutesPagedCallable()

public UnaryCallable<ListTcpRoutesRequest,NetworkServicesClient.ListTcpRoutesPagedResponse> listTcpRoutesPagedCallable()
Overrides

listTlsRoutesCallable()

public UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesResponse> listTlsRoutesCallable()
Overrides

listTlsRoutesPagedCallable()

public UnaryCallable<ListTlsRoutesRequest,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesPagedCallable()
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateEndpointPolicyCallable()

public UnaryCallable<UpdateEndpointPolicyRequest,Operation> updateEndpointPolicyCallable()
Overrides

updateEndpointPolicyOperationCallable()

public OperationCallable<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> updateEndpointPolicyOperationCallable()
Overrides

updateGatewayCallable()

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

updateGatewayOperationCallable()

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

updateGrpcRouteCallable()

public UnaryCallable<UpdateGrpcRouteRequest,Operation> updateGrpcRouteCallable()
Returns
Type Description
UnaryCallable<UpdateGrpcRouteRequest,Operation>
Overrides

updateGrpcRouteOperationCallable()

public OperationCallable<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata> updateGrpcRouteOperationCallable()
Overrides

updateHttpRouteCallable()

public UnaryCallable<UpdateHttpRouteRequest,Operation> updateHttpRouteCallable()
Returns
Type Description
UnaryCallable<UpdateHttpRouteRequest,Operation>
Overrides

updateHttpRouteOperationCallable()

public OperationCallable<UpdateHttpRouteRequest,HttpRoute,OperationMetadata> updateHttpRouteOperationCallable()
Overrides

updateMeshCallable()

public UnaryCallable<UpdateMeshRequest,Operation> updateMeshCallable()
Returns
Type Description
UnaryCallable<UpdateMeshRequest,Operation>
Overrides

updateMeshOperationCallable()

public OperationCallable<UpdateMeshRequest,Mesh,OperationMetadata> updateMeshOperationCallable()
Overrides

updateTcpRouteCallable()

public UnaryCallable<UpdateTcpRouteRequest,Operation> updateTcpRouteCallable()
Returns
Type Description
UnaryCallable<UpdateTcpRouteRequest,Operation>
Overrides

updateTcpRouteOperationCallable()

public OperationCallable<UpdateTcpRouteRequest,TcpRoute,OperationMetadata> updateTcpRouteOperationCallable()
Overrides

updateTlsRouteCallable()

public UnaryCallable<UpdateTlsRouteRequest,Operation> updateTlsRouteCallable()
Returns
Type Description
UnaryCallable<UpdateTlsRouteRequest,Operation>
Overrides

updateTlsRouteOperationCallable()

public OperationCallable<UpdateTlsRouteRequest,TlsRoute,OperationMetadata> updateTlsRouteOperationCallable()
Overrides