Class RegistrationServiceGrpc (2.30.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
TypeDescription
String

Static Methods

bindService(RegistrationServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(RegistrationServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceRegistrationServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateEndpointMethod()

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

getCreateNamespaceMethod()

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

getCreateServiceMethod()

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

getDeleteEndpointMethod()

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

getDeleteNamespaceMethod()

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

getDeleteServiceMethod()

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

getGetEndpointMethod()

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

getGetIamPolicyMethod()

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

getGetNamespaceMethod()

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

getGetServiceMethod()

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

getListEndpointsMethod()

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

getListNamespacesMethod()

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

getListServicesMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

getUpdateEndpointMethod()

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

getUpdateNamespaceMethod()

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

getUpdateServiceMethod()

public static MethodDescriptor<UpdateServiceRequest,Service> getUpdateServiceMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
RegistrationServiceGrpc.RegistrationServiceStub