Send feedback
Class GrpcNetworkServicesStub (0.12.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
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.
Static Methods
create(ClientContext clientContext)
public static final GrpcNetworkServicesStub create ( ClientContext clientContext )
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcNetworkServicesStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
create(NetworkServicesStubSettings settings)
public static final GrpcNetworkServicesStub create ( NetworkServicesStubSettings settings )
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
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 ()
Overrides
createGatewayOperationCallable()
public OperationCallable<CreateGatewayRequest , Gateway , OperationMetadata > createGatewayOperationCallable ()
Overrides
createGrpcRouteCallable()
public UnaryCallable<CreateGrpcRouteRequest , Operation > createGrpcRouteCallable ()
Overrides
createGrpcRouteOperationCallable()
public OperationCallable<CreateGrpcRouteRequest , GrpcRoute , OperationMetadata > createGrpcRouteOperationCallable ()
Overrides
createHttpRouteCallable()
public UnaryCallable<CreateHttpRouteRequest , Operation > createHttpRouteCallable ()
Overrides
createHttpRouteOperationCallable()
public OperationCallable<CreateHttpRouteRequest , HttpRoute , OperationMetadata > createHttpRouteOperationCallable ()
Overrides
createMeshCallable()
public UnaryCallable<CreateMeshRequest , Operation > createMeshCallable ()
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 ()
Overrides
createTcpRouteOperationCallable()
public OperationCallable<CreateTcpRouteRequest , TcpRoute , OperationMetadata > createTcpRouteOperationCallable ()
Overrides
createTlsRouteCallable()
public UnaryCallable<CreateTlsRouteRequest , Operation > createTlsRouteCallable ()
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 ()
Overrides
deleteGatewayOperationCallable()
public OperationCallable<DeleteGatewayRequest , Empty , OperationMetadata > deleteGatewayOperationCallable ()
Overrides
deleteGrpcRouteCallable()
public UnaryCallable<DeleteGrpcRouteRequest , Operation > deleteGrpcRouteCallable ()
Overrides
deleteGrpcRouteOperationCallable()
public OperationCallable<DeleteGrpcRouteRequest , Empty , OperationMetadata > deleteGrpcRouteOperationCallable ()
Overrides
deleteHttpRouteCallable()
public UnaryCallable<DeleteHttpRouteRequest , Operation > deleteHttpRouteCallable ()
Overrides
deleteHttpRouteOperationCallable()
public OperationCallable<DeleteHttpRouteRequest , Empty , OperationMetadata > deleteHttpRouteOperationCallable ()
Overrides
deleteMeshCallable()
public UnaryCallable<DeleteMeshRequest , Operation > deleteMeshCallable ()
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 ()
Overrides
deleteTcpRouteOperationCallable()
public OperationCallable<DeleteTcpRouteRequest , Empty , OperationMetadata > deleteTcpRouteOperationCallable ()
Overrides
deleteTlsRouteCallable()
public UnaryCallable<DeleteTlsRouteRequest , Operation > deleteTlsRouteCallable ()
Overrides
deleteTlsRouteOperationCallable()
public OperationCallable<DeleteTlsRouteRequest , Empty , OperationMetadata > deleteTlsRouteOperationCallable ()
Overrides
getEndpointPolicyCallable()
public UnaryCallable<GetEndpointPolicyRequest , EndpointPolicy > getEndpointPolicyCallable ()
Overrides
getGatewayCallable()
public UnaryCallable<GetGatewayRequest , Gateway > getGatewayCallable ()
Overrides
getGrpcRouteCallable()
public UnaryCallable<GetGrpcRouteRequest , GrpcRoute > getGrpcRouteCallable ()
Overrides
getHttpRouteCallable()
public UnaryCallable<GetHttpRouteRequest , HttpRoute > getHttpRouteCallable ()
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 ()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
Overrides
getServiceBindingCallable()
public UnaryCallable<GetServiceBindingRequest , ServiceBinding > getServiceBindingCallable ()
Overrides
getTcpRouteCallable()
public UnaryCallable<GetTcpRouteRequest , TcpRoute > getTcpRouteCallable ()
Overrides
getTlsRouteCallable()
public UnaryCallable<GetTlsRouteRequest , TlsRoute > getTlsRouteCallable ()
Overrides
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
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 ()
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()
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 ()
Overrides
updateGatewayOperationCallable()
public OperationCallable<UpdateGatewayRequest , Gateway , OperationMetadata > updateGatewayOperationCallable ()
Overrides
updateGrpcRouteCallable()
public UnaryCallable<UpdateGrpcRouteRequest , Operation > updateGrpcRouteCallable ()
Overrides
updateGrpcRouteOperationCallable()
public OperationCallable<UpdateGrpcRouteRequest , GrpcRoute , OperationMetadata > updateGrpcRouteOperationCallable ()
Overrides
updateHttpRouteCallable()
public UnaryCallable<UpdateHttpRouteRequest , Operation > updateHttpRouteCallable ()
Overrides
updateHttpRouteOperationCallable()
public OperationCallable<UpdateHttpRouteRequest , HttpRoute , OperationMetadata > updateHttpRouteOperationCallable ()
Overrides
updateMeshCallable()
public UnaryCallable<UpdateMeshRequest , Operation > updateMeshCallable ()
Overrides
updateMeshOperationCallable()
public OperationCallable<UpdateMeshRequest , Mesh , OperationMetadata > updateMeshOperationCallable ()
Overrides
updateTcpRouteCallable()
public UnaryCallable<UpdateTcpRouteRequest , Operation > updateTcpRouteCallable ()
Overrides
updateTcpRouteOperationCallable()
public OperationCallable<UpdateTcpRouteRequest , TcpRoute , OperationMetadata > updateTcpRouteOperationCallable ()
Overrides
updateTlsRouteCallable()
public UnaryCallable<UpdateTlsRouteRequest , Operation > updateTlsRouteCallable ()
Overrides
updateTlsRouteOperationCallable()
public OperationCallable<UpdateTlsRouteRequest , TlsRoute , OperationMetadata > updateTlsRouteOperationCallable ()
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]