All Methods Static Methods Instance Methods Abstract Methods Concrete Methods
| Modifier and Type |
Method |
Description |
protected List<AnnotationNode> |
createClassAnnotations(Service service) |
|
protected List<MethodDefinition> |
createClassMethods(GapicContext context,
Service service,
TypeStore typeStore,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
List<Statement> classStatements) |
|
protected List<Statement> |
createClassStatements(Service service,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
|
protected List<MethodDefinition> |
createConstructorMethods(GapicContext context,
Service service,
TypeStore typeStore,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
List<Statement> classStatements) |
|
protected List<MethodDefinition> |
createGetMethodDescriptorsMethod(Service service,
TypeStore typeStore,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs) |
|
protected List<Statement> |
createLongRunningClient(Service service,
TypeStore typeStore) |
|
protected List<MethodDefinition> |
createLongRunningClientGetters() |
|
protected abstract Statement |
createMethodDescriptorVariableDecl(Service service,
Method protoMethod,
VariableExpr methodDescriptorVarExpr,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
|
protected List<Statement> |
createMethodDescriptorVariableDecls(Service service,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
|
protected List<MethodDefinition> |
createOperationsStubGetterMethod(Service service,
VariableExpr operationsStubVarExpr) |
|
protected List<Expr> |
createOperationsStubInitExpr(GapicContext context,
Service service,
Expr thisExpr,
VariableExpr operationsStubClassVarExpr,
VariableExpr clientContextVarExpr,
VariableExpr callableFactoryVarExpr) |
|
protected Map<String,VariableExpr> |
createProtoMethodNameToDescriptorClassMembers(Service service,
Class<?> descriptorClass) |
|
protected List<MethodDefinition> |
createStaticCreatorMethods(Service service,
TypeStore typeStore,
String newBuilderMethod) |
|
protected abstract Expr |
createTransportSettingsInitExpr(Method method,
VariableExpr transportSettingsVarExpr,
VariableExpr methodDescriptorVarExpr,
List<Statement> classStatements) |
|
protected List<Statement> |
createTypeRegistry(Service service) |
|
protected VariableExpr |
declareLongRunningClient() |
|
GapicClass |
generate(GapicContext context,
Service service) |
|
protected boolean |
generateOperationsStubLogic(Service service) |
|
protected Optional<String> |
getCallableCreatorMethodName(GapicContext context,
Service service,
TypeNode callableVarExprType,
String serviceMethodName) |
|
protected static TypeNode |
getCallableType(Method protoMethod) |
|
protected String |
getProtoRpcFullMethodName(Service protoService,
Method protoMethod) |
|
TransportContext |
getTransportContext() |
|
protected TypeNode |
getTransportOperationsStubType(Service service) |
|