Class ServiceClientCommentComposer
- java.lang.Object
-
- com.google.api.generator.gapic.composer.comment.ServiceClientCommentComposer
-
public class ServiceClientCommentComposer extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static CommentStatementGET_OPERATIONS_CLIENT_METHOD_COMMENT
-
Constructor Summary
Constructors Constructor Description ServiceClientCommentComposer()
-
Method Summary
-
-
-
Field Detail
-
GET_OPERATIONS_CLIENT_METHOD_COMMENT
public static final CommentStatement GET_OPERATIONS_CLIENT_METHOD_COMMENT
-
-
Method Detail
-
createClassHeaderComments
public static List<CommentStatement> createClassHeaderComments(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
public static CommentStatement createMethodNoArgComment(String serviceName)
-
createProtectedCtorSettingsArgComment
public static CommentStatement createProtectedCtorSettingsArgComment(String serviceName)
-
createMethodSettingsArgComment
public static CommentStatement createMethodSettingsArgComment(String serviceName)
-
createRpcCallableMethodHeaderComment
public static List<CommentStatement> createRpcCallableMethodHeaderComment(Method method, Optional<String> sampleCodeOpt)
-
-