From 3b36de7e5c699e056950d980e7ce4c280c9490dc Mon Sep 17 00:00:00 2001 From: Min Zhu Date: Thu, 8 Feb 2024 13:45:44 -0500 Subject: [PATCH] update golden for integration tests affected. --- .../src/com/google/cloud/asset/v1/FeedName.java | 9 --------- .../com/google/cloud/asset/v1/SavedQueryName.java | 9 --------- .../src/com/google/logging/v2/CmekSettingsName.java | 12 ------------ .../src/com/google/logging/v2/LogBucketName.java | 12 ------------ .../src/com/google/logging/v2/LogExclusionName.java | 12 ------------ .../logging/src/com/google/logging/v2/LogName.java | 12 ------------ .../src/com/google/logging/v2/LogSinkName.java | 12 ------------ .../src/com/google/logging/v2/LogViewName.java | 12 ------------ .../src/com/google/logging/v2/SettingsName.java | 12 ------------ .../pubsub/src/com/google/pubsub/v1/TopicName.java | 6 ------ 10 files changed, 108 deletions(-) diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java index 7278bc364b..2cd8db4bcb 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/FeedName.java @@ -97,17 +97,14 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectFeedBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderFeedBuilder newFolderFeedBuilder() { return new FolderFeedBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationFeedBuilder newOrganizationFeedBuilder() { return new OrganizationFeedBuilder(); } @@ -120,17 +117,14 @@ public static FeedName of(String project, String feed) { return newBuilder().setProject(project).setFeed(feed).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FeedName ofProjectFeedName(String project, String feed) { return newBuilder().setProject(project).setFeed(feed).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FeedName ofFolderFeedName(String folder, String feed) { return newFolderFeedBuilder().setFolder(folder).setFeed(feed).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static FeedName ofOrganizationFeedName(String organization, String feed) { return newOrganizationFeedBuilder().setOrganization(organization).setFeed(feed).build(); } @@ -139,17 +133,14 @@ public static String format(String project, String feed) { return newBuilder().setProject(project).setFeed(feed).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectFeedName(String project, String feed) { return newBuilder().setProject(project).setFeed(feed).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderFeedName(String folder, String feed) { return newFolderFeedBuilder().setFolder(folder).setFeed(feed).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationFeedName(String organization, String feed) { return newOrganizationFeedBuilder() .setOrganization(organization) diff --git a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java index af70ae9f77..bf3eaecf34 100644 --- a/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java +++ b/test/integration/goldens/asset/src/com/google/cloud/asset/v1/SavedQueryName.java @@ -98,17 +98,14 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectSavedQueryBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderSavedQueryBuilder newFolderSavedQueryBuilder() { return new FolderSavedQueryBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationSavedQueryBuilder newOrganizationSavedQueryBuilder() { return new OrganizationSavedQueryBuilder(); } @@ -121,17 +118,14 @@ public static SavedQueryName of(String project, String savedQuery) { return newBuilder().setProject(project).setSavedQuery(savedQuery).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofProjectSavedQueryName(String project, String savedQuery) { return newBuilder().setProject(project).setSavedQuery(savedQuery).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofFolderSavedQueryName(String folder, String savedQuery) { return newFolderSavedQueryBuilder().setFolder(folder).setSavedQuery(savedQuery).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SavedQueryName ofOrganizationSavedQueryName( String organization, String savedQuery) { return newOrganizationSavedQueryBuilder() @@ -144,12 +138,10 @@ public static String format(String project, String savedQuery) { return newBuilder().setProject(project).setSavedQuery(savedQuery).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectSavedQueryName(String project, String savedQuery) { return newBuilder().setProject(project).setSavedQuery(savedQuery).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderSavedQueryName(String folder, String savedQuery) { return newFolderSavedQueryBuilder() .setFolder(folder) @@ -158,7 +150,6 @@ public static String formatFolderSavedQueryName(String folder, String savedQuery .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationSavedQueryName(String organization, String savedQuery) { return newOrganizationSavedQueryBuilder() .setOrganization(organization) diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java b/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java index 63c0183a11..d5cdcfb3db 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/CmekSettingsName.java @@ -107,22 +107,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationBuilder newOrganizationBuilder() { return new OrganizationBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderBuilder newFolderBuilder() { return new FolderBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountBuilder newBillingAccountBuilder() { return new BillingAccountBuilder(); } @@ -135,22 +131,18 @@ public static CmekSettingsName of(String project) { return newBuilder().setProject(project).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static CmekSettingsName ofProjectName(String project) { return newBuilder().setProject(project).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static CmekSettingsName ofOrganizationName(String organization) { return newOrganizationBuilder().setOrganization(organization).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static CmekSettingsName ofFolderName(String folder) { return newFolderBuilder().setFolder(folder).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static CmekSettingsName ofBillingAccountName(String billingAccount) { return newBillingAccountBuilder().setBillingAccount(billingAccount).build(); } @@ -159,22 +151,18 @@ public static String format(String project) { return newBuilder().setProject(project).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project) { return newBuilder().setProject(project).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationName(String organization) { return newOrganizationBuilder().setOrganization(organization).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderName(String folder) { return newFolderBuilder().setFolder(folder).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountName(String billingAccount) { return newBillingAccountBuilder().setBillingAccount(billingAccount).build().toString(); } diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java index 0f77e30267..e8a2a15236 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogBucketName.java @@ -131,22 +131,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectLocationBucketBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationLocationBucketBuilder newOrganizationLocationBucketBuilder() { return new OrganizationLocationBucketBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderLocationBucketBuilder newFolderLocationBucketBuilder() { return new FolderLocationBucketBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountLocationBucketBuilder newBillingAccountLocationBucketBuilder() { return new BillingAccountLocationBucketBuilder(); } @@ -159,13 +155,11 @@ public static LogBucketName of(String project, String location, String bucket) { return newBuilder().setProject(project).setLocation(location).setBucket(bucket).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofProjectLocationBucketName( String project, String location, String bucket) { return newBuilder().setProject(project).setLocation(location).setBucket(bucket).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofOrganizationLocationBucketName( String organization, String location, String bucket) { return newOrganizationLocationBucketBuilder() @@ -175,7 +169,6 @@ public static LogBucketName ofOrganizationLocationBucketName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofFolderLocationBucketName( String folder, String location, String bucket) { return newFolderLocationBucketBuilder() @@ -185,7 +178,6 @@ public static LogBucketName ofFolderLocationBucketName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogBucketName ofBillingAccountLocationBucketName( String billingAccount, String location, String bucket) { return newBillingAccountLocationBucketBuilder() @@ -204,7 +196,6 @@ public static String format(String project, String location, String bucket) { .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationBucketName( String project, String location, String bucket) { return newBuilder() @@ -215,7 +206,6 @@ public static String formatProjectLocationBucketName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationBucketName( String organization, String location, String bucket) { return newOrganizationLocationBucketBuilder() @@ -226,7 +216,6 @@ public static String formatOrganizationLocationBucketName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationBucketName( String folder, String location, String bucket) { return newFolderLocationBucketBuilder() @@ -237,7 +226,6 @@ public static String formatFolderLocationBucketName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationBucketName( String billingAccount, String location, String bucket) { return newBillingAccountLocationBucketBuilder() diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java index 2fa6913c62..0bf4dbba2b 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogExclusionName.java @@ -118,22 +118,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectExclusionBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationExclusionBuilder newOrganizationExclusionBuilder() { return new OrganizationExclusionBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderExclusionBuilder newFolderExclusionBuilder() { return new FolderExclusionBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountExclusionBuilder newBillingAccountExclusionBuilder() { return new BillingAccountExclusionBuilder(); } @@ -146,12 +142,10 @@ public static LogExclusionName of(String project, String exclusion) { return newBuilder().setProject(project).setExclusion(exclusion).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogExclusionName ofProjectExclusionName(String project, String exclusion) { return newBuilder().setProject(project).setExclusion(exclusion).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogExclusionName ofOrganizationExclusionName( String organization, String exclusion) { return newOrganizationExclusionBuilder() @@ -160,12 +154,10 @@ public static LogExclusionName ofOrganizationExclusionName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogExclusionName ofFolderExclusionName(String folder, String exclusion) { return newFolderExclusionBuilder().setFolder(folder).setExclusion(exclusion).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogExclusionName ofBillingAccountExclusionName( String billingAccount, String exclusion) { return newBillingAccountExclusionBuilder() @@ -178,12 +170,10 @@ public static String format(String project, String exclusion) { return newBuilder().setProject(project).setExclusion(exclusion).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectExclusionName(String project, String exclusion) { return newBuilder().setProject(project).setExclusion(exclusion).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationExclusionName(String organization, String exclusion) { return newOrganizationExclusionBuilder() .setOrganization(organization) @@ -192,12 +182,10 @@ public static String formatOrganizationExclusionName(String organization, String .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderExclusionName(String folder, String exclusion) { return newFolderExclusionBuilder().setFolder(folder).setExclusion(exclusion).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountExclusionName(String billingAccount, String exclusion) { return newBillingAccountExclusionBuilder() .setBillingAccount(billingAccount) diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java index 21c790f861..3f93da93cd 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogName.java @@ -117,22 +117,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectLogBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationLogBuilder newOrganizationLogBuilder() { return new OrganizationLogBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderLogBuilder newFolderLogBuilder() { return new FolderLogBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountLogBuilder newBillingAccountLogBuilder() { return new BillingAccountLogBuilder(); } @@ -145,22 +141,18 @@ public static LogName of(String project, String log) { return newBuilder().setProject(project).setLog(log).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofProjectLogName(String project, String log) { return newBuilder().setProject(project).setLog(log).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofOrganizationLogName(String organization, String log) { return newOrganizationLogBuilder().setOrganization(organization).setLog(log).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofFolderLogName(String folder, String log) { return newFolderLogBuilder().setFolder(folder).setLog(log).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofBillingAccountLogName(String billingAccount, String log) { return newBillingAccountLogBuilder().setBillingAccount(billingAccount).setLog(log).build(); } @@ -169,22 +161,18 @@ public static String format(String project, String log) { return newBuilder().setProject(project).setLog(log).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLogName(String project, String log) { return newBuilder().setProject(project).setLog(log).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLogName(String organization, String log) { return newOrganizationLogBuilder().setOrganization(organization).setLog(log).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLogName(String folder, String log) { return newFolderLogBuilder().setFolder(folder).setLog(log).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLogName(String billingAccount, String log) { return newBillingAccountLogBuilder() .setBillingAccount(billingAccount) diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java index 030992a76f..cf2b9123db 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogSinkName.java @@ -117,22 +117,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectSinkBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationSinkBuilder newOrganizationSinkBuilder() { return new OrganizationSinkBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderSinkBuilder newFolderSinkBuilder() { return new FolderSinkBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountSinkBuilder newBillingAccountSinkBuilder() { return new BillingAccountSinkBuilder(); } @@ -145,22 +141,18 @@ public static LogSinkName of(String project, String sink) { return newBuilder().setProject(project).setSink(sink).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofProjectSinkName(String project, String sink) { return newBuilder().setProject(project).setSink(sink).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofOrganizationSinkName(String organization, String sink) { return newOrganizationSinkBuilder().setOrganization(organization).setSink(sink).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofFolderSinkName(String folder, String sink) { return newFolderSinkBuilder().setFolder(folder).setSink(sink).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogSinkName ofBillingAccountSinkName(String billingAccount, String sink) { return newBillingAccountSinkBuilder().setBillingAccount(billingAccount).setSink(sink).build(); } @@ -169,12 +161,10 @@ public static String format(String project, String sink) { return newBuilder().setProject(project).setSink(sink).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectSinkName(String project, String sink) { return newBuilder().setProject(project).setSink(sink).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationSinkName(String organization, String sink) { return newOrganizationSinkBuilder() .setOrganization(organization) @@ -183,12 +173,10 @@ public static String formatOrganizationSinkName(String organization, String sink .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderSinkName(String folder, String sink) { return newFolderSinkBuilder().setFolder(folder).setSink(sink).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountSinkName(String billingAccount, String sink) { return newBillingAccountSinkBuilder() .setBillingAccount(billingAccount) diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java b/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java index 92b3a1ad75..d51a3583af 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/LogViewName.java @@ -141,22 +141,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectLocationBucketViewBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationLocationBucketViewBuilder newOrganizationLocationBucketViewBuilder() { return new OrganizationLocationBucketViewBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderLocationBucketViewBuilder newFolderLocationBucketViewBuilder() { return new FolderLocationBucketViewBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountLocationBucketViewBuilder newBillingAccountLocationBucketViewBuilder() { return new BillingAccountLocationBucketViewBuilder(); @@ -175,7 +171,6 @@ public static LogViewName of(String project, String location, String bucket, Str .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogViewName ofProjectLocationBucketViewName( String project, String location, String bucket, String view) { return newBuilder() @@ -186,7 +181,6 @@ public static LogViewName ofProjectLocationBucketViewName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogViewName ofOrganizationLocationBucketViewName( String organization, String location, String bucket, String view) { return newOrganizationLocationBucketViewBuilder() @@ -197,7 +191,6 @@ public static LogViewName ofOrganizationLocationBucketViewName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogViewName ofFolderLocationBucketViewName( String folder, String location, String bucket, String view) { return newFolderLocationBucketViewBuilder() @@ -208,7 +201,6 @@ public static LogViewName ofFolderLocationBucketViewName( .build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogViewName ofBillingAccountLocationBucketViewName( String billingAccount, String location, String bucket, String view) { return newBillingAccountLocationBucketViewBuilder() @@ -229,7 +221,6 @@ public static String format(String project, String location, String bucket, Stri .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLocationBucketViewName( String project, String location, String bucket, String view) { return newBuilder() @@ -241,7 +232,6 @@ public static String formatProjectLocationBucketViewName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLocationBucketViewName( String organization, String location, String bucket, String view) { return newOrganizationLocationBucketViewBuilder() @@ -253,7 +243,6 @@ public static String formatOrganizationLocationBucketViewName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLocationBucketViewName( String folder, String location, String bucket, String view) { return newFolderLocationBucketViewBuilder() @@ -265,7 +254,6 @@ public static String formatFolderLocationBucketViewName( .toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLocationBucketViewName( String billingAccount, String location, String bucket, String view) { return newBillingAccountLocationBucketViewBuilder() diff --git a/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java b/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java index 86322c9321..ab2bf0b655 100644 --- a/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java +++ b/test/integration/goldens/logging/src/com/google/logging/v2/SettingsName.java @@ -107,22 +107,18 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static OrganizationBuilder newOrganizationBuilder() { return new OrganizationBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static FolderBuilder newFolderBuilder() { return new FolderBuilder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountBuilder newBillingAccountBuilder() { return new BillingAccountBuilder(); } @@ -135,22 +131,18 @@ public static SettingsName of(String project) { return newBuilder().setProject(project).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectName(String project) { return newBuilder().setProject(project).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofOrganizationName(String organization) { return newOrganizationBuilder().setOrganization(organization).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofFolderName(String folder) { return newFolderBuilder().setFolder(folder).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofBillingAccountName(String billingAccount) { return newBillingAccountBuilder().setBillingAccount(billingAccount).build(); } @@ -159,22 +151,18 @@ public static String format(String project) { return newBuilder().setProject(project).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project) { return newBuilder().setProject(project).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationName(String organization) { return newOrganizationBuilder().setOrganization(organization).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderName(String folder) { return newFolderBuilder().setFolder(folder).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountName(String billingAccount) { return newBillingAccountBuilder().setBillingAccount(billingAccount).build().toString(); } diff --git a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java index abae4f0317..8fe96fcb8d 100644 --- a/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java +++ b/test/integration/goldens/pubsub/src/com/google/pubsub/v1/TopicName.java @@ -16,7 +16,6 @@ package com.google.pubsub.v1; -import com.google.api.core.BetaApi; import com.google.api.pathtemplate.PathTemplate; import com.google.api.pathtemplate.ValidationException; import com.google.api.resourcenames.ResourceName; @@ -71,7 +70,6 @@ public static Builder newBuilder() { return new Builder(); } - @BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static Builder newProjectTopicBuilder() { return new Builder(); } @@ -84,12 +82,10 @@ public static TopicName of(String project, String topic) { return newBuilder().setProject(project).setTopic(topic).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static TopicName ofProjectTopicName(String project, String topic) { return newBuilder().setProject(project).setTopic(topic).build(); } - @BetaApi("The static create methods are not stable yet and may be changed in the future.") public static TopicName ofDeletedTopicName() { return new TopicName("_deleted-topic_"); } @@ -98,12 +94,10 @@ public static String format(String project, String topic) { return newBuilder().setProject(project).setTopic(topic).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectTopicName(String project, String topic) { return newBuilder().setProject(project).setTopic(topic).build().toString(); } - @BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatDeletedTopicName() { return "_deleted-topic_"; }