| Modifier and Type | Method and Description |
|---|---|
static List<GapicClass> |
Composer.generateMockClasses(GapicContext context,
List<Service> services) |
| Modifier and Type | Method and Description |
|---|---|
static List<CommentStatement> |
ServiceClientCommentComposer.createClassHeaderComments(Service service,
String classMethodSampleCode,
String credentialsSampleCode,
String endpointSampleCode,
String transportSampleCode,
String primaryTransport,
String secondaryTransport) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<Statement> |
AbstractServiceClientTestClassComposer.constructRpcTestCheckerLogic(Method method,
List<MethodArgument> methodSignature,
Service service,
boolean isRequestArg,
Map<String,VariableExpr> classMemberVarExprs,
VariableExpr requestVarExpr,
Message requestMessage) |
protected MethodDefinition |
AbstractServiceStubSettingsClassComposer.createApiClientHeaderProviderBuilderMethod(Service service,
TypeStore typeStore,
String methodName,
TypeNode gaxPropertiesType,
String getTokenMethodName,
String getVersionMethodName) |
protected abstract List<MethodDefinition> |
AbstractServiceStubSettingsClassComposer.createApiClientHeaderProviderBuilderMethods(Service service,
TypeStore typeStore) |
protected MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createBatchingCallableMethod(Service service,
TypeStore typeStore) |
protected List<MethodDefinition> |
AbstractServiceStubSettingsClassComposer.createBuilderHelperMethods(Service service,
TypeStore typeStore) |
protected List<AnnotationNode> |
AbstractTransportServiceStubClassComposer.createClassAnnotations(Service service) |
protected List<AnnotationNode> |
AbstractServiceCallableFactoryClassComposer.createClassAnnotations(Service service,
TypeStore typeStore) |
protected List<CommentStatement> |
AbstractServiceClientClassComposer.createClassHeaderComments(Service service,
TypeStore typeStore,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
List<Sample> samples) |
protected abstract List<TypeNode> |
AbstractServiceCallableFactoryClassComposer.createClassImplements(Service service,
TypeStore typeStore)
Construct the type to be implemented by the generated callable factory.
|
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> |
AbstractServiceCallableFactoryClassComposer.createClassMethods(Service service,
TypeStore typeStore) |
protected List<Statement> |
AbstractTransportServiceStubClassComposer.createClassStatements(Service service,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
Map<String,VariableExpr> callableClassMemberVarExprs,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
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 MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createGenericCallableMethod(Service service,
TypeStore typeStore,
List<String> methodTemplateNames,
String returnCallableKindName,
List<String> returnCallableTemplateNames,
String methodVariantName,
List<Object> transportCallSettingsTemplateObjects,
String callSettingsVariantName,
List<Object> callSettingsTemplateObjects) |
protected MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createGenericCallableMethod(Service service,
TypeStore typeStore,
List<String> methodTemplateNames,
String returnCallableKindName,
List<String> returnCallableTemplateNames,
String methodVariantName,
List<Object> transportCallSettingsTemplateObjects,
String callSettingsVariantName,
List<Object> callSettingsTemplateObjects,
List<AnnotationNode> annotations) |
protected List<MethodDefinition> |
AbstractTransportServiceStubClassComposer.createGetMethodDescriptorsMethod(Service service,
TypeStore typeStore,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs) |
protected List<Statement> |
AbstractTransportServiceStubClassComposer.createLongRunningClient(Service service,
TypeStore typeStore) |
static Expr |
RetrySettingsComposer.createLroSettingsBuilderExpr(Service service,
GapicServiceConfig serviceConfig,
Method method,
VariableExpr builderVarExpr,
VariableExpr retryableCodeDefsVarExpr,
VariableExpr retryParamDefsVarExpr,
TypeNode operationResponseTransformer,
TypeNode operationMetadataTransformer) |
protected abstract Statement |
AbstractTransportServiceStubClassComposer.createMethodDescriptorVariableDecl(Service service,
Method protoMethod,
VariableExpr methodDescriptorVarExpr,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
protected List<Statement> |
AbstractTransportServiceStubClassComposer.createMethodDescriptorVariableDecls(Service service,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
protected List<MethodDefinition> |
AbstractServiceSettingsClassComposer.createNestedBuilderCreatorMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
List<AnnotationNode> annotations) |
protected List<MethodDefinition> |
AbstractServiceStubSettingsClassComposer.createNewBuilderMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
CommentStatement methodComment) |
protected List<MethodDefinition> |
AbstractServiceSettingsClassComposer.createNewBuilderMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
List<AnnotationNode> annotations,
CommentStatement comment) |
protected abstract MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createOperationCallableMethod(Service service,
TypeStore typeStore) |
protected List<MethodDefinition> |
AbstractTransportServiceStubClassComposer.createOperationsStubGetterMethod(Service service,
VariableExpr operationsStubVarExpr) |
protected List<Expr> |
AbstractTransportServiceStubClassComposer.createOperationsStubInitExpr(Service service,
Expr thisExpr,
VariableExpr operationsStubClassVarExpr,
VariableExpr clientContextVarExpr,
VariableExpr callableFactoryVarExpr) |
protected MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createPagedCallableMethod(Service service,
TypeStore typeStore) |
protected Map<String,VariableExpr> |
AbstractTransportServiceStubClassComposer.createProtoMethodNameToDescriptorClassMembers(Service service,
Class<?> descriptorClass) |
static BlockStatement |
RetrySettingsComposer.createRetryCodesDefinitionsBlock(Service service,
GapicServiceConfig serviceConfig,
VariableExpr retryCodesDefinitionsClassMemberVarExpr) |
static BlockStatement |
RetrySettingsComposer.createRetryParamDefinitionsBlock(Service service,
GapicServiceConfig serviceConfig,
VariableExpr retryParamDefinitionsClassMemberVarExpr) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createRpcExceptionTestMethod(Method method,
Service service,
List<MethodArgument> methodSignature,
int variantIndex,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes)
Creates a test method to exercise exceptions for a given RPC, e.g.
|
protected MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createServerStreamingCallableMethod(Service service,
TypeStore typeStore) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createSetUpMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore) |
static Expr |
RetrySettingsComposer.createSimpleBuilderSettingsExpr(Service service,
GapicServiceConfig serviceConfig,
Method method,
VariableExpr builderVarExpr,
VariableExpr retryableCodeDefsVarExpr,
VariableExpr retryParamDefsVarExpr) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected List<MethodDefinition> |
AbstractTransportServiceStubClassComposer.createStaticCreatorMethods(Service service,
TypeStore typeStore,
String newBuilderMethod) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createStopServerMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createStreamingRpcTestMethod(Service service,
Method method,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
protected abstract MethodDefinition |
AbstractServiceClientTestClassComposer.createTearDownMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected List<Statement> |
AbstractTransportServiceStubClassComposer.createTypeRegistry(Service service) |
protected MethodDefinition |
AbstractServiceCallableFactoryClassComposer.createUnaryCallableMethod(Service service,
TypeStore typeStore) |
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 boolean |
AbstractTransportServiceStubClassComposer.generateOperationsStubLogic(Service service) |
protected Optional<String> |
AbstractTransportServiceStubClassComposer.getCallableCreatorMethodName(GapicContext context,
Service service,
TypeNode callableVarExprType,
String serviceMethodName) |
protected String |
AbstractServiceClientTestClassComposer.getMockServiceVarName(Service service) |
protected TypeNode |
AbstractServiceCallableFactoryClassComposer.getOperationsStubType(Service service) |
protected String |
AbstractTransportServiceStubClassComposer.getProtoRpcFullMethodName(Service protoService,
Method protoMethod) |
protected TypeNode |
AbstractTransportServiceStubClassComposer.getTransportOperationsStubType(Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Statement> |
ServiceClientTestClassComposer.constructRpcTestCheckerLogic(Method method,
List<MethodArgument> methodSignature,
Service service,
boolean isRequestArg,
Map<String,VariableExpr> classMemberVarExprs,
VariableExpr requestVarExpr,
Message requestMessage) |
protected List<MethodDefinition> |
ServiceStubSettingsClassComposer.createApiClientHeaderProviderBuilderMethods(Service service,
TypeStore typeStore) |
protected List<TypeNode> |
GrpcServiceCallableFactoryClassComposer.createClassImplements(Service service,
TypeStore typeStore) |
protected Map<String,VariableExpr> |
ServiceClientTestClassComposer.createClassMemberVarExprs(Service service,
GapicContext context,
TypeStore typeStore) |
protected List<MethodDefinition> |
GrpcServiceCallableFactoryClassComposer.createClassMethods(Service service,
TypeStore typeStore) |
protected Statement |
GrpcServiceStubClassComposer.createMethodDescriptorVariableDecl(Service service,
Method protoMethod,
VariableExpr methodDescriptorVarExpr,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
protected MethodDefinition |
GrpcServiceCallableFactoryClassComposer.createOperationCallableMethod(Service service,
TypeStore typeStore) |
protected MethodDefinition |
GrpcServiceCallableFactoryClassComposer.createPagedCallableMethod(Service service,
TypeStore typeStore) |
protected MethodDefinition |
ServiceClientTestClassComposer.createRpcExceptionTestMethod(Method method,
Service service,
List<MethodArgument> methodSignature,
int variantIndex,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
protected MethodDefinition |
ServiceClientTestClassComposer.createSetUpMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStopServerMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStreamingRpcTestMethod(Service service,
Method method,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
protected MethodDefinition |
ServiceClientTestClassComposer.createTearDownMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected MethodDefinition |
GrpcServiceCallableFactoryClassComposer.createUnaryCallableMethod(Service service,
TypeStore typeStore) |
GapicClass |
MockServiceImplClassComposer.generate(GapicContext context,
Service service) |
GapicClass |
MockServiceClassComposer.generate(GapicContext ignored,
Service service) |
protected String |
GrpcServiceStubClassComposer.getProtoRpcFullMethodName(Service protoService,
Method protoMethod) |
| Modifier and Type | Method and Description |
|---|---|
protected List<MethodDefinition> |
ServiceStubSettingsClassComposer.createApiClientHeaderProviderBuilderMethods(Service service,
TypeStore typeStore) |
protected List<CommentStatement> |
ServiceClientClassComposer.createClassHeaderComments(Service service,
TypeStore typeStore,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
List<Sample> samples) |
protected List<MethodDefinition> |
ServiceSettingsClassComposer.createNestedBuilderCreatorMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
List<AnnotationNode> annotations) |
protected List<MethodDefinition> |
ServiceStubSettingsClassComposer.createNewBuilderMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
CommentStatement methodComment) |
protected List<MethodDefinition> |
ServiceSettingsClassComposer.createNewBuilderMethods(Service service,
TypeStore typeStore,
String newBuilderMethodName,
String createDefaultMethodName,
List<AnnotationNode> annotations,
CommentStatement comment) |
protected MethodDefinition |
HttpJsonServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected List<MethodDefinition> |
HttpJsonServiceStubClassComposer.createStaticCreatorMethods(Service service,
TypeStore typeStore,
String newBuilderMethod) |
protected GapicClass |
HttpJsonServiceClientTestClassComposer.generate(String className,
GapicContext context,
Service service) |
| Modifier and Type | Method and Description |
|---|---|
protected List<Statement> |
ServiceClientTestClassComposer.constructRpcTestCheckerLogic(Method method,
List<MethodArgument> methodSignature,
Service service,
boolean isRequestArg,
Map<String,VariableExpr> classMemberVarExprs,
VariableExpr requestVarExpr,
Message requestMessage) |
protected List<MethodDefinition> |
ServiceStubSettingsClassComposer.createApiClientHeaderProviderBuilderMethods(Service service,
TypeStore typeStore) |
protected List<AnnotationNode> |
HttpJsonServiceStubClassComposer.createClassAnnotations(Service service) |
protected List<AnnotationNode> |
HttpJsonServiceCallableFactoryClassComposer.createClassAnnotations(Service service,
TypeStore typeStore) |
protected List<TypeNode> |
HttpJsonServiceCallableFactoryClassComposer.createClassImplements(Service service,
TypeStore typeStore) |
protected Map<String,VariableExpr> |
ServiceClientTestClassComposer.createClassMemberVarExprs(Service service,
GapicContext context,
TypeStore typeStore) |
protected List<MethodDefinition> |
HttpJsonServiceCallableFactoryClassComposer.createClassMethods(Service service,
TypeStore typeStore) |
protected List<MethodDefinition> |
HttpJsonServiceStubClassComposer.createGetMethodDescriptorsMethod(Service service,
TypeStore typeStore,
Map<String,VariableExpr> protoMethodNameToDescriptorVarExprs) |
protected List<Statement> |
HttpJsonServiceStubClassComposer.createLongRunningClient(Service service,
TypeStore typeStore) |
protected Statement |
HttpJsonServiceStubClassComposer.createMethodDescriptorVariableDecl(Service service,
Method protoMethod,
VariableExpr methodDescriptorVarExpr,
Map<String,Message> messageTypes,
boolean restNumericEnumsEnabled) |
protected MethodDefinition |
HttpJsonServiceCallableFactoryClassComposer.createOperationCallableMethod(Service service,
TypeStore typeStore) |
protected List<MethodDefinition> |
HttpJsonServiceStubClassComposer.createOperationsStubGetterMethod(Service service,
VariableExpr operationsStubVarExpr) |
protected List<Expr> |
HttpJsonServiceStubClassComposer.createOperationsStubInitExpr(Service service,
Expr thisExpr,
VariableExpr operationsStubClassVarExpr,
VariableExpr clientContextVarExpr,
VariableExpr callableFactoryVarExpr) |
protected MethodDefinition |
ServiceClientTestClassComposer.createRpcExceptionTestMethod(Method method,
Service service,
List<MethodArgument> methodSignature,
int variantIndex,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
protected MethodDefinition |
ServiceClientTestClassComposer.createSetUpMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStartStaticServerMethod(Service service,
GapicContext context,
Map<String,VariableExpr> classMemberVarExprs,
TypeStore typeStore,
String newBuilderMethod) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStopServerMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected MethodDefinition |
ServiceClientTestClassComposer.createStreamingRpcTestMethod(Service service,
Method method,
Map<String,VariableExpr> classMemberVarExprs,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
protected MethodDefinition |
ServiceClientTestClassComposer.createTearDownMethod(Service service,
Map<String,VariableExpr> classMemberVarExprs) |
protected List<Statement> |
HttpJsonServiceStubClassComposer.createTypeRegistry(Service service) |
protected boolean |
HttpJsonServiceStubClassComposer.generateOperationsStubLogic(Service service) |
protected String |
ServiceClientTestClassComposer.getMockServiceVarName(Service service) |
| Modifier and Type | Method and Description |
|---|---|
static Sample |
ServiceClientMethodSampleComposer.composeCanonicalSample(Method method,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientHeaderSampleComposer.composeClassHeaderSample(Service service,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes) |
static Sample |
ServiceClientMethodSampleComposer.composeEmptyServiceSample(TypeNode clientType,
Service service) |
static Sample |
ServiceClientCallableMethodSampleComposer.composeLroCallableMethod(Method method,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientCallableMethodSampleComposer.composePagedCallableMethod(Method method,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientCallableMethodSampleComposer.composeRegularCallableMethod(Method method,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientHeaderSampleComposer.composeSetCredentialsSample(TypeNode clientType,
TypeNode settingsType,
Service service) |
static Sample |
ServiceClientHeaderSampleComposer.composeSetEndpointSample(TypeNode clientType,
TypeNode settingsType,
Service service) |
static Sample |
ServiceClientHeaderSampleComposer.composeShowcaseMethodSample(Method method,
TypeNode clientType,
List<MethodArgument> arguments,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientCallableMethodSampleComposer.composeStreamCallableMethod(Method method,
TypeNode clientType,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
Service service) |
static Sample |
ServiceClientHeaderSampleComposer.composeTransportSample(TypeNode clientType,
TypeNode settingsType,
String transportBuilderMethod,
Service service) |
| Modifier and Type | Method and Description |
|---|---|
static String |
ClassNames.getMockServiceClassName(Service service) |
static String |
ClassNames.getMockServiceImplClassName(Service service) |
static String |
ClassNames.getServiceClientClassName(Service service) |
static String |
ClassNames.getServiceClientTestClassName(Service service) |
List<String> |
ClassNames.getServiceClientTestClassNames(Service service) |
static String |
ClassNames.getServiceSettingsClassName(Service service) |
static String |
ClassNames.getServiceStubClassName(Service service) |
static String |
ClassNames.getServiceStubSettingsClassName(Service service) |
String |
ClassNames.getTransportServiceCallableFactoryClassName(Service service) |
List<String> |
ClassNames.getTransportServiceCallableFactoryClassNames(Service service) |
String |
ClassNames.getTransportServiceStubClassName(Service service) |
List<String> |
ClassNames.getTransportServiceStubClassNames(Service service) |
| Modifier and Type | Method and Description |
|---|---|
abstract Service |
Service.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableList<Service> |
GapicContext.mixinServices() |
abstract com.google.common.collect.ImmutableList<Service> |
GapicContext.services() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,GapicRetrySettings> |
GapicServiceConfig.getAllGapicRetrySettings(Service service) |
Map<String,List<com.google.rpc.Code>> |
GapicServiceConfig.getAllRetryCodes(Service service) |
Optional<GapicBatchingSettings> |
GapicServiceConfig.getBatchingSetting(Service service,
Method method) |
Optional<GapicLroRetrySettings> |
GapicServiceConfig.getLroRetrySetting(Service service,
Method method) |
String |
GapicServiceConfig.getRetryCodeName(Service service,
Method method) |
String |
GapicServiceConfig.getRetryParamsName(Service service,
Method method) |
boolean |
GapicServiceConfig.hasBatchingSetting(Service service,
Method method) |
boolean |
GapicServiceConfig.hasLroRetrySetting(Service service,
Method method) |
boolean |
GapicBatchingSettings.matches(Service service,
Method method) |
| Modifier and Type | Method and Description |
|---|---|
abstract GapicContext.Builder |
GapicContext.Builder.setMixinServices(List<Service> mixinServices) |
abstract GapicContext.Builder |
GapicContext.Builder.setServices(List<Service> services) |
| Modifier and Type | Method and Description |
|---|---|
static List<Service> |
Parser.parseService(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor,
Map<String,Message> messageTypes,
Map<String,ResourceName> resourceNames,
Optional<com.google.api.Service> serviceYamlProtoOpt,
Optional<GapicServiceConfig> serviceConfigOpt,
Set<ResourceName> outputArgResourceNames,
Transport transport) |
static List<Service> |
Parser.parseService(com.google.protobuf.Descriptors.FileDescriptor fileDescriptor,
Map<String,Message> messageTypes,
Map<String,ResourceName> resourceNames,
Optional<com.google.api.Service> serviceYamlProtoOpt,
Set<ResourceName> outputArgResourceNames) |
static List<Service> |
Parser.parseServices(com.google.protobuf.compiler.PluginProtos.CodeGeneratorRequest request,
Map<String,Message> messageTypes,
Map<String,ResourceName> resourceNames,
Set<ResourceName> outputArgResourceNames,
Optional<com.google.api.Service> serviceYamlProtoOpt,
Optional<GapicServiceConfig> serviceConfigOpt,
List<Service> outputMixinServices,
Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
static List<Service> |
Parser.parseServices(com.google.protobuf.compiler.PluginProtos.CodeGeneratorRequest request,
Map<String,Message> messageTypes,
Map<String,ResourceName> resourceNames,
Set<ResourceName> outputArgResourceNames,
Optional<com.google.api.Service> serviceYamlProtoOpt,
Optional<GapicServiceConfig> serviceConfigOpt,
List<Service> outputMixinServices,
Transport transport) |
Copyright © 2022 Google LLC. All rights reserved.