public class GrpcRegistrationServiceStub extends RegistrationServiceStub
gRPC 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 GrpcRegistrationServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcRegistrationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(RegistrationServiceStubSettings settings)
public static final GrpcRegistrationServiceStub create(RegistrationServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext)
protected GrpcRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcRegistrationServiceStub, 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
GrpcRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcRegistrationServiceStub(RegistrationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcRegistrationServiceStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createEndpointCallable()
public UnaryCallable<CreateEndpointRequest,Endpoint> createEndpointCallable()
Returns
Overrides
createNamespaceCallable()
public UnaryCallable<CreateNamespaceRequest,Namespace> createNamespaceCallable()
Returns
Overrides
createServiceCallable()
public UnaryCallable<CreateServiceRequest,Service> createServiceCallable()
Returns
Overrides
deleteEndpointCallable()
public UnaryCallable<DeleteEndpointRequest,Empty> deleteEndpointCallable()
Returns
Overrides
deleteNamespaceCallable()
public UnaryCallable<DeleteNamespaceRequest,Empty> deleteNamespaceCallable()
Returns
Overrides
deleteServiceCallable()
public UnaryCallable<DeleteServiceRequest,Empty> deleteServiceCallable()
Returns
Overrides
getEndpointCallable()
public UnaryCallable<GetEndpointRequest,Endpoint> getEndpointCallable()
Returns
Overrides
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
Overrides
getNamespaceCallable()
public UnaryCallable<GetNamespaceRequest,Namespace> getNamespaceCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
getServiceCallable()
public UnaryCallable<GetServiceRequest,Service> getServiceCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listEndpointsCallable()
public UnaryCallable<ListEndpointsRequest,ListEndpointsResponse> listEndpointsCallable()
Returns
Overrides
listEndpointsPagedCallable()
public UnaryCallable<ListEndpointsRequest,RegistrationServiceClient.ListEndpointsPagedResponse> listEndpointsPagedCallable()
Returns
Overrides
listNamespacesCallable()
public UnaryCallable<ListNamespacesRequest,ListNamespacesResponse> listNamespacesCallable()
Returns
Overrides
listNamespacesPagedCallable()
public UnaryCallable<ListNamespacesRequest,RegistrationServiceClient.ListNamespacesPagedResponse> listNamespacesPagedCallable()
Returns
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
Returns
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest,RegistrationServiceClient.ListServicesPagedResponse> listServicesPagedCallable()
Returns
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
updateEndpointCallable()
public UnaryCallable<UpdateEndpointRequest,Endpoint> updateEndpointCallable()
Returns
Overrides
updateNamespaceCallable()
public UnaryCallable<UpdateNamespaceRequest,Namespace> updateNamespaceCallable()
Returns
Overrides
updateServiceCallable()
public UnaryCallable<UpdateServiceRequest,Service> updateServiceCallable()
Returns
Overrides