public class GrpcServiceCallableFactoryClassComposer extends AbstractServiceCallableFactoryClassComposer
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcServiceCallableFactoryClassComposer() |
| Modifier and Type | Method and Description |
|---|---|
protected List<TypeNode> |
createClassImplements(Service service,
TypeStore typeStore)
Construct the type to be implemented by the generated callable factory.
|
protected List<MethodDefinition> |
createClassMethods(Service service,
TypeStore typeStore) |
protected MethodDefinition |
createOperationCallableMethod(Service service,
TypeStore typeStore) |
protected MethodDefinition |
createPagedCallableMethod(Service service,
TypeStore typeStore) |
protected MethodDefinition |
createUnaryCallableMethod(Service service,
TypeStore typeStore) |
static GrpcServiceCallableFactoryClassComposer |
instance() |
createBatchingCallableMethod, createClassAnnotations, createGenericCallableMethod, createGenericCallableMethod, createServerStreamingCallableMethod, generate, getOperationsStubType, getTransportContextprotected GrpcServiceCallableFactoryClassComposer()
public static GrpcServiceCallableFactoryClassComposer instance()
protected List<TypeNode> createClassImplements(Service service, TypeStore typeStore)
AbstractServiceCallableFactoryClassComposercreateClassImplements in class AbstractServiceCallableFactoryClassComposertypeStore - type store with common typesTypeNode containing the interface to be implemented by the generated callable
factory class.protected List<MethodDefinition> createClassMethods(Service service, TypeStore typeStore)
createClassMethods in class AbstractServiceCallableFactoryClassComposerprotected MethodDefinition createUnaryCallableMethod(Service service, TypeStore typeStore)
createUnaryCallableMethod in class AbstractServiceCallableFactoryClassComposerprotected MethodDefinition createPagedCallableMethod(Service service, TypeStore typeStore)
createPagedCallableMethod in class AbstractServiceCallableFactoryClassComposerprotected MethodDefinition createOperationCallableMethod(Service service, TypeStore typeStore)
createOperationCallableMethod in class AbstractServiceCallableFactoryClassComposerCopyright © 2022 Google LLC. All rights reserved.