| Modifier and Type | Method and Description |
|---|---|
static CommentStatement |
CommentStatement.withComment(Comment comment) |
| Modifier and Type | Method and Description |
|---|---|
abstract com.google.common.collect.ImmutableList<CommentStatement> |
PackageInfoDefinition.fileHeader() |
abstract com.google.common.collect.ImmutableList<CommentStatement> |
ClassDefinition.fileHeader() |
abstract com.google.common.collect.ImmutableList<CommentStatement> |
PackageInfoDefinition.headerCommentStatements() |
abstract com.google.common.collect.ImmutableList<CommentStatement> |
MethodDefinition.headerCommentStatements() |
abstract com.google.common.collect.ImmutableList<CommentStatement> |
ClassDefinition.headerCommentStatements() |
| Modifier and Type | Method and Description |
|---|---|
PackageInfoDefinition.Builder |
PackageInfoDefinition.Builder.setFileHeader(CommentStatement... headerComments) |
ClassDefinition.Builder |
ClassDefinition.Builder.setFileHeader(CommentStatement... headerComments) |
PackageInfoDefinition.Builder |
PackageInfoDefinition.Builder.setHeaderCommentStatements(CommentStatement... comments) |
MethodDefinition.Builder |
MethodDefinition.Builder.setHeaderCommentStatements(CommentStatement... comments) |
ClassDefinition.Builder |
ClassDefinition.Builder.setHeaderCommentStatements(CommentStatement... comments) |
void |
AstNodeVisitor.visit(CommentStatement commentStatement) |
| Modifier and Type | Method and Description |
|---|---|
abstract PackageInfoDefinition.Builder |
PackageInfoDefinition.Builder.setFileHeader(List<CommentStatement> fileHeader) |
abstract ClassDefinition.Builder |
ClassDefinition.Builder.setFileHeader(List<CommentStatement> fileHeader) |
abstract PackageInfoDefinition.Builder |
PackageInfoDefinition.Builder.setHeaderCommentStatements(List<CommentStatement> headerCommentStatements) |
abstract MethodDefinition.Builder |
MethodDefinition.Builder.setHeaderCommentStatements(List<CommentStatement> headeCommentStatements) |
abstract ClassDefinition.Builder |
ClassDefinition.Builder.setHeaderCommentStatements(List<CommentStatement> headerCommentStatements) |
| Modifier and Type | Method and Description |
|---|---|
void |
JavaWriterVisitor.visit(CommentStatement commentStatement) |
void |
ImportWriterVisitor.visit(CommentStatement commentStatement) |
| Modifier and Type | Field and Description |
|---|---|
static List<CommentStatement> |
SettingsCommentComposer.APPLY_TO_ALL_UNARY_METHODS_METHOD_COMMENTS |
| Modifier and Type | Method and Description |
|---|---|
static CommentStatement |
SettingsCommentComposer.createBuilderClassComment(String outerClassName) |
static CommentStatement |
SettingsCommentComposer.createCallSettingsBuilderGetterComment(String javaMethodName,
boolean isMethodDeprecated) |
static CommentStatement |
SettingsCommentComposer.createCallSettingsGetterComment(String javaMethodName,
boolean isMethodDeprecated) |
static CommentStatement |
ServiceClientCommentComposer.createCreateMethodStubArgComment(String serviceName,
TypeNode settingsType) |
static CommentStatement |
ServiceClientCommentComposer.createMethodNoArgComment(String serviceName) |
static CommentStatement |
ServiceClientCommentComposer.createMethodSettingsArgComment(String serviceName) |
static CommentStatement |
ServiceClientCommentComposer.createProtectedCtorSettingsArgComment(String serviceName) |
CommentStatement |
SettingsCommentComposer.getNewTransportBuilderMethodComment() |
CommentStatement |
SettingsCommentComposer.getTransportProviderBuilderMethodComment() |
| 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) |
static List<CommentStatement> |
SettingsCommentComposer.createClassHeaderComments(String configuredClassName,
String defaultHost,
boolean isDeprecated,
Optional<String> methodNameOpt,
Optional<String> sampleCodeOpt,
TypeNode classType) |
static List<CommentStatement> |
ServiceClientCommentComposer.createRpcCallableMethodHeaderComment(Method method,
Optional<String> sampleCodeOpt) |
static List<CommentStatement> |
ServiceClientCommentComposer.createRpcMethodHeaderComment(Method method,
List<MethodArgument> methodArguments,
Optional<String> sampleCodeOpt) |
static List<CommentStatement> |
ServiceClientCommentComposer.createRpcMethodHeaderComment(Method method,
Optional<String> sampleCodeOpt) |
static List<CommentStatement> |
StubCommentComposer.createServiceStubClassHeaderComments(String serviceName,
boolean isDeprecated) |
List<CommentStatement> |
StubCommentComposer.createTransportServiceCallableFactoryClassHeaderComments(String serviceName,
boolean isDeprecated) |
List<CommentStatement> |
StubCommentComposer.createTransportServiceStubClassHeaderComments(String serviceName,
boolean isDeprecated) |
| Modifier and Type | Method and Description |
|---|---|
protected List<CommentStatement> |
AbstractServiceClientClassComposer.createClassHeaderComments(Service service,
TypeStore typeStore,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
List<Sample> samples) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
protected List<CommentStatement> |
ServiceClientClassComposer.createClassHeaderComments(Service service,
TypeStore typeStore,
Map<String,ResourceName> resourceNames,
Map<String,Message> messageTypes,
List<Sample> samples) |
| Modifier and Type | Method and Description |
|---|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static CommentStatement |
RegionTag.generateTag(RegionTag.RegionTagRegion regionTagRegion,
String regionTagContent) |
| Modifier and Type | Method and Description |
|---|---|
abstract List<CommentStatement> |
Sample.fileHeader() |
| Modifier and Type | Method and Description |
|---|---|
abstract Sample.Builder |
Sample.Builder.setFileHeader(List<CommentStatement> header) |
Sample |
Sample.withHeader(List<CommentStatement> header)
Helper method to easily update Sample's license header.
|
Copyright © 2022 Google LLC. All rights reserved.