| Modifier and Type | Method and Description |
|---|---|
static GapicPackageInfo |
Composer.composePackageInfo(GapicContext context) |
static List<GapicClass> |
Composer.composeServiceClasses(GapicContext context) |
static List<GapicClass> |
Composer.generateClientSettingsClasses(GapicContext context) |
static List<GapicClass> |
Composer.generateMockClasses(GapicContext context,
List<Service> services) |
static GapicPackageInfo |
ClientLibraryPackageInfoComposer.generatePackageInfo(GapicContext context) |
static List<GapicClass> |
Composer.generateResourceNameHelperClasses(GapicContext context) |
static List<GapicClass> |
Composer.generateServiceClasses(GapicContext context) |
static List<GapicClass> |
Composer.generateStubClasses(GapicContext context) |
static List<GapicClass> |
Composer.generateTestClasses(GapicContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Map<String,VariableExpr> |
AbstractServiceClientTestClassComposer.createClassMemberVarExprs(Service service,
GapicContext context,
TypeStore typeStore) |
protected List<MethodDefinition> |
AbstractTransportServiceStubClassComposer.createClassMethods(GapicContext context,
Service service,
TypeStore typeStore,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
List<Statement> classStatements) |
protected List<MethodDefinition> |
AbstractTransportServiceStubClassComposer.createConstructorMethods(GapicContext context,
Service service,
TypeStore typeStore,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
List<Statement> classStatements) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
GapicClass |
AbstractServiceCallableFactoryClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
AbstractServiceSettingsClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
AbstractServiceClientClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
AbstractTransportServiceStubClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
AbstractServiceStubClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
AbstractServiceClientTestClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
ClassComposer.generate(GapicContext context,
Service serivce) |
GapicClass |
AbstractServiceStubSettingsClassComposer.generate(GapicContext context,
Service service) |
protected GapicClass |
AbstractServiceClientTestClassComposer.generate(String className,
GapicContext context,
Service service) |
protected Optional<String> |
AbstractTransportServiceStubClassComposer.getCallableCreatorMethodName(GapicContext context,
Service service,
TypeNode callableVarExprType,
String serviceMethodName) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,VariableExpr> |
ServiceClientTestClassComposer.createClassMemberVarExprs(Service service,
GapicContext context,
TypeStore typeStore) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
GapicClass |
MockServiceImplClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
MockServiceClassComposer.generate(GapicContext ignored,
Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected MethodDefinition |
HttpJsonServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected GapicClass |
HttpJsonServiceClientTestClassComposer.generate(String className,
GapicContext context,
Service service) |
| Modifier and Type | Method and Description |
|---|---|
GapicClass |
ResourceNameHelperClassComposer.generate(ResourceName resourceName,
GapicContext context) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,VariableExpr> |
ServiceClientTestClassComposer.createClassMemberVarExprs(Service service,
GapicContext context,
TypeStore typeStore) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
| Modifier and Type | Method and Description |
|---|---|
GapicContext |
GapicContext.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static GapicContext |
Parser.parse(com.google.protobuf.compiler.PluginProtos.CodeGeneratorRequest request) |
| Modifier and Type | Method and Description |
|---|---|
static com.google.protobuf.compiler.PluginProtos.CodeGeneratorResponse |
Writer.write(GapicContext context,
List<GapicClass> clazzes,
GapicPackageInfo gapicPackageInfo,
String outputFilePath) |
Copyright © 2022 Google LLC. All rights reserved.