Class ServiceClientCommentComposer
java.lang.Object
com.google.api.generator.gapic.composer.comment.ServiceClientCommentComposer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<CommentStatement>createClassHeaderComments(Map<String, List<String>> methodVariantsForClientHeader, Service service, String classMethodSampleCode, String credentialsSampleCode, String endpointSampleCode, String transportSampleCode, String primaryTransport, String secondaryTransport) static CommentStatementcreateCreateMethodStubArgComment(String serviceName, TypeNode settingsType) static CommentStatementcreateMethodNoArgComment(String serviceName) static CommentStatementcreateMethodSettingsArgComment(String serviceName) static CommentStatementcreateProtectedCtorSettingsArgComment(String serviceName) static List<CommentStatement>createRpcCallableMethodHeaderComment(Method method, Optional<String> sampleCodeOpt) static List<CommentStatement>createRpcMethodHeaderComment(Method method, List<MethodArgument> methodArguments, Optional<String> sampleCodeOpt) static List<CommentStatement>createRpcMethodHeaderComment(Method method, Optional<String> sampleCodeOpt)
-
Field Details
-
GET_OPERATIONS_CLIENT_METHOD_COMMENT
-
-
Constructor Details
-
ServiceClientCommentComposer
public ServiceClientCommentComposer()
-
-
Method Details
-
createClassHeaderComments
public static List<CommentStatement> createClassHeaderComments(Map<String, List<String>> methodVariantsForClientHeader, Service service, String classMethodSampleCode, String credentialsSampleCode, String endpointSampleCode, String transportSampleCode, String primaryTransport, String secondaryTransport) -
createCreateMethodStubArgComment
public static CommentStatement createCreateMethodStubArgComment(String serviceName, TypeNode settingsType) -
createRpcMethodHeaderComment
public static List<CommentStatement> createRpcMethodHeaderComment(Method method, List<MethodArgument> methodArguments, Optional<String> sampleCodeOpt) -
createRpcMethodHeaderComment
public static List<CommentStatement> createRpcMethodHeaderComment(Method method, Optional<String> sampleCodeOpt) -
createMethodNoArgComment
-
createProtectedCtorSettingsArgComment
-
createMethodSettingsArgComment
-
createRpcCallableMethodHeaderComment
public static List<CommentStatement> createRpcCallableMethodHeaderComment(Method method, Optional<String> sampleCodeOpt)
-