Class RegistrationServiceGrpc
java.lang.Object
com.google.cloud.servicedirectory.v1beta1.RegistrationServiceGrpc
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 ClassesModifier and TypeClassDescriptionstatic interfaceService Directory API for registering services.static final classA stub to allow clients to do limited synchronous rpc calls to service RegistrationService.static final classA stub to allow clients to do synchronous rpc calls to service RegistrationService.static final classA stub to allow clients to do ListenableFuture-style rpc calls to service RegistrationService.static classBase class for the server implementation of the service RegistrationService.static final classA stub to allow clients to do asynchronous rpc calls to service RegistrationService. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic final io.grpc.ServerServiceDefinitionstatic io.grpc.MethodDescriptor<CreateEndpointRequest,Endpoint> static io.grpc.MethodDescriptor<CreateNamespaceRequest,Namespace> static io.grpc.MethodDescriptor<CreateServiceRequest,Service> static io.grpc.MethodDescriptor<DeleteEndpointRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteNamespaceRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<DeleteServiceRequest,com.google.protobuf.Empty> static io.grpc.MethodDescriptor<GetEndpointRequest,Endpoint> static io.grpc.MethodDescriptor<GetIamPolicyRequest,Policy> static io.grpc.MethodDescriptor<GetNamespaceRequest,Namespace> static io.grpc.MethodDescriptor<GetServiceRequest,Service> static io.grpc.MethodDescriptor<ListEndpointsRequest,ListEndpointsResponse> static io.grpc.MethodDescriptor<ListNamespacesRequest,ListNamespacesResponse> static io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse> static io.grpc.ServiceDescriptorstatic io.grpc.MethodDescriptor<SetIamPolicyRequest,Policy> static io.grpc.MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> static io.grpc.MethodDescriptor<UpdateEndpointRequest,Endpoint> static io.grpc.MethodDescriptor<UpdateNamespaceRequest,Namespace> static io.grpc.MethodDescriptor<UpdateServiceRequest,Service> newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the servicenewBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the servicenewFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the servicenewStub(io.grpc.Channel channel) Creates a new async stub that supports all call types for the service
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
getCreateNamespaceMethod
-
getListNamespacesMethod
public static io.grpc.MethodDescriptor<ListNamespacesRequest,ListNamespacesResponse> getListNamespacesMethod() -
getGetNamespaceMethod
-
getUpdateNamespaceMethod
-
getDeleteNamespaceMethod
public static io.grpc.MethodDescriptor<DeleteNamespaceRequest,com.google.protobuf.Empty> getDeleteNamespaceMethod() -
getCreateServiceMethod
-
getListServicesMethod
public static io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod() -
getGetServiceMethod
-
getUpdateServiceMethod
-
getDeleteServiceMethod
public static io.grpc.MethodDescriptor<DeleteServiceRequest,com.google.protobuf.Empty> getDeleteServiceMethod() -
getCreateEndpointMethod
-
getListEndpointsMethod
public static io.grpc.MethodDescriptor<ListEndpointsRequest,ListEndpointsResponse> getListEndpointsMethod() -
getGetEndpointMethod
-
getUpdateEndpointMethod
-
getDeleteEndpointMethod
public static io.grpc.MethodDescriptor<DeleteEndpointRequest,com.google.protobuf.Empty> getDeleteEndpointMethod() -
getGetIamPolicyMethod
-
getSetIamPolicyMethod
-
getTestIamPermissionsMethod
public static io.grpc.MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod() -
newStub
Creates a new async stub that supports all call types for the service -
newBlockingV2Stub
public static RegistrationServiceGrpc.RegistrationServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) Creates a new blocking-style stub that supports all types of calls on the service -
newBlockingStub
public static RegistrationServiceGrpc.RegistrationServiceBlockingStub newBlockingStub(io.grpc.Channel channel) Creates a new blocking-style stub that supports unary and streaming output calls on the service -
newFutureStub
public static RegistrationServiceGrpc.RegistrationServiceFutureStub newFutureStub(io.grpc.Channel channel) Creates a new ListenableFuture-style stub that supports unary calls on the service -
bindService
public static final io.grpc.ServerServiceDefinition bindService(RegistrationServiceGrpc.AsyncService service) -
getServiceDescriptor
public static io.grpc.ServiceDescriptor getServiceDescriptor()
-