- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.2.7
public class HttpJsonRegistrationServiceStub extends RegistrationServiceStub
REST stub implementation for the RegistrationService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonRegistrationServiceStub create(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Type | Description |
HttpJsonRegistrationServiceStub |
Type | Description |
IOException |
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonRegistrationServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Name | Description |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Type | Description |
HttpJsonRegistrationServiceStub |
Type | Description |
IOException |
create(RegistrationServiceStubSettings settings)
public static final HttpJsonRegistrationServiceStub create(RegistrationServiceStubSettings settings)
Name | Description |
settings | RegistrationServiceStubSettings |
Type | Description |
HttpJsonRegistrationServiceStub |
Type | Description |
IOException |
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Type | Description |
List<ApiMethodDescriptor> |
Constructors
HttpJsonRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext)
protected HttpJsonRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonRegistrationServiceStub, 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.
Name | Description |
settings | RegistrationServiceStubSettings |
clientContext | ClientContext |
HttpJsonRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonRegistrationServiceStub, 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.
Name | Description |
settings | RegistrationServiceStubSettings |
clientContext | ClientContext |
callableFactory | HttpJsonStubCallableFactory |
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Name | Description |
duration | long |
unit | TimeUnit |
Type | Description |
boolean |
Type | Description |
InterruptedException |
close()
public final void close()
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Endpoint> createEndpointCallable()
Type | Description |
UnaryCallable<CreateEndpointRequest,Endpoint> |
createNamespaceCallable()
public UnaryCallable<CreateNamespaceRequest,Namespace> createNamespaceCallable()
Type | Description |
UnaryCallable<CreateNamespaceRequest,Namespace> |
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Type | Description |
UnaryCallable<CreateServiceRequest,Service> |
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Empty> deleteEndpointCallable()
Type | Description |
UnaryCallable<DeleteEndpointRequest,Empty> |
deleteNamespaceCallable()
public UnaryCallable<DeleteNamespaceRequest,Empty> deleteNamespaceCallable()
Type | Description |
UnaryCallable<DeleteNamespaceRequest,Empty> |
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Type | Description |
UnaryCallable<DeleteServiceRequest,Empty> |
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Type | Description |
UnaryCallable<GetEndpointRequest,Endpoint> |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getNamespaceCallable()
public UnaryCallable<GetNamespaceRequest,Namespace> getNamespaceCallable()
Type | Description |
UnaryCallable<GetNamespaceRequest,Namespace> |
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Type | Description |
UnaryCallable<GetServiceRequest,Service> |
isShutdown()
public boolean isShutdown()
Type | Description |
boolean |
isTerminated()
public boolean isTerminated()
Type | Description |
boolean |
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Type | Description |
UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> |
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,RegistrationServiceClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Type | Description |
UnaryCallable<ListEndpointsRequest,ListEndpointsPagedResponse> |
listNamespacesCallable()
public UnaryCallable<ListNamespacesRequest,ListNamespacesResponse> listNamespacesCallable()
Type | Description |
UnaryCallable<ListNamespacesRequest,ListNamespacesResponse> |
listNamespacesPagedCallable()
public UnaryCallable<ListNamespacesRequest,RegistrationServiceClient.ListNamespacesPagedResponse> listNamespacesPagedCallable()
Type | Description |
UnaryCallable<ListNamespacesRequest,ListNamespacesPagedResponse> |
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesResponse> |
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,RegistrationServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Type | Description |
UnaryCallable<ListServicesRequest,ListServicesPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
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()
Type | Description |
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
updateEndpointCallable()
public UnaryCallable<UpdateEndpointRequest,Endpoint> updateEndpointCallable()
Type | Description |
UnaryCallable<UpdateEndpointRequest,Endpoint> |
updateNamespaceCallable()
public UnaryCallable<UpdateNamespaceRequest,Namespace> updateNamespaceCallable()
Type | Description |
UnaryCallable<UpdateNamespaceRequest,Namespace> |
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Type | Description |
UnaryCallable<UpdateServiceRequest,Service> |