diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index 05ad83ed3bce..2ee7854394a8 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -1147,7 +1147,7 @@ public final NotificationConfig createNotificationConfig( * @param parent Required. Resource name of the new notification config's parent. Its format is * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". * @param configId Required. Unique identifier provided by the client within the parent scope. It - * must be between 1 and 128 characters, and contains alphanumeric characters, underscores or + * must be between 1 and 128 characters and contain alphanumeric characters, underscores, or * hyphens only. * @param notificationConfig Required. The notification config being created. The name and the * service account will be ignored as they are both output only fields on this resource. @@ -1188,7 +1188,7 @@ public final NotificationConfig createNotificationConfig( * @param parent Required. Resource name of the new notification config's parent. Its format is * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". * @param configId Required. Unique identifier provided by the client within the parent scope. It - * must be between 1 and 128 characters, and contains alphanumeric characters, underscores or + * must be between 1 and 128 characters and contain alphanumeric characters, underscores, or * hyphens only. * @param notificationConfig Required. The notification config being created. The name and the * service account will be ignored as they are both output only fields on this resource. @@ -1229,7 +1229,7 @@ public final NotificationConfig createNotificationConfig( * @param parent Required. Resource name of the new notification config's parent. Its format is * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". * @param configId Required. Unique identifier provided by the client within the parent scope. It - * must be between 1 and 128 characters, and contains alphanumeric characters, underscores or + * must be between 1 and 128 characters and contain alphanumeric characters, underscores, or * hyphens only. * @param notificationConfig Required. The notification config being created. The name and the * service account will be ignored as they are both output only fields on this resource. @@ -1270,7 +1270,7 @@ public final NotificationConfig createNotificationConfig( * @param parent Required. Resource name of the new notification config's parent. Its format is * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". * @param configId Required. Unique identifier provided by the client within the parent scope. It - * must be between 1 and 128 characters, and contains alphanumeric characters, underscores or + * must be between 1 and 128 characters and contain alphanumeric characters, underscores, or * hyphens only. * @param notificationConfig Required. The notification config being created. The name and the * service account will be ignored as they are both output only fields on this resource. @@ -1488,7 +1488,9 @@ public final UnaryCallable deleteMuteConfigCalla * } * * @param name Required. Name of the notification config to delete. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]". + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteNotificationConfig(NotificationConfigName name) { @@ -1521,7 +1523,9 @@ public final void deleteNotificationConfig(NotificationConfigName name) { * } * * @param name Required. Name of the notification config to delete. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]". + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteNotificationConfig(String name) { @@ -1595,7 +1599,7 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest reque // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets a big query export. + * Gets a BigQuery export. * *

Sample code: * @@ -1612,7 +1616,7 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest reque * } * } * - * @param name Required. Name of the big query export to retrieve. Its format is + * @param name Required. Name of the BigQuery export to retrieve. Its format is * organizations/{organization}/bigQueryExports/{export_id}, * folders/{folder}/bigQueryExports/{export_id}, or * projects/{project}/bigQueryExports/{export_id} @@ -1628,7 +1632,7 @@ public final BigQueryExport getBigQueryExport(BigQueryExportName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets a big query export. + * Gets a BigQuery export. * *

Sample code: * @@ -1645,7 +1649,7 @@ public final BigQueryExport getBigQueryExport(BigQueryExportName name) { * } * } * - * @param name Required. Name of the big query export to retrieve. Its format is + * @param name Required. Name of the BigQuery export to retrieve. Its format is * organizations/{organization}/bigQueryExports/{export_id}, * folders/{folder}/bigQueryExports/{export_id}, or * projects/{project}/bigQueryExports/{export_id} @@ -1658,7 +1662,7 @@ public final BigQueryExport getBigQueryExport(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets a big query export. + * Gets a BigQuery export. * *

Sample code: * @@ -1688,7 +1692,7 @@ public final BigQueryExport getBigQueryExport(GetBigQueryExportRequest request) // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets a big query export. + * Gets a BigQuery export. * *

Sample code: * @@ -1972,7 +1976,9 @@ public final UnaryCallable getMuteConfigCallab * } * * @param name Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]". + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationConfig getNotificationConfig(NotificationConfigName name) { @@ -2005,7 +2011,9 @@ public final NotificationConfig getNotificationConfig(NotificationConfigName nam * } * * @param name Required. Name of the notification config to get. Its format is - * "organizations/[organization_id]/notificationConfigs/[config_id]". + * "organizations/[organization_id]/notificationConfigs/[config_id]", + * "folders/[folder_id]/notificationConfigs/[config_id]", or + * "projects/[project_id]/notificationConfigs/[config_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final NotificationConfig getNotificationConfig(String name) { @@ -3162,8 +3170,9 @@ public final ListMuteConfigsPagedResponse listMuteConfigs(ListMuteConfigsRequest * } * } * - * @param parent Required. Name of the organization to list notification configs. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param parent Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListNotificationConfigsPagedResponse listNotificationConfigs(FolderName parent) { @@ -3195,8 +3204,9 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(Folder * } * } * - * @param parent Required. Name of the organization to list notification configs. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param parent Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListNotificationConfigsPagedResponse listNotificationConfigs( @@ -3229,8 +3239,9 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs( * } * } * - * @param parent Required. Name of the organization to list notification configs. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param parent Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListNotificationConfigsPagedResponse listNotificationConfigs(ProjectName parent) { @@ -3262,8 +3273,9 @@ public final ListNotificationConfigsPagedResponse listNotificationConfigs(Projec * } * } * - * @param parent Required. Name of the organization to list notification configs. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param parent Required. The name of the parent in which to list the notification + * configurations. Its format is "organizations/[organization_id]", "folders/[folder_id]", or + * "projects/[project_id]". * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListNotificationConfigsPagedResponse listNotificationConfigs(String parent) { @@ -3792,9 +3804,12 @@ public final UnaryCallable runAssetDiscover * } * } * - * @param name Required. The relative resource name of the finding. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}". + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the + * finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * @param state Required. The desired State of the finding. * @param startTime Required. The time at which the updated state takes effect. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3831,9 +3846,12 @@ public final Finding setFindingState(FindingName name, Finding.State state, Time * } * } * - * @param name Required. The relative resource name of the finding. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: - * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}". + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the + * finding. Example: + * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", + * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", + * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". * @param state Required. The desired State of the finding. * @param startTime Required. The time at which the updated state takes effect. * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -3932,8 +3950,9 @@ public final UnaryCallable setFindingStateCalla * } * } * - * @param name Required. The relative resource name of the finding. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the + * finding. Example: * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". @@ -3970,8 +3989,9 @@ public final Finding setMute(FindingName name, Finding.Mute mute) { * } * } * - * @param name Required. The relative resource name of the finding. See: - * https://cloud.google.com/apis/design/resource_names#relative_resource_name Example: + * @param name Required. The [relative resource + * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name) of the + * finding. Example: * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}", * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}", * "projects/{project_id}/sources/{source_id}/findings/{finding_id}". @@ -4974,7 +4994,7 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -4993,9 +5013,9 @@ public final SecurityMarks updateSecurityMarks(UpdateSecurityMarksRequest reques * } * } * - * @param parent Required. Resource name of the new big query export's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". - * @param bigQueryExport Required. The big query export being created. + * @param parent Required. The name of the parent resource of the new BigQuery export. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param bigQueryExport Required. The BigQuery export being created. * @param bigQueryExportId Required. Unique identifier provided by the client within the parent * scope. It must consist of lower case letters, numbers, and hyphen, with the first character * a letter, the last a letter or a number, and a 63 character maximum. @@ -5014,7 +5034,7 @@ public final BigQueryExport createBigQueryExport( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -5033,9 +5053,9 @@ public final BigQueryExport createBigQueryExport( * } * } * - * @param parent Required. Resource name of the new big query export's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". - * @param bigQueryExport Required. The big query export being created. + * @param parent Required. The name of the parent resource of the new BigQuery export. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param bigQueryExport Required. The BigQuery export being created. * @param bigQueryExportId Required. Unique identifier provided by the client within the parent * scope. It must consist of lower case letters, numbers, and hyphen, with the first character * a letter, the last a letter or a number, and a 63 character maximum. @@ -5054,7 +5074,7 @@ public final BigQueryExport createBigQueryExport( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -5073,9 +5093,9 @@ public final BigQueryExport createBigQueryExport( * } * } * - * @param parent Required. Resource name of the new big query export's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". - * @param bigQueryExport Required. The big query export being created. + * @param parent Required. The name of the parent resource of the new BigQuery export. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param bigQueryExport Required. The BigQuery export being created. * @param bigQueryExportId Required. Unique identifier provided by the client within the parent * scope. It must consist of lower case letters, numbers, and hyphen, with the first character * a letter, the last a letter or a number, and a 63 character maximum. @@ -5094,7 +5114,7 @@ public final BigQueryExport createBigQueryExport( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -5113,9 +5133,9 @@ public final BigQueryExport createBigQueryExport( * } * } * - * @param parent Required. Resource name of the new big query export's parent. Its format is - * "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". - * @param bigQueryExport Required. The big query export being created. + * @param parent Required. The name of the parent resource of the new BigQuery export. Its format + * is "organizations/[organization_id]", "folders/[folder_id]", or "projects/[project_id]". + * @param bigQueryExport Required. The BigQuery export being created. * @param bigQueryExportId Required. Unique identifier provided by the client within the parent * scope. It must consist of lower case letters, numbers, and hyphen, with the first character * a letter, the last a letter or a number, and a 63 character maximum. @@ -5134,7 +5154,7 @@ public final BigQueryExport createBigQueryExport( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -5164,7 +5184,7 @@ public final BigQueryExport createBigQueryExport(CreateBigQueryExportRequest req // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Creates a big query export. + * Creates a BigQuery export. * *

Sample code: * @@ -5195,7 +5215,7 @@ public final BigQueryExport createBigQueryExport(CreateBigQueryExportRequest req // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing big query export. + * Deletes an existing BigQuery export. * *

Sample code: * @@ -5212,7 +5232,7 @@ public final BigQueryExport createBigQueryExport(CreateBigQueryExportRequest req * } * } * - * @param name Required. Name of the big query export to delete. Its format is + * @param name Required. The name of the BigQuery export to delete. Its format is * organizations/{organization}/bigQueryExports/{export_id}, * folders/{folder}/bigQueryExports/{export_id}, or * projects/{project}/bigQueryExports/{export_id} @@ -5228,7 +5248,7 @@ public final void deleteBigQueryExport(BigQueryExportName name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing big query export. + * Deletes an existing BigQuery export. * *

Sample code: * @@ -5245,7 +5265,7 @@ public final void deleteBigQueryExport(BigQueryExportName name) { * } * } * - * @param name Required. Name of the big query export to delete. Its format is + * @param name Required. The name of the BigQuery export to delete. Its format is * organizations/{organization}/bigQueryExports/{export_id}, * folders/{folder}/bigQueryExports/{export_id}, or * projects/{project}/bigQueryExports/{export_id} @@ -5259,7 +5279,7 @@ public final void deleteBigQueryExport(String name) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing big query export. + * Deletes an existing BigQuery export. * *

Sample code: * @@ -5289,7 +5309,7 @@ public final void deleteBigQueryExport(DeleteBigQueryExportRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Deletes an existing big query export. + * Deletes an existing BigQuery export. * *

Sample code: * diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java index 12d1f5f4556b..2a12c805ccd1 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/HttpJsonSecurityCenterStub.java @@ -148,12 +148,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -187,12 +188,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -224,12 +226,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "findingId", request.getFindingId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -265,12 +268,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam( fields, "muteConfigId", request.getMuteConfigId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("muteConfig", request.getMuteConfig(), false)) + .toBody("muteConfig", request.getMuteConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -306,13 +310,14 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "configId", request.getConfigId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() .toBody( - "notificationConfig", request.getNotificationConfig(), false)) + "notificationConfig", request.getNotificationConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -346,6 +351,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -383,6 +389,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -419,6 +426,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -452,12 +460,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -491,6 +500,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -528,6 +538,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -562,6 +573,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -594,6 +606,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -630,12 +643,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -669,12 +683,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -715,6 +730,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -759,6 +775,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -797,6 +814,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -838,6 +856,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -875,6 +894,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -908,12 +928,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -950,12 +971,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -988,12 +1010,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1024,12 +1047,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1060,12 +1084,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1104,12 +1129,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("externalSystem", request.getExternalSystem(), false)) + .toBody("externalSystem", request.getExternalSystem(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1145,12 +1171,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1186,12 +1213,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("muteConfig", request.getMuteConfig(), false)) + .toBody("muteConfig", request.getMuteConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1230,13 +1258,14 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() .toBody( - "notificationConfig", request.getNotificationConfig(), false)) + "notificationConfig", request.getNotificationConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1272,6 +1301,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( @@ -1280,7 +1310,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { .toBody( "organizationSettings", request.getOrganizationSettings(), - false)) + true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1313,12 +1343,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1359,12 +1390,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "startTime", request.getStartTime()); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("securityMarks", request.getSecurityMarks(), false)) + .toBody("securityMarks", request.getSecurityMarks(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1401,12 +1433,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam( fields, "bigQueryExportId", request.getBigQueryExportId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("bigQueryExport", request.getBigQueryExport(), false)) + .toBody("bigQueryExport", request.getBigQueryExport(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1441,6 +1474,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -1482,12 +1516,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("bigQueryExport", request.getBigQueryExport(), false)) + .toBody("bigQueryExport", request.getBigQueryExport(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -1524,6 +1559,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java index 1fdb34ec5da0..3c9d08a73eb1 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/HttpJsonSecurityCenterStub.java @@ -111,12 +111,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -148,12 +149,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "findingId", request.getFindingId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -184,12 +186,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -221,6 +224,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -253,6 +257,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -286,12 +291,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -322,12 +328,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -366,6 +373,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -405,6 +413,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -440,6 +449,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -474,12 +484,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -514,12 +525,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -550,12 +562,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -587,12 +600,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -625,12 +639,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -666,6 +681,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( @@ -674,7 +690,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { .toBody( "organizationSettings", request.getOrganizationSettings(), - false)) + true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -707,12 +723,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -749,12 +766,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "startTime", request.getStartTime()); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("securityMarks", request.getSecurityMarks(), false)) + .toBody("securityMarks", request.getSecurityMarks(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java index b1c1b28d4129..5370f33ce736 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java +++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/HttpJsonSecurityCenterStub.java @@ -124,12 +124,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -162,12 +163,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "findingId", request.getFindingId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -200,13 +202,14 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "configId", request.getConfigId()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() .toBody( - "notificationConfig", request.getNotificationConfig(), false)) + "notificationConfig", request.getNotificationConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -238,6 +241,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -272,12 +276,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -309,6 +314,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -343,6 +349,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -375,6 +382,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -411,12 +419,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -451,12 +460,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -498,6 +508,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -543,6 +554,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "readTime", request.getReadTime()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -581,6 +593,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -619,6 +632,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor(request -> null) @@ -653,12 +667,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearParent().build(), false)) + .toBody("*", request.toBuilder().clearParent().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -696,12 +711,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build(), false)) + .toBody("*", request.toBuilder().clearName().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -733,12 +749,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -770,12 +787,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearResource().build(), false)) + .toBody("*", request.toBuilder().clearResource().build(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -812,12 +830,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("finding", request.getFinding(), false)) + .toBody("finding", request.getFinding(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -853,13 +872,14 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() .toBody( - "notificationConfig", request.getNotificationConfig(), false)) + "notificationConfig", request.getNotificationConfig(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -895,6 +915,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( @@ -903,7 +924,7 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { .toBody( "organizationSettings", request.getOrganizationSettings(), - false)) + true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -937,12 +958,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer serializer = ProtoRestSerializer.create(); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("source", request.getSource(), false)) + .toBody("source", request.getSource(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -983,12 +1005,13 @@ public class HttpJsonSecurityCenterStub extends SecurityCenterStub { ProtoRestSerializer.create(); serializer.putQueryParam(fields, "startTime", request.getStartTime()); serializer.putQueryParam(fields, "updateMask", request.getUpdateMask()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); return fields; }) .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("securityMarks", request.getSecurityMarks(), false)) + .toBody("securityMarks", request.getSecurityMarks(), true)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java b/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java index c35e6f50c787..98a767751c82 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java +++ b/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientHttpJsonTest.java @@ -325,6 +325,7 @@ public void createFindingTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -405,6 +406,7 @@ public void createFindingTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3128,6 +3130,7 @@ public void setFindingStateTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3210,6 +3213,7 @@ public void setFindingStateTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3290,6 +3294,7 @@ public void setMuteTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3370,6 +3375,7 @@ public void setMuteTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3700,6 +3706,7 @@ public void updateFindingTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -3738,6 +3745,7 @@ public void updateFindingTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); Finding actualResponse = client.updateFinding(finding); @@ -3801,6 +3809,7 @@ public void updateFindingExceptionTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); client.updateFinding(finding); Assert.fail("No exception raised"); diff --git a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java b/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java index 20a990ffd381..0b1fdab200d7 100644 --- a/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java +++ b/java-securitycenter/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java @@ -316,6 +316,7 @@ public void createFindingTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -392,6 +393,7 @@ public void createFindingTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2875,6 +2877,7 @@ public void setFindingStateTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -2953,6 +2956,7 @@ public void setFindingStateTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3029,6 +3033,7 @@ public void setMuteTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3104,6 +3109,7 @@ public void setMuteTest2() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); @@ -3389,6 +3395,7 @@ public void updateFindingTest() throws Exception { .setKubernetes(Kubernetes.newBuilder().build()) .setDatabase(Database.newBuilder().build()) .addAllFiles(new ArrayList()) + .setKernelRootkit(KernelRootkit.newBuilder().build()) .build(); mockSecurityCenter.addResponse(expectedResponse); diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java index 20f14b85f4b5..8ca241f5916a 100644 --- a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java +++ b/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java @@ -1884,7 +1884,7 @@ public void deleteNotificationConfig( * * *

-     * Gets a big query export.
+     * Gets a BigQuery export.
      * 
*/ public void getBigQueryExport( @@ -2263,7 +2263,7 @@ public void updateSecurityMarks( * * *
-     * Creates a big query export.
+     * Creates a BigQuery export.
      * 
*/ public void createBigQueryExport( @@ -2278,7 +2278,7 @@ public void createBigQueryExport( * * *
-     * Deletes an existing big query export.
+     * Deletes an existing BigQuery export.
      * 
*/ public void deleteBigQueryExport( @@ -2707,7 +2707,7 @@ public void deleteNotificationConfig( * * *
-     * Gets a big query export.
+     * Gets a BigQuery export.
      * 
*/ public void getBigQueryExport( @@ -3133,7 +3133,7 @@ public void updateSecurityMarks( * * *
-     * Creates a big query export.
+     * Creates a BigQuery export.
      * 
*/ public void createBigQueryExport( @@ -3150,7 +3150,7 @@ public void createBigQueryExport( * * *
-     * Deletes an existing big query export.
+     * Deletes an existing BigQuery export.
      * 
*/ public void deleteBigQueryExport( @@ -3318,7 +3318,7 @@ public com.google.protobuf.Empty deleteNotificationConfig( * * *
-     * Gets a big query export.
+     * Gets a BigQuery export.
      * 
*/ public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport( @@ -3656,7 +3656,7 @@ public com.google.cloud.securitycenter.v1.SecurityMarks updateSecurityMarks( * * *
-     * Creates a big query export.
+     * Creates a BigQuery export.
      * 
*/ public com.google.cloud.securitycenter.v1.BigQueryExport createBigQueryExport( @@ -3669,7 +3669,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExport createBigQueryExport( * * *
-     * Deletes an existing big query export.
+     * Deletes an existing BigQuery export.
      * 
*/ public com.google.protobuf.Empty deleteBigQueryExport( @@ -3832,7 +3832,7 @@ protected SecurityCenterFutureStub build( * * *
-     * Gets a big query export.
+     * Gets a BigQuery export.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -4199,7 +4199,7 @@ protected SecurityCenterFutureStub build( * * *
-     * Creates a big query export.
+     * Creates a BigQuery export.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< @@ -4214,7 +4214,7 @@ protected SecurityCenterFutureStub build( * * *
-     * Deletes an existing big query export.
+     * Deletes an existing BigQuery export.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java index 0066cf26697d..6cb2dc322b8e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequest.java @@ -22,7 +22,7 @@ * * *
- * Request message for creating a big query export.
+ * Request message for creating a BigQuery export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateBigQueryExportRequest} @@ -74,8 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Resource name of the new big query export's parent. Its format is
-   * "organizations/[organization_id]", "folders/[folder_id]", or
+   * Required. The name of the parent resource of the new BigQuery export. Its
+   * format is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* @@ -101,8 +101,8 @@ public java.lang.String getParent() { * * *
-   * Required. Resource name of the new big query export's parent. Its format is
-   * "organizations/[organization_id]", "folders/[folder_id]", or
+   * Required. The name of the parent resource of the new BigQuery export. Its
+   * format is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* @@ -131,7 +131,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * @@ -148,7 +148,7 @@ public boolean hasBigQueryExport() { * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * @@ -167,7 +167,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport() { * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * @@ -421,7 +421,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for creating a big query export.
+   * Request message for creating a BigQuery export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.CreateBigQueryExportRequest} @@ -628,8 +628,8 @@ public Builder mergeFrom( * * *
-     * Required. Resource name of the new big query export's parent. Its format is
-     * "organizations/[organization_id]", "folders/[folder_id]", or
+     * Required. The name of the parent resource of the new BigQuery export. Its
+     * format is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* @@ -654,8 +654,8 @@ public java.lang.String getParent() { * * *
-     * Required. Resource name of the new big query export's parent. Its format is
-     * "organizations/[organization_id]", "folders/[folder_id]", or
+     * Required. The name of the parent resource of the new BigQuery export. Its
+     * format is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* @@ -680,8 +680,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Resource name of the new big query export's parent. Its format is
-     * "organizations/[organization_id]", "folders/[folder_id]", or
+     * Required. The name of the parent resource of the new BigQuery export. Its
+     * format is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* @@ -705,8 +705,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Resource name of the new big query export's parent. Its format is
-     * "organizations/[organization_id]", "folders/[folder_id]", or
+     * Required. The name of the parent resource of the new BigQuery export. Its
+     * format is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* @@ -726,8 +726,8 @@ public Builder clearParent() { * * *
-     * Required. Resource name of the new big query export's parent. Its format is
-     * "organizations/[organization_id]", "folders/[folder_id]", or
+     * Required. The name of the parent resource of the new BigQuery export. Its
+     * format is "organizations/[organization_id]", "folders/[folder_id]", or
      * "projects/[project_id]".
      * 
* @@ -759,7 +759,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -775,7 +775,7 @@ public boolean hasBigQueryExport() { * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -797,7 +797,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExport getBigQueryExport() { * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -821,7 +821,7 @@ public Builder setBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryExpo * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -843,7 +843,7 @@ public Builder setBigQueryExport( * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -871,7 +871,7 @@ public Builder mergeBigQueryExport(com.google.cloud.securitycenter.v1.BigQueryEx * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -893,7 +893,7 @@ public Builder clearBigQueryExport() { * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -909,7 +909,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExport.Builder getBigQueryExpo * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * @@ -929,7 +929,7 @@ public com.google.cloud.securitycenter.v1.BigQueryExportOrBuilder getBigQueryExp * * *
-     * Required. The big query export being created.
+     * Required. The BigQuery export being created.
      * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java index 353f15853581..74db8700cbf4 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateBigQueryExportRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface CreateBigQueryExportRequestOrBuilder * * *
-   * Required. Resource name of the new big query export's parent. Its format is
-   * "organizations/[organization_id]", "folders/[folder_id]", or
+   * Required. The name of the parent resource of the new BigQuery export. Its
+   * format is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* @@ -43,8 +43,8 @@ public interface CreateBigQueryExportRequestOrBuilder * * *
-   * Required. Resource name of the new big query export's parent. Its format is
-   * "organizations/[organization_id]", "folders/[folder_id]", or
+   * Required. The name of the parent resource of the new BigQuery export. Its
+   * format is "organizations/[organization_id]", "folders/[folder_id]", or
    * "projects/[project_id]".
    * 
* @@ -60,7 +60,7 @@ public interface CreateBigQueryExportRequestOrBuilder * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * @@ -74,7 +74,7 @@ public interface CreateBigQueryExportRequestOrBuilder * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * @@ -88,7 +88,7 @@ public interface CreateBigQueryExportRequestOrBuilder * * *
-   * Required. The big query export being created.
+   * Required. The BigQuery export being created.
    * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java index 9881d20a2b89..35d160a0ea4e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequest.java @@ -134,8 +134,8 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * Required.
    * Unique identifier provided by the client within the parent scope.
-   * It must be between 1 and 128 characters, and contains alphanumeric
-   * characters, underscores or hyphens only.
+   * It must be between 1 and 128 characters and contain alphanumeric
+   * characters, underscores, or hyphens only.
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -160,8 +160,8 @@ public java.lang.String getConfigId() { *
    * Required.
    * Unique identifier provided by the client within the parent scope.
-   * It must be between 1 and 128 characters, and contains alphanumeric
-   * characters, underscores or hyphens only.
+   * It must be between 1 and 128 characters and contain alphanumeric
+   * characters, underscores, or hyphens only.
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -770,8 +770,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * Required.
      * Unique identifier provided by the client within the parent scope.
-     * It must be between 1 and 128 characters, and contains alphanumeric
-     * characters, underscores or hyphens only.
+     * It must be between 1 and 128 characters and contain alphanumeric
+     * characters, underscores, or hyphens only.
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -795,8 +795,8 @@ public java.lang.String getConfigId() { *
      * Required.
      * Unique identifier provided by the client within the parent scope.
-     * It must be between 1 and 128 characters, and contains alphanumeric
-     * characters, underscores or hyphens only.
+     * It must be between 1 and 128 characters and contain alphanumeric
+     * characters, underscores, or hyphens only.
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -820,8 +820,8 @@ public com.google.protobuf.ByteString getConfigIdBytes() { *
      * Required.
      * Unique identifier provided by the client within the parent scope.
-     * It must be between 1 and 128 characters, and contains alphanumeric
-     * characters, underscores or hyphens only.
+     * It must be between 1 and 128 characters and contain alphanumeric
+     * characters, underscores, or hyphens only.
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -844,8 +844,8 @@ public Builder setConfigId(java.lang.String value) { *
      * Required.
      * Unique identifier provided by the client within the parent scope.
-     * It must be between 1 and 128 characters, and contains alphanumeric
-     * characters, underscores or hyphens only.
+     * It must be between 1 and 128 characters and contain alphanumeric
+     * characters, underscores, or hyphens only.
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -864,8 +864,8 @@ public Builder clearConfigId() { *
      * Required.
      * Unique identifier provided by the client within the parent scope.
-     * It must be between 1 and 128 characters, and contains alphanumeric
-     * characters, underscores or hyphens only.
+     * It must be between 1 and 128 characters and contain alphanumeric
+     * characters, underscores, or hyphens only.
      * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java index e7f65a4270ef..db980f7a4647 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/CreateNotificationConfigRequestOrBuilder.java @@ -62,8 +62,8 @@ public interface CreateNotificationConfigRequestOrBuilder *
    * Required.
    * Unique identifier provided by the client within the parent scope.
-   * It must be between 1 and 128 characters, and contains alphanumeric
-   * characters, underscores or hyphens only.
+   * It must be between 1 and 128 characters and contain alphanumeric
+   * characters, underscores, or hyphens only.
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -77,8 +77,8 @@ public interface CreateNotificationConfigRequestOrBuilder *
    * Required.
    * Unique identifier provided by the client within the parent scope.
-   * It must be between 1 and 128 characters, and contains alphanumeric
-   * characters, underscores or hyphens only.
+   * It must be between 1 and 128 characters and contain alphanumeric
+   * characters, underscores, or hyphens only.
    * 
* * string config_id = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java index 2e061e81ecd3..f843c6c7d051 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequest.java @@ -22,7 +22,7 @@ * * *
- * Request message for deleting a big query export.
+ * Request message for deleting a BigQuery export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteBigQueryExportRequest} @@ -73,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the big query export to delete. Its format is
+   * Required. The name of the BigQuery export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -101,7 +101,7 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Required. Name of the big query export to delete. Its format is
+   * Required. The name of the BigQuery export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -290,7 +290,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Request message for deleting a big query export.
+   * Request message for deleting a BigQuery export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.DeleteBigQueryExportRequest} @@ -464,7 +464,7 @@ public Builder mergeFrom( * * *
-     * Required. Name of the big query export to delete. Its format is
+     * Required. The name of the BigQuery export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -491,7 +491,7 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Required. Name of the big query export to delete. Its format is
+     * Required. The name of the BigQuery export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -518,7 +518,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Required. Name of the big query export to delete. Its format is
+     * Required. The name of the BigQuery export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -544,7 +544,7 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Required. Name of the big query export to delete. Its format is
+     * Required. The name of the BigQuery export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -566,7 +566,7 @@ public Builder clearName() {
      *
      *
      * 
-     * Required. Name of the big query export to delete. Its format is
+     * Required. The name of the BigQuery export to delete. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java
index 8f4cd840d152..db11e68135af 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteBigQueryExportRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface DeleteBigQueryExportRequestOrBuilder
    *
    *
    * 
-   * Required. Name of the big query export to delete. Its format is
+   * Required. The name of the BigQuery export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -44,7 +44,7 @@ public interface DeleteBigQueryExportRequestOrBuilder
    *
    *
    * 
-   * Required. Name of the big query export to delete. Its format is
+   * Required. The name of the BigQuery export to delete. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java
index c01ded890e1e..a70e6c3a7823 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequest.java
@@ -75,7 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -101,7 +103,9 @@ public java.lang.String getName() { * *
    * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -467,7 +471,9 @@ public Builder mergeFrom( * *
      * Required. Name of the notification config to delete. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -492,7 +498,9 @@ public java.lang.String getName() { * *
      * Required. Name of the notification config to delete. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -517,7 +525,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. Name of the notification config to delete. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -541,7 +551,9 @@ public Builder setName(java.lang.String value) { * *
      * Required. Name of the notification config to delete. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -561,7 +573,9 @@ public Builder clearName() { * *
      * Required. Name of the notification config to delete. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java index eadbd4aa2f78..1c75483b5bd0 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/DeleteNotificationConfigRequestOrBuilder.java @@ -28,7 +28,9 @@ public interface DeleteNotificationConfigRequestOrBuilder * *
    * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -43,7 +45,9 @@ public interface DeleteNotificationConfigRequestOrBuilder * *
    * Required. Name of the notification config to delete. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java index 7ec9f3a637c8..93c71b3fdcc9 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystem.java @@ -76,11 +76,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * External System Name e.g. jira, demisto, etc.
-   *  e.g.:
-   *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+   * Full resource name of the external system, for example:
+   * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
    * 
* * string name = 1; @@ -103,11 +102,10 @@ public java.lang.String getName() { * * *
-   * External System Name e.g. jira, demisto, etc.
-   *  e.g.:
-   *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+   * Full resource name of the external system, for example:
+   * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
    * 
* * string name = 1; @@ -798,11 +796,10 @@ public Builder mergeFrom( * * *
-     * External System Name e.g. jira, demisto, etc.
-     *  e.g.:
-     *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+     * Full resource name of the external system, for example:
+     * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
      * 
* * string name = 1; @@ -824,11 +821,10 @@ public java.lang.String getName() { * * *
-     * External System Name e.g. jira, demisto, etc.
-     *  e.g.:
-     *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+     * Full resource name of the external system, for example:
+     * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
      * 
* * string name = 1; @@ -850,11 +846,10 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * External System Name e.g. jira, demisto, etc.
-     *  e.g.:
-     *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+     * Full resource name of the external system, for example:
+     * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
      * 
* * string name = 1; @@ -875,11 +870,10 @@ public Builder setName(java.lang.String value) { * * *
-     * External System Name e.g. jira, demisto, etc.
-     *  e.g.:
-     *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+     * Full resource name of the external system, for example:
+     * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
      * 
* * string name = 1; @@ -896,11 +890,10 @@ public Builder clearName() { * * *
-     * External System Name e.g. jira, demisto, etc.
-     *  e.g.:
-     *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-     * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+     * Full resource name of the external system, for example:
+     * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+     * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
      * 
* * string name = 1; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java index ccb54495bb55..84be32deebfb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ExternalSystemOrBuilder.java @@ -27,11 +27,10 @@ public interface ExternalSystemOrBuilder * * *
-   * External System Name e.g. jira, demisto, etc.
-   *  e.g.:
-   *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+   * Full resource name of the external system, for example:
+   * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
    * 
* * string name = 1; @@ -43,11 +42,10 @@ public interface ExternalSystemOrBuilder * * *
-   * External System Name e.g. jira, demisto, etc.
-   *  e.g.:
-   *  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-   * `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+   * Full resource name of the external system, for example:
+   * "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+   * "projects/1234/sources/5678/findings/123456/externalSystems/jira"
    * 
* * string name = 1; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java index 1006db97f023..ba6137e258be 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/Finding.java @@ -1790,7 +1790,7 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -1807,7 +1807,7 @@ public boolean hasVulnerability() { * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -1826,7 +1826,7 @@ public com.google.cloud.securitycenter.v1.Vulnerability getVulnerability() { * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -3071,6 +3071,54 @@ public com.google.cloud.securitycenter.v1.FileOrBuilder getFilesOrBuilder(int in return files_.get(index); } + public static final int KERNEL_ROOTKIT_FIELD_NUMBER = 50; + private com.google.cloud.securitycenter.v1.KernelRootkit kernelRootkit_; + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return Whether the kernelRootkit field is set. + */ + @java.lang.Override + public boolean hasKernelRootkit() { + return kernelRootkit_ != null; + } + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return The kernelRootkit. + */ + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkit getKernelRootkit() { + return kernelRootkit_ == null + ? com.google.cloud.securitycenter.v1.KernelRootkit.getDefaultInstance() + : kernelRootkit_; + } + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder getKernelRootkitOrBuilder() { + return getKernelRootkit(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -3187,6 +3235,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io for (int i = 0; i < files_.size(); i++) { output.writeMessage(46, files_.get(i)); } + if (kernelRootkit_ != null) { + output.writeMessage(50, getKernelRootkit()); + } getUnknownFields().writeTo(output); } @@ -3326,6 +3377,9 @@ public int getSerializedSize() { for (int i = 0; i < files_.size(); i++) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(46, files_.get(i)); } + if (kernelRootkit_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(50, getKernelRootkit()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -3409,6 +3463,10 @@ public boolean equals(final java.lang.Object obj) { if (!getDatabase().equals(other.getDatabase())) return false; } if (!getFilesList().equals(other.getFilesList())) return false; + if (hasKernelRootkit() != other.hasKernelRootkit()) return false; + if (hasKernelRootkit()) { + if (!getKernelRootkit().equals(other.getKernelRootkit())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3528,6 +3586,10 @@ public int hashCode() { hash = (37 * hash) + FILES_FIELD_NUMBER; hash = (53 * hash) + getFilesList().hashCode(); } + if (hasKernelRootkit()) { + hash = (37 * hash) + KERNEL_ROOTKIT_FIELD_NUMBER; + hash = (53 * hash) + getKernelRootkit().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3838,6 +3900,12 @@ public Builder clear() { filesBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); + if (kernelRootkitBuilder_ == null) { + kernelRootkit_ = null; + } else { + kernelRootkit_ = null; + kernelRootkitBuilder_ = null; + } return this; } @@ -3995,6 +4063,11 @@ public com.google.cloud.securitycenter.v1.Finding buildPartial() { } else { result.files_ = filesBuilder_.build(); } + if (kernelRootkitBuilder_ == null) { + result.kernelRootkit_ = kernelRootkit_; + } else { + result.kernelRootkit_ = kernelRootkitBuilder_.build(); + } onBuilt(); return result; } @@ -4294,6 +4367,9 @@ public Builder mergeFrom(com.google.cloud.securitycenter.v1.Finding other) { } } } + if (other.hasKernelRootkit()) { + mergeKernelRootkit(other.getKernelRootkit()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -4586,6 +4662,12 @@ public Builder mergeFrom( } break; } // case 370 + case 402: + { + input.readMessage(getKernelRootkitFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 402 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -6788,7 +6870,7 @@ public com.google.cloud.securitycenter.v1.IndicatorOrBuilder getIndicatorOrBuild * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6804,7 +6886,7 @@ public boolean hasVulnerability() { * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6826,7 +6908,7 @@ public com.google.cloud.securitycenter.v1.Vulnerability getVulnerability() { * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6850,7 +6932,7 @@ public Builder setVulnerability(com.google.cloud.securitycenter.v1.Vulnerability * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6872,7 +6954,7 @@ public Builder setVulnerability( * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6900,7 +6982,7 @@ public Builder mergeVulnerability(com.google.cloud.securitycenter.v1.Vulnerabili * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6922,7 +7004,7 @@ public Builder clearVulnerability() { * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6938,7 +7020,7 @@ public com.google.cloud.securitycenter.v1.Vulnerability.Builder getVulnerability * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -6958,7 +7040,7 @@ public com.google.cloud.securitycenter.v1.VulnerabilityOrBuilder getVulnerabilit * * *
-     * Represents vulnerability specific fields like cve, cvss scores etc.
+     * Represents vulnerability-specific fields like CVE and CVS scores.
      * CVE stands for Common Vulnerabilities and Exposures
      * (https://cve.mitre.org/about/)
      * 
@@ -11204,6 +11286,192 @@ public java.util.List getFilesB return filesBuilder_; } + private com.google.cloud.securitycenter.v1.KernelRootkit kernelRootkit_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.KernelRootkit, + com.google.cloud.securitycenter.v1.KernelRootkit.Builder, + com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder> + kernelRootkitBuilder_; + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return Whether the kernelRootkit field is set. + */ + public boolean hasKernelRootkit() { + return kernelRootkitBuilder_ != null || kernelRootkit_ != null; + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return The kernelRootkit. + */ + public com.google.cloud.securitycenter.v1.KernelRootkit getKernelRootkit() { + if (kernelRootkitBuilder_ == null) { + return kernelRootkit_ == null + ? com.google.cloud.securitycenter.v1.KernelRootkit.getDefaultInstance() + : kernelRootkit_; + } else { + return kernelRootkitBuilder_.getMessage(); + } + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public Builder setKernelRootkit(com.google.cloud.securitycenter.v1.KernelRootkit value) { + if (kernelRootkitBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + kernelRootkit_ = value; + onChanged(); + } else { + kernelRootkitBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public Builder setKernelRootkit( + com.google.cloud.securitycenter.v1.KernelRootkit.Builder builderForValue) { + if (kernelRootkitBuilder_ == null) { + kernelRootkit_ = builderForValue.build(); + onChanged(); + } else { + kernelRootkitBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public Builder mergeKernelRootkit(com.google.cloud.securitycenter.v1.KernelRootkit value) { + if (kernelRootkitBuilder_ == null) { + if (kernelRootkit_ != null) { + kernelRootkit_ = + com.google.cloud.securitycenter.v1.KernelRootkit.newBuilder(kernelRootkit_) + .mergeFrom(value) + .buildPartial(); + } else { + kernelRootkit_ = value; + } + onChanged(); + } else { + kernelRootkitBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public Builder clearKernelRootkit() { + if (kernelRootkitBuilder_ == null) { + kernelRootkit_ = null; + onChanged(); + } else { + kernelRootkit_ = null; + kernelRootkitBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public com.google.cloud.securitycenter.v1.KernelRootkit.Builder getKernelRootkitBuilder() { + + onChanged(); + return getKernelRootkitFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + public com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder getKernelRootkitOrBuilder() { + if (kernelRootkitBuilder_ != null) { + return kernelRootkitBuilder_.getMessageOrBuilder(); + } else { + return kernelRootkit_ == null + ? com.google.cloud.securitycenter.v1.KernelRootkit.getDefaultInstance() + : kernelRootkit_; + } + } + /** + * + * + *
+     * Kernel Rootkit signature.
+     * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.KernelRootkit, + com.google.cloud.securitycenter.v1.KernelRootkit.Builder, + com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder> + getKernelRootkitFieldBuilder() { + if (kernelRootkitBuilder_ == null) { + kernelRootkitBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.securitycenter.v1.KernelRootkit, + com.google.cloud.securitycenter.v1.KernelRootkit.Builder, + com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder>( + getKernelRootkit(), getParentForChildren(), isClean()); + kernelRootkit_ = null; + } + return kernelRootkitBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java index f067a512e738..a67877a0452c 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOrBuilder.java @@ -581,7 +581,7 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -595,7 +595,7 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -609,7 +609,7 @@ com.google.protobuf.Value getSourcePropertiesOrDefault( * * *
-   * Represents vulnerability specific fields like cve, cvss scores etc.
+   * Represents vulnerability-specific fields like CVE and CVS scores.
    * CVE stands for Common Vulnerabilities and Exposures
    * (https://cve.mitre.org/about/)
    * 
@@ -1490,4 +1490,39 @@ com.google.cloud.securitycenter.v1.ContactDetails getContactsOrDefault( * repeated .google.cloud.securitycenter.v1.File files = 46; */ com.google.cloud.securitycenter.v1.FileOrBuilder getFilesOrBuilder(int index); + + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return Whether the kernelRootkit field is set. + */ + boolean hasKernelRootkit(); + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + * + * @return The kernelRootkit. + */ + com.google.cloud.securitycenter.v1.KernelRootkit getKernelRootkit(); + /** + * + * + *
+   * Kernel Rootkit signature.
+   * 
+ * + * .google.cloud.securitycenter.v1.KernelRootkit kernel_rootkit = 50; + */ + com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder getKernelRootkitOrBuilder(); } diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java index c9f2383b1176..b9d80a7d04dd 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/FindingOuterClass.java @@ -68,87 +68,90 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "al_system.proto\032)google/cloud/securityce" + "nter/v1/file.proto\0320google/cloud/securit" + "ycenter/v1/iam_binding.proto\032.google/clo" - + "ud/securitycenter/v1/indicator.proto\032/go" - + "ogle/cloud/securitycenter/v1/kubernetes." - + "proto\0321google/cloud/securitycenter/v1/mi" - + "tre_attack.proto\032,google/cloud/securityc" - + "enter/v1/process.proto\0323google/cloud/sec" - + "uritycenter/v1/security_marks.proto\0322goo" - + "gle/cloud/securitycenter/v1/vulnerabilit" - + "y.proto\032\034google/protobuf/struct.proto\032\037g" - + "oogle/protobuf/timestamp.proto\"\333\024\n\007Findi" - + "ng\022\014\n\004name\030\001 \001(\t\022\016\n\006parent\030\002 \001(\t\022\025\n\rreso" - + "urce_name\030\003 \001(\t\022<\n\005state\030\004 \001(\0162-.google." - + "cloud.securitycenter.v1.Finding.State\022\020\n" - + "\010category\030\005 \001(\t\022\024\n\014external_uri\030\006 \001(\t\022X\n" - + "\021source_properties\030\007 \003(\0132=.google.cloud." - + "securitycenter.v1.Finding.SourceProperti" - + "esEntry\022J\n\016security_marks\030\010 \001(\0132-.google" - + ".cloud.securitycenter.v1.SecurityMarksB\003" - + "\340A\003\022.\n\nevent_time\030\t \001(\0132\032.google.protobu" - + "f.Timestamp\022/\n\013create_time\030\n \001(\0132\032.googl" - + "e.protobuf.Timestamp\022B\n\010severity\030\014 \001(\01620" - + ".google.cloud.securitycenter.v1.Finding." - + "Severity\022\026\n\016canonical_name\030\016 \001(\t\022:\n\004mute" - + "\030\017 \001(\0162,.google.cloud.securitycenter.v1." - + "Finding.Mute\022K\n\rfinding_class\030\021 \001(\01624.go" - + "ogle.cloud.securitycenter.v1.Finding.Fin" - + "dingClass\022<\n\tindicator\030\022 \001(\0132).google.cl" - + "oud.securitycenter.v1.Indicator\022D\n\rvulne" - + "rability\030\024 \001(\0132-.google.cloud.securityce" - + "nter.v1.Vulnerability\0229\n\020mute_update_tim" - + "e\030\025 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" - + "\022[\n\020external_systems\030\026 \003(\0132<.google.clou" - + "d.securitycenter.v1.Finding.ExternalSyst" - + "emsEntryB\003\340A\003\022A\n\014mitre_attack\030\031 \001(\0132+.go" - + "ogle.cloud.securitycenter.v1.MitreAttack" - + "\0226\n\006access\030\032 \001(\0132&.google.cloud.security" - + "center.v1.Access\022?\n\013connections\030\037 \003(\0132*." - + "google.cloud.securitycenter.v1.Connectio" - + "n\022\026\n\016mute_initiator\030\034 \001(\t\022:\n\tprocesses\030\036" - + " \003(\0132\'.google.cloud.securitycenter.v1.Pr" - + "ocess\022L\n\010contacts\030! \003(\01325.google.cloud.s" - + "ecuritycenter.v1.Finding.ContactsEntryB\003" - + "\340A\003\022?\n\013compliances\030\" \003(\0132*.google.cloud." - + "securitycenter.v1.Compliance\022 \n\023parent_d" - + "isplay_name\030$ \001(\tB\003\340A\003\022\023\n\013description\030% " - + "\001(\t\022B\n\014exfiltration\030& \001(\0132,.google.cloud" - + ".securitycenter.v1.Exfiltration\022@\n\014iam_b" - + "indings\030\' \003(\0132*.google.cloud.securitycen" - + "ter.v1.IamBinding\022\022\n\nnext_steps\030( \001(\t\022=\n" - + "\ncontainers\030* \003(\0132).google.cloud.securit" - + "ycenter.v1.Container\022>\n\nkubernetes\030+ \001(\013" - + "2*.google.cloud.securitycenter.v1.Kubern" - + "etes\022:\n\010database\030, \001(\0132(.google.cloud.se" - + "curitycenter.v1.Database\0223\n\005files\030. \003(\0132" - + "$.google.cloud.securitycenter.v1.File\032O\n" - + "\025SourcePropertiesEntry\022\013\n\003key\030\001 \001(\t\022%\n\005v" - + "alue\030\002 \001(\0132\026.google.protobuf.Value:\0028\001\032f" - + "\n\024ExternalSystemsEntry\022\013\n\003key\030\001 \001(\t\022=\n\005v" - + "alue\030\002 \001(\0132..google.cloud.securitycenter" - + ".v1.ExternalSystem:\0028\001\032_\n\rContactsEntry\022" - + "\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..google.clo" - + "ud.securitycenter.v1.ContactDetails:\0028\001\"" - + "8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIV" - + "E\020\001\022\014\n\010INACTIVE\020\002\"Q\n\010Severity\022\030\n\024SEVERIT" - + "Y_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\010\n\004HIGH\020\002\022" - + "\n\n\006MEDIUM\020\003\022\007\n\003LOW\020\004\"C\n\004Mute\022\024\n\020MUTE_UNS" - + "PECIFIED\020\000\022\t\n\005MUTED\020\001\022\013\n\007UNMUTED\020\002\022\r\n\tUN" - + "DEFINED\020\004\"\202\001\n\014FindingClass\022\035\n\031FINDING_CL" - + "ASS_UNSPECIFIED\020\000\022\n\n\006THREAT\020\001\022\021\n\rVULNERA" - + "BILITY\020\002\022\024\n\020MISCONFIGURATION\020\003\022\017\n\013OBSERV" - + "ATION\020\004\022\r\n\tSCC_ERROR\020\005:\333\001\352A\327\001\n%securityc" - + "enter.googleapis.com/Finding\022@organizati" - + "ons/{organization}/sources/{source}/find" - + "ings/{finding}\0224folders/{folder}/sources" - + "/{source}/findings/{finding}\0226projects/{" - + "project}/sources/{source}/findings/{find" - + "ing}B\332\001\n\"com.google.cloud.securitycenter" - + ".v1P\001ZLgoogle.golang.org/genproto/google" - + "apis/cloud/securitycenter/v1;securitycen" - + "ter\252\002\036Google.Cloud.SecurityCenter.V1\312\002\036G" - + "oogle\\Cloud\\SecurityCenter\\V1\352\002!Google::" - + "Cloud::SecurityCenter::V1b\006proto3" + + "ud/securitycenter/v1/indicator.proto\0323go" + + "ogle/cloud/securitycenter/v1/kernel_root" + + "kit.proto\032/google/cloud/securitycenter/v" + + "1/kubernetes.proto\0321google/cloud/securit" + + "ycenter/v1/mitre_attack.proto\032,google/cl" + + "oud/securitycenter/v1/process.proto\0323goo" + + "gle/cloud/securitycenter/v1/security_mar" + + "ks.proto\0322google/cloud/securitycenter/v1" + + "/vulnerability.proto\032\034google/protobuf/st" + + "ruct.proto\032\037google/protobuf/timestamp.pr" + + "oto\"\242\025\n\007Finding\022\014\n\004name\030\001 \001(\t\022\016\n\006parent\030" + + "\002 \001(\t\022\025\n\rresource_name\030\003 \001(\t\022<\n\005state\030\004 " + + "\001(\0162-.google.cloud.securitycenter.v1.Fin" + + "ding.State\022\020\n\010category\030\005 \001(\t\022\024\n\014external" + + "_uri\030\006 \001(\t\022X\n\021source_properties\030\007 \003(\0132=." + + "google.cloud.securitycenter.v1.Finding.S" + + "ourcePropertiesEntry\022J\n\016security_marks\030\010" + + " \001(\0132-.google.cloud.securitycenter.v1.Se" + + "curityMarksB\003\340A\003\022.\n\nevent_time\030\t \001(\0132\032.g" + + "oogle.protobuf.Timestamp\022/\n\013create_time\030" + + "\n \001(\0132\032.google.protobuf.Timestamp\022B\n\010sev" + + "erity\030\014 \001(\01620.google.cloud.securitycente" + + "r.v1.Finding.Severity\022\026\n\016canonical_name\030" + + "\016 \001(\t\022:\n\004mute\030\017 \001(\0162,.google.cloud.secur" + + "itycenter.v1.Finding.Mute\022K\n\rfinding_cla" + + "ss\030\021 \001(\01624.google.cloud.securitycenter.v" + + "1.Finding.FindingClass\022<\n\tindicator\030\022 \001(" + + "\0132).google.cloud.securitycenter.v1.Indic" + + "ator\022D\n\rvulnerability\030\024 \001(\0132-.google.clo" + + "ud.securitycenter.v1.Vulnerability\0229\n\020mu" + + "te_update_time\030\025 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\022[\n\020external_systems\030\026 \003(\0132" + + "<.google.cloud.securitycenter.v1.Finding" + + ".ExternalSystemsEntryB\003\340A\003\022A\n\014mitre_atta" + + "ck\030\031 \001(\0132+.google.cloud.securitycenter.v" + + "1.MitreAttack\0226\n\006access\030\032 \001(\0132&.google.c" + + "loud.securitycenter.v1.Access\022?\n\013connect" + + "ions\030\037 \003(\0132*.google.cloud.securitycenter" + + ".v1.Connection\022\026\n\016mute_initiator\030\034 \001(\t\022:" + + "\n\tprocesses\030\036 \003(\0132\'.google.cloud.securit" + + "ycenter.v1.Process\022L\n\010contacts\030! \003(\01325.g" + + "oogle.cloud.securitycenter.v1.Finding.Co" + + "ntactsEntryB\003\340A\003\022?\n\013compliances\030\" \003(\0132*." + + "google.cloud.securitycenter.v1.Complianc" + + "e\022 \n\023parent_display_name\030$ \001(\tB\003\340A\003\022\023\n\013d" + + "escription\030% \001(\t\022B\n\014exfiltration\030& \001(\0132," + + ".google.cloud.securitycenter.v1.Exfiltra" + + "tion\022@\n\014iam_bindings\030\' \003(\0132*.google.clou" + + "d.securitycenter.v1.IamBinding\022\022\n\nnext_s" + + "teps\030( \001(\t\022=\n\ncontainers\030* \003(\0132).google." + + "cloud.securitycenter.v1.Container\022>\n\nkub" + + "ernetes\030+ \001(\0132*.google.cloud.securitycen" + + "ter.v1.Kubernetes\022:\n\010database\030, \001(\0132(.go" + + "ogle.cloud.securitycenter.v1.Database\0223\n" + + "\005files\030. \003(\0132$.google.cloud.securitycent" + + "er.v1.File\022E\n\016kernel_rootkit\0302 \001(\0132-.goo" + + "gle.cloud.securitycenter.v1.KernelRootki" + + "t\032O\n\025SourcePropertiesEntry\022\013\n\003key\030\001 \001(\t\022" + + "%\n\005value\030\002 \001(\0132\026.google.protobuf.Value:\002" + + "8\001\032f\n\024ExternalSystemsEntry\022\013\n\003key\030\001 \001(\t\022" + + "=\n\005value\030\002 \001(\0132..google.cloud.securityce" + + "nter.v1.ExternalSystem:\0028\001\032_\n\rContactsEn" + + "try\022\013\n\003key\030\001 \001(\t\022=\n\005value\030\002 \001(\0132..google" + + ".cloud.securitycenter.v1.ContactDetails:" + + "\0028\001\"8\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" + + "CTIVE\020\001\022\014\n\010INACTIVE\020\002\"Q\n\010Severity\022\030\n\024SEV" + + "ERITY_UNSPECIFIED\020\000\022\014\n\010CRITICAL\020\001\022\010\n\004HIG" + + "H\020\002\022\n\n\006MEDIUM\020\003\022\007\n\003LOW\020\004\"C\n\004Mute\022\024\n\020MUTE" + + "_UNSPECIFIED\020\000\022\t\n\005MUTED\020\001\022\013\n\007UNMUTED\020\002\022\r" + + "\n\tUNDEFINED\020\004\"\202\001\n\014FindingClass\022\035\n\031FINDIN" + + "G_CLASS_UNSPECIFIED\020\000\022\n\n\006THREAT\020\001\022\021\n\rVUL" + + "NERABILITY\020\002\022\024\n\020MISCONFIGURATION\020\003\022\017\n\013OB" + + "SERVATION\020\004\022\r\n\tSCC_ERROR\020\005:\333\001\352A\327\001\n%secur" + + "itycenter.googleapis.com/Finding\022@organi" + + "zations/{organization}/sources/{source}/" + + "findings/{finding}\0224folders/{folder}/sou" + + "rces/{source}/findings/{finding}\0226projec" + + "ts/{project}/sources/{source}/findings/{" + + "finding}B\332\001\n\"com.google.cloud.securityce" + + "nter.v1P\001ZLgoogle.golang.org/genproto/go" + + "ogleapis/cloud/securitycenter/v1;securit" + + "ycenter\252\002\036Google.Cloud.SecurityCenter.V1" + + "\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!Goog" + + "le::Cloud::SecurityCenter::V1b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -167,6 +170,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.securitycenter.v1.FileProto.getDescriptor(), com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(), com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(), + com.google.cloud.securitycenter.v1.KernelRootkitProto.getDescriptor(), com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(), com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(), com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(), @@ -215,6 +219,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "Kubernetes", "Database", "Files", + "KernelRootkit", }); internal_static_google_cloud_securitycenter_v1_Finding_SourcePropertiesEntry_descriptor = internal_static_google_cloud_securitycenter_v1_Finding_descriptor.getNestedTypes().get(0); @@ -259,6 +264,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.cloud.securitycenter.v1.FileProto.getDescriptor(); com.google.cloud.securitycenter.v1.IamBindingProto.getDescriptor(); com.google.cloud.securitycenter.v1.IndicatorProto.getDescriptor(); + com.google.cloud.securitycenter.v1.KernelRootkitProto.getDescriptor(); com.google.cloud.securitycenter.v1.KubernetesProto.getDescriptor(); com.google.cloud.securitycenter.v1.MitreAttackProto.getDescriptor(); com.google.cloud.securitycenter.v1.ProcessProto.getDescriptor(); diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java index 5fd95d3dac38..a7968c7b0998 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequest.java @@ -22,7 +22,7 @@ * * *
- * Request message for retrieving a big query export.
+ * Request message for retrieving a BigQuery export.
  * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetBigQueryExportRequest} @@ -73,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the big query export to retrieve. Its format is
+   * Required. Name of the BigQuery export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -101,7 +101,7 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Required. Name of the big query export to retrieve. Its format is
+   * Required. Name of the BigQuery export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -290,7 +290,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Request message for retrieving a big query export.
+   * Request message for retrieving a BigQuery export.
    * 
* * Protobuf type {@code google.cloud.securitycenter.v1.GetBigQueryExportRequest} @@ -462,7 +462,7 @@ public Builder mergeFrom( * * *
-     * Required. Name of the big query export to retrieve. Its format is
+     * Required. Name of the BigQuery export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -489,7 +489,7 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Required. Name of the big query export to retrieve. Its format is
+     * Required. Name of the BigQuery export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -516,7 +516,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Required. Name of the big query export to retrieve. Its format is
+     * Required. Name of the BigQuery export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -542,7 +542,7 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Required. Name of the big query export to retrieve. Its format is
+     * Required. Name of the BigQuery export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
@@ -564,7 +564,7 @@ public Builder clearName() {
      *
      *
      * 
-     * Required. Name of the big query export to retrieve. Its format is
+     * Required. Name of the BigQuery export to retrieve. Its format is
      * organizations/{organization}/bigQueryExports/{export_id},
      * folders/{folder}/bigQueryExports/{export_id}, or
      * projects/{project}/bigQueryExports/{export_id}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java
index 9504ee0ed4a7..f2b52357effc 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetBigQueryExportRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface GetBigQueryExportRequestOrBuilder
    *
    *
    * 
-   * Required. Name of the big query export to retrieve. Its format is
+   * Required. Name of the BigQuery export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
@@ -44,7 +44,7 @@ public interface GetBigQueryExportRequestOrBuilder
    *
    *
    * 
-   * Required. Name of the big query export to retrieve. Its format is
+   * Required. Name of the BigQuery export to retrieve. Its format is
    * organizations/{organization}/bigQueryExports/{export_id},
    * folders/{folder}/bigQueryExports/{export_id}, or
    * projects/{project}/bigQueryExports/{export_id}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java
index 20f805af20e2..ea86dc67e7f5 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequest.java
@@ -74,7 +74,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -100,7 +102,9 @@ public java.lang.String getName() { * *
    * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -462,7 +466,9 @@ public Builder mergeFrom( * *
      * Required. Name of the notification config to get. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -487,7 +493,9 @@ public java.lang.String getName() { * *
      * Required. Name of the notification config to get. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -512,7 +520,9 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Required. Name of the notification config to get. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -536,7 +546,9 @@ public Builder setName(java.lang.String value) { * *
      * Required. Name of the notification config to get. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * @@ -556,7 +568,9 @@ public Builder clearName() { * *
      * Required. Name of the notification config to get. Its format is
-     * "organizations/[organization_id]/notificationConfigs/[config_id]".
+     * "organizations/[organization_id]/notificationConfigs/[config_id]",
+     * "folders/[folder_id]/notificationConfigs/[config_id]",
+     * or "projects/[project_id]/notificationConfigs/[config_id]".
      * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java index c2d3b5b53f5a..15c89b5f0eb6 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GetNotificationConfigRequestOrBuilder.java @@ -28,7 +28,9 @@ public interface GetNotificationConfigRequestOrBuilder * *
    * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * @@ -43,7 +45,9 @@ public interface GetNotificationConfigRequestOrBuilder * *
    * Required. Name of the notification config to get. Its format is
-   * "organizations/[organization_id]/notificationConfigs/[config_id]".
+   * "organizations/[organization_id]/notificationConfigs/[config_id]",
+   * "folders/[folder_id]/notificationConfigs/[config_id]",
+   * or "projects/[project_id]/notificationConfigs/[config_id]".
    * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java index adfbd702f2bd..dd4044a63ed7 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequest.java @@ -76,7 +76,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the organization to groupBy. Its format is
+   * Required. The name of the parent to group the assets by. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
@@ -103,7 +103,7 @@ public java.lang.String getParent() { * * *
-   * Required. Name of the organization to groupBy. Its format is
+   * Required. The name of the parent to group the assets by. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
@@ -1072,7 +1072,7 @@ public Builder mergeFrom( * * *
-     * Required. Name of the organization to groupBy. Its format is
+     * Required. The name of the parent to group the assets by. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
@@ -1098,7 +1098,7 @@ public java.lang.String getParent() { * * *
-     * Required. Name of the organization to groupBy. Its format is
+     * Required. The name of the parent to group the assets by. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
@@ -1124,7 +1124,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Name of the organization to groupBy. Its format is
+     * Required. The name of the parent to group the assets by. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
@@ -1149,7 +1149,7 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Name of the organization to groupBy. Its format is
+     * Required. The name of the parent to group the assets by. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
@@ -1170,7 +1170,7 @@ public Builder clearParent() { * * *
-     * Required. Name of the organization to groupBy. Its format is
+     * Required. The name of the parent to group the assets by. Its format is
      * "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java index aa9e70654ec7..f172cca7210d 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/GroupAssetsRequestOrBuilder.java @@ -27,7 +27,7 @@ public interface GroupAssetsRequestOrBuilder * * *
-   * Required. Name of the organization to groupBy. Its format is
+   * Required. The name of the parent to group the assets by. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
@@ -43,7 +43,7 @@ public interface GroupAssetsRequestOrBuilder * * *
-   * Required. Name of the organization to groupBy. Its format is
+   * Required. The name of the parent to group the assets by. Its format is
    * "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkit.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkit.java new file mode 100644 index 000000000000..23719b30ae9b --- /dev/null +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkit.java @@ -0,0 +1,1380 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/kernel_rootkit.proto + +package com.google.cloud.securitycenter.v1; + +/** + * + * + *
+ * Kernel mode rootkit signatures.
+ * 
+ * + * Protobuf type {@code google.cloud.securitycenter.v1.KernelRootkit} + */ +public final class KernelRootkit extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.securitycenter.v1.KernelRootkit) + KernelRootkitOrBuilder { + private static final long serialVersionUID = 0L; + // Use KernelRootkit.newBuilder() to construct. + private KernelRootkit(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private KernelRootkit() { + name_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new KernelRootkit(); + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.securitycenter.v1.KernelRootkitProto + .internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.securitycenter.v1.KernelRootkitProto + .internal_static_google_cloud_securitycenter_v1_KernelRootkit_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.securitycenter.v1.KernelRootkit.class, + com.google.cloud.securitycenter.v1.KernelRootkit.Builder.class); + } + + public static final int NAME_FIELD_NUMBER = 1; + private volatile java.lang.Object name_; + /** + * + * + *
+   * Rootkit name when available.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + * + * + *
+   * Rootkit name when available.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + @java.lang.Override + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int UNEXPECTED_CODE_MODIFICATION_FIELD_NUMBER = 2; + private boolean unexpectedCodeModification_; + /** + * + * + *
+   * True if unexpected modifications of kernel code memory are present.
+   * 
+ * + * bool unexpected_code_modification = 2; + * + * @return The unexpectedCodeModification. + */ + @java.lang.Override + public boolean getUnexpectedCodeModification() { + return unexpectedCodeModification_; + } + + public static final int UNEXPECTED_READ_ONLY_DATA_MODIFICATION_FIELD_NUMBER = 3; + private boolean unexpectedReadOnlyDataModification_; + /** + * + * + *
+   * True if unexpected modifications of kernel read-only data memory are
+   * present.
+   * 
+ * + * bool unexpected_read_only_data_modification = 3; + * + * @return The unexpectedReadOnlyDataModification. + */ + @java.lang.Override + public boolean getUnexpectedReadOnlyDataModification() { + return unexpectedReadOnlyDataModification_; + } + + public static final int UNEXPECTED_FTRACE_HANDLER_FIELD_NUMBER = 4; + private boolean unexpectedFtraceHandler_; + /** + * + * + *
+   * True if `ftrace` points are present with callbacks pointing to regions
+   * that are not in the expected kernel or module code range.
+   * 
+ * + * bool unexpected_ftrace_handler = 4; + * + * @return The unexpectedFtraceHandler. + */ + @java.lang.Override + public boolean getUnexpectedFtraceHandler() { + return unexpectedFtraceHandler_; + } + + public static final int UNEXPECTED_KPROBE_HANDLER_FIELD_NUMBER = 5; + private boolean unexpectedKprobeHandler_; + /** + * + * + *
+   * True if `kprobe` points are present with callbacks pointing to regions
+   * that are not in the expected kernel or module code range.
+   * 
+ * + * bool unexpected_kprobe_handler = 5; + * + * @return The unexpectedKprobeHandler. + */ + @java.lang.Override + public boolean getUnexpectedKprobeHandler() { + return unexpectedKprobeHandler_; + } + + public static final int UNEXPECTED_KERNEL_CODE_PAGES_FIELD_NUMBER = 6; + private boolean unexpectedKernelCodePages_; + /** + * + * + *
+   * True if kernel code pages that are not in the expected kernel or module
+   * code regions are present.
+   * 
+ * + * bool unexpected_kernel_code_pages = 6; + * + * @return The unexpectedKernelCodePages. + */ + @java.lang.Override + public boolean getUnexpectedKernelCodePages() { + return unexpectedKernelCodePages_; + } + + public static final int UNEXPECTED_SYSTEM_CALL_HANDLER_FIELD_NUMBER = 7; + private boolean unexpectedSystemCallHandler_; + /** + * + * + *
+   * True if system call handlers that are are not in the expected kernel or
+   * module code regions are present.
+   * 
+ * + * bool unexpected_system_call_handler = 7; + * + * @return The unexpectedSystemCallHandler. + */ + @java.lang.Override + public boolean getUnexpectedSystemCallHandler() { + return unexpectedSystemCallHandler_; + } + + public static final int UNEXPECTED_INTERRUPT_HANDLER_FIELD_NUMBER = 8; + private boolean unexpectedInterruptHandler_; + /** + * + * + *
+   * True if interrupt handlers that are are not in the expected kernel or
+   * module code regions are present.
+   * 
+ * + * bool unexpected_interrupt_handler = 8; + * + * @return The unexpectedInterruptHandler. + */ + @java.lang.Override + public boolean getUnexpectedInterruptHandler() { + return unexpectedInterruptHandler_; + } + + public static final int UNEXPECTED_PROCESSES_IN_RUNQUEUE_FIELD_NUMBER = 9; + private boolean unexpectedProcessesInRunqueue_; + /** + * + * + *
+   * True if unexpected processes in the scheduler run queue are present. Such
+   * processes are in the run queue, but not in the process task list.
+   * 
+ * + * bool unexpected_processes_in_runqueue = 9; + * + * @return The unexpectedProcessesInRunqueue. + */ + @java.lang.Override + public boolean getUnexpectedProcessesInRunqueue() { + return unexpectedProcessesInRunqueue_; + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (unexpectedCodeModification_ != false) { + output.writeBool(2, unexpectedCodeModification_); + } + if (unexpectedReadOnlyDataModification_ != false) { + output.writeBool(3, unexpectedReadOnlyDataModification_); + } + if (unexpectedFtraceHandler_ != false) { + output.writeBool(4, unexpectedFtraceHandler_); + } + if (unexpectedKprobeHandler_ != false) { + output.writeBool(5, unexpectedKprobeHandler_); + } + if (unexpectedKernelCodePages_ != false) { + output.writeBool(6, unexpectedKernelCodePages_); + } + if (unexpectedSystemCallHandler_ != false) { + output.writeBool(7, unexpectedSystemCallHandler_); + } + if (unexpectedInterruptHandler_ != false) { + output.writeBool(8, unexpectedInterruptHandler_); + } + if (unexpectedProcessesInRunqueue_ != false) { + output.writeBool(9, unexpectedProcessesInRunqueue_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (unexpectedCodeModification_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, unexpectedCodeModification_); + } + if (unexpectedReadOnlyDataModification_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize( + 3, unexpectedReadOnlyDataModification_); + } + if (unexpectedFtraceHandler_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(4, unexpectedFtraceHandler_); + } + if (unexpectedKprobeHandler_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, unexpectedKprobeHandler_); + } + if (unexpectedKernelCodePages_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, unexpectedKernelCodePages_); + } + if (unexpectedSystemCallHandler_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(7, unexpectedSystemCallHandler_); + } + if (unexpectedInterruptHandler_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, unexpectedInterruptHandler_); + } + if (unexpectedProcessesInRunqueue_ != false) { + size += + com.google.protobuf.CodedOutputStream.computeBoolSize(9, unexpectedProcessesInRunqueue_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.securitycenter.v1.KernelRootkit)) { + return super.equals(obj); + } + com.google.cloud.securitycenter.v1.KernelRootkit other = + (com.google.cloud.securitycenter.v1.KernelRootkit) obj; + + if (!getName().equals(other.getName())) return false; + if (getUnexpectedCodeModification() != other.getUnexpectedCodeModification()) return false; + if (getUnexpectedReadOnlyDataModification() != other.getUnexpectedReadOnlyDataModification()) + return false; + if (getUnexpectedFtraceHandler() != other.getUnexpectedFtraceHandler()) return false; + if (getUnexpectedKprobeHandler() != other.getUnexpectedKprobeHandler()) return false; + if (getUnexpectedKernelCodePages() != other.getUnexpectedKernelCodePages()) return false; + if (getUnexpectedSystemCallHandler() != other.getUnexpectedSystemCallHandler()) return false; + if (getUnexpectedInterruptHandler() != other.getUnexpectedInterruptHandler()) return false; + if (getUnexpectedProcessesInRunqueue() != other.getUnexpectedProcessesInRunqueue()) + return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + hash = (37 * hash) + UNEXPECTED_CODE_MODIFICATION_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedCodeModification()); + hash = (37 * hash) + UNEXPECTED_READ_ONLY_DATA_MODIFICATION_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashBoolean(getUnexpectedReadOnlyDataModification()); + hash = (37 * hash) + UNEXPECTED_FTRACE_HANDLER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedFtraceHandler()); + hash = (37 * hash) + UNEXPECTED_KPROBE_HANDLER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedKprobeHandler()); + hash = (37 * hash) + UNEXPECTED_KERNEL_CODE_PAGES_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedKernelCodePages()); + hash = (37 * hash) + UNEXPECTED_SYSTEM_CALL_HANDLER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedSystemCallHandler()); + hash = (37 * hash) + UNEXPECTED_INTERRUPT_HANDLER_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedInterruptHandler()); + hash = (37 * hash) + UNEXPECTED_PROCESSES_IN_RUNQUEUE_FIELD_NUMBER; + hash = + (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUnexpectedProcessesInRunqueue()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.securitycenter.v1.KernelRootkit prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Kernel mode rootkit signatures.
+   * 
+ * + * Protobuf type {@code google.cloud.securitycenter.v1.KernelRootkit} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.securitycenter.v1.KernelRootkit) + com.google.cloud.securitycenter.v1.KernelRootkitOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.securitycenter.v1.KernelRootkitProto + .internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.securitycenter.v1.KernelRootkitProto + .internal_static_google_cloud_securitycenter_v1_KernelRootkit_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.securitycenter.v1.KernelRootkit.class, + com.google.cloud.securitycenter.v1.KernelRootkit.Builder.class); + } + + // Construct using com.google.cloud.securitycenter.v1.KernelRootkit.newBuilder() + private Builder() {} + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + } + + @java.lang.Override + public Builder clear() { + super.clear(); + name_ = ""; + + unexpectedCodeModification_ = false; + + unexpectedReadOnlyDataModification_ = false; + + unexpectedFtraceHandler_ = false; + + unexpectedKprobeHandler_ = false; + + unexpectedKernelCodePages_ = false; + + unexpectedSystemCallHandler_ = false; + + unexpectedInterruptHandler_ = false; + + unexpectedProcessesInRunqueue_ = false; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.securitycenter.v1.KernelRootkitProto + .internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor; + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkit getDefaultInstanceForType() { + return com.google.cloud.securitycenter.v1.KernelRootkit.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkit build() { + com.google.cloud.securitycenter.v1.KernelRootkit result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkit buildPartial() { + com.google.cloud.securitycenter.v1.KernelRootkit result = + new com.google.cloud.securitycenter.v1.KernelRootkit(this); + result.name_ = name_; + result.unexpectedCodeModification_ = unexpectedCodeModification_; + result.unexpectedReadOnlyDataModification_ = unexpectedReadOnlyDataModification_; + result.unexpectedFtraceHandler_ = unexpectedFtraceHandler_; + result.unexpectedKprobeHandler_ = unexpectedKprobeHandler_; + result.unexpectedKernelCodePages_ = unexpectedKernelCodePages_; + result.unexpectedSystemCallHandler_ = unexpectedSystemCallHandler_; + result.unexpectedInterruptHandler_ = unexpectedInterruptHandler_; + result.unexpectedProcessesInRunqueue_ = unexpectedProcessesInRunqueue_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.securitycenter.v1.KernelRootkit) { + return mergeFrom((com.google.cloud.securitycenter.v1.KernelRootkit) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.securitycenter.v1.KernelRootkit other) { + if (other == com.google.cloud.securitycenter.v1.KernelRootkit.getDefaultInstance()) + return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + onChanged(); + } + if (other.getUnexpectedCodeModification() != false) { + setUnexpectedCodeModification(other.getUnexpectedCodeModification()); + } + if (other.getUnexpectedReadOnlyDataModification() != false) { + setUnexpectedReadOnlyDataModification(other.getUnexpectedReadOnlyDataModification()); + } + if (other.getUnexpectedFtraceHandler() != false) { + setUnexpectedFtraceHandler(other.getUnexpectedFtraceHandler()); + } + if (other.getUnexpectedKprobeHandler() != false) { + setUnexpectedKprobeHandler(other.getUnexpectedKprobeHandler()); + } + if (other.getUnexpectedKernelCodePages() != false) { + setUnexpectedKernelCodePages(other.getUnexpectedKernelCodePages()); + } + if (other.getUnexpectedSystemCallHandler() != false) { + setUnexpectedSystemCallHandler(other.getUnexpectedSystemCallHandler()); + } + if (other.getUnexpectedInterruptHandler() != false) { + setUnexpectedInterruptHandler(other.getUnexpectedInterruptHandler()); + } + if (other.getUnexpectedProcessesInRunqueue() != false) { + setUnexpectedProcessesInRunqueue(other.getUnexpectedProcessesInRunqueue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + unexpectedCodeModification_ = input.readBool(); + + break; + } // case 16 + case 24: + { + unexpectedReadOnlyDataModification_ = input.readBool(); + + break; + } // case 24 + case 32: + { + unexpectedFtraceHandler_ = input.readBool(); + + break; + } // case 32 + case 40: + { + unexpectedKprobeHandler_ = input.readBool(); + + break; + } // case 40 + case 48: + { + unexpectedKernelCodePages_ = input.readBool(); + + break; + } // case 48 + case 56: + { + unexpectedSystemCallHandler_ = input.readBool(); + + break; + } // case 56 + case 64: + { + unexpectedInterruptHandler_ = input.readBool(); + + break; + } // case 64 + case 72: + { + unexpectedProcessesInRunqueue_ = input.readBool(); + + break; + } // case 72 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + + private java.lang.Object name_ = ""; + /** + * + * + *
+     * Rootkit name when available.
+     * 
+ * + * string name = 1; + * + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Rootkit name when available.
+     * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + public com.google.protobuf.ByteString getNameBytes() { + java.lang.Object ref = name_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Rootkit name when available.
+     * 
+ * + * string name = 1; + * + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + name_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Rootkit name when available.
+     * 
+ * + * string name = 1; + * + * @return This builder for chaining. + */ + public Builder clearName() { + + name_ = getDefaultInstance().getName(); + onChanged(); + return this; + } + /** + * + * + *
+     * Rootkit name when available.
+     * 
+ * + * string name = 1; + * + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + name_ = value; + onChanged(); + return this; + } + + private boolean unexpectedCodeModification_; + /** + * + * + *
+     * True if unexpected modifications of kernel code memory are present.
+     * 
+ * + * bool unexpected_code_modification = 2; + * + * @return The unexpectedCodeModification. + */ + @java.lang.Override + public boolean getUnexpectedCodeModification() { + return unexpectedCodeModification_; + } + /** + * + * + *
+     * True if unexpected modifications of kernel code memory are present.
+     * 
+ * + * bool unexpected_code_modification = 2; + * + * @param value The unexpectedCodeModification to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedCodeModification(boolean value) { + + unexpectedCodeModification_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if unexpected modifications of kernel code memory are present.
+     * 
+ * + * bool unexpected_code_modification = 2; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedCodeModification() { + + unexpectedCodeModification_ = false; + onChanged(); + return this; + } + + private boolean unexpectedReadOnlyDataModification_; + /** + * + * + *
+     * True if unexpected modifications of kernel read-only data memory are
+     * present.
+     * 
+ * + * bool unexpected_read_only_data_modification = 3; + * + * @return The unexpectedReadOnlyDataModification. + */ + @java.lang.Override + public boolean getUnexpectedReadOnlyDataModification() { + return unexpectedReadOnlyDataModification_; + } + /** + * + * + *
+     * True if unexpected modifications of kernel read-only data memory are
+     * present.
+     * 
+ * + * bool unexpected_read_only_data_modification = 3; + * + * @param value The unexpectedReadOnlyDataModification to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedReadOnlyDataModification(boolean value) { + + unexpectedReadOnlyDataModification_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if unexpected modifications of kernel read-only data memory are
+     * present.
+     * 
+ * + * bool unexpected_read_only_data_modification = 3; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedReadOnlyDataModification() { + + unexpectedReadOnlyDataModification_ = false; + onChanged(); + return this; + } + + private boolean unexpectedFtraceHandler_; + /** + * + * + *
+     * True if `ftrace` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_ftrace_handler = 4; + * + * @return The unexpectedFtraceHandler. + */ + @java.lang.Override + public boolean getUnexpectedFtraceHandler() { + return unexpectedFtraceHandler_; + } + /** + * + * + *
+     * True if `ftrace` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_ftrace_handler = 4; + * + * @param value The unexpectedFtraceHandler to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedFtraceHandler(boolean value) { + + unexpectedFtraceHandler_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if `ftrace` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_ftrace_handler = 4; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedFtraceHandler() { + + unexpectedFtraceHandler_ = false; + onChanged(); + return this; + } + + private boolean unexpectedKprobeHandler_; + /** + * + * + *
+     * True if `kprobe` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_kprobe_handler = 5; + * + * @return The unexpectedKprobeHandler. + */ + @java.lang.Override + public boolean getUnexpectedKprobeHandler() { + return unexpectedKprobeHandler_; + } + /** + * + * + *
+     * True if `kprobe` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_kprobe_handler = 5; + * + * @param value The unexpectedKprobeHandler to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedKprobeHandler(boolean value) { + + unexpectedKprobeHandler_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if `kprobe` points are present with callbacks pointing to regions
+     * that are not in the expected kernel or module code range.
+     * 
+ * + * bool unexpected_kprobe_handler = 5; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedKprobeHandler() { + + unexpectedKprobeHandler_ = false; + onChanged(); + return this; + } + + private boolean unexpectedKernelCodePages_; + /** + * + * + *
+     * True if kernel code pages that are not in the expected kernel or module
+     * code regions are present.
+     * 
+ * + * bool unexpected_kernel_code_pages = 6; + * + * @return The unexpectedKernelCodePages. + */ + @java.lang.Override + public boolean getUnexpectedKernelCodePages() { + return unexpectedKernelCodePages_; + } + /** + * + * + *
+     * True if kernel code pages that are not in the expected kernel or module
+     * code regions are present.
+     * 
+ * + * bool unexpected_kernel_code_pages = 6; + * + * @param value The unexpectedKernelCodePages to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedKernelCodePages(boolean value) { + + unexpectedKernelCodePages_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if kernel code pages that are not in the expected kernel or module
+     * code regions are present.
+     * 
+ * + * bool unexpected_kernel_code_pages = 6; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedKernelCodePages() { + + unexpectedKernelCodePages_ = false; + onChanged(); + return this; + } + + private boolean unexpectedSystemCallHandler_; + /** + * + * + *
+     * True if system call handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_system_call_handler = 7; + * + * @return The unexpectedSystemCallHandler. + */ + @java.lang.Override + public boolean getUnexpectedSystemCallHandler() { + return unexpectedSystemCallHandler_; + } + /** + * + * + *
+     * True if system call handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_system_call_handler = 7; + * + * @param value The unexpectedSystemCallHandler to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedSystemCallHandler(boolean value) { + + unexpectedSystemCallHandler_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if system call handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_system_call_handler = 7; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedSystemCallHandler() { + + unexpectedSystemCallHandler_ = false; + onChanged(); + return this; + } + + private boolean unexpectedInterruptHandler_; + /** + * + * + *
+     * True if interrupt handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_interrupt_handler = 8; + * + * @return The unexpectedInterruptHandler. + */ + @java.lang.Override + public boolean getUnexpectedInterruptHandler() { + return unexpectedInterruptHandler_; + } + /** + * + * + *
+     * True if interrupt handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_interrupt_handler = 8; + * + * @param value The unexpectedInterruptHandler to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedInterruptHandler(boolean value) { + + unexpectedInterruptHandler_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if interrupt handlers that are are not in the expected kernel or
+     * module code regions are present.
+     * 
+ * + * bool unexpected_interrupt_handler = 8; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedInterruptHandler() { + + unexpectedInterruptHandler_ = false; + onChanged(); + return this; + } + + private boolean unexpectedProcessesInRunqueue_; + /** + * + * + *
+     * True if unexpected processes in the scheduler run queue are present. Such
+     * processes are in the run queue, but not in the process task list.
+     * 
+ * + * bool unexpected_processes_in_runqueue = 9; + * + * @return The unexpectedProcessesInRunqueue. + */ + @java.lang.Override + public boolean getUnexpectedProcessesInRunqueue() { + return unexpectedProcessesInRunqueue_; + } + /** + * + * + *
+     * True if unexpected processes in the scheduler run queue are present. Such
+     * processes are in the run queue, but not in the process task list.
+     * 
+ * + * bool unexpected_processes_in_runqueue = 9; + * + * @param value The unexpectedProcessesInRunqueue to set. + * @return This builder for chaining. + */ + public Builder setUnexpectedProcessesInRunqueue(boolean value) { + + unexpectedProcessesInRunqueue_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * True if unexpected processes in the scheduler run queue are present. Such
+     * processes are in the run queue, but not in the process task list.
+     * 
+ * + * bool unexpected_processes_in_runqueue = 9; + * + * @return This builder for chaining. + */ + public Builder clearUnexpectedProcessesInRunqueue() { + + unexpectedProcessesInRunqueue_ = false; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.securitycenter.v1.KernelRootkit) + } + + // @@protoc_insertion_point(class_scope:google.cloud.securitycenter.v1.KernelRootkit) + private static final com.google.cloud.securitycenter.v1.KernelRootkit DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.securitycenter.v1.KernelRootkit(); + } + + public static com.google.cloud.securitycenter.v1.KernelRootkit getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KernelRootkit parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.securitycenter.v1.KernelRootkit getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitOrBuilder.java new file mode 100644 index 000000000000..78ce2c57380b --- /dev/null +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitOrBuilder.java @@ -0,0 +1,161 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/kernel_rootkit.proto + +package com.google.cloud.securitycenter.v1; + +public interface KernelRootkitOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.securitycenter.v1.KernelRootkit) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Rootkit name when available.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Rootkit name when available.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); + + /** + * + * + *
+   * True if unexpected modifications of kernel code memory are present.
+   * 
+ * + * bool unexpected_code_modification = 2; + * + * @return The unexpectedCodeModification. + */ + boolean getUnexpectedCodeModification(); + + /** + * + * + *
+   * True if unexpected modifications of kernel read-only data memory are
+   * present.
+   * 
+ * + * bool unexpected_read_only_data_modification = 3; + * + * @return The unexpectedReadOnlyDataModification. + */ + boolean getUnexpectedReadOnlyDataModification(); + + /** + * + * + *
+   * True if `ftrace` points are present with callbacks pointing to regions
+   * that are not in the expected kernel or module code range.
+   * 
+ * + * bool unexpected_ftrace_handler = 4; + * + * @return The unexpectedFtraceHandler. + */ + boolean getUnexpectedFtraceHandler(); + + /** + * + * + *
+   * True if `kprobe` points are present with callbacks pointing to regions
+   * that are not in the expected kernel or module code range.
+   * 
+ * + * bool unexpected_kprobe_handler = 5; + * + * @return The unexpectedKprobeHandler. + */ + boolean getUnexpectedKprobeHandler(); + + /** + * + * + *
+   * True if kernel code pages that are not in the expected kernel or module
+   * code regions are present.
+   * 
+ * + * bool unexpected_kernel_code_pages = 6; + * + * @return The unexpectedKernelCodePages. + */ + boolean getUnexpectedKernelCodePages(); + + /** + * + * + *
+   * True if system call handlers that are are not in the expected kernel or
+   * module code regions are present.
+   * 
+ * + * bool unexpected_system_call_handler = 7; + * + * @return The unexpectedSystemCallHandler. + */ + boolean getUnexpectedSystemCallHandler(); + + /** + * + * + *
+   * True if interrupt handlers that are are not in the expected kernel or
+   * module code regions are present.
+   * 
+ * + * bool unexpected_interrupt_handler = 8; + * + * @return The unexpectedInterruptHandler. + */ + boolean getUnexpectedInterruptHandler(); + + /** + * + * + *
+   * True if unexpected processes in the scheduler run queue are present. Such
+   * processes are in the run queue, but not in the process task list.
+   * 
+ * + * bool unexpected_processes_in_runqueue = 9; + * + * @return The unexpectedProcessesInRunqueue. + */ + boolean getUnexpectedProcessesInRunqueue(); +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java new file mode 100644 index 000000000000..fa7df48af1fa --- /dev/null +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/KernelRootkitProto.java @@ -0,0 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/securitycenter/v1/kernel_rootkit.proto + +package com.google.cloud.securitycenter.v1; + +public final class KernelRootkitProto { + private KernelRootkitProto() {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} + + public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { + registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); + } + + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_securitycenter_v1_KernelRootkit_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n3google/cloud/securitycenter/v1/kernel_" + + "rootkit.proto\022\036google.cloud.securitycent" + + "er.v1\"\327\002\n\rKernelRootkit\022\014\n\004name\030\001 \001(\t\022$\n" + + "\034unexpected_code_modification\030\002 \001(\010\022.\n&u" + + "nexpected_read_only_data_modification\030\003 " + + "\001(\010\022!\n\031unexpected_ftrace_handler\030\004 \001(\010\022!" + + "\n\031unexpected_kprobe_handler\030\005 \001(\010\022$\n\034une" + + "xpected_kernel_code_pages\030\006 \001(\010\022&\n\036unexp" + + "ected_system_call_handler\030\007 \001(\010\022$\n\034unexp" + + "ected_interrupt_handler\030\010 \001(\010\022(\n unexpec" + + "ted_processes_in_runqueue\030\t \001(\010B\356\001\n\"com." + + "google.cloud.securitycenter.v1B\022KernelRo" + + "otkitProtoP\001ZLgoogle.golang.org/genproto" + + "/googleapis/cloud/securitycenter/v1;secu" + + "ritycenter\252\002\036Google.Cloud.SecurityCenter" + + ".V1\312\002\036Google\\Cloud\\SecurityCenter\\V1\352\002!G" + + "oogle::Cloud::SecurityCenter::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_securitycenter_v1_KernelRootkit_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_securitycenter_v1_KernelRootkit_descriptor, + new java.lang.String[] { + "Name", + "UnexpectedCodeModification", + "UnexpectedReadOnlyDataModification", + "UnexpectedFtraceHandler", + "UnexpectedKprobeHandler", + "UnexpectedKernelCodePages", + "UnexpectedSystemCallHandler", + "UnexpectedInterruptHandler", + "UnexpectedProcessesInRunqueue", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java index 6964821fd5ab..126e4aa76ef3 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequest.java @@ -76,8 +76,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the organization assets should belong to. Its format is
-   * "organizations/[organization_id], folders/[folder_id], or
+   * Required. The name of the parent that the listed assets belong to. Its
+   * format is "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* @@ -103,8 +103,8 @@ public java.lang.String getParent() { * * *
-   * Required. Name of the organization assets should belong to. Its format is
-   * "organizations/[organization_id], folders/[folder_id], or
+   * Required. The name of the parent that the listed assets belong to. Its
+   * format is "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* @@ -1163,8 +1163,8 @@ public Builder mergeFrom( * * *
-     * Required. Name of the organization assets should belong to. Its format is
-     * "organizations/[organization_id], folders/[folder_id], or
+     * Required. The name of the parent that the listed assets belong to. Its
+     * format is "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* @@ -1189,8 +1189,8 @@ public java.lang.String getParent() { * * *
-     * Required. Name of the organization assets should belong to. Its format is
-     * "organizations/[organization_id], folders/[folder_id], or
+     * Required. The name of the parent that the listed assets belong to. Its
+     * format is "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* @@ -1215,8 +1215,8 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Name of the organization assets should belong to. Its format is
-     * "organizations/[organization_id], folders/[folder_id], or
+     * Required. The name of the parent that the listed assets belong to. Its
+     * format is "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* @@ -1240,8 +1240,8 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Name of the organization assets should belong to. Its format is
-     * "organizations/[organization_id], folders/[folder_id], or
+     * Required. The name of the parent that the listed assets belong to. Its
+     * format is "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* @@ -1261,8 +1261,8 @@ public Builder clearParent() { * * *
-     * Required. Name of the organization assets should belong to. Its format is
-     * "organizations/[organization_id], folders/[folder_id], or
+     * Required. The name of the parent that the listed assets belong to. Its
+     * format is "organizations/[organization_id], folders/[folder_id], or
      * projects/[project_id]".
      * 
* diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java index 94682a9d8139..64fcbfab2c83 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListAssetsRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface ListAssetsRequestOrBuilder * * *
-   * Required. Name of the organization assets should belong to. Its format is
-   * "organizations/[organization_id], folders/[folder_id], or
+   * Required. The name of the parent that the listed assets belong to. Its
+   * format is "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* @@ -43,8 +43,8 @@ public interface ListAssetsRequestOrBuilder * * *
-   * Required. Name of the organization assets should belong to. Its format is
-   * "organizations/[organization_id], folders/[folder_id], or
+   * Required. The name of the parent that the listed assets belong to. Its
+   * format is "organizations/[organization_id], folders/[folder_id], or
    * projects/[project_id]".
    * 
* diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java index 85fd6d90601c..ac1cf04a848e 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequest.java @@ -75,9 +75,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. Name of the organization to list notification configs. Its format
-   * is "organizations/[organization_id]", "folders/[folder_id]", or
-   * "projects/[project_id]".
+   * Required. The name of the parent in which to list the notification
+   * configurations. Its format is "organizations/[organization_id]",
+   * "folders/[folder_id]", or "projects/[project_id]".
    * 
* * @@ -102,9 +102,9 @@ public java.lang.String getParent() { * * *
-   * Required. Name of the organization to list notification configs. Its format
-   * is "organizations/[organization_id]", "folders/[folder_id]", or
-   * "projects/[project_id]".
+   * Required. The name of the parent in which to list the notification
+   * configurations. Its format is "organizations/[organization_id]",
+   * "folders/[folder_id]", or "projects/[project_id]".
    * 
* * @@ -582,9 +582,9 @@ public Builder mergeFrom( * * *
-     * Required. Name of the organization to list notification configs. Its format
-     * is "organizations/[organization_id]", "folders/[folder_id]", or
-     * "projects/[project_id]".
+     * Required. The name of the parent in which to list the notification
+     * configurations. Its format is "organizations/[organization_id]",
+     * "folders/[folder_id]", or "projects/[project_id]".
      * 
* * @@ -608,9 +608,9 @@ public java.lang.String getParent() { * * *
-     * Required. Name of the organization to list notification configs. Its format
-     * is "organizations/[organization_id]", "folders/[folder_id]", or
-     * "projects/[project_id]".
+     * Required. The name of the parent in which to list the notification
+     * configurations. Its format is "organizations/[organization_id]",
+     * "folders/[folder_id]", or "projects/[project_id]".
      * 
* * @@ -634,9 +634,9 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-     * Required. Name of the organization to list notification configs. Its format
-     * is "organizations/[organization_id]", "folders/[folder_id]", or
-     * "projects/[project_id]".
+     * Required. The name of the parent in which to list the notification
+     * configurations. Its format is "organizations/[organization_id]",
+     * "folders/[folder_id]", or "projects/[project_id]".
      * 
* * @@ -659,9 +659,9 @@ public Builder setParent(java.lang.String value) { * * *
-     * Required. Name of the organization to list notification configs. Its format
-     * is "organizations/[organization_id]", "folders/[folder_id]", or
-     * "projects/[project_id]".
+     * Required. The name of the parent in which to list the notification
+     * configurations. Its format is "organizations/[organization_id]",
+     * "folders/[folder_id]", or "projects/[project_id]".
      * 
* * @@ -680,9 +680,9 @@ public Builder clearParent() { * * *
-     * Required. Name of the organization to list notification configs. Its format
-     * is "organizations/[organization_id]", "folders/[folder_id]", or
-     * "projects/[project_id]".
+     * Required. The name of the parent in which to list the notification
+     * configurations. Its format is "organizations/[organization_id]",
+     * "folders/[folder_id]", or "projects/[project_id]".
      * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java index 883765e265ab..234d871c64af 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/ListNotificationConfigsRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface ListNotificationConfigsRequestOrBuilder * * *
-   * Required. Name of the organization to list notification configs. Its format
-   * is "organizations/[organization_id]", "folders/[folder_id]", or
-   * "projects/[project_id]".
+   * Required. The name of the parent in which to list the notification
+   * configurations. Its format is "organizations/[organization_id]",
+   * "folders/[folder_id]", or "projects/[project_id]".
    * 
* * @@ -43,9 +43,9 @@ public interface ListNotificationConfigsRequestOrBuilder * * *
-   * Required. Name of the organization to list notification configs. Its format
-   * is "organizations/[organization_id]", "folders/[folder_id]", or
-   * "projects/[project_id]".
+   * Required. The name of the parent in which to list the notification
+   * configurations. Its format is "organizations/[organization_id]",
+   * "folders/[folder_id]", or "projects/[project_id]".
    * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java index 1d5f1558687b..13d08342e251 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfig.java @@ -909,7 +909,9 @@ public NotifyConfigCase getNotifyConfigCase() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -935,7 +937,9 @@ public java.lang.String getName() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -1642,7 +1646,9 @@ public Builder clearNotifyConfig() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -1667,7 +1673,9 @@ public java.lang.String getName() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -1692,7 +1700,9 @@ public com.google.protobuf.ByteString getNameBytes() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -1716,7 +1726,9 @@ public Builder setName(java.lang.String value) { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -1736,7 +1748,9 @@ public Builder clearName() { * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java index 5ddb6f728a62..d70c87ac7b66 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/NotificationConfigOrBuilder.java @@ -30,7 +30,9 @@ public interface NotificationConfigOrBuilder * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; @@ -45,7 +47,9 @@ public interface NotificationConfigOrBuilder * The relative resource name of this notification config. See: * https://cloud.google.com/apis/design/resource_names#relative_resource_name * Example: - * "organizations/{organization_id}/notificationConfigs/notify_public_bucket". + * "organizations/{organization_id}/notificationConfigs/notify_public_bucket", + * "folders/{folder_id}/notificationConfigs/notify_public_bucket", + * or "projects/{project_id}/notificationConfigs/notify_public_bucket". *
* * string name = 1; diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java index 9db3506e7e3e..2d065da564ac 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequest.java @@ -74,10 +74,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
+   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+   * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+   * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
    * 
* * @@ -102,10 +104,12 @@ public java.lang.String getName() { * * *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
+   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+   * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+   * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
    * 
* * @@ -607,10 +611,12 @@ public Builder mergeFrom( * * *
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
-     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
+     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+     * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+     * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
      * 
* * @@ -634,10 +640,12 @@ public java.lang.String getName() { * * *
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
-     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
+     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+     * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+     * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
      * 
* * @@ -661,10 +669,12 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
-     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
+     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+     * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+     * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
      * 
* * @@ -687,10 +697,12 @@ public Builder setName(java.lang.String value) { * * *
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
-     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
+     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+     * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+     * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
      * 
* * @@ -709,10 +721,12 @@ public Builder clearName() { * * *
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
-     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
+     * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+     * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+     * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
      * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java index 6e8f1bed2a67..5a928596bf7a 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetFindingStateRequestOrBuilder.java @@ -27,10 +27,12 @@ public interface SetFindingStateRequestOrBuilder * * *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
+   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+   * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+   * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
    * 
* * @@ -44,10 +46,12 @@ public interface SetFindingStateRequestOrBuilder * * *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
-   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
+   * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+   * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+   * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
    * 
* * diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java index e468d59ba605..d5e5269e91eb 100644 --- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java +++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequest.java @@ -74,9 +74,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
    * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
    * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -104,9 +104,9 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
    * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
    * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -527,9 +527,9 @@ public Builder mergeFrom(
      *
      *
      * 
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
      * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
      * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -556,9 +556,9 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
      * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
      * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -585,9 +585,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
      * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
      * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -613,9 +613,9 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
      * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
      * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -637,9 +637,9 @@ public Builder clearName() {
      *
      *
      * 
-     * Required. The relative resource name of the finding. See:
-     * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-     * Example:
+     * Required. The [relative resource
+     * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+     * of the finding. Example:
      * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
      * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
      * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java
index 6250c2d64377..7f6b35cd0042 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SetMuteRequestOrBuilder.java
@@ -27,9 +27,9 @@ public interface SetMuteRequestOrBuilder
    *
    *
    * 
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
    * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
    * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -46,9 +46,9 @@ public interface SetMuteRequestOrBuilder
    *
    *
    * 
-   * Required. The relative resource name of the finding. See:
-   * https://cloud.google.com/apis/design/resource_names#relative_resource_name
-   * Example:
+   * Required. The [relative resource
+   * name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+   * of the finding. Example:
    * "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
    * "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
    * "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto
index 8ba698138da1..66034dfc4cf2 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/external_system.proto
@@ -36,11 +36,10 @@ message ExternalSystem {
     pattern: "projects/{project}/sources/{source}/findings/{finding}/externalSystems/{externalsystem}"
   };
 
-  // External System Name e.g. jira, demisto, etc.
-  //  e.g.:
-  //  `organizations/1234/sources/5678/findings/123456/externalSystems/jira`
-  // `folders/1234/sources/5678/findings/123456/externalSystems/jira`
-  // `projects/1234/sources/5678/findings/123456/externalSystems/jira`
+  // Full resource name of the external system, for example:
+  // "organizations/1234/sources/5678/findings/123456/externalSystems/jira",
+  // "folders/1234/sources/5678/findings/123456/externalSystems/jira",
+  // "projects/1234/sources/5678/findings/123456/externalSystems/jira"
   string name = 1;
 
   // References primary/secondary etc assignees in the external system.
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto
index 755b661772dd..a16f1d511606 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/finding.proto
@@ -29,6 +29,7 @@ import "google/cloud/securitycenter/v1/external_system.proto";
 import "google/cloud/securitycenter/v1/file.proto";
 import "google/cloud/securitycenter/v1/iam_binding.proto";
 import "google/cloud/securitycenter/v1/indicator.proto";
+import "google/cloud/securitycenter/v1/kernel_rootkit.proto";
 import "google/cloud/securitycenter/v1/kubernetes.proto";
 import "google/cloud/securitycenter/v1/mitre_attack.proto";
 import "google/cloud/securitycenter/v1/process.proto";
@@ -253,7 +254,7 @@ message Finding {
   // Reference: https://en.wikipedia.org/wiki/Indicator_of_compromise
   Indicator indicator = 18;
 
-  // Represents vulnerability specific fields like cve, cvss scores etc.
+  // Represents vulnerability-specific fields like CVE and CVS scores.
   // CVE stands for Common Vulnerabilities and Exposures
   // (https://cve.mitre.org/about/)
   Vulnerability vulnerability = 20;
@@ -336,4 +337,7 @@ message Finding {
 
   // File associated with the finding.
   repeated File files = 46;
+
+  // Kernel Rootkit signature.
+  KernelRootkit kernel_rootkit = 50;
 }
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/kernel_rootkit.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/kernel_rootkit.proto
new file mode 100644
index 000000000000..1010e3effcb6
--- /dev/null
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/kernel_rootkit.proto
@@ -0,0 +1,62 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//     http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.securitycenter.v1;
+
+option csharp_namespace = "Google.Cloud.SecurityCenter.V1";
+option go_package = "google.golang.org/genproto/googleapis/cloud/securitycenter/v1;securitycenter";
+option java_multiple_files = true;
+option java_outer_classname = "KernelRootkitProto";
+option java_package = "com.google.cloud.securitycenter.v1";
+option php_namespace = "Google\\Cloud\\SecurityCenter\\V1";
+option ruby_package = "Google::Cloud::SecurityCenter::V1";
+
+// Kernel mode rootkit signatures.
+message KernelRootkit {
+  // Rootkit name when available.
+  string name = 1;
+
+  // True if unexpected modifications of kernel code memory are present.
+  bool unexpected_code_modification = 2;
+
+  // True if unexpected modifications of kernel read-only data memory are
+  // present.
+  bool unexpected_read_only_data_modification = 3;
+
+  // True if `ftrace` points are present with callbacks pointing to regions
+  // that are not in the expected kernel or module code range.
+  bool unexpected_ftrace_handler = 4;
+
+  // True if `kprobe` points are present with callbacks pointing to regions
+  // that are not in the expected kernel or module code range.
+  bool unexpected_kprobe_handler = 5;
+
+  // True if kernel code pages that are not in the expected kernel or module
+  // code regions are present.
+  bool unexpected_kernel_code_pages = 6;
+
+  // True if system call handlers that are are not in the expected kernel or
+  // module code regions are present.
+  bool unexpected_system_call_handler = 7;
+
+  // True if interrupt handlers that are are not in the expected kernel or
+  // module code regions are present.
+  bool unexpected_interrupt_handler = 8;
+
+  // True if unexpected processes in the scheduler run queue are present. Such
+  // processes are in the run queue, but not in the process task list.
+  bool unexpected_processes_in_runqueue = 9;
+}
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto
index ee1e95460786..00e8c1e8a426 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/notification_config.proto
@@ -73,7 +73,9 @@ message NotificationConfig {
   // The relative resource name of this notification config. See:
   // https://cloud.google.com/apis/design/resource_names#relative_resource_name
   // Example:
-  // "organizations/{organization_id}/notificationConfigs/notify_public_bucket".
+  // "organizations/{organization_id}/notificationConfigs/notify_public_bucket",
+  // "folders/{folder_id}/notificationConfigs/notify_public_bucket",
+  // or "projects/{project_id}/notificationConfigs/notify_public_bucket".
   string name = 1;
 
   // The description of the notification config (max of 1024 characters).
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
index 24e5e27e610d..ad77642d5790 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
@@ -161,7 +161,7 @@ service SecurityCenter {
     option (google.api.method_signature) = "name";
   }
 
-  // Gets a big query export.
+  // Gets a BigQuery export.
   rpc GetBigQueryExport(GetBigQueryExportRequest) returns (BigQueryExport) {
     option (google.api.http) = {
       get: "/v1/{name=organizations/*/bigQueryExports/*}"
@@ -507,7 +507,7 @@ service SecurityCenter {
     option (google.api.method_signature) = "security_marks";
   }
 
-  // Creates a big query export.
+  // Creates a BigQuery export.
   rpc CreateBigQueryExport(CreateBigQueryExportRequest)
       returns (BigQueryExport) {
     option (google.api.http) = {
@@ -526,7 +526,7 @@ service SecurityCenter {
         "parent,big_query_export,big_query_export_id";
   }
 
-  // Deletes an existing big query export.
+  // Deletes an existing BigQuery export.
   rpc DeleteBigQueryExport(DeleteBigQueryExportRequest)
       returns (google.protobuf.Empty) {
     option (google.api.http) = {
@@ -673,8 +673,8 @@ message CreateNotificationConfigRequest {
 
   // Required.
   // Unique identifier provided by the client within the parent scope.
-  // It must be between 1 and 128 characters, and contains alphanumeric
-  // characters, underscores or hyphens only.
+  // It must be between 1 and 128 characters and contain alphanumeric
+  // characters, underscores, or hyphens only.
   string config_id = 2 [(google.api.field_behavior) = REQUIRED];
 
   // Required. The notification config being created. The name and the service
@@ -717,7 +717,9 @@ message DeleteMuteConfigRequest {
 // Request message for deleting a notification config.
 message DeleteNotificationConfigRequest {
   // Required. Name of the notification config to delete. Its format is
-  // "organizations/[organization_id]/notificationConfigs/[config_id]".
+  // "organizations/[organization_id]/notificationConfigs/[config_id]",
+  // "folders/[folder_id]/notificationConfigs/[config_id]",
+  // or "projects/[project_id]/notificationConfigs/[config_id]".
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.resource_reference) = {
@@ -726,9 +728,9 @@ message DeleteNotificationConfigRequest {
   ];
 }
 
-// Request message for retrieving a big query export.
+// Request message for retrieving a BigQuery export.
 message GetBigQueryExportRequest {
-  // Required. Name of the big query export to retrieve. Its format is
+  // Required. Name of the BigQuery export to retrieve. Its format is
   // organizations/{organization}/bigQueryExports/{export_id},
   // folders/{folder}/bigQueryExports/{export_id}, or
   // projects/{project}/bigQueryExports/{export_id}
@@ -757,7 +759,9 @@ message GetMuteConfigRequest {
 // Request message for getting a notification config.
 message GetNotificationConfigRequest {
   // Required. Name of the notification config to get. Its format is
-  // "organizations/[organization_id]/notificationConfigs/[config_id]".
+  // "organizations/[organization_id]/notificationConfigs/[config_id]",
+  // "folders/[folder_id]/notificationConfigs/[config_id]",
+  // or "projects/[project_id]/notificationConfigs/[config_id]".
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.resource_reference) = {
@@ -792,7 +796,7 @@ message GetSourceRequest {
 
 // Request message for grouping by assets.
 message GroupAssetsRequest {
-  // Required. Name of the organization to groupBy. Its format is
+  // Required. The name of the parent to group the assets by. Its format is
   // "organizations/[organization_id], folders/[folder_id], or
   // projects/[project_id]".
   string parent = 1 [
@@ -1159,9 +1163,9 @@ message ListMuteConfigsResponse {
 
 // Request message for listing notification configs.
 message ListNotificationConfigsRequest {
-  // Required. Name of the organization to list notification configs. Its format
-  // is "organizations/[organization_id]", "folders/[folder_id]", or
-  // "projects/[project_id]".
+  // Required. The name of the parent in which to list the notification
+  // configurations. Its format is "organizations/[organization_id]",
+  // "folders/[folder_id]", or "projects/[project_id]".
   string parent = 1 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.resource_reference) = {
@@ -1223,8 +1227,8 @@ message ListSourcesResponse {
 
 // Request message for listing assets.
 message ListAssetsRequest {
-  // Required. Name of the organization assets should belong to. Its format is
-  // "organizations/[organization_id], folders/[folder_id], or
+  // Required. The name of the parent that the listed assets belong to. Its
+  // format is "organizations/[organization_id], folders/[folder_id], or
   // projects/[project_id]".
   string parent = 1 [
     (google.api.field_behavior) = REQUIRED,
@@ -1652,10 +1656,12 @@ message ListFindingsResponse {
 
 // Request message for updating a finding's state.
 message SetFindingStateRequest {
-  // Required. The relative resource name of the finding. See:
-  // https://cloud.google.com/apis/design/resource_names#relative_resource_name
-  // Example:
-  // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}".
+  // Required. The [relative resource
+  // name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+  // of the finding. Example:
+  // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
+  // "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
+  // "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.resource_reference) = {
@@ -1673,9 +1679,9 @@ message SetFindingStateRequest {
 
 // Request message for updating a finding's mute status.
 message SetMuteRequest {
-  // Required. The relative resource name of the finding. See:
-  // https://cloud.google.com/apis/design/resource_names#relative_resource_name
-  // Example:
+  // Required. The [relative resource
+  // name](https://cloud.google.com/apis/design/resource_names#relative_resource_name)
+  // of the finding. Example:
   // "organizations/{organization_id}/sources/{source_id}/findings/{finding_id}",
   // "folders/{folder_id}/sources/{source_id}/findings/{finding_id}",
   // "projects/{project_id}/sources/{source_id}/findings/{finding_id}".
@@ -1797,10 +1803,10 @@ message UpdateSecurityMarksRequest {
   google.protobuf.Timestamp start_time = 3;
 }
 
-// Request message for creating a big query export.
+// Request message for creating a BigQuery export.
 message CreateBigQueryExportRequest {
-  // Required. Resource name of the new big query export's parent. Its format is
-  // "organizations/[organization_id]", "folders/[folder_id]", or
+  // Required. The name of the parent resource of the new BigQuery export. Its
+  // format is "organizations/[organization_id]", "folders/[folder_id]", or
   // "projects/[project_id]".
   string parent = 1 [
     (google.api.field_behavior) = REQUIRED,
@@ -1809,7 +1815,7 @@ message CreateBigQueryExportRequest {
     }
   ];
 
-  // Required. The big query export being created.
+  // Required. The BigQuery export being created.
   BigQueryExport big_query_export = 2 [(google.api.field_behavior) = REQUIRED];
 
   // Required. Unique identifier provided by the client within the parent scope.
@@ -1865,9 +1871,9 @@ message ListBigQueryExportsResponse {
   string next_page_token = 2;
 }
 
-// Request message for deleting a big query export.
+// Request message for deleting a BigQuery export.
 message DeleteBigQueryExportRequest {
-  // Required. Name of the big query export to delete. Its format is
+  // Required. The name of the BigQuery export to delete. Its format is
   // organizations/{organization}/bigQueryExports/{export_id},
   // folders/{folder}/bigQueryExports/{export_id}, or
   // projects/{project}/bigQueryExports/{export_id}