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)
Parameter | |
---|---|
Name | Description |
clientContext |
ClientContext |
Returns | |
---|---|
Type | Description |
HttpJsonNetworkServicesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonNetworkServicesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters | |
---|---|
Name | Description |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
Returns | |
---|---|
Type | Description |
HttpJsonNetworkServicesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
create(NetworkServicesStubSettings settings)
public static final HttpJsonNetworkServicesStub create(NetworkServicesStubSettings settings)
Parameter | |
---|---|
Name | Description |
settings |
NetworkServicesStubSettings |
Returns | |
---|---|
Type | Description |
HttpJsonNetworkServicesStub |
Exceptions | |
---|---|
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns | |
---|---|
Type | Description |
List<ApiMethodDescriptor> |
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.
Parameters | |
---|---|
Name | Description |
settings |
NetworkServicesStubSettings |
clientContext |
ClientContext |
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.
Parameters | |
---|---|
Name | Description |
settings |
NetworkServicesStubSettings |
clientContext |
ClientContext |
callableFactory |
HttpJsonStubCallableFactory |
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()
createEndpointPolicyCallable()
public UnaryCallable<CreateEndpointPolicyRequest,Operation> createEndpointPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateEndpointPolicyRequest,Operation> |
createEndpointPolicyOperationCallable()
public OperationCallable<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> createEndpointPolicyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> |
createGatewayCallable()
public UnaryCallable<CreateGatewayRequest,Operation> createGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGatewayRequest,Operation> |
createGatewayOperationCallable()
public OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> createGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateGatewayRequest,Gateway,OperationMetadata> |
createGrpcRouteCallable()
public UnaryCallable<CreateGrpcRouteRequest,Operation> createGrpcRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateGrpcRouteRequest,Operation> |
createGrpcRouteOperationCallable()
public OperationCallable<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata> createGrpcRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateGrpcRouteRequest,GrpcRoute,OperationMetadata> |
createHttpRouteCallable()
public UnaryCallable<CreateHttpRouteRequest,Operation> createHttpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateHttpRouteRequest,Operation> |
createHttpRouteOperationCallable()
public OperationCallable<CreateHttpRouteRequest,HttpRoute,OperationMetadata> createHttpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateHttpRouteRequest,HttpRoute,OperationMetadata> |
createMeshCallable()
public UnaryCallable<CreateMeshRequest,Operation> createMeshCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateMeshRequest,Operation> |
createMeshOperationCallable()
public OperationCallable<CreateMeshRequest,Mesh,OperationMetadata> createMeshOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateMeshRequest,Mesh,OperationMetadata> |
createServiceBindingCallable()
public UnaryCallable<CreateServiceBindingRequest,Operation> createServiceBindingCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateServiceBindingRequest,Operation> |
createServiceBindingOperationCallable()
public OperationCallable<CreateServiceBindingRequest,ServiceBinding,OperationMetadata> createServiceBindingOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateServiceBindingRequest,ServiceBinding,OperationMetadata> |
createTcpRouteCallable()
public UnaryCallable<CreateTcpRouteRequest,Operation> createTcpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTcpRouteRequest,Operation> |
createTcpRouteOperationCallable()
public OperationCallable<CreateTcpRouteRequest,TcpRoute,OperationMetadata> createTcpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateTcpRouteRequest,TcpRoute,OperationMetadata> |
createTlsRouteCallable()
public UnaryCallable<CreateTlsRouteRequest,Operation> createTlsRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateTlsRouteRequest,Operation> |
createTlsRouteOperationCallable()
public OperationCallable<CreateTlsRouteRequest,TlsRoute,OperationMetadata> createTlsRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateTlsRouteRequest,TlsRoute,OperationMetadata> |
deleteEndpointPolicyCallable()
public UnaryCallable<DeleteEndpointPolicyRequest,Operation> deleteEndpointPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteEndpointPolicyRequest,Operation> |
deleteEndpointPolicyOperationCallable()
public OperationCallable<DeleteEndpointPolicyRequest,Empty,OperationMetadata> deleteEndpointPolicyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteEndpointPolicyRequest,Empty,OperationMetadata> |
deleteGatewayCallable()
public UnaryCallable<DeleteGatewayRequest,Operation> deleteGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteGatewayRequest,Operation> |
deleteGatewayOperationCallable()
public OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> deleteGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteGatewayRequest,Empty,OperationMetadata> |
deleteGrpcRouteCallable()
public UnaryCallable<DeleteGrpcRouteRequest,Operation> deleteGrpcRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteGrpcRouteRequest,Operation> |
deleteGrpcRouteOperationCallable()
public OperationCallable<DeleteGrpcRouteRequest,Empty,OperationMetadata> deleteGrpcRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteGrpcRouteRequest,Empty,OperationMetadata> |
deleteHttpRouteCallable()
public UnaryCallable<DeleteHttpRouteRequest,Operation> deleteHttpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteHttpRouteRequest,Operation> |
deleteHttpRouteOperationCallable()
public OperationCallable<DeleteHttpRouteRequest,Empty,OperationMetadata> deleteHttpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteHttpRouteRequest,Empty,OperationMetadata> |
deleteMeshCallable()
public UnaryCallable<DeleteMeshRequest,Operation> deleteMeshCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteMeshRequest,Operation> |
deleteMeshOperationCallable()
public OperationCallable<DeleteMeshRequest,Empty,OperationMetadata> deleteMeshOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteMeshRequest,Empty,OperationMetadata> |
deleteServiceBindingCallable()
public UnaryCallable<DeleteServiceBindingRequest,Operation> deleteServiceBindingCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteServiceBindingRequest,Operation> |
deleteServiceBindingOperationCallable()
public OperationCallable<DeleteServiceBindingRequest,Empty,OperationMetadata> deleteServiceBindingOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteServiceBindingRequest,Empty,OperationMetadata> |
deleteTcpRouteCallable()
public UnaryCallable<DeleteTcpRouteRequest,Operation> deleteTcpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTcpRouteRequest,Operation> |
deleteTcpRouteOperationCallable()
public OperationCallable<DeleteTcpRouteRequest,Empty,OperationMetadata> deleteTcpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteTcpRouteRequest,Empty,OperationMetadata> |
deleteTlsRouteCallable()
public UnaryCallable<DeleteTlsRouteRequest,Operation> deleteTlsRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteTlsRouteRequest,Operation> |
deleteTlsRouteOperationCallable()
public OperationCallable<DeleteTlsRouteRequest,Empty,OperationMetadata> deleteTlsRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteTlsRouteRequest,Empty,OperationMetadata> |
getEndpointPolicyCallable()
public UnaryCallable<GetEndpointPolicyRequest,EndpointPolicy> getEndpointPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetEndpointPolicyRequest,EndpointPolicy> |
getGatewayCallable()
public UnaryCallable<GetGatewayRequest,Gateway> getGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGatewayRequest,Gateway> |
getGrpcRouteCallable()
public UnaryCallable<GetGrpcRouteRequest,GrpcRoute> getGrpcRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetGrpcRouteRequest,GrpcRoute> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getHttpRouteCallable()
public UnaryCallable<GetHttpRouteRequest,HttpRoute> getHttpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetHttpRouteRequest,HttpRoute> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getMeshCallable()
public UnaryCallable<GetMeshRequest,Mesh> getMeshCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetMeshRequest,Mesh> |
getServiceBindingCallable()
public UnaryCallable<GetServiceBindingRequest,ServiceBinding> getServiceBindingCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetServiceBindingRequest,ServiceBinding> |
getTcpRouteCallable()
public UnaryCallable<GetTcpRouteRequest,TcpRoute> getTcpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTcpRouteRequest,TcpRoute> |
getTlsRouteCallable()
public UnaryCallable<GetTlsRouteRequest,TlsRoute> getTlsRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetTlsRouteRequest,TlsRoute> |
isShutdown()
public boolean isShutdown()
Returns | |
---|---|
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Returns | |
---|---|
Type | Description |
boolean |
listEndpointPoliciesCallable()
public UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse> listEndpointPoliciesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse> |
listEndpointPoliciesPagedCallable()
public UnaryCallable<ListEndpointPoliciesRequest,NetworkServicesClient.ListEndpointPoliciesPagedResponse> listEndpointPoliciesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesPagedResponse> |
listGatewaysCallable()
public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> |
listGatewaysPagedCallable()
public UnaryCallable<ListGatewaysRequest,NetworkServicesClient.ListGatewaysPagedResponse> listGatewaysPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGatewaysRequest,ListGatewaysPagedResponse> |
listGrpcRoutesCallable()
public UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesResponse> listGrpcRoutesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesResponse> |
listGrpcRoutesPagedCallable()
public UnaryCallable<ListGrpcRoutesRequest,NetworkServicesClient.ListGrpcRoutesPagedResponse> listGrpcRoutesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesPagedResponse> |
listHttpRoutesCallable()
public UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesResponse> listHttpRoutesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesResponse> |
listHttpRoutesPagedCallable()
public UnaryCallable<ListHttpRoutesRequest,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,NetworkServicesClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
listMeshesCallable()
public UnaryCallable<ListMeshesRequest,ListMeshesResponse> listMeshesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMeshesRequest,ListMeshesResponse> |
listMeshesPagedCallable()
public UnaryCallable<ListMeshesRequest,NetworkServicesClient.ListMeshesPagedResponse> listMeshesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListMeshesRequest,ListMeshesPagedResponse> |
listServiceBindingsCallable()
public UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse> listServiceBindingsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse> |
listServiceBindingsPagedCallable()
public UnaryCallable<ListServiceBindingsRequest,NetworkServicesClient.ListServiceBindingsPagedResponse> listServiceBindingsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsPagedResponse> |
listTcpRoutesCallable()
public UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesResponse> listTcpRoutesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesResponse> |
listTcpRoutesPagedCallable()
public UnaryCallable<ListTcpRoutesRequest,NetworkServicesClient.ListTcpRoutesPagedResponse> listTcpRoutesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesPagedResponse> |
listTlsRoutesCallable()
public UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesResponse> listTlsRoutesCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesResponse> |
listTlsRoutesPagedCallable()
public UnaryCallable<ListTlsRoutesRequest,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
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> |
updateEndpointPolicyCallable()
public UnaryCallable<UpdateEndpointPolicyRequest,Operation> updateEndpointPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateEndpointPolicyRequest,Operation> |
updateEndpointPolicyOperationCallable()
public OperationCallable<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> updateEndpointPolicyOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateEndpointPolicyRequest,EndpointPolicy,OperationMetadata> |
updateGatewayCallable()
public UnaryCallable<UpdateGatewayRequest,Operation> updateGatewayCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateGatewayRequest,Operation> |
updateGatewayOperationCallable()
public OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> updateGatewayOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateGatewayRequest,Gateway,OperationMetadata> |
updateGrpcRouteCallable()
public UnaryCallable<UpdateGrpcRouteRequest,Operation> updateGrpcRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateGrpcRouteRequest,Operation> |
updateGrpcRouteOperationCallable()
public OperationCallable<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata> updateGrpcRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateGrpcRouteRequest,GrpcRoute,OperationMetadata> |
updateHttpRouteCallable()
public UnaryCallable<UpdateHttpRouteRequest,Operation> updateHttpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateHttpRouteRequest,Operation> |
updateHttpRouteOperationCallable()
public OperationCallable<UpdateHttpRouteRequest,HttpRoute,OperationMetadata> updateHttpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateHttpRouteRequest,HttpRoute,OperationMetadata> |
updateMeshCallable()
public UnaryCallable<UpdateMeshRequest,Operation> updateMeshCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateMeshRequest,Operation> |
updateMeshOperationCallable()
public OperationCallable<UpdateMeshRequest,Mesh,OperationMetadata> updateMeshOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateMeshRequest,Mesh,OperationMetadata> |
updateTcpRouteCallable()
public UnaryCallable<UpdateTcpRouteRequest,Operation> updateTcpRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateTcpRouteRequest,Operation> |
updateTcpRouteOperationCallable()
public OperationCallable<UpdateTcpRouteRequest,TcpRoute,OperationMetadata> updateTcpRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateTcpRouteRequest,TcpRoute,OperationMetadata> |
updateTlsRouteCallable()
public UnaryCallable<UpdateTlsRouteRequest,Operation> updateTlsRouteCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateTlsRouteRequest,Operation> |
updateTlsRouteOperationCallable()
public OperationCallable<UpdateTlsRouteRequest,TlsRoute,OperationMetadata> updateTlsRouteOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateTlsRouteRequest,TlsRoute,OperationMetadata> |