public class SettingsCommentComposer extends Object
| Modifier and Type | Field and Description |
|---|---|
static List<CommentStatement> |
APPLY_TO_ALL_UNARY_METHODS_METHOD_COMMENTS |
static CommentStatement |
DEFAULT_CREDENTIALS_PROVIDER_BUILDER_METHOD_COMMENT |
static CommentStatement |
DEFAULT_EXECUTOR_PROVIDER_BUILDER_METHOD_COMMENT |
static CommentStatement |
DEFAULT_SCOPES_COMMENT |
static CommentStatement |
DEFAULT_SERVICE_ENDPOINT_METHOD_COMMENT |
static CommentStatement |
DEFAULT_SERVICE_MTLS_ENDPOINT_METHOD_COMMENT |
static CommentStatement |
DEFAULT_SERVICE_SCOPES_METHOD_COMMENT |
static CommentStatement |
DEFAULT_TRANSPORT_PROVIDER_BUILDER_METHOD_COMMENT |
static CommentStatement |
NEW_BUILDER_METHOD_COMMENT |
static CommentStatement |
TO_BUILDER_METHOD_COMMENT |
| Constructor and Description |
|---|
SettingsCommentComposer(String transportPrefix) |
| Modifier and Type | Method and Description |
|---|---|
static CommentStatement |
createBuilderClassComment(String outerClassName) |
static CommentStatement |
createCallSettingsBuilderGetterComment(String javaMethodName,
boolean isMethodDeprecated) |
static CommentStatement |
createCallSettingsGetterComment(String javaMethodName,
boolean isMethodDeprecated) |
static List<CommentStatement> |
createClassHeaderComments(String configuredClassName,
String defaultHost,
boolean isDeprecated,
Optional<String> methodNameOpt,
Optional<String> sampleCodeOpt,
TypeNode classType) |
CommentStatement |
getNewTransportBuilderMethodComment() |
CommentStatement |
getTransportProviderBuilderMethodComment() |
public static final CommentStatement DEFAULT_SCOPES_COMMENT
public static final CommentStatement DEFAULT_EXECUTOR_PROVIDER_BUILDER_METHOD_COMMENT
public static final CommentStatement DEFAULT_SERVICE_ENDPOINT_METHOD_COMMENT
public static final CommentStatement DEFAULT_SERVICE_MTLS_ENDPOINT_METHOD_COMMENT
public static final CommentStatement DEFAULT_SERVICE_SCOPES_METHOD_COMMENT
public static final CommentStatement DEFAULT_CREDENTIALS_PROVIDER_BUILDER_METHOD_COMMENT
public static final CommentStatement DEFAULT_TRANSPORT_PROVIDER_BUILDER_METHOD_COMMENT
public static final CommentStatement NEW_BUILDER_METHOD_COMMENT
public static final CommentStatement TO_BUILDER_METHOD_COMMENT
public static final List<CommentStatement> APPLY_TO_ALL_UNARY_METHODS_METHOD_COMMENTS
public SettingsCommentComposer(String transportPrefix)
public CommentStatement getNewTransportBuilderMethodComment()
public CommentStatement getTransportProviderBuilderMethodComment()
public static CommentStatement createCallSettingsGetterComment(String javaMethodName, boolean isMethodDeprecated)
public static CommentStatement createBuilderClassComment(String outerClassName)
public static CommentStatement createCallSettingsBuilderGetterComment(String javaMethodName, boolean isMethodDeprecated)
Copyright © 2022 Google LLC. All rights reserved.