Class HttpJsonNetworkServicesStub
java.lang.Object
com.google.cloud.networkservices.v1.stub.NetworkServicesStub
com.google.cloud.networkservices.v1.stub.HttpJsonNetworkServicesStub
- All Implemented Interfaces:
BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java")
public class HttpJsonNetworkServicesStub
extends NetworkServicesStub
REST stub implementation for the NetworkServices service API.
This class is for advanced usage and reflects the underlying API directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedHttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext) Constructs an instance of HttpJsonNetworkServicesStub, using the given settings.protectedHttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) Constructs an instance of HttpJsonNetworkServicesStub, using the given settings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanawaitTermination(long duration, TimeUnit unit) final voidclose()static final HttpJsonNetworkServicesStubcreate(ClientContext clientContext) static final HttpJsonNetworkServicesStubcreate(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) static final HttpJsonNetworkServicesStubcreate(NetworkServicesStubSettings settings) OperationCallable<DeleteEndpointPolicyRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteGatewayRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteGrpcRouteRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteHttpRouteRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteMeshRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteServiceBindingRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteServiceLbPolicyRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteTcpRouteRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteTlsRouteRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteWasmPluginRequest,com.google.protobuf.Empty, OperationMetadata> OperationCallable<DeleteWasmPluginVersionRequest,com.google.protobuf.Empty, OperationMetadata> static List<ApiMethodDescriptor>booleanbooleanUnaryCallable<ListGatewayRouteViewsRequest,NetworkServicesClient.ListGatewayRouteViewsPagedResponse> UnaryCallable<ListServiceLbPoliciesRequest,NetworkServicesClient.ListServiceLbPoliciesPagedResponse> UnaryCallable<ListWasmPluginVersionsRequest,NetworkServicesClient.ListWasmPluginVersionsPagedResponse> voidshutdown()voidMethods inherited from class com.google.cloud.networkservices.v1.stub.NetworkServicesStub
getOperationsStub
-
Constructor Details
-
HttpJsonNetworkServicesStub
protected HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext) throws IOException Constructs an instance of HttpJsonNetworkServicesStub, 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.- Throws:
IOException
-
HttpJsonNetworkServicesStub
protected HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException Constructs an instance of HttpJsonNetworkServicesStub, 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.- Throws:
IOException
-
-
Method Details
-
create
public static final HttpJsonNetworkServicesStub create(NetworkServicesStubSettings settings) throws IOException - Throws:
IOException
-
create
public static final HttpJsonNetworkServicesStub create(ClientContext clientContext) throws IOException - Throws:
IOException
-
create
public static final HttpJsonNetworkServicesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException - Throws:
IOException
-
getMethodDescriptors
-
getHttpJsonOperationsStub
- Overrides:
getHttpJsonOperationsStubin classNetworkServicesStub
-
listEndpointPoliciesCallable
public UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse> listEndpointPoliciesCallable()- Overrides:
listEndpointPoliciesCallablein classNetworkServicesStub
-
listEndpointPoliciesPagedCallable
public UnaryCallable<ListEndpointPoliciesRequest,NetworkServicesClient.ListEndpointPoliciesPagedResponse> listEndpointPoliciesPagedCallable()- Overrides:
listEndpointPoliciesPagedCallablein classNetworkServicesStub
-
getEndpointPolicyCallable
- Overrides:
getEndpointPolicyCallablein classNetworkServicesStub
-
createEndpointPolicyCallable
- Overrides:
createEndpointPolicyCallablein classNetworkServicesStub
-
createEndpointPolicyOperationCallable
public OperationCallable<CreateEndpointPolicyRequest,EndpointPolicy, createEndpointPolicyOperationCallable()OperationMetadata> - Overrides:
createEndpointPolicyOperationCallablein classNetworkServicesStub
-
updateEndpointPolicyCallable
- Overrides:
updateEndpointPolicyCallablein classNetworkServicesStub
-
updateEndpointPolicyOperationCallable
public OperationCallable<UpdateEndpointPolicyRequest,EndpointPolicy, updateEndpointPolicyOperationCallable()OperationMetadata> - Overrides:
updateEndpointPolicyOperationCallablein classNetworkServicesStub
-
deleteEndpointPolicyCallable
- Overrides:
deleteEndpointPolicyCallablein classNetworkServicesStub
-
deleteEndpointPolicyOperationCallable
public OperationCallable<DeleteEndpointPolicyRequest,com.google.protobuf.Empty, deleteEndpointPolicyOperationCallable()OperationMetadata> - Overrides:
deleteEndpointPolicyOperationCallablein classNetworkServicesStub
-
listWasmPluginVersionsCallable
public UnaryCallable<ListWasmPluginVersionsRequest,ListWasmPluginVersionsResponse> listWasmPluginVersionsCallable()- Overrides:
listWasmPluginVersionsCallablein classNetworkServicesStub
-
listWasmPluginVersionsPagedCallable
public UnaryCallable<ListWasmPluginVersionsRequest,NetworkServicesClient.ListWasmPluginVersionsPagedResponse> listWasmPluginVersionsPagedCallable()- Overrides:
listWasmPluginVersionsPagedCallablein classNetworkServicesStub
-
getWasmPluginVersionCallable
- Overrides:
getWasmPluginVersionCallablein classNetworkServicesStub
-
createWasmPluginVersionCallable
- Overrides:
createWasmPluginVersionCallablein classNetworkServicesStub
-
createWasmPluginVersionOperationCallable
public OperationCallable<CreateWasmPluginVersionRequest,WasmPluginVersion, createWasmPluginVersionOperationCallable()OperationMetadata> - Overrides:
createWasmPluginVersionOperationCallablein classNetworkServicesStub
-
deleteWasmPluginVersionCallable
- Overrides:
deleteWasmPluginVersionCallablein classNetworkServicesStub
-
deleteWasmPluginVersionOperationCallable
public OperationCallable<DeleteWasmPluginVersionRequest,com.google.protobuf.Empty, deleteWasmPluginVersionOperationCallable()OperationMetadata> - Overrides:
deleteWasmPluginVersionOperationCallablein classNetworkServicesStub
-
listWasmPluginsCallable
- Overrides:
listWasmPluginsCallablein classNetworkServicesStub
-
listWasmPluginsPagedCallable
public UnaryCallable<ListWasmPluginsRequest,NetworkServicesClient.ListWasmPluginsPagedResponse> listWasmPluginsPagedCallable()- Overrides:
listWasmPluginsPagedCallablein classNetworkServicesStub
-
getWasmPluginCallable
- Overrides:
getWasmPluginCallablein classNetworkServicesStub
-
createWasmPluginCallable
- Overrides:
createWasmPluginCallablein classNetworkServicesStub
-
createWasmPluginOperationCallable
public OperationCallable<CreateWasmPluginRequest,WasmPlugin, createWasmPluginOperationCallable()OperationMetadata> - Overrides:
createWasmPluginOperationCallablein classNetworkServicesStub
-
updateWasmPluginCallable
- Overrides:
updateWasmPluginCallablein classNetworkServicesStub
-
updateWasmPluginOperationCallable
public OperationCallable<UpdateWasmPluginRequest,WasmPlugin, updateWasmPluginOperationCallable()OperationMetadata> - Overrides:
updateWasmPluginOperationCallablein classNetworkServicesStub
-
deleteWasmPluginCallable
- Overrides:
deleteWasmPluginCallablein classNetworkServicesStub
-
deleteWasmPluginOperationCallable
public OperationCallable<DeleteWasmPluginRequest,com.google.protobuf.Empty, deleteWasmPluginOperationCallable()OperationMetadata> - Overrides:
deleteWasmPluginOperationCallablein classNetworkServicesStub
-
listGatewaysCallable
- Overrides:
listGatewaysCallablein classNetworkServicesStub
-
listGatewaysPagedCallable
public UnaryCallable<ListGatewaysRequest,NetworkServicesClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()- Overrides:
listGatewaysPagedCallablein classNetworkServicesStub
-
getGatewayCallable
- Overrides:
getGatewayCallablein classNetworkServicesStub
-
createGatewayCallable
- Overrides:
createGatewayCallablein classNetworkServicesStub
-
createGatewayOperationCallable
public OperationCallable<CreateGatewayRequest,Gateway, createGatewayOperationCallable()OperationMetadata> - Overrides:
createGatewayOperationCallablein classNetworkServicesStub
-
updateGatewayCallable
- Overrides:
updateGatewayCallablein classNetworkServicesStub
-
updateGatewayOperationCallable
public OperationCallable<UpdateGatewayRequest,Gateway, updateGatewayOperationCallable()OperationMetadata> - Overrides:
updateGatewayOperationCallablein classNetworkServicesStub
-
deleteGatewayCallable
- Overrides:
deleteGatewayCallablein classNetworkServicesStub
-
deleteGatewayOperationCallable
public OperationCallable<DeleteGatewayRequest,com.google.protobuf.Empty, deleteGatewayOperationCallable()OperationMetadata> - Overrides:
deleteGatewayOperationCallablein classNetworkServicesStub
-
listGrpcRoutesCallable
- Overrides:
listGrpcRoutesCallablein classNetworkServicesStub
-
listGrpcRoutesPagedCallable
public UnaryCallable<ListGrpcRoutesRequest,NetworkServicesClient.ListGrpcRoutesPagedResponse> listGrpcRoutesPagedCallable()- Overrides:
listGrpcRoutesPagedCallablein classNetworkServicesStub
-
getGrpcRouteCallable
- Overrides:
getGrpcRouteCallablein classNetworkServicesStub
-
createGrpcRouteCallable
- Overrides:
createGrpcRouteCallablein classNetworkServicesStub
-
createGrpcRouteOperationCallable
public OperationCallable<CreateGrpcRouteRequest,GrpcRoute, createGrpcRouteOperationCallable()OperationMetadata> - Overrides:
createGrpcRouteOperationCallablein classNetworkServicesStub
-
updateGrpcRouteCallable
- Overrides:
updateGrpcRouteCallablein classNetworkServicesStub
-
updateGrpcRouteOperationCallable
public OperationCallable<UpdateGrpcRouteRequest,GrpcRoute, updateGrpcRouteOperationCallable()OperationMetadata> - Overrides:
updateGrpcRouteOperationCallablein classNetworkServicesStub
-
deleteGrpcRouteCallable
- Overrides:
deleteGrpcRouteCallablein classNetworkServicesStub
-
deleteGrpcRouteOperationCallable
public OperationCallable<DeleteGrpcRouteRequest,com.google.protobuf.Empty, deleteGrpcRouteOperationCallable()OperationMetadata> - Overrides:
deleteGrpcRouteOperationCallablein classNetworkServicesStub
-
listHttpRoutesCallable
- Overrides:
listHttpRoutesCallablein classNetworkServicesStub
-
listHttpRoutesPagedCallable
public UnaryCallable<ListHttpRoutesRequest,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesPagedCallable()- Overrides:
listHttpRoutesPagedCallablein classNetworkServicesStub
-
getHttpRouteCallable
- Overrides:
getHttpRouteCallablein classNetworkServicesStub
-
createHttpRouteCallable
- Overrides:
createHttpRouteCallablein classNetworkServicesStub
-
createHttpRouteOperationCallable
public OperationCallable<CreateHttpRouteRequest,HttpRoute, createHttpRouteOperationCallable()OperationMetadata> - Overrides:
createHttpRouteOperationCallablein classNetworkServicesStub
-
updateHttpRouteCallable
- Overrides:
updateHttpRouteCallablein classNetworkServicesStub
-
updateHttpRouteOperationCallable
public OperationCallable<UpdateHttpRouteRequest,HttpRoute, updateHttpRouteOperationCallable()OperationMetadata> - Overrides:
updateHttpRouteOperationCallablein classNetworkServicesStub
-
deleteHttpRouteCallable
- Overrides:
deleteHttpRouteCallablein classNetworkServicesStub
-
deleteHttpRouteOperationCallable
public OperationCallable<DeleteHttpRouteRequest,com.google.protobuf.Empty, deleteHttpRouteOperationCallable()OperationMetadata> - Overrides:
deleteHttpRouteOperationCallablein classNetworkServicesStub
-
listTcpRoutesCallable
- Overrides:
listTcpRoutesCallablein classNetworkServicesStub
-
listTcpRoutesPagedCallable
public UnaryCallable<ListTcpRoutesRequest,NetworkServicesClient.ListTcpRoutesPagedResponse> listTcpRoutesPagedCallable()- Overrides:
listTcpRoutesPagedCallablein classNetworkServicesStub
-
getTcpRouteCallable
- Overrides:
getTcpRouteCallablein classNetworkServicesStub
-
createTcpRouteCallable
- Overrides:
createTcpRouteCallablein classNetworkServicesStub
-
createTcpRouteOperationCallable
public OperationCallable<CreateTcpRouteRequest,TcpRoute, createTcpRouteOperationCallable()OperationMetadata> - Overrides:
createTcpRouteOperationCallablein classNetworkServicesStub
-
updateTcpRouteCallable
- Overrides:
updateTcpRouteCallablein classNetworkServicesStub
-
updateTcpRouteOperationCallable
public OperationCallable<UpdateTcpRouteRequest,TcpRoute, updateTcpRouteOperationCallable()OperationMetadata> - Overrides:
updateTcpRouteOperationCallablein classNetworkServicesStub
-
deleteTcpRouteCallable
- Overrides:
deleteTcpRouteCallablein classNetworkServicesStub
-
deleteTcpRouteOperationCallable
public OperationCallable<DeleteTcpRouteRequest,com.google.protobuf.Empty, deleteTcpRouteOperationCallable()OperationMetadata> - Overrides:
deleteTcpRouteOperationCallablein classNetworkServicesStub
-
listTlsRoutesCallable
- Overrides:
listTlsRoutesCallablein classNetworkServicesStub
-
listTlsRoutesPagedCallable
public UnaryCallable<ListTlsRoutesRequest,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesPagedCallable()- Overrides:
listTlsRoutesPagedCallablein classNetworkServicesStub
-
getTlsRouteCallable
- Overrides:
getTlsRouteCallablein classNetworkServicesStub
-
createTlsRouteCallable
- Overrides:
createTlsRouteCallablein classNetworkServicesStub
-
createTlsRouteOperationCallable
public OperationCallable<CreateTlsRouteRequest,TlsRoute, createTlsRouteOperationCallable()OperationMetadata> - Overrides:
createTlsRouteOperationCallablein classNetworkServicesStub
-
updateTlsRouteCallable
- Overrides:
updateTlsRouteCallablein classNetworkServicesStub
-
updateTlsRouteOperationCallable
public OperationCallable<UpdateTlsRouteRequest,TlsRoute, updateTlsRouteOperationCallable()OperationMetadata> - Overrides:
updateTlsRouteOperationCallablein classNetworkServicesStub
-
deleteTlsRouteCallable
- Overrides:
deleteTlsRouteCallablein classNetworkServicesStub
-
deleteTlsRouteOperationCallable
public OperationCallable<DeleteTlsRouteRequest,com.google.protobuf.Empty, deleteTlsRouteOperationCallable()OperationMetadata> - Overrides:
deleteTlsRouteOperationCallablein classNetworkServicesStub
-
listServiceBindingsCallable
public UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse> listServiceBindingsCallable()- Overrides:
listServiceBindingsCallablein classNetworkServicesStub
-
listServiceBindingsPagedCallable
public UnaryCallable<ListServiceBindingsRequest,NetworkServicesClient.ListServiceBindingsPagedResponse> listServiceBindingsPagedCallable()- Overrides:
listServiceBindingsPagedCallablein classNetworkServicesStub
-
getServiceBindingCallable
- Overrides:
getServiceBindingCallablein classNetworkServicesStub
-
createServiceBindingCallable
- Overrides:
createServiceBindingCallablein classNetworkServicesStub
-
createServiceBindingOperationCallable
public OperationCallable<CreateServiceBindingRequest,ServiceBinding, createServiceBindingOperationCallable()OperationMetadata> - Overrides:
createServiceBindingOperationCallablein classNetworkServicesStub
-
updateServiceBindingCallable
- Overrides:
updateServiceBindingCallablein classNetworkServicesStub
-
updateServiceBindingOperationCallable
public OperationCallable<UpdateServiceBindingRequest,ServiceBinding, updateServiceBindingOperationCallable()OperationMetadata> - Overrides:
updateServiceBindingOperationCallablein classNetworkServicesStub
-
deleteServiceBindingCallable
- Overrides:
deleteServiceBindingCallablein classNetworkServicesStub
-
deleteServiceBindingOperationCallable
public OperationCallable<DeleteServiceBindingRequest,com.google.protobuf.Empty, deleteServiceBindingOperationCallable()OperationMetadata> - Overrides:
deleteServiceBindingOperationCallablein classNetworkServicesStub
-
listMeshesCallable
- Overrides:
listMeshesCallablein classNetworkServicesStub
-
listMeshesPagedCallable
public UnaryCallable<ListMeshesRequest,NetworkServicesClient.ListMeshesPagedResponse> listMeshesPagedCallable()- Overrides:
listMeshesPagedCallablein classNetworkServicesStub
-
getMeshCallable
- Overrides:
getMeshCallablein classNetworkServicesStub
-
createMeshCallable
- Overrides:
createMeshCallablein classNetworkServicesStub
-
createMeshOperationCallable
- Overrides:
createMeshOperationCallablein classNetworkServicesStub
-
updateMeshCallable
- Overrides:
updateMeshCallablein classNetworkServicesStub
-
updateMeshOperationCallable
- Overrides:
updateMeshOperationCallablein classNetworkServicesStub
-
deleteMeshCallable
- Overrides:
deleteMeshCallablein classNetworkServicesStub
-
deleteMeshOperationCallable
public OperationCallable<DeleteMeshRequest,com.google.protobuf.Empty, deleteMeshOperationCallable()OperationMetadata> - Overrides:
deleteMeshOperationCallablein classNetworkServicesStub
-
listServiceLbPoliciesCallable
public UnaryCallable<ListServiceLbPoliciesRequest,ListServiceLbPoliciesResponse> listServiceLbPoliciesCallable()- Overrides:
listServiceLbPoliciesCallablein classNetworkServicesStub
-
listServiceLbPoliciesPagedCallable
public UnaryCallable<ListServiceLbPoliciesRequest,NetworkServicesClient.ListServiceLbPoliciesPagedResponse> listServiceLbPoliciesPagedCallable()- Overrides:
listServiceLbPoliciesPagedCallablein classNetworkServicesStub
-
getServiceLbPolicyCallable
- Overrides:
getServiceLbPolicyCallablein classNetworkServicesStub
-
createServiceLbPolicyCallable
- Overrides:
createServiceLbPolicyCallablein classNetworkServicesStub
-
createServiceLbPolicyOperationCallable
public OperationCallable<CreateServiceLbPolicyRequest,ServiceLbPolicy, createServiceLbPolicyOperationCallable()OperationMetadata> - Overrides:
createServiceLbPolicyOperationCallablein classNetworkServicesStub
-
updateServiceLbPolicyCallable
- Overrides:
updateServiceLbPolicyCallablein classNetworkServicesStub
-
updateServiceLbPolicyOperationCallable
public OperationCallable<UpdateServiceLbPolicyRequest,ServiceLbPolicy, updateServiceLbPolicyOperationCallable()OperationMetadata> - Overrides:
updateServiceLbPolicyOperationCallablein classNetworkServicesStub
-
deleteServiceLbPolicyCallable
- Overrides:
deleteServiceLbPolicyCallablein classNetworkServicesStub
-
deleteServiceLbPolicyOperationCallable
public OperationCallable<DeleteServiceLbPolicyRequest,com.google.protobuf.Empty, deleteServiceLbPolicyOperationCallable()OperationMetadata> - Overrides:
deleteServiceLbPolicyOperationCallablein classNetworkServicesStub
-
getGatewayRouteViewCallable
- Overrides:
getGatewayRouteViewCallablein classNetworkServicesStub
-
getMeshRouteViewCallable
- Overrides:
getMeshRouteViewCallablein classNetworkServicesStub
-
listGatewayRouteViewsCallable
public UnaryCallable<ListGatewayRouteViewsRequest,ListGatewayRouteViewsResponse> listGatewayRouteViewsCallable()- Overrides:
listGatewayRouteViewsCallablein classNetworkServicesStub
-
listGatewayRouteViewsPagedCallable
public UnaryCallable<ListGatewayRouteViewsRequest,NetworkServicesClient.ListGatewayRouteViewsPagedResponse> listGatewayRouteViewsPagedCallable()- Overrides:
listGatewayRouteViewsPagedCallablein classNetworkServicesStub
-
listMeshRouteViewsCallable
public UnaryCallable<ListMeshRouteViewsRequest,ListMeshRouteViewsResponse> listMeshRouteViewsCallable()- Overrides:
listMeshRouteViewsCallablein classNetworkServicesStub
-
listMeshRouteViewsPagedCallable
public UnaryCallable<ListMeshRouteViewsRequest,NetworkServicesClient.ListMeshRouteViewsPagedResponse> listMeshRouteViewsPagedCallable()- Overrides:
listMeshRouteViewsPagedCallablein classNetworkServicesStub
-
listLocationsCallable
- Overrides:
listLocationsCallablein classNetworkServicesStub
-
listLocationsPagedCallable
public UnaryCallable<ListLocationsRequest,NetworkServicesClient.ListLocationsPagedResponse> listLocationsPagedCallable()- Overrides:
listLocationsPagedCallablein classNetworkServicesStub
-
getLocationCallable
- Overrides:
getLocationCallablein classNetworkServicesStub
-
setIamPolicyCallable
- Overrides:
setIamPolicyCallablein classNetworkServicesStub
-
getIamPolicyCallable
- Overrides:
getIamPolicyCallablein classNetworkServicesStub
-
testIamPermissionsCallable
public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()- Overrides:
testIamPermissionsCallablein classNetworkServicesStub
-
close
public final void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classNetworkServicesStub
-
shutdown
public void shutdown() -
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
shutdownNow
public void shutdownNow() -
awaitTermination
- Throws:
InterruptedException
-