Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
fix: update gapic-generator-java with mock service generation fixes (#…
Browse files Browse the repository at this point in the history
…853)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 457524730

Source-Link: googleapis/googleapis@917e7f2

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jun 28, 2022
1 parent 63fcf1a commit 26d3646
Show file tree
Hide file tree
Showing 89 changed files with 158 additions and 278 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.httpjson.longrunning.OperationsClient;
import com.google.api.gax.longrunning.OperationFuture;
Expand Down Expand Up @@ -196,6 +197,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() {
* Returns the OperationsClient that can be used to query the status of a long-running operation
* returned by another API method call.
*/
@BetaApi
public final OperationsClient getHttpJsonOperationsClient() {
return httpJsonOperationsClient;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync]
import com.google.cloud.securitycenter.v1.BigQueryExport;
import com.google.cloud.securitycenter.v1.FolderName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportFoldernameBigqueryexportString() thro
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_foldernamebigqueryexportstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync]
import com.google.cloud.securitycenter.v1.BigQueryExport;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateBigQueryExportOrganizationnameBigqueryexportString(
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_organizationnamebigqueryexportstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync]
import com.google.cloud.securitycenter.v1.BigQueryExport;
import com.google.cloud.securitycenter.v1.ProjectName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportProjectnameBigqueryexportString() thr
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_projectnamebigqueryexportstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync]
import com.google.cloud.securitycenter.v1.BigQueryExport;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateBigQueryExportStringBigqueryexportString() throws E
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createbigqueryexport_stringbigqueryexportstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync]
// [START securitycenter_v1_generated_securitycenterclient_createfinding_sourcenamestringfinding_sync]
import com.google.cloud.securitycenter.v1.Finding;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.cloud.securitycenter.v1.SourceName;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfig_sync]
import com.google.cloud.securitycenter.v1.FolderName;
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync]
import com.google.cloud.securitycenter.v1.FolderName;
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigFoldernameMuteconfigString() throws Excep
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_foldernamemuteconfigstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync]
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -38,5 +37,4 @@ public static void syncCreateMuteConfigOrganizationnameMuteconfig() throws Excep
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync]
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigOrganizationnameMuteconfigString() throws
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_organizationnamemuteconfigstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync]
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.ProjectName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -38,5 +37,4 @@ public static void syncCreateMuteConfigProjectnameMuteconfig() throws Exception
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync]
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.ProjectName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigProjectnameMuteconfigString() throws Exce
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_projectnamemuteconfigstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync]
// [START securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync]
import com.google.cloud.securitycenter.v1.MuteConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -39,5 +38,4 @@ public static void syncCreateMuteConfigStringMuteconfigString() throws Exception
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync]
// [END securitycenter_v1_generated_securitycenterclient_createmuteconfig_stringmuteconfigstring_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync]
import com.google.cloud.securitycenter.v1.NotificationConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigOrganizationnameNotificationconfi
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamenotificationconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync]
import com.google.cloud.securitycenter.v1.NotificationConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -41,5 +40,4 @@ public static void syncCreateNotificationConfigOrganizationnameStringNotificatio
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_organizationnamestringnotificationconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync]
import com.google.cloud.securitycenter.v1.NotificationConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -39,5 +38,4 @@ public static void syncCreateNotificationConfigStringNotificationconfig() throws
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringnotificationconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync]
// [START securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync]
import com.google.cloud.securitycenter.v1.NotificationConfig;
import com.google.cloud.securitycenter.v1.OrganizationName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand All @@ -40,5 +39,4 @@ public static void syncCreateNotificationConfigStringStringNotificationconfig()
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync]
// [END securitycenter_v1_generated_securitycenterclient_createnotificationconfig_stringstringnotificationconfig_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.securitycenter.v1.BigQueryExportName;
import com.google.cloud.securitycenter.v1.DeleteBigQueryExportRequest;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteBigQueryExport {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync]
// [START securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync]
import com.google.cloud.securitycenter.v1.BigQueryExportName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteBigQueryExportBigqueryexportname {

Expand All @@ -37,5 +37,4 @@ public static void syncDeleteBigQueryExportBigqueryexportname() throws Exception
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync]
// [END securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_bigqueryexportname_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START securitycenter_v1_generated_securitycenterclient_deletebigqueryexport_string_sync]
import com.google.cloud.securitycenter.v1.BigQueryExportName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteBigQueryExportString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.securitycenter.v1.DeleteMuteConfigRequest;
import com.google.cloud.securitycenter.v1.MuteConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteMuteConfig {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START securitycenter_v1_generated_securitycenterclient_deletemuteconfig_muteconfigname_sync]
import com.google.cloud.securitycenter.v1.MuteConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteMuteConfigMuteconfigname {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START securitycenter_v1_generated_securitycenterclient_deletemuteconfig_string_sync]
import com.google.cloud.securitycenter.v1.MuteConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteMuteConfigString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import com.google.cloud.securitycenter.v1.DeleteNotificationConfigRequest;
import com.google.cloud.securitycenter.v1.NotificationConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteNotificationConfig {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync]
// [START securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync]
import com.google.cloud.securitycenter.v1.NotificationConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteNotificationConfigNotificationconfigname {

Expand All @@ -37,5 +37,4 @@ public static void syncDeleteNotificationConfigNotificationconfigname() throws E
}
}
}
// [END
// securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync]
// [END securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_notificationconfigname_sync]
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
// [START securitycenter_v1_generated_securitycenterclient_deletenotificationconfig_string_sync]
import com.google.cloud.securitycenter.v1.NotificationConfigName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
import com.google.protobuf.Empty;

public class SyncDeleteNotificationConfigString {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@

package com.google.cloud.securitycenter.v1.samples;

// [START
// securitycenter_v1_generated_securitycenterclient_getbigqueryexport_bigqueryexportname_sync]
// [START securitycenter_v1_generated_securitycenterclient_getbigqueryexport_bigqueryexportname_sync]
import com.google.cloud.securitycenter.v1.BigQueryExport;
import com.google.cloud.securitycenter.v1.BigQueryExportName;
import com.google.cloud.securitycenter.v1.SecurityCenterClient;
Expand Down
Loading

0 comments on commit 26d3646

Please sign in to comment.