Class RegistrationServiceGrpc.RegistrationServiceFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<RegistrationServiceGrpc.RegistrationServiceFutureStub>
com.google.cloud.servicedirectory.v1beta1.RegistrationServiceGrpc.RegistrationServiceFutureStub
- Enclosing class:
- RegistrationServiceGrpc
public static final class RegistrationServiceGrpc.RegistrationServiceFutureStub
extends io.grpc.stub.AbstractFutureStub<RegistrationServiceGrpc.RegistrationServiceFutureStub>
A stub to allow clients to do ListenableFuture-style 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) com.google.common.util.concurrent.ListenableFuture<Endpoint>createEndpoint(CreateEndpointRequest request) Creates an endpoint, and returns the new endpoint.com.google.common.util.concurrent.ListenableFuture<Namespace>createNamespace(CreateNamespaceRequest request) Creates a namespace, and returns the new namespace.com.google.common.util.concurrent.ListenableFuture<Service>createService(CreateServiceRequest request) Creates a service, and returns the new service.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteEndpoint(DeleteEndpointRequest request) Deletes an endpoint.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteNamespace(DeleteNamespaceRequest request) Deletes a namespace.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>deleteService(DeleteServiceRequest request) Deletes a service.com.google.common.util.concurrent.ListenableFuture<Endpoint>getEndpoint(GetEndpointRequest request) Gets an endpoint.com.google.common.util.concurrent.ListenableFuture<Policy>getIamPolicy(GetIamPolicyRequest request) Gets the IAM Policy for a resourcecom.google.common.util.concurrent.ListenableFuture<Namespace>getNamespace(GetNamespaceRequest request) Gets a namespace.com.google.common.util.concurrent.ListenableFuture<Service>getService(GetServiceRequest request) Gets a service.com.google.common.util.concurrent.ListenableFuture<ListEndpointsResponse>listEndpoints(ListEndpointsRequest request) Lists all endpoints.com.google.common.util.concurrent.ListenableFuture<ListNamespacesResponse>listNamespaces(ListNamespacesRequest request) Lists all namespaces.com.google.common.util.concurrent.ListenableFuture<ListServicesResponse>listServices(ListServicesRequest request) Lists all services belonging to a namespace.com.google.common.util.concurrent.ListenableFuture<Policy>setIamPolicy(SetIamPolicyRequest request) Sets the IAM Policy for a resourcecom.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse>Tests IAM permissions for a resource (namespace, service or service workload only).com.google.common.util.concurrent.ListenableFuture<Endpoint>updateEndpoint(UpdateEndpointRequest request) Updates an endpoint.com.google.common.util.concurrent.ListenableFuture<Namespace>updateNamespace(UpdateNamespaceRequest request) Updates a namespace.com.google.common.util.concurrent.ListenableFuture<Service>updateService(UpdateServiceRequest request) Updates a service.Methods inherited from class io.grpc.stub.AbstractFutureStub
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.RegistrationServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<RegistrationServiceGrpc.RegistrationServiceFutureStub>
-
createNamespace
public com.google.common.util.concurrent.ListenableFuture<Namespace> createNamespace(CreateNamespaceRequest request) Creates a namespace, and returns the new namespace.
-
listNamespaces
public com.google.common.util.concurrent.ListenableFuture<ListNamespacesResponse> listNamespaces(ListNamespacesRequest request) Lists all namespaces.
-
getNamespace
public com.google.common.util.concurrent.ListenableFuture<Namespace> getNamespace(GetNamespaceRequest request) Gets a namespace.
-
updateNamespace
public com.google.common.util.concurrent.ListenableFuture<Namespace> updateNamespace(UpdateNamespaceRequest request) Updates a namespace.
-
deleteNamespace
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteNamespace(DeleteNamespaceRequest request) Deletes a namespace. This also deletes all services and endpoints in the namespace.
-
createService
public com.google.common.util.concurrent.ListenableFuture<Service> createService(CreateServiceRequest request) Creates a service, and returns the new service.
-
listServices
public com.google.common.util.concurrent.ListenableFuture<ListServicesResponse> listServices(ListServicesRequest request) Lists all services belonging to a namespace.
-
getService
public com.google.common.util.concurrent.ListenableFuture<Service> getService(GetServiceRequest request) Gets a service.
-
updateService
public com.google.common.util.concurrent.ListenableFuture<Service> updateService(UpdateServiceRequest request) Updates a service.
-
deleteService
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteService(DeleteServiceRequest request) Deletes a service. This also deletes all endpoints associated with the service.
-
createEndpoint
public com.google.common.util.concurrent.ListenableFuture<Endpoint> createEndpoint(CreateEndpointRequest request) Creates an endpoint, and returns the new endpoint.
-
listEndpoints
public com.google.common.util.concurrent.ListenableFuture<ListEndpointsResponse> listEndpoints(ListEndpointsRequest request) Lists all endpoints.
-
getEndpoint
public com.google.common.util.concurrent.ListenableFuture<Endpoint> getEndpoint(GetEndpointRequest request) Gets an endpoint.
-
updateEndpoint
public com.google.common.util.concurrent.ListenableFuture<Endpoint> updateEndpoint(UpdateEndpointRequest request) Updates an endpoint.
-
deleteEndpoint
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deleteEndpoint(DeleteEndpointRequest request) Deletes an endpoint.
-
getIamPolicy
public com.google.common.util.concurrent.ListenableFuture<Policy> getIamPolicy(GetIamPolicyRequest request) Gets the IAM Policy for a resource
-
setIamPolicy
public com.google.common.util.concurrent.ListenableFuture<Policy> setIamPolicy(SetIamPolicyRequest request) Sets the IAM Policy for a resource
-
testIamPermissions
public com.google.common.util.concurrent.ListenableFuture<TestIamPermissionsResponse> testIamPermissions(TestIamPermissionsRequest request) Tests IAM permissions for a resource (namespace, service or service workload only).
-