Skip to content

Commit

Permalink
chore: Update ObsoleteApi text
Browse files Browse the repository at this point in the history
  • Loading branch information
lqiu96 committed Jul 12, 2024
1 parent 9ea0253 commit a6b2a85
Show file tree
Hide file tree
Showing 34 changed files with 34 additions and 68 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1195,8 +1195,7 @@ private List<MethodDefinition> createDefaultHelperAndGetterMethods(
ImmutableList.of(
AnnotationNode.builder()
.setType(FIXED_TYPESTORE.get(ObsoleteApi.class.getSimpleName()))
.setDescription(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
.setDescription("Use getEndpoint() instead")
.build()))
.build());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ public class EchoWithVersionStubSettings extends StubSettings<EchoWithVersionStu
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,7 @@ public class DeprecatedServiceStubSettings extends StubSettings<DeprecatedServic
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ public class EchoStubSettings extends StubSettings<EchoStubSettings> {
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,7 @@ public class LoggingServiceV2StubSettings extends StubSettings<LoggingServiceV2S
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "logging.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -443,8 +443,7 @@ public class PublisherStubSettings extends StubSettings<PublisherStubSettings> {
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsub.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,7 @@ public class EchoStubSettings extends StubSettings<EchoStubSettings> {
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ public class WickedStubSettings extends StubSettings<WickedStubSettings> {
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ public class ComplianceStubSettings extends StubSettings<ComplianceStubSettings>
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ public class EchoWithVersionStubSettings extends StubSettings<EchoWithVersionStu
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,8 +439,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,8 +310,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,8 +452,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "localhost:7469";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "apigeeconnect.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "apigeeconnect.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "cloudasset.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "bigtable.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "compute.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "compute.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "iamcredentials.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "iam-meta-api.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -651,8 +651,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "cloudkms.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "library-example.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -559,8 +559,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "logging.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -450,8 +450,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "logging.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "logging.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsub.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsub.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -389,8 +389,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "pubsub.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "redis.googleapis.com:443";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild
}

/** Returns the default service endpoint. */
@ObsoleteApi(
"See https://github.com/googleapis/sdk-platform-java/issues/2346 for more information")
@ObsoleteApi("Use getEndpoint() instead")
public static String getDefaultEndpoint() {
return "storage.googleapis.com:443";
}
Expand Down

0 comments on commit a6b2a85

Please sign in to comment.