Class RegistrationServiceGrpc (2.56.0)

public final class RegistrationServiceGrpc

Service Directory API for registering services. It defines the following resource model:

  • The API has a collection of Namespace resources, named projects/*/locations/*/namespaces/*.
  • Each Namespace has a collection of Service resources, named projects/*/locations/*/namespaces/*/services/*.
  • Each Service has a collection of Endpoint resources, named projects/*/locations/*/namespaces/*/services/*/endpoints/*.

Inheritance

java.lang.Object > RegistrationServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(RegistrationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(RegistrationServiceGrpc.AsyncService service)
Parameter
Name Description
service RegistrationServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateEndpointMethod()

public static MethodDescriptor<CreateEndpointRequest,Endpoint> getCreateEndpointMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateEndpointRequest,Endpoint>

getCreateNamespaceMethod()

public static MethodDescriptor<CreateNamespaceRequest,Namespace> getCreateNamespaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateNamespaceRequest,Namespace>

getCreateServiceMethod()

public static MethodDescriptor<CreateServiceRequest,Service> getCreateServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateServiceRequest,Service>

getDeleteEndpointMethod()

public static MethodDescriptor<DeleteEndpointRequest,Empty> getDeleteEndpointMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteEndpointRequest,Empty>

getDeleteNamespaceMethod()

public static MethodDescriptor<DeleteNamespaceRequest,Empty> getDeleteNamespaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteNamespaceRequest,Empty>

getDeleteServiceMethod()

public static MethodDescriptor<DeleteServiceRequest,Empty> getDeleteServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteServiceRequest,Empty>

getGetEndpointMethod()

public static MethodDescriptor<GetEndpointRequest,Endpoint> getGetEndpointMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetEndpointRequest,Endpoint>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getGetNamespaceMethod()

public static MethodDescriptor<GetNamespaceRequest,Namespace> getGetNamespaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetNamespaceRequest,Namespace>

getGetServiceMethod()

public static MethodDescriptor<GetServiceRequest,Service> getGetServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetServiceRequest,Service>

getListEndpointsMethod()

public static MethodDescriptor<ListEndpointsRequest,ListEndpointsResponse> getListEndpointsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListEndpointsRequest,ListEndpointsResponse>

getListNamespacesMethod()

public static MethodDescriptor<ListNamespacesRequest,ListNamespacesResponse> getListNamespacesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListNamespacesRequest,ListNamespacesResponse>

getListServicesMethod()

public static MethodDescriptor<ListServicesRequest,ListServicesResponse> getListServicesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListServicesRequest,ListServicesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateEndpointMethod()

public static MethodDescriptor<UpdateEndpointRequest,Endpoint> getUpdateEndpointMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateEndpointRequest,Endpoint>

getUpdateNamespaceMethod()

public static MethodDescriptor<UpdateNamespaceRequest,Namespace> getUpdateNamespaceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateNamespaceRequest,Namespace>

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Service> getUpdateServiceMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateServiceRequest,Service>

newBlockingStub(Channel channel)

public static RegistrationServiceGrpc.RegistrationServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
RegistrationServiceGrpc.RegistrationServiceBlockingStub

newFutureStub(Channel channel)

public static RegistrationServiceGrpc.RegistrationServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
RegistrationServiceGrpc.RegistrationServiceFutureStub

newStub(Channel channel)

public static RegistrationServiceGrpc.RegistrationServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
RegistrationServiceGrpc.RegistrationServiceStub