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 -
Method Summary
Modifier and TypeMethodDescriptioncreateClassImplements(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) instance()Methods inherited from class com.google.api.generator.gapic.composer.common.AbstractServiceCallableFactoryClassComposer
createBatchingCallableMethod, createClassAnnotations, createGenericCallableMethod, createGenericCallableMethod, createServerStreamingCallableMethod, generate, getOperationsStubType, getTransportContext
-
Constructor Details
-
GrpcServiceCallableFactoryClassComposer
protected GrpcServiceCallableFactoryClassComposer()
-
-
Method Details
-
instance
-
createClassImplements
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
- Overrides:
createClassMethodsin classAbstractServiceCallableFactoryClassComposer
-
createUnaryCallableMethod
- Overrides:
createUnaryCallableMethodin classAbstractServiceCallableFactoryClassComposer
-
createPagedCallableMethod
- Overrides:
createPagedCallableMethodin classAbstractServiceCallableFactoryClassComposer
-
createOperationCallableMethod
- Specified by:
createOperationCallableMethodin classAbstractServiceCallableFactoryClassComposer
-