Class GrpcServiceCallableFactoryClassComposer
- java.lang.Object
-
- com.google.api.generator.gapic.composer.common.AbstractServiceCallableFactoryClassComposer
-
- com.google.api.generator.gapic.composer.grpc.GrpcServiceCallableFactoryClassComposer
-
- All Implemented Interfaces:
ClassComposer
public class GrpcServiceCallableFactoryClassComposer extends AbstractServiceCallableFactoryClassComposer
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGrpcServiceCallableFactoryClassComposer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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 MethodDefinitioncreateOperationCallableMethod(Service service, TypeStore typeStore)protected MethodDefinitioncreatePagedCallableMethod(Service service, TypeStore typeStore)protected MethodDefinitioncreateUnaryCallableMethod(Service service, TypeStore typeStore)static GrpcServiceCallableFactoryClassComposerinstance()-
Methods inherited from class com.google.api.generator.gapic.composer.common.AbstractServiceCallableFactoryClassComposer
createBatchingCallableMethod, createClassAnnotations, createGenericCallableMethod, createGenericCallableMethod, createServerStreamingCallableMethod, generate, getOperationsStubType, getTransportContext
-
-
-
-
Method Detail
-
instance
public static GrpcServiceCallableFactoryClassComposer instance()
-
createClassImplements
protected List<TypeNode> createClassImplements(Service service, TypeStore typeStore)
Description copied from class:AbstractServiceCallableFactoryClassComposerConstruct the type to be implemented by the generated callable factory.- Specified by:
createClassImplementsin classAbstractServiceCallableFactoryClassComposertypeStore- type store with common types- Returns:
TypeNodecontaining the interface to be implemented by the generated callable factory class.
-
createClassMethods
protected List<MethodDefinition> createClassMethods(Service service, TypeStore typeStore)
- Overrides:
createClassMethodsin classAbstractServiceCallableFactoryClassComposer
-
createUnaryCallableMethod
protected MethodDefinition createUnaryCallableMethod(Service service, TypeStore typeStore)
- Overrides:
createUnaryCallableMethodin classAbstractServiceCallableFactoryClassComposer
-
createPagedCallableMethod
protected MethodDefinition createPagedCallableMethod(Service service, TypeStore typeStore)
- Overrides:
createPagedCallableMethodin classAbstractServiceCallableFactoryClassComposer
-
createOperationCallableMethod
protected MethodDefinition createOperationCallableMethod(Service service, TypeStore typeStore)
- Specified by:
createOperationCallableMethodin classAbstractServiceCallableFactoryClassComposer
-
-