Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): Update the Java code generator (gapic-generator-java) to 2.37.0 #1553

Merged
merged 2 commits into from Mar 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -24,7 +24,6 @@

import com.google.api.core.ApiFunction;
import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.GaxProperties;
import com.google.api.gax.core.GoogleCredentialsProvider;
import com.google.api.gax.core.InstantiatingExecutorProvider;
Expand Down Expand Up @@ -1394,8 +1393,6 @@ public UnaryCallSettings.Builder<CreateBucketRequest, Operation> createBucketAsy
}

/** Returns the builder for the settings used for calls to createBucketAsync. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateBucketRequest, LogBucket, BucketMetadata>
createBucketAsyncOperationSettings() {
return createBucketAsyncOperationSettings;
Expand All @@ -1407,8 +1404,6 @@ public UnaryCallSettings.Builder<UpdateBucketRequest, Operation> updateBucketAsy
}

/** Returns the builder for the settings used for calls to updateBucketAsync. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<UpdateBucketRequest, LogBucket, BucketMetadata>
updateBucketAsyncOperationSettings() {
return updateBucketAsyncOperationSettings;
Expand Down Expand Up @@ -1492,8 +1487,6 @@ public UnaryCallSettings.Builder<CreateLinkRequest, Operation> createLinkSetting
}

/** Returns the builder for the settings used for calls to createLink. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<CreateLinkRequest, Link, LinkMetadata>
createLinkOperationSettings() {
return createLinkOperationSettings;
Expand All @@ -1505,8 +1498,6 @@ public UnaryCallSettings.Builder<DeleteLinkRequest, Operation> deleteLinkSetting
}

/** Returns the builder for the settings used for calls to deleteLink. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<DeleteLinkRequest, Empty, LinkMetadata>
deleteLinkOperationSettings() {
return deleteLinkOperationSettings;
Expand Down Expand Up @@ -1580,8 +1571,6 @@ public UnaryCallSettings.Builder<CopyLogEntriesRequest, Operation> copyLogEntrie
}

/** Returns the builder for the settings used for calls to copyLogEntries. */
@BetaApi(
"The surface for use by generated code is not stable yet and may change in the future.")
public OperationCallSettings.Builder<
CopyLogEntriesRequest, CopyLogEntriesResponse, CopyLogEntriesMetadata>
copyLogEntriesOperationSettings() {
Expand Down
Expand Up @@ -16,7 +16,6 @@

package com.google.logging.v2;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -107,7 +106,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 newProjectBuilder() {
return new Builder();
}
Expand All @@ -118,17 +116,14 @@ public static Builder newProjectCmekSettingsBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationCmekSettingsBuilder newOrganizationCmekSettingsBuilder() {
return new OrganizationCmekSettingsBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderCmekSettingsBuilder newFolderCmekSettingsBuilder() {
return new FolderCmekSettingsBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static BillingAccountCmekSettingsBuilder newBillingAccountCmekSettingsBuilder() {
return new BillingAccountCmekSettingsBuilder();
}
Expand All @@ -141,7 +136,6 @@ 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();
}
Expand All @@ -152,7 +146,6 @@ public static CmekSettingsName ofProjectCmekSettingsName(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 newOrganizationCmekSettingsBuilder().setOrganization(organization).build();
}
Expand All @@ -163,7 +156,6 @@ public static CmekSettingsName ofOrganizationCmekSettingsName(String organizatio
return newOrganizationCmekSettingsBuilder().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 newFolderCmekSettingsBuilder().setFolder(folder).build();
}
Expand All @@ -174,7 +166,6 @@ public static CmekSettingsName ofFolderCmekSettingsName(String folder) {
return newFolderCmekSettingsBuilder().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 newBillingAccountCmekSettingsBuilder().setBillingAccount(billingAccount).build();
}
Expand All @@ -189,7 +180,6 @@ 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();
}
Expand All @@ -200,7 +190,6 @@ public static String formatProjectCmekSettingsName(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 newOrganizationCmekSettingsBuilder().setOrganization(organization).build().toString();
}
Expand All @@ -211,7 +200,6 @@ public static String formatOrganizationCmekSettingsName(String organization) {
return newOrganizationCmekSettingsBuilder().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 newFolderCmekSettingsBuilder().setFolder(folder).build().toString();
}
Expand All @@ -222,7 +210,6 @@ public static String formatFolderCmekSettingsName(String folder) {
return newFolderCmekSettingsBuilder().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 newBillingAccountCmekSettingsBuilder()
.setBillingAccount(billingAccount)
Expand Down Expand Up @@ -379,7 +366,6 @@ public CmekSettingsName build() {
}

/** Builder for organizations/{organization}/cmekSettings. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationCmekSettingsBuilder {
private String organization;

Expand All @@ -400,7 +386,6 @@ public CmekSettingsName build() {
}

/** Builder for folders/{folder}/cmekSettings. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderCmekSettingsBuilder {
private String folder;

Expand All @@ -421,7 +406,6 @@ public CmekSettingsName build() {
}

/** Builder for billingAccounts/{billing_account}/cmekSettings. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class BillingAccountCmekSettingsBuilder {
private String billingAccount;

Expand Down
Expand Up @@ -16,7 +16,6 @@

package com.google.logging.v2;

import com.google.api.core.BetaApi;
import com.google.api.pathtemplate.PathTemplate;
import com.google.api.pathtemplate.ValidationException;
import com.google.api.resourcenames.ResourceName;
Expand Down Expand Up @@ -141,22 +140,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 newProjectLocationBucketLinkBuilder() {
return new Builder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static OrganizationLocationBucketLinkBuilder newOrganizationLocationBucketLinkBuilder() {
return new OrganizationLocationBucketLinkBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static FolderLocationBucketLinkBuilder newFolderLocationBucketLinkBuilder() {
return new FolderLocationBucketLinkBuilder();
}

@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static BillingAccountLocationBucketLinkBuilder
newBillingAccountLocationBucketLinkBuilder() {
return new BillingAccountLocationBucketLinkBuilder();
Expand All @@ -175,7 +170,6 @@ public static LinkName of(String project, String location, String bucket, String
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LinkName ofProjectLocationBucketLinkName(
String project, String location, String bucket, String link) {
return newBuilder()
Expand All @@ -186,7 +180,6 @@ public static LinkName ofProjectLocationBucketLinkName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LinkName ofOrganizationLocationBucketLinkName(
String organization, String location, String bucket, String link) {
return newOrganizationLocationBucketLinkBuilder()
Expand All @@ -197,7 +190,6 @@ public static LinkName ofOrganizationLocationBucketLinkName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LinkName ofFolderLocationBucketLinkName(
String folder, String location, String bucket, String link) {
return newFolderLocationBucketLinkBuilder()
Expand All @@ -208,7 +200,6 @@ public static LinkName ofFolderLocationBucketLinkName(
.build();
}

@BetaApi("The static create methods are not stable yet and may be changed in the future.")
public static LinkName ofBillingAccountLocationBucketLinkName(
String billingAccount, String location, String bucket, String link) {
return newBillingAccountLocationBucketLinkBuilder()
Expand All @@ -229,7 +220,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 formatProjectLocationBucketLinkName(
String project, String location, String bucket, String link) {
return newBuilder()
Expand All @@ -241,7 +231,6 @@ public static String formatProjectLocationBucketLinkName(
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatOrganizationLocationBucketLinkName(
String organization, String location, String bucket, String link) {
return newOrganizationLocationBucketLinkBuilder()
Expand All @@ -253,7 +242,6 @@ public static String formatOrganizationLocationBucketLinkName(
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatFolderLocationBucketLinkName(
String folder, String location, String bucket, String link) {
return newFolderLocationBucketLinkBuilder()
Expand All @@ -265,7 +253,6 @@ public static String formatFolderLocationBucketLinkName(
.toString();
}

@BetaApi("The static format methods are not stable yet and may be changed in the future.")
public static String formatBillingAccountLocationBucketLinkName(
String billingAccount, String location, String bucket, String link) {
return newBillingAccountLocationBucketLinkBuilder()
Expand Down Expand Up @@ -486,7 +473,6 @@ public LinkName build() {
/**
* Builder for organizations/{organization}/locations/{location}/buckets/{bucket}/links/{link}.
*/
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class OrganizationLocationBucketLinkBuilder {
private String organization;
private String location;
Expand Down Expand Up @@ -537,7 +523,6 @@ public LinkName build() {
}

/** Builder for folders/{folder}/locations/{location}/buckets/{bucket}/links/{link}. */
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class FolderLocationBucketLinkBuilder {
private String folder;
private String location;
Expand Down Expand Up @@ -591,7 +576,6 @@ public LinkName build() {
* Builder for
* billingAccounts/{billing_account}/locations/{location}/buckets/{bucket}/links/{link}.
*/
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.")
public static class BillingAccountLocationBucketLinkBuilder {
private String billingAccount;
private String location;
Expand Down