Class RegistrationServiceGrpc.RegistrationServiceBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
-
- com.google.cloud.servicedirectory.v1.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 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.v1.Namespace] resources, named `projects/*/locations/*/namespaces/*`. - Each Namespace has a collection of [Service][google.cloud.servicedirectory.v1.Service] resources, named `projects/*/locations/*/namespaces/*/services/*`. - Each Service has a collection of [Endpoint][google.cloud.servicedirectory.v1.Endpoint] resources, named `projects/*/locations/*/namespaces/*/services/*/endpoints/*`.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RegistrationServiceGrpc.RegistrationServiceBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
Endpoint
createEndpoint(CreateEndpointRequest request)
Creates an endpoint, and returns the new endpoint.Namespace
createNamespace(CreateNamespaceRequest request)
Creates a namespace, and returns the new namespace.Service
createService(CreateServiceRequest request)
Creates a service, and returns the new service.com.google.protobuf.Empty
deleteEndpoint(DeleteEndpointRequest request)
Deletes an endpoint.com.google.protobuf.Empty
deleteNamespace(DeleteNamespaceRequest request)
Deletes a namespace.com.google.protobuf.Empty
deleteService(DeleteServiceRequest request)
Deletes a service.Endpoint
getEndpoint(GetEndpointRequest request)
Gets an endpoint.com.google.iam.v1.Policy
getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Policy for a resource (namespace or service only).Namespace
getNamespace(GetNamespaceRequest request)
Gets a namespace.Service
getService(GetServiceRequest request)
Gets a service.ListEndpointsResponse
listEndpoints(ListEndpointsRequest request)
Lists all endpoints.ListNamespacesResponse
listNamespaces(ListNamespacesRequest request)
Lists all namespaces.ListServicesResponse
listServices(ListServicesRequest request)
Lists all services belonging to a namespace.com.google.iam.v1.Policy
setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Policy for a resource (namespace or service only).com.google.iam.v1.TestIamPermissionsResponse
testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Tests IAM permissions for a resource (namespace or service only).Endpoint
updateEndpoint(UpdateEndpointRequest request)
Updates an endpoint.Namespace
updateNamespace(UpdateNamespaceRequest request)
Updates a namespace.Service
updateService(UpdateServiceRequest request)
Updates a service.
-
-
-
Method Detail
-
build
protected RegistrationServiceGrpc.RegistrationServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<RegistrationServiceGrpc.RegistrationServiceBlockingStub>
-
createNamespace
public Namespace createNamespace(CreateNamespaceRequest request)
Creates a namespace, and returns the new namespace.
-
listNamespaces
public ListNamespacesResponse listNamespaces(ListNamespacesRequest request)
Lists all namespaces.
-
getNamespace
public Namespace getNamespace(GetNamespaceRequest request)
Gets a namespace.
-
updateNamespace
public Namespace updateNamespace(UpdateNamespaceRequest request)
Updates a namespace.
-
deleteNamespace
public com.google.protobuf.Empty deleteNamespace(DeleteNamespaceRequest request)
Deletes a namespace. This also deletes all services and endpoints in the namespace.
-
createService
public Service createService(CreateServiceRequest request)
Creates a service, and returns the new service.
-
listServices
public ListServicesResponse listServices(ListServicesRequest request)
Lists all services belonging to a namespace.
-
getService
public Service getService(GetServiceRequest request)
Gets a service.
-
updateService
public Service updateService(UpdateServiceRequest request)
Updates a service.
-
deleteService
public com.google.protobuf.Empty deleteService(DeleteServiceRequest request)
Deletes a service. This also deletes all endpoints associated with the service.
-
createEndpoint
public Endpoint createEndpoint(CreateEndpointRequest request)
Creates an endpoint, and returns the new endpoint.
-
listEndpoints
public ListEndpointsResponse listEndpoints(ListEndpointsRequest request)
Lists all endpoints.
-
getEndpoint
public Endpoint getEndpoint(GetEndpointRequest request)
Gets an endpoint.
-
updateEndpoint
public Endpoint updateEndpoint(UpdateEndpointRequest request)
Updates an endpoint.
-
deleteEndpoint
public com.google.protobuf.Empty deleteEndpoint(DeleteEndpointRequest request)
Deletes an endpoint.
-
getIamPolicy
public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request)
Gets the IAM Policy for a resource (namespace or service only).
-
setIamPolicy
public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request)
Sets the IAM Policy for a resource (namespace or service only).
-
testIamPermissions
public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request)
Tests IAM permissions for a resource (namespace or service only).
-
-