Class RegistrationServiceGrpc.RegistrationServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
com.google.cloud.servicedirectory.v1beta1.RegistrationServiceGrpc.RegistrationServiceBlockingStub
- Enclosing class:
- RegistrationServiceGrpc
public static final class RegistrationServiceGrpc.RegistrationServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
A stub to allow clients to do limited synchronous rpc calls to service RegistrationService.
Service Directory API for registering services. It defines the following resource model: - The API has a collection of [Namespace][google.cloud.servicedirectory.v1beta1.Namespace] resources, named `projects/*/locations/*/namespaces/*`. - Each Namespace has a collection of [Service][google.cloud.servicedirectory.v1beta1.Service] resources, named `projects/*/locations/*/namespaces/*/services/*`. - Each Service has a collection of [Endpoint][google.cloud.servicedirectory.v1beta1.Endpoint] resources, named `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) createEndpoint(CreateEndpointRequest request) Creates an endpoint, and returns the new endpoint.createNamespace(CreateNamespaceRequest request) Creates a namespace, and returns the new namespace.createService(CreateServiceRequest request) Creates a service, and returns the new service.com.google.protobuf.EmptydeleteEndpoint(DeleteEndpointRequest request) Deletes an endpoint.com.google.protobuf.EmptydeleteNamespace(DeleteNamespaceRequest request) Deletes a namespace.com.google.protobuf.EmptydeleteService(DeleteServiceRequest request) Deletes a service.getEndpoint(GetEndpointRequest request) Gets an endpoint.getIamPolicy(GetIamPolicyRequest request) Gets the IAM Policy for a resourcegetNamespace(GetNamespaceRequest request) Gets a namespace.getService(GetServiceRequest request) Gets a service.listEndpoints(ListEndpointsRequest request) Lists all endpoints.listNamespaces(ListNamespacesRequest request) Lists all namespaces.listServices(ListServicesRequest request) Lists all services belonging to a namespace.setIamPolicy(SetIamPolicyRequest request) Sets the IAM Policy for a resourceTests IAM permissions for a resource (namespace, service or service workload only).updateEndpoint(UpdateEndpointRequest request) Updates an endpoint.updateNamespace(UpdateNamespaceRequest request) Updates a namespace.updateService(UpdateServiceRequest request) Updates a service.Methods inherited from class io.grpc.stub.AbstractBlockingStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected RegistrationServiceGrpc.RegistrationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
-
createNamespace
Creates a namespace, and returns the new namespace.
-
listNamespaces
Lists all namespaces.
-
getNamespace
Gets a namespace.
-
updateNamespace
Updates a namespace.
-
deleteNamespace
Deletes a namespace. This also deletes all services and endpoints in the namespace.
-
createService
Creates a service, and returns the new service.
-
listServices
Lists all services belonging to a namespace.
-
getService
Gets a service.
-
updateService
Updates a service.
-
deleteService
Deletes a service. This also deletes all endpoints associated with the service.
-
createEndpoint
Creates an endpoint, and returns the new endpoint.
-
listEndpoints
Lists all endpoints.
-
getEndpoint
Gets an endpoint.
-
updateEndpoint
Updates an endpoint.
-
deleteEndpoint
Deletes an endpoint.
-
getIamPolicy
Gets the IAM Policy for a resource
-
setIamPolicy
Sets the IAM Policy for a resource
-
testIamPermissions
Tests IAM permissions for a resource (namespace, service or service workload only).
-