| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/common/ |
| D | RetrySettingsComposer.java | 32 import com.google.api.generator.engine.ast.MethodInvocationExpr; 102 MethodInvocationExpr.builder() in createRetryParamDefinitionsBlock() 130 MethodInvocationExpr.builder() in createRetryParamDefinitionsBlock() 165 MethodInvocationExpr.builder() in createRetryCodesDefinitionsBlock() 184 MethodInvocationExpr.builder() in createRetryCodesDefinitionsBlock() 212 MethodInvocationExpr.builder() in createSimpleBuilderSettingsExpr() 220 MethodInvocationExpr.builder() in createSimpleBuilderSettingsExpr() 224 MethodInvocationExpr.builder() in createSimpleBuilderSettingsExpr() 231 MethodInvocationExpr.builder() in createSimpleBuilderSettingsExpr() 235 MethodInvocationExpr.builder() in createSimpleBuilderSettingsExpr() [all …]
|
| D | AbstractServiceStubSettingsClassComposer.java | 62 import com.google.api.generator.engine.ast.MethodInvocationExpr; 213 MethodInvocationExpr credsProviderBuilderExpr = in createDefaultCredentialsProviderBuilderMethod() 214 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 219 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 227 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 277 MethodInvocationExpr transportChannelProviderBuilderExpr = in createDefaultTransportTransportProviderBuilderMethods() 278 MethodInvocationExpr.builder() in createDefaultTransportTransportProviderBuilderMethods() 315 MethodInvocationExpr transportChannelProviderBuilderExpr, TypeNode returnType) { in initializeTransportProviderBuilder() 331 MethodInvocationExpr returnExpr = in createApiClientHeaderProviderBuilderMethod() 332 MethodInvocationExpr.builder() in createApiClientHeaderProviderBuilderMethod() [all …]
|
| D | BatchingDescriptorComposer.java | 30 import com.google.api.generator.engine.ast.MethodInvocationExpr; 129 MethodInvocationExpr.builder() in createGetBatchPartitionKeyMethod() 171 MethodInvocationExpr.builder() in createGetRequestBuilderMethod() 181 MethodInvocationExpr.builder() in createGetRequestBuilderMethod() 188 MethodInvocationExpr.builder() in createGetRequestBuilderMethod() 219 MethodInvocationExpr.builder() in createGetRequestBuilderMethod() 324 MethodInvocationExpr.builder() in createSplitResponseMethod() 336 MethodInvocationExpr.builder() in createSplitResponseMethod() 342 MethodInvocationExpr.builder() in createSplitResponseMethod() 370 MethodInvocationExpr.builder() in createSplitResponseMethod() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpc/ |
| D | GrpcServiceStubClassComposer.java | 28 import com.google.api.generator.engine.ast.MethodInvocationExpr; 100 MethodInvocationExpr methodDescriptorMaker = in createMethodDescriptorVariableDecl() 101 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 107 BiFunction<String, Expr, Function<MethodInvocationExpr, MethodInvocationExpr>> methodMakerFn = in createMethodDescriptorVariableDecl() 110 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 129 Function<MethodInvocationExpr, MethodInvocationExpr> protoUtilsMarshallerFn = in createMethodDescriptorVariableDecl() 131 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 136 MethodInvocationExpr methodInvocationArg = in createMethodDescriptorVariableDecl() 137 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 148 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() [all …]
|
| D | ServiceClientTestClassComposer.java | 32 import com.google.api.generator.engine.ast.MethodInvocationExpr; 174 MethodInvocationExpr firstArg = in createStartStaticServerMethod() 175 MethodInvocationExpr.builder() in createStartStaticServerMethod() 180 MethodInvocationExpr.builder() in createStartStaticServerMethod() 185 MethodInvocationExpr secondArg = in createStartStaticServerMethod() 186 MethodInvocationExpr.builder() in createStartStaticServerMethod() 204 MethodInvocationExpr.builder() in createStartStaticServerMethod() 234 MethodInvocationExpr.builder() in createStopServerMethod() 249 MethodInvocationExpr.builder() in createSetUpMethod() 257 MethodInvocationExpr.builder() in createSetUpMethod() [all …]
|
| D | ServiceStubSettingsClassComposer.java | 22 import com.google.api.generator.engine.ast.MethodInvocationExpr; 59 MethodInvocationExpr transportChannelProviderBuilderExpr, TypeNode returnType) { in initializeTransportProviderBuilder() 60 return MethodInvocationExpr.builder() in initializeTransportProviderBuilder() 88 MethodInvocationExpr transportProviderBuilderExpr = in createDefaultTransportChannelProviderMethod() 89 MethodInvocationExpr.builder().setMethodName("defaultGrpcTransportProviderBuilder").build(); in createDefaultTransportChannelProviderMethod() 91 MethodInvocationExpr.builder() in createDefaultTransportChannelProviderMethod()
|
| D | MockServiceImplClassComposer.java | 29 import com.google.api.generator.engine.ast.MethodInvocationExpr; 187 MethodInvocationExpr.builder() in createAddResponseMethod() 250 MethodInvocationExpr.builder() in createAddExceptionMethod() 321 MethodInvocationExpr.builder() in createGenericProtoMethodOverride() 391 MethodInvocationExpr.builder() in createOnNextJavaMethod() 402 MethodInvocationExpr.builder() in createOnNextJavaMethod() 441 MethodInvocationExpr.builder() in createOnErrorJavaMethod() 459 MethodInvocationExpr.builder() in createOnCompletedJavaMethod() 475 MethodInvocationExpr.builder() in createHandleObjectStatement() 483 MethodInvocationExpr.builder() in createHandleObjectStatement() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/rest/ |
| D | HttpJsonServiceStubClassComposer.java | 42 import com.google.api.generator.engine.ast.MethodInvocationExpr; 136 MethodInvocationExpr expr = in createMethodDescriptorVariableDecl() 137 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 144 BiFunction<String, List<Expr>, Function<MethodInvocationExpr, MethodInvocationExpr>> in createMethodDescriptorVariableDecl() 184 MethodInvocationExpr.builder() in createMethodDescriptorVariableDecl() 219 MethodInvocationExpr callSettingsBuilderExpr = in createTransportSettingsInitExpr() 220 MethodInvocationExpr.builder() in createTransportSettingsInitExpr() 227 MethodInvocationExpr.builder() in createTransportSettingsInitExpr() 234 MethodInvocationExpr.builder() in createTransportSettingsInitExpr() 241 MethodInvocationExpr.builder() in createTransportSettingsInitExpr() [all …]
|
| D | ServiceClientTestClassComposer.java | 32 import com.google.api.generator.engine.ast.MethodInvocationExpr; 137 Function<Expr, BiFunction<String, Expr, MethodInvocationExpr>> methodBuilderFn = in createStartStaticServerMethod() 140 MethodInvocationExpr.builder() in createStartStaticServerMethod() 153 MethodInvocationExpr.builder() in createStartStaticServerMethod() 157 MethodInvocationExpr.builder() in createStartStaticServerMethod() 169 MethodInvocationExpr.builder() in createStartStaticServerMethod() 175 MethodInvocationExpr.builder() in createStartStaticServerMethod() 186 MethodInvocationExpr.builder() in createStartStaticServerMethod() 202 MethodInvocationExpr.builder() in createStartStaticServerMethod() 207 MethodInvocationExpr.builder() in createStartStaticServerMethod() [all …]
|
| D | HttpJsonServiceCallableFactoryClassComposer.java | 26 import com.google.api.generator.engine.ast.MethodInvocationExpr; 156 MethodInvocationExpr getInitialCallSettingsExpr = in createOperationCallableMethod() 157 MethodInvocationExpr.builder() in createOperationCallableMethod() 161 MethodInvocationExpr createBaseUnaryCallableExpr = in createOperationCallableMethod() 162 MethodInvocationExpr.builder() in createOperationCallableMethod() 199 MethodInvocationExpr getMethodDescriptorExpr = in createOperationCallableMethod() 200 MethodInvocationExpr.builder() in createOperationCallableMethod() 204 MethodInvocationExpr getOperationSnapshotFactoryExpr = in createOperationCallableMethod() 205 MethodInvocationExpr.builder() in createOperationCallableMethod() 230 MethodInvocationExpr longRunningClient = in createOperationCallableMethod() [all …]
|
| D | ServiceStubSettingsClassComposer.java | 21 import com.google.api.generator.engine.ast.MethodInvocationExpr; 73 MethodInvocationExpr transportProviderBuilderExpr = in createDefaultTransportChannelProviderMethod() 74 MethodInvocationExpr.builder() in createDefaultTransportChannelProviderMethod() 78 MethodInvocationExpr.builder() in createDefaultTransportChannelProviderMethod()
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/samplecode/ |
| D | SettingsSampleComposer.java | 20 import com.google.api.generator.engine.ast.MethodInvocationExpr; 60 MethodInvocationExpr settingsBuilderMethodInvocationExpr = in composeSettingsSample() 61 MethodInvocationExpr.builder() in composeSettingsSample() 75 MethodInvocationExpr settingBuilderMethodInvocationExpr = in composeSettingsSample() 76 MethodInvocationExpr.builder() in composeSettingsSample() 82 MethodInvocationExpr retrySettingsArgExpr = in composeSettingsSample() 83 MethodInvocationExpr.builder() in composeSettingsSample() 88 MethodInvocationExpr.builder() in composeSettingsSample() 92 MethodInvocationExpr ofSecondMethodInvocationExpr = in composeSettingsSample() 93 MethodInvocationExpr.builder() in composeSettingsSample() [all …]
|
| D | ServiceClientHeaderSampleComposer.java | 22 import com.google.api.generator.engine.ast.MethodInvocationExpr; 159 MethodInvocationExpr newBuilderMethodExpr = in composeSetCredentialsSample() 160 MethodInvocationExpr.builder() in composeSetCredentialsSample() 166 MethodInvocationExpr credentialArgExpr = in composeSetCredentialsSample() 167 MethodInvocationExpr.builder() in composeSetCredentialsSample() 174 MethodInvocationExpr credentialsMethodExpr = in composeSetCredentialsSample() 175 MethodInvocationExpr.builder() in composeSetCredentialsSample() 180 MethodInvocationExpr buildMethodExpr = in composeSetCredentialsSample() 181 MethodInvocationExpr.builder() in composeSetCredentialsSample() 197 MethodInvocationExpr createMethodExpr = in composeSetCredentialsSample() [all …]
|
| D | ServiceClientCallableMethodSampleComposer.java | 33 import com.google.api.generator.engine.ast.MethodInvocationExpr; 81 MethodInvocationExpr callableMethodInvocationExpr = in composeUnaryOrLroCallableSample() 82 MethodInvocationExpr.builder() in composeUnaryOrLroCallableSample() 87 MethodInvocationExpr.builder() in composeUnaryOrLroCallableSample() 101 MethodInvocationExpr getMethodInvocationExpr = in composeUnaryOrLroCallableSample() 102 MethodInvocationExpr.builder() in composeUnaryOrLroCallableSample() 161 MethodInvocationExpr pagedCallableMethodInvocationExpr = in composePagedCallableSample() 162 MethodInvocationExpr.builder() in composePagedCallableSample() 167 MethodInvocationExpr.builder() in composePagedCallableSample() 188 MethodInvocationExpr getResponseListMethodInvocationExpr = in composePagedCallableSample() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/ast/ |
| D | GeneralForStatementTest.java | 34 MethodInvocationExpr maxSizeExpr = in validGeneralForStatement_basicIsDecl() 35 MethodInvocationExpr.builder().setMethodName("maxSize").setReturnType(TypeNode.INT).build(); in validGeneralForStatement_basicIsDecl() 51 MethodInvocationExpr maxSizeExpr = in validGeneralForStatement_basicIsNotDecl() 52 MethodInvocationExpr.builder().setMethodName("maxSize").setReturnType(TypeNode.INT).build(); in validGeneralForStatement_basicIsNotDecl() 67 MethodInvocationExpr maxSizeExpr = in validGeneralForStatement_emptyBody() 68 MethodInvocationExpr.builder().setMethodName("maxSize").setReturnType(TypeNode.INT).build(); in validGeneralForStatement_emptyBody() 87 MethodInvocationExpr maxSizeExpr = in validForStatement_privateNotIsDeclVariable() 88 MethodInvocationExpr.builder().setMethodName("maxSize").setReturnType(TypeNode.INT).build(); in validForStatement_privateNotIsDeclVariable() 107 MethodInvocationExpr maxSizeExpr = in validForStatement_instanceStaticVariable() 108 MethodInvocationExpr.builder().setMethodName("maxSize").setReturnType(TypeNode.INT).build(); in validForStatement_instanceStaticVariable() [all …]
|
| D | ArithmeticOperationExprTest.java | 27 MethodInvocationExpr rhsExpr = in concatOperator_validBasic() 28 MethodInvocationExpr.builder() in concatOperator_validBasic() 66 MethodInvocationExpr rhsExpr = in concatOperator_invalidVoidType() 67 MethodInvocationExpr.builder() in concatOperator_invalidVoidType() 81 MethodInvocationExpr rhsExpr = in concatString_invalidNonStringType() 82 MethodInvocationExpr.builder() in concatString_invalidNonStringType()
|
| D | MethodInvocationExprTest.java | 35 MethodInvocationExpr.builder().setMethodName("getSomeList").setReturnType(returnType).build(); in validBuildMethodInvocationExpr() 49 MethodInvocationExpr.builder() in validBuildMethodInvocationExpr_hasArguments() 69 MethodInvocationExpr.builder() in validBuildMethodInvocationExpr_staticReference() 82 MethodInvocationExpr.builder() in invalidBuildMethodInvocationExpr_nullReturnType() 102 MethodInvocationExpr.builder() in invalidBuildMethodInvocationExpr_staticAndExprBoth() 125 MethodInvocationExpr.builder() in invalidBuildMethodInvocationExpr_nullArgument()
|
| D | SynchronizedStatementTest.java | 29 ExprStatement.withExpr(MethodInvocationExpr.builder().setMethodName("doStuff").build())) in validSynchronizedStatement_basicThis() 40 ExprStatement.withExpr(MethodInvocationExpr.builder().setMethodName("doStuff").build())) in validSynchronizedStatement_basicVariableExpr() 55 MethodInvocationExpr.builder().setMethodName("doStuff").build())) in invalidSynchronizedStatement_primitiveLock() 73 MethodInvocationExpr.builder().setMethodName("doStuff").build())) in invalidSynchronizedStatement_declaredVariableExpr()
|
| D | ForStatementTest.java | 31 MethodInvocationExpr methodExpr = in validForStatement() 32 MethodInvocationExpr.builder().setMethodName("getSomeStrings").build(); in validForStatement() 48 MethodInvocationExpr methodExpr = in invalidForStatement() 49 MethodInvocationExpr.builder().setMethodName("getSomeStrings").build(); in invalidForStatement()
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/defaultvalue/ |
| D | DefaultValueComposer.java | 23 import com.google.api.generator.engine.ast.MethodInvocationExpr; 95 MethodInvocationExpr.builder() in createMethodArgValue() 138 return MethodInvocationExpr.builder() in createValue() 168 MethodInvocationExpr newBuilderExpr = in createValue() 169 MethodInvocationExpr.builder() in createValue() 175 MethodInvocationExpr.builder() in createValue() 187 return MethodInvocationExpr.builder() in createValue() 337 return MethodInvocationExpr.builder() in createResourceHelperValue() 360 MethodInvocationExpr builderExpr = in createSimpleMessageBuilderValue() 361 MethodInvocationExpr.builder() in createSimpleMessageBuilderValue() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/grpcrest/ |
| D | ServiceStubSettingsClassComposer.java | 25 import com.google.api.generator.engine.ast.MethodInvocationExpr; 56 MethodInvocationExpr transportChannelProviderBuilderExpr, TypeNode returnType) { in initializeTransportProviderBuilder() 61 return MethodInvocationExpr.builder() in initializeTransportProviderBuilder() 78 MethodInvocationExpr credsProviderBuilderExpr = in createDefaultCredentialsProviderBuilderMethod() 79 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 84 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 94 MethodInvocationExpr.builder() in createDefaultCredentialsProviderBuilderMethod() 147 MethodInvocationExpr.builder() in createApiClientHeaderProviderBuilderMethods() 160 MethodInvocationExpr transportProviderBuilderExpr = in createDefaultTransportChannelProviderMethod() 161 MethodInvocationExpr.builder().setMethodName("defaultGrpcTransportProviderBuilder").build(); in createDefaultTransportChannelProviderMethod() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/writer/ |
| D | ImportWriterVisitorTest.java | 38 import com.google.api.generator.engine.ast.MethodInvocationExpr; 192 MethodInvocationExpr causeExpr = in writeNewObjectExprImports_methodExprArg() 193 MethodInvocationExpr.builder() in writeNewObjectExprImports_methodExprArg() 211 MethodInvocationExpr conditionExpr = in writeTernaryExprImports() 212 MethodInvocationExpr.builder() in writeTernaryExprImports() 217 MethodInvocationExpr thenExpr = in writeTernaryExprImports() 218 MethodInvocationExpr.builder() in writeTernaryExprImports() 224 MethodInvocationExpr elseExpr = in writeTernaryExprImports() 225 MethodInvocationExpr.builder() in writeTernaryExprImports() 520 MethodInvocationExpr.builder() in writeThrowExprImports_throwExpr() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/composer/resourcename/ |
| D | ResourceNameHelperClassComposer.java | 32 import com.google.api.generator.engine.ast.MethodInvocationExpr; 227 MethodInvocationExpr.builder() in createClassStatements() 364 MethodInvocationExpr checkNotNullExpr = in createConstructorMethods() 365 MethodInvocationExpr.builder() in createConstructorMethods() 371 MethodInvocationExpr.builder() in createConstructorMethods() 437 MethodInvocationExpr.builder() in createConstructorMethods() 627 MethodInvocationExpr returnExpr = in createOfOrFormatMethodHelper() 628 MethodInvocationExpr.builder().setMethodName(builderMethodName).build(); in createOfOrFormatMethodHelper() 632 MethodInvocationExpr.builder() in createOfOrFormatMethodHelper() 646 MethodInvocationExpr.builder() in createOfOrFormatMethodHelper() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/test/java/com/google/api/generator/engine/ |
| D | JavaCodeGeneratorTest.java | 34 import com.google.api.generator.engine.ast.MethodInvocationExpr; 324 private MethodInvocationExpr methodExprWithRef(Variable var, String methodName) { in methodExprWithRef() 325 return MethodInvocationExpr.builder() in methodExprWithRef() 331 private MethodInvocationExpr methodExprWithRefAndArg( in methodExprWithRefAndArg() 333 return MethodInvocationExpr.builder() in methodExprWithRefAndArg() 340 private MethodInvocationExpr methodExprWithRefArgAndReturn(Variable var, List<Expr> args) { in methodExprWithRefArgAndReturn() 341 return MethodInvocationExpr.builder() in methodExprWithRefArgAndReturn() 483 MethodInvocationExpr addShelfToListExpr = in createAddShelfMethod() 485 MethodInvocationExpr putShelfToMapExpr = in createAddShelfMethod() 488 MethodInvocationExpr mapContainsKey = in createAddShelfMethod() [all …]
|
| /external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/engine/ast/ |
| D | MethodInvocationExpr.java | 25 public abstract class MethodInvocationExpr implements Expr { class 95 abstract MethodInvocationExpr autoBuild(); in autoBuild() 97 public MethodInvocationExpr build() { in build() 102 MethodInvocationExpr methodInvocationExpr = autoBuild(); in build()
|