Class HttpJsonNetworkServicesStub (0.3.0)

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.

Inheritance

java.lang.Object > NetworkServicesStub > HttpJsonNetworkServicesStub

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()
Overrides

createEndpointPolicyCallable()

public UnaryCallable<CreateEndpointPolicyRequest,Operation> createEndpointPolicyCallable()
Returns
Type Description
UnaryCallable<CreateEndpointPolicyRequest,Operation>
Overrides

createEndpointPolicyOperationCallable()

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

createGatewayCallable()

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

createGatewayOperationCallable()

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

createGrpcRouteCallable()

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

createGrpcRouteOperationCallable()

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

createHttpRouteCallable()

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

createHttpRouteOperationCallable()

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

createMeshCallable()

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

createMeshOperationCallable()

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

createServiceBindingCallable()

public UnaryCallable<CreateServiceBindingRequest,Operation> createServiceBindingCallable()
Returns
Type Description
UnaryCallable<CreateServiceBindingRequest,Operation>
Overrides

createServiceBindingOperationCallable()

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

createTcpRouteCallable()

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

createTcpRouteOperationCallable()

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

createTlsRouteCallable()

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

createTlsRouteOperationCallable()

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

deleteEndpointPolicyCallable()

public UnaryCallable<DeleteEndpointPolicyRequest,Operation> deleteEndpointPolicyCallable()
Returns
Type Description
UnaryCallable<DeleteEndpointPolicyRequest,Operation>
Overrides

deleteEndpointPolicyOperationCallable()

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

deleteGatewayCallable()

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

deleteGatewayOperationCallable()

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

deleteGrpcRouteCallable()

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

deleteGrpcRouteOperationCallable()

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

deleteHttpRouteCallable()

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

deleteHttpRouteOperationCallable()

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

deleteMeshCallable()

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

deleteMeshOperationCallable()

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

deleteServiceBindingCallable()

public UnaryCallable<DeleteServiceBindingRequest,Operation> deleteServiceBindingCallable()
Returns
Type Description
UnaryCallable<DeleteServiceBindingRequest,Operation>
Overrides

deleteServiceBindingOperationCallable()

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

deleteTcpRouteCallable()

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

deleteTcpRouteOperationCallable()

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

deleteTlsRouteCallable()

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

deleteTlsRouteOperationCallable()

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

getEndpointPolicyCallable()

public UnaryCallable<GetEndpointPolicyRequest,EndpointPolicy> getEndpointPolicyCallable()
Returns
Type Description
UnaryCallable<GetEndpointPolicyRequest,EndpointPolicy>
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

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
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

getServiceBindingCallable()

public UnaryCallable<GetServiceBindingRequest,ServiceBinding> getServiceBindingCallable()
Returns
Type Description
UnaryCallable<GetServiceBindingRequest,ServiceBinding>
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()
Returns
Type Description
UnaryCallable<ListEndpointPoliciesRequest,ListEndpointPoliciesResponse>
Overrides

listEndpointPoliciesPagedCallable()

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

listGatewaysCallable()

public UnaryCallable<ListGatewaysRequest,ListGatewaysResponse> listGatewaysCallable()
Returns
Type Description
UnaryCallable<ListGatewaysRequest,ListGatewaysResponse>
Overrides

listGatewaysPagedCallable()

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

listGrpcRoutesCallable()

public UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesResponse> listGrpcRoutesCallable()
Returns
Type Description
UnaryCallable<ListGrpcRoutesRequest,ListGrpcRoutesResponse>
Overrides

listGrpcRoutesPagedCallable()

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

listHttpRoutesCallable()

public UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesResponse> listHttpRoutesCallable()
Returns
Type Description
UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesResponse>
Overrides

listHttpRoutesPagedCallable()

public UnaryCallable<ListHttpRoutesRequest,NetworkServicesClient.ListHttpRoutesPagedResponse> listHttpRoutesPagedCallable()
Returns
Type Description
UnaryCallable<ListHttpRoutesRequest,ListHttpRoutesPagedResponse>
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()
Returns
Type Description
UnaryCallable<ListMeshesRequest,ListMeshesResponse>
Overrides

listMeshesPagedCallable()

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

listServiceBindingsCallable()

public UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse> listServiceBindingsCallable()
Returns
Type Description
UnaryCallable<ListServiceBindingsRequest,ListServiceBindingsResponse>
Overrides

listServiceBindingsPagedCallable()

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

listTcpRoutesCallable()

public UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesResponse> listTcpRoutesCallable()
Returns
Type Description
UnaryCallable<ListTcpRoutesRequest,ListTcpRoutesResponse>
Overrides

listTcpRoutesPagedCallable()

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

listTlsRoutesCallable()

public UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesResponse> listTlsRoutesCallable()
Returns
Type Description
UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesResponse>
Overrides

listTlsRoutesPagedCallable()

public UnaryCallable<ListTlsRoutesRequest,NetworkServicesClient.ListTlsRoutesPagedResponse> listTlsRoutesPagedCallable()
Returns
Type Description
UnaryCallable<ListTlsRoutesRequest,ListTlsRoutesPagedResponse>
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()
Returns
Type Description
UnaryCallable<UpdateEndpointPolicyRequest,Operation>
Overrides

updateEndpointPolicyOperationCallable()

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

updateGatewayCallable()

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

updateGatewayOperationCallable()

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

updateGrpcRouteCallable()

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

updateGrpcRouteOperationCallable()

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

updateHttpRouteCallable()

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

updateHttpRouteOperationCallable()

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

updateMeshCallable()

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

updateMeshOperationCallable()

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

updateTcpRouteCallable()

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

updateTcpRouteOperationCallable()

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

updateTlsRouteCallable()

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

updateTlsRouteOperationCallable()

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