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.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonNetworkServicesStub create(ClientContext clientContext)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworkServicesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(NetworkServicesStubSettings settings)
public static final HttpJsonNetworkServicesStub create(NetworkServicesStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Constructors
HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext)
protected HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext)
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.
HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonNetworkServicesStub(NetworkServicesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
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.
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
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
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
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