Class RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub>
com.google.cloud.servicedirectory.v1beta1.RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub
- Enclosing class:
- RegistrationServiceGrpc
public static final class RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub
extends io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub>
A stub to allow clients to do 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.RegistrationServiceBlockingV2Stub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub>
-
createNamespace
Creates a namespace, and returns the new namespace.
- Throws:
io.grpc.StatusException
-
listNamespaces
public ListNamespacesResponse listNamespaces(ListNamespacesRequest request) throws io.grpc.StatusException Lists all namespaces.
- Throws:
io.grpc.StatusException
-
getNamespace
Gets a namespace.
- Throws:
io.grpc.StatusException
-
updateNamespace
Updates a namespace.
- Throws:
io.grpc.StatusException
-
deleteNamespace
public com.google.protobuf.Empty deleteNamespace(DeleteNamespaceRequest request) throws io.grpc.StatusException Deletes a namespace. This also deletes all services and endpoints in the namespace.
- Throws:
io.grpc.StatusException
-
createService
Creates a service, and returns the new service.
- Throws:
io.grpc.StatusException
-
listServices
public ListServicesResponse listServices(ListServicesRequest request) throws io.grpc.StatusException Lists all services belonging to a namespace.
- Throws:
io.grpc.StatusException
-
getService
Gets a service.
- Throws:
io.grpc.StatusException
-
updateService
Updates a service.
- Throws:
io.grpc.StatusException
-
deleteService
public com.google.protobuf.Empty deleteService(DeleteServiceRequest request) throws io.grpc.StatusException Deletes a service. This also deletes all endpoints associated with the service.
- Throws:
io.grpc.StatusException
-
createEndpoint
Creates an endpoint, and returns the new endpoint.
- Throws:
io.grpc.StatusException
-
listEndpoints
public ListEndpointsResponse listEndpoints(ListEndpointsRequest request) throws io.grpc.StatusException Lists all endpoints.
- Throws:
io.grpc.StatusException
-
getEndpoint
Gets an endpoint.
- Throws:
io.grpc.StatusException
-
updateEndpoint
Updates an endpoint.
- Throws:
io.grpc.StatusException
-
deleteEndpoint
public com.google.protobuf.Empty deleteEndpoint(DeleteEndpointRequest request) throws io.grpc.StatusException Deletes an endpoint.
- Throws:
io.grpc.StatusException
-
getIamPolicy
Gets the IAM Policy for a resource
- Throws:
io.grpc.StatusException
-
setIamPolicy
Sets the IAM Policy for a resource
- Throws:
io.grpc.StatusException
-
testIamPermissions
public TestIamPermissionsResponse testIamPermissions(TestIamPermissionsRequest request) throws io.grpc.StatusException Tests IAM permissions for a resource (namespace, service or service workload only).
- Throws:
io.grpc.StatusException
-